hub usb 2.0 and 3.0

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

hub usb 2.0 and 3.0

Postby acconciox » Fri Jul 08, 2016 9:58 am

Hi, i have 2 hub powered the
usb 2.0 work fine with every device plugged (mouse,keyboard, hd tosihva, hd wd, cd/dvd, usb key internet)
usb 3.0 has problem with mouse and keyboard
this is a common keyboard wired logitech wich works fine with 2.0
$this->bbcode_second_pass_code('', '
[126431.669537] usb 1-1.4.4.2: new low-speed USB device number 13 using dwc_otg
[126431.799546] usb 1-1.4.4.2: device descriptor read/64, error -[71
[126432.039558] usb 1-1.4.4.2: device descriptor read/64, error -71
[126432.279585] usb 1-1.4.4.2: new low-speed USB device number 14 using dwc_otg
[126432.409570] usb 1-1.4.4.2: device descriptor read/64, error -71
[126432.649572] usb 1-1.4.4.2: device descriptor read/64, error -71
[126432.889590] usb 1-1.4.4.2: new low-speed USB device number 15 using dwc_otg
[126433.309889] usb 1-1.4.4.2: device not accepting address 15, error -71
[126433.439601] usb 1-1.4.4.2: new low-speed USB device number 16 using dwc_otg
[126433.859610] usb 1-1.4.4.2: device not accepting address 16, error -71
[126433.860996] usb 1-1.4.4-port2: unable to enumerate USB device
')
the same keyboard on 2.0
$this->bbcode_second_pass_code('', '
[126554.722612] sd 31:0:0:0: [sda] Attached SCSI removable disk
[126731.708205] usb 1-1.5.4.2: new low-speed USB device number 19 using dwc_otg
[126731.839114] usb 1-1.5.4.2: New USB device found, idVendor=046d, idProduct=c31c
[126731.839135] usb 1-1.5.4.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[126731.839145] usb 1-1.5.4.2: Product: USB Keyboard
[126731.839155] usb 1-1.5.4.2: Manufacturer: Logitech
[126731.852411] input: Logitech USB Keyboard as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5.4/1-1.5.4.2/1-1.5.4.2:1.0/0003:046D:C31C.0024/input/input20
[126731.912257] hid-generic 0003:046D:C31C.0024: input,hidraw4: USB HID v1.10 Keyboard [Logitech USB Keyboard] on usb-3f980000.usb-1.5.4.2/input0
[126731.925454] input: Logitech USB Keyboard as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5.4/1-1.5.4.2/1-1.5.4.2:1.1/0003:046D:C31C.0025/input/input21
[126731.981301] hid-generic 0003:046D:C31C.0025: input,hidraw5: USB HID v1.10 Device [Logitech USB Keyboard] on usb-3f980000.usb-1.5.4.2/input1')
acconciox
 
Posts: 110
Joined: Thu May 05, 2016 4:39 pm

Re: hub usb 2.0 and 3.0

Postby WarheadsSE » Fri Jul 08, 2016 1:57 pm

Are the hubs externally powered?
What board is this on?
What port is the hub plugged into?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: hub usb 2.0 and 3.0

Postby acconciox » Mon Jul 11, 2016 8:21 am

>> Are the hubs externally powered?
yes
3.0 is aukey 12v 4a (input) 7 usb 3.0 output + 2 port usb for power only
2.0 is amazonBasics hub 7 port 2,0 (5+2 extrapwer)
>> What board is this on?
raspberry pi 3 b
>> What port is the hub plugged into?
randomly i tested for logitech mouse wireless and logitech kyeboard (italian) any of 3.0 usb port (but not the 2 power only wich are not for transmission data but for ipod or cd rom extra usb powe)

The funny thing is that if i plug mouse and keyboard in hub 2.0 , then i plug 2.0 hub in 3.0 hub, in this case the mouse and keyboard work fine... it works also if i remove external power from 2.0 hub. (Also printer D2400 is correctly detected from hub 2.0)

more, the usb printer HP D2460 plugged on 3.0 hub exterrnally powered:
$this->bbcode_second_pass_code('', '
[76510.037199] usb 1-1.5.4.4: new full-speed USB device number 17 using dwc_otg
[76510.127204] usb 1-1.5.4.4: device descriptor read/64, error -71
[76510.327225] usb 1-1.5.4.4: device descriptor read/64, error -71
[76510.527124] usb 1-1.5.4.4: new full-speed USB device number 18 using dwc_otg
[76510.617171] usb 1-1.5.4.4: device descriptor read/64, error -71
[76510.817196] usb 1-1.5.4.4: device descriptor read/64, error -71
[76511.017192] usb 1-1.5.4.4: new full-speed USB device number 19 using dwc_otg
[76511.437151] usb 1-1.5.4.4: device not accepting address 19, error -71
[76511.527168] usb 1-1.5.4.4: new full-speed USB device number 20 using dwc_otg
[76511.947156] usb 1-1.5.4.4: device not accepting address 20, error -71
[76511.947404] usb 1-1.5.4-port4: unable to enumerate USB device
')
while directly connected to raspi:
$this->bbcode_second_pass_code('', '
[76671.556245] usb 1-1.4: New USB device found, idVendor=03f0, idProduct=7a04
[76671.556271] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[76671.556283] usb 1-1.4: Product: Deskjet D2400 series
[76671.556294] usb 1-1.4: Manufacturer: HP
[76671.556305] usb 1-1.4: SerialNumber: TH7813658N04Y7
[76675.576009] usblp 1-1.4:1.0: usblp0: USB Bidirectional printer dev 21 if 0 alt 0 proto 2 vid 0x03F0 pid 0x7A04
[76675.576463] usbcore: registered new interface driver usblp
')
acconciox
 
Posts: 110
Joined: Thu May 05, 2016 4:39 pm

Re: hub usb 2.0 and 3.0

Postby WarheadsSE » Mon Jul 11, 2016 12:51 pm

Almost sounds like a problem with noise from the power supply making it to the ground(s). The fact that you have 2 or 3 separate power supplies, possibly all interacting, doesn't help isolate.

You are correct that plugging in a USB 2.0 device into you USB 3.0 hub should function, and adding the USB 2.0 hub to a data port on the USB 3.0 hub making it all work again, I wonder what is up with your USB 3.0 hub. If you take that hub our of the equation entirely, does this problem continue to exist? (including the printer issue?)
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: hub usb 2.0 and 3.0

Postby acconciox » Mon Jul 11, 2016 3:33 pm

>> I wonder what is up with your USB 3.0 hub. If you take that hub our of the equation entirely, does this problem >> continue to exist? (including the printer issue?)
Using hub 2.0 alone seems ok, mouse and keyboard are always detected, when i power up externally hub 2.0 the printer is ok, otherwise is not recognized.
in my opinion (as a newbie) mouse or keyboard or printer firmware should be able to demote connection if troubles comes, or simply firmware of those device is not able to change when the first plug fit so, 3.0 fit? ok will be 3.0 but when i plug hub 3.0 in rpi, and is refused as 3.0, these devices are done, because they fit 3.0. while hd external is able to demote to 2.0 when something wrong happens to 3.0 ...
acconciox
 
Posts: 110
Joined: Thu May 05, 2016 4:39 pm

Re: hub usb 2.0 and 3.0

Postby WarheadsSE » Mon Jul 11, 2016 6:51 pm

I think this is a problem with your specific USB 3.0 hub. I have heard of issues where plugging in USB 1.x devices into USB 3.0 will result in behaviors like this.

If at all possible, try another USB 3.0 hub, or prevent attaching devices that attempt to downgrade below USB 2.0
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: hub usb 2.0 and 3.0

Postby acconciox » Tue Jul 12, 2016 2:41 pm

i made another test, with a non powered hub 3.0 directly connected to raspi wich is recognized as
Bus 001 Device 081: ID 2109:2812 VIA Labs, Inc. VL812 Hub
(anker model a7516) and mouse and keyboard are not working
here below another 3.0 powered amazon basics directly connected with raspi
amazon basics powered hub 3.0 not working with raspi
$this->bbcode_second_pass_code('', '
[34568.327832] usb 1-1.4: New USB device found, idVendor=2109, idProduct=2811
[34568.327856] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[34568.327869] usb 1-1.4: Product: USB2.0 Hub
[34568.327880] usb 1-1.4: Manufacturer: VIA Labs, Inc.
[34568.328898] hub 1-1.4:1.0: USB hub found
[34568.329305] hub 1-1.4:1.0: 4 ports detected
[34581.886399] usb 1-1.5.4.1: USB disconnect, device number 80
[34591.763714] usb 1-1.4.4: new full-speed USB device number 83 using dwc_otg
[34591.853652] usb 1-1.4.4: device descriptor read/64, error -71
[34592.053659] usb 1-1.4.4: device descriptor read/64, error -71
[34592.253635] usb 1-1.4.4: new full-speed USB device number 84 using dwc_otg
[34592.343605] usb 1-1.4.4: device descriptor read/64, error -71
[34592.543625] usb 1-1.4.4: device descriptor read/64, error -71
[34592.743593] usb 1-1.4.4: new full-speed USB device number 85 using dwc_otg
[34593.163599] usb 1-1.4.4: device not accepting address 85, error -71
[34593.253536] usb 1-1.4.4: new full-speed USB device number 86 using dwc_otg
[34593.673573] usb 1-1.4.4: device not accepting address 86, error -71
[34593.673884] usb 1-1.4-port4: unable to enumerate USB device
[34611.602125] usb 1-1.5.4.1: new full-speed USB device number 87 using dwc_otg
[34611.739158] usb 1-1.5.4.1: New USB device found, idVendor=046d, idProduct=c52b
[34611.739183] usb 1-1.5.4.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[34611.739195] usb 1-1.5.4.1: Product: USB Receiver
[34611.739206] usb 1-1.5.4.1: Manufacturer: Logitech
[34611.778734] logitech-djreceiver 0003:046D:C52B.001B: hiddev0,hidraw2: USB HID v1.11 Device [Logitech USB Receiver] on usb-3f980000.usb-1.5.4.1/input2
[34614.988109] input: Logitech K400 Plus as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5.4/1-1.5.4.1/1-1.5.4.1:1.2/0003:046D:C52B.001B/0003:046D:404D.001C/input/input12
[34614.989848] logitech-hidpp-device 0003:046D:404D.001C: input,hidraw3: USB HID v1.11 Keyboard [Logitech K400 Plus] on usb-3f980000.usb-1.5.4.1:1')
im getting confused with my 32bit notebook those seems to work fine, i will report later a test on 32 bit notebook.
acconciox
 
Posts: 110
Joined: Thu May 05, 2016 4:39 pm

Re: hub usb 2.0 and 3.0

Postby WarheadsSE » Tue Jul 12, 2016 2:50 pm

This is not a problem in regards to 32 vs 64-bit, and likely not even in regards to ARM vs x86.

This is very likely a hardware problem.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: hub usb 2.0 and 3.0

Postby acconciox » Tue Jul 12, 2016 3:48 pm

it works with notebook 32bit linux, it works with i68G octacore android 5.1 lollipop with kernel 3.10, if is hardware is not the hub i suppose...
acconciox
 
Posts: 110
Joined: Thu May 05, 2016 4:39 pm

Re: hub usb 2.0 and 3.0

Postby WarheadsSE » Tue Jul 12, 2016 4:40 pm

That is precisely what I am saying. It is likely to be the Pi.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Next

Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 8 guests