Hello all, I'm having problems with a sn9c102 webcam.
- it works when directly attached to the PC - it doesn't work when attached to an external USB hub - it does work again when I remove ehci-hcd My setup, without the hub attached, and without ehci-hcd: 0000:00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f) 0000:00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f) 0000:00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller Bus 002 Device 001: ID 0000:0000 Bus 001 Device 010: ID 046d:c00e Logitech, Inc. Optical Mouse Bus 001 Device 001: ID 0000:0000 Debian Sarge, Linux 2.6.12.2 Attaching the hub: hub 1-0:1.0: state 5 ports 3 chg 0000 evt 0002 ohci_hcd 0000:00:03.0: GetStatus roothub.portstatus [0] = 0x00010101 CSC PPS CCS hub 1-0:1.0: port 1, status 0101, change 0001, 12 Mb/s hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101 ohci_hcd 0000:00:03.0: GetStatus roothub.portstatus [0] = 0x00100103 PRSC PPS PES CCS usb 1-1: new full speed USB device using ohci_hcd and address 11 ohci_hcd 0000:00:03.0: GetStatus roothub.portstatus [0] = 0x00100103 PRSC PPS PES CCS usb 1-1: new device strings: Mfr=0, Product=0, SerialNumber=0 usb 1-1: hotplug usb 1-1: adding 1-1:1.0 (config #1, interface 0) usb 1-1:1.0: hotplug hub 1-1:1.0: usb_probe_interface hub 1-1:1.0: usb_probe_interface - got id hub 1-1:1.0: USB hub found hub 1-1:1.0: 4 ports detected hub 1-1:1.0: standalone hub hub 1-1:1.0: individual port power switching hub 1-1:1.0: individual port over-current protection hub 1-1:1.0: Port indicators are supported hub 1-1:1.0: power on to power good time: 100ms hub 1-1:1.0: local power source is good hub 1-1:1.0: enabling power on all ports hub 1-0:1.0: state 5 ports 3 chg 0000 evt 0002 hub 1-1:1.0: state 5 ports 4 chg 0000 evt 0000 Attaching the camera: hub 1-1:1.0: state 5 ports 4 chg 0000 evt 0002 hub 1-1:1.0: port 1, status 0101, change 0001, 12 Mb/s hub 1-1:1.0: debounce: port 1: total 100ms stable 100ms status 0x101 usb 1-1.1: new full speed USB device using ohci_hcd and address 12 usb 1-1.1: default language 0x0409 usb 1-1.1: new device strings: Mfr=0, Product=1, SerialNumber=0 usb 1-1.1: Product: USB camera usb 1-1.1: hotplug usb 1-1.1: adding 1-1.1:1.0 (config #1, interface 0) usb 1-1.1:1.0: hotplug sn9c102 1-1.1:1.0: usb_probe_interface sn9c102 1-1.1:1.0: usb_probe_interface - got id usb 1-1.1: SN9C10[12] PC Camera Controller detected (vid/pid 0x0C45/0x6005) usb 1-1.1: TAS5110C1B image sensor detected usb 1-1.1: Initialization succeeded usb 1-1.1: V4L2 device registered as /dev/video1 usb 1-1.1: Optional device control through 'sysfs' interface ready Now removing the camera, adding ehci-hcd and adding the camera: hub 3-1:1.0: state 5 ports 4 chg 0000 evt 0002 hub 3-1:1.0: port 1, status 0101, change 0001, 12 Mb/s hub 3-1:1.0: debounce: port 1: total 100ms stable 100ms status 0x101 usb 3-1.1: new full speed USB device using ehci_hcd and address 4 usb 3-1.1: default language 0x0409 [rest is the same as above] Opening the camera device will work now, but I can't get any images and the driver seems "stuck" in some way - I cannot even close the fd afterwards, and hotplug starts to behave strangely afterwards (which isn't that strange, considering that I try to remove and reinsert a busy device with a driver in unknown state). What could I do next to find out what's wrong? Valentijn -- http://www.openoffice.nl/ Open Office - Linux Office Solutions Valentijn Sessink [EMAIL PROTECTED]
signature.asc
Description: Digital signature