[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: pwc webcam freeze: usb_control/bulk_msg: timeout



Nicolas <ripley@8d.com> writes:

> > pwc                    44748   1  (autoclean)
> > usb-ohci               20040   0  (unused)
> 
> The problem is right there, pwc and ohci don't realy like each
> other.  I have the same camera as you.  I used a OHCI computer with
> motion and it always stop after 5-10 minutes.  It's a known bug :o)
> look like nobody wants to fix it... On the other hand, it works
> perfectly with UHCI. I haven't try the 2.6 kernel on the monitoring
> box, maybe OHCI is fixed...

I have aquired an USB 2.0 card with an ehci port, and I can load the driver,
but it doesn't find the camera. Has anyone succesfully used a logitech
quickcam 4000 with the ehci-hcd driver?

Perhaps this is because according to amazon the logitech quickcam 4000
camera only does usb1.1. I should have thought of this before
buying the card :) 

http://www.amazon.com/exec/obidos/tg/detail/-/B00006HMPK/102-2274641-3931347?v=glance

I have been to 10 shops without finding an USB 1.1 uhci card. They
seem to be history :(  


              Thanks for all the advices 

                        Niels


All the following text is probably irellevant. It just proves that I have 
the ehci-hcd driver

nissefisken# lsmod
Module                  Size  Used by    Tainted: P  
pwc                    44748   0  (unused)
ehci-hcd               25644   0  (unused)
nvidia               1628576  11  (autoclean)
sis900                 14412   0  (unused)
i810_audio             25756   2 
ac97_codec             11892   0  [i810_audio]
soundcore               4260   2  [i810_audio]
usbcore                73036   0  [pwc ehci-hcd]
i2c-proc                7344   0  (unused)
i2c-core               13892   0  [i2c-proc]
parport_pc             13732   1  (autoclean)
lp                      6592   1 
parport                16096   1  [parport_pc lp]
8139too                15912   1 
rtc                     7464   0  (autoclean)

from lspci -vv:

00:0b.2 USB Controller: NEC Corporation USB 2.0 (rev 02) (prog-if 20
[EHCI])
        Subsystem: Unknown device 182d:6189
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop-
ParErr- Stepping- SERR+ FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium
>TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 64 (4000ns min, 8500ns max), cache line size 08
        Interrupt: pin C routed to IRQ 5
        Region 0: Memory at cfffde00 (32-bit, non-prefetchable)
[size=256]
        Capabilities: [40] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
PME(D0+,D1+,D2+,D3hot+,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-


>From /var/log/syslog

Sep  6 17:41:59 nissefisken kernel: ehci-hcd.c: 2003-Jan-22 USB 2.0
'Enhanced' Host Controller (EHCI) Driver
Sep  6 17:41:59 nissefisken kernel: ehci-hcd.c: block sizes: qh 128
qtd 96 itd 128 sitd 64
Sep  6 17:41:59 nissefisken kernel: PCI: Found IRQ 5 for device
00:0b.2
Sep  6 17:41:59 nissefisken kernel: PCI: Sharing IRQ 5 with 00:02.2
Sep  6 17:41:59 nissefisken kernel: ehci-hcd 00:0b.2: NEC Corporation
USB 2.0
Sep  6 17:41:59 nissefisken kernel: ehci-hcd 00:0b.2: irq 5, pci mem
d1b72e00
Sep  6 17:41:59 nissefisken kernel: usb.c: new USB bus registered,
assigned bus number 1
Sep  6 17:41:59 nissefisken kernel: ehci-hcd 00:0b.2: ehci_start
hcs_params 0x2395 dbg=0 cc=2 pcc=3 ports=5
Sep  6 17:41:59 nissefisken kernel: ehci-hcd 00:0b.2: ehci_start
portroute 1 0 1 0 0 
Sep  6 17:41:59 nissefisken kernel: ehci-hcd 00:0b.2: ehci_start
hcc_params 0002 thresh 0 uframes 256/512/1024
Sep  6 17:41:59 nissefisken kernel: ehci-hcd 00:0b.2: reset command
080002 (park)=0 ithresh=8 period=1024 Reset HALT
Sep  6 17:41:59 nissefisken kernel: ehci-hcd 00:0b.2: init command
010009 (park)=0 ithresh=1 period=256 RUN
Sep  6 17:41:59 nissefisken kernel: ehci-hcd 00:0b.2: USB 2.0 enabled, 
EHCI 0.95, driver 2003-Jan-22
Sep  6 17:41:59 nissefisken kernel: hcd.c: 00:0b.2 root hub device
address 1
Sep  6 17:41:59 nissefisken kernel: usb.c: kmalloc IF c72b7860, numif
1
Sep  6 17:41:59 nissefisken kernel: usb.c: new device strings: Mfr=3,
Product=2, SerialNumber=1
Sep  6 17:41:59 nissefisken kernel: usb.c: USB device number 1 default 
language ID 0x0
Sep  6 17:41:59 nissefisken kernel: Manufacturer: Linux 2.4.21
ehci-hcd
Sep  6 17:41:59 nissefisken kernel: Product: NEC Corporation USB 2.0
Sep  6 17:41:59 nissefisken kernel: SerialNumber: 00:0b.2
Sep  6 17:41:59 nissefisken kernel: hub.c: USB hub found
Sep  6 17:41:59 nissefisken kernel: hub.c: 5 ports detected
Sep  6 17:41:59 nissefisken kernel: hub.c: standalone hub
Sep  6 17:41:59 nissefisken kernel: hub.c: individual port power
switching
Sep  6 17:41:59 nissefisken kernel: hub.c: individual port
over-current protection
Sep  6 17:41:59 nissefisken kernel: hub.c: Single TT
Sep  6 17:41:59 nissefisken kernel: hub.c: TT requires at most 8 FS
bit times
Sep  6 17:41:59 nissefisken kernel: hub.c: Port indicators are not
supported
Sep  6 17:41:59 nissefisken kernel: hub.c: power on to power good
time: 0ms
Sep  6 17:41:59 nissefisken kernel: hub.c: hub controller current
requirement: 0mA
Sep  6 17:41:59 nissefisken kernel: hub.c: port removable status:
RRRRR
Sep  6 17:41:59 nissefisken kernel: hub.c: local power source is good
Sep  6 17:41:59 nissefisken kernel: hub.c: no over-current condition
exists
Sep  6 17:41:59 nissefisken kernel: hub.c: enabling power on all ports
Sep  6 17:41:59 nissefisken kernel: usb.c: hub driver claimed
interface c72b7860
Sep  6 17:41:59 nissefisken kernel: usb.c: kusbd: /sbin/hotplug add 1
Sep  6 17:41:59 nissefisken kernel: usb.c: kusbd policy returned
0xfffffffe


-- 
Niels L Ellegaard  http://dirac.ruc.dk/~gnalle/



Reply to: