OpenWrt Forum Archive

Topic: How to use USB hub with WL500gP?

The content of this topic has been archived on 30 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi,
I need connect at least 4 USB peripherals to my WL500gP but when I try to connect them using USB hub, they do not work. If connected directly to USB port they work fine. Tested with USB Flash Disc, BT Dongle, Prolific 2303 USB/RS232 cable, webcam etc.

#lsusb
Bus 003 Device 004: ID 05e3:0606 Genesys Logic, Inc.
#dmesg | grep hub
usb.c: registered new driver hub
hub.c: USB hub found
hub.c: 2 ports detected
hub.c: USB hub found
hub.c: 2 ports detected
hub.c: USB hub found
hub.c: 4 ports detected
hub.c: connect-debounce failed, port 1 disabled
hub.c: new USB device 01:03.2-1, assigned address 2
hub.c: USB hub found
hub.c: 4 ports detected
hub.c: new USB device 01:03.2-1.1, assigned address 3
hub.c: new USB device 01:03.0-2, assigned address 2
hub.c: connect-debounce failed, port 2 disabled
hub.c: new USB device 01:03.0-2, assigned address 3
hub.c: new USB device 01:03.0-2, assigned address 4
hub.c: new USB device 01:03.2-2, assigned address 4
hub.c: USB hub found
hub.c: 4 ports detected

(Last edited by petrs on 1 Jun 2007, 15:06)

I am not near my device now - it's mounted at the top of a mountain connected with a digicam: http://lnx.manoweb.com/wifi/webcam - but I tested 4 digicams connected together with a small no-brand USB hub and it was working fine, with kamikaze kernel 2.4

I bought another small hub but it has the same ID (in lsusb) so as I can expect it does not work too. sad

(Last edited by petrs on 1 Jun 2007, 15:24)

Try using a powered usb hub.

I don't think that problem is power consumption. Device is always detected but not claimed by any active driver. For example USB MMC/SD card reader with 1 GB SD connected to hub and then directly:

hub.c: new USB device 01:03.2-1.1, assigned address 3
usb.c: USB device 3 (vend/prod 0x416/0x7723) is not claimed by any active driver.
usb.c: USB disconnect on device 01:03.2-1.1 address 3
usb.c: USB disconnect on device 01:03.2-1 address 2
hub.c: new USB device 01:03.0-1, assigned address 6
scsi1 : SCSI emulation for USB Mass Storage devices
  Vendor: General   Model: USB Disk Drive    Rev: 1.00
  Type:   Direct-Access                      ANSI SCSI revision: 02
Attached scsi removable disk sdb at scsi1, channel 0, id 0, lun 0
SCSI device sdb: 1931265 512-byte hdwr sectors (989 MB)
sdb: Write Protect is off
 /dev/scsi/host1/bus0/target0/lun0: p1 p2
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 6

It works, just you have turned on write protection for your SD card. I don't think a hub should be claimed by any driver.

I don't think problem is write protection. See previous post.

Line 2 is USB MMC/SD card reader connected to hub - but not claimed by any active driver. Line 3 disconnecting reader, 4 disconnecting hub. Line 5 and following describes the same reader connected directly.

The discussion might have continued from here.