Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USB refuses to use ehci
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Saundersx
Apprentice
Apprentice


Joined: 11 Apr 2005
Posts: 294

PostPosted: Sat Nov 01, 2008 12:35 pm    Post subject: USB refuses to use ehci Reply with quote

I have a M2N-SLI DELUXE motherboard, and it completely refuses to use ehci. No matter where I plug it in, it always jumps on bus 2. The device is a usb 2.0 (webcam).

Code:
Bus 002 Device 009: ID 045e:00f7 Microsoft Corp. LifeCam VX-1000
Bus 002 Device 007: ID 046d:c503 Logitech, Inc. Cordless Mouse+Keyboard Receiver
Bus 002 Device 006: ID 046d:c01d Logitech, Inc. MX510 Optical Mouse
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


Even by itself it always chooses ohci.

Code:
Bus 002 Device 011: ID 045e:00f7 Microsoft Corp. LifeCam VX-1000
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


When webcam (VX-1000) is plugged in

Code:
usb 2-6: new full speed USB device using ohci_hcd and address 4
usb 2-6: configuration #1 chosen from 1 choice
usb 2-6: New USB device found, idVendor=045e, idProduct=00f7
usb 2-6: New USB device strings: Mfr=0, Product=1, SerialNumber=0
usb 2-6: Product: USB camera
Linux video capture interface: v2.00
gspca: main v2.2.0 registered
gspca: probing 045e:00f7
sonixj: Sonix chip id: 11
gspca: probe ok
gspca: probing 045e:00f7
gspca: probing 045e:00f7
usbcore: registered new interface driver sonixj
sonixj: registered
usbcore: registered new interface driver snd-usb-audio


and when trying to use the cam it does this which I have read is it not getting the bandwidth it requires.

Code:
Nov  1 09:11:52 homebox gspca: usb_submit_urb [0] err -28
Nov  1 09:11:52 homebox ohci_hcd 0000:00:02.0: leak ed ffff88007619d320 (#81) state 2


Question is how do I get this to accept/use ehci?

Just to field off a few q's: usb 2.0 is enabled in the bios, im certain the device is usb 2.0 (tried others as well), kernel 2.6.27-zen3, ehci+ohci is enabled in the kernel, removing ohci module and rebooting ignores 1.1 devices AND oddly enough will not detect the webcam.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54819
Location: 56N 3W

PostPosted: Sat Nov 01, 2008 12:40 pm    Post subject: Reply with quote

Saundersx,

Please post the content of /proc/bus/usb/devices with all the devices attached.

That will show what each device is capable of and how they are arranged. You must not mix USB 1 and USB 2 devices on the same root hub if you want the USB 2 devices to run at USB 2 speeds.

emerge usbview and look at your usb tree.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Saundersx
Apprentice
Apprentice


Joined: 11 Apr 2005
Posts: 294

PostPosted: Sat Nov 01, 2008 2:41 pm    Post subject: Reply with quote

NeddySeagoon wrote:
Please post the content of /proc/bus/usb/devices with all the devices attached.


Code:
cat /proc/bus/usb/devices

T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh=10
B:  Alloc= 41/900 us ( 5%), #Int=  3, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0001 Rev= 2.06
S:  Manufacturer=Linux 2.6.27-zen3 ohci_hcd
S:  Product=OHCI Host Controller
S:  SerialNumber=0000:00:02.0
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms

T:  Bus=02 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#= 12 Spd=1.5 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=046d ProdID=c01d Rev=21.00
S:  Manufacturer=Logitech
S:  Product=USB-PS/2 Optical Mouse
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr= 98mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=usbhid
E:  Ad=81(I) Atr=03(Int.) MxPS=   7 Ivl=10ms

T:  Bus=02 Lev=01 Prnt=01 Port=03 Cnt=02 Dev#= 13 Spd=1.5 MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=046d ProdID=c503 Rev=10.20
S:  Manufacturer=Logitech
S:  Product=USB Receiver
C:* #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr= 50mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=01 Driver=usbhid
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=10ms
I:* If#= 1 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=00 Prot=00 Driver=usbhid
E:  Ad=82(I) Atr=03(Int.) MxPS=   8 Ivl=10ms

T:  Bus=02 Lev=01 Prnt=01 Port=04 Cnt=03 Dev#= 18 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=045e ProdID=00f7 Rev= 1.01
S:  Product=USB camera
C:* #Ifs= 3 Cfg#= 1 Atr=80 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=sonixj
E:  Ad=81(I) Atr=01(Isoc) MxPS=   0 Ivl=1ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=   1 Ivl=100ms
I:  If#= 0 Alt= 1 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=sonixj
E:  Ad=81(I) Atr=01(Isoc) MxPS= 128 Ivl=1ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=   1 Ivl=100ms
I:  If#= 0 Alt= 2 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=sonixj
E:  Ad=81(I) Atr=01(Isoc) MxPS= 256 Ivl=1ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=   1 Ivl=100ms
I:  If#= 0 Alt= 3 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=sonixj
E:  Ad=81(I) Atr=01(Isoc) MxPS= 384 Ivl=1ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=   1 Ivl=100ms
I:  If#= 0 Alt= 4 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=sonixj
E:  Ad=81(I) Atr=01(Isoc) MxPS= 512 Ivl=1ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=   1 Ivl=100ms
I:  If#= 0 Alt= 5 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=sonixj
E:  Ad=81(I) Atr=01(Isoc) MxPS= 680 Ivl=1ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=   1 Ivl=100ms
I:  If#= 0 Alt= 6 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=sonixj
E:  Ad=81(I) Atr=01(Isoc) MxPS= 800 Ivl=1ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=   1 Ivl=100ms
I:  If#= 0 Alt= 7 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=sonixj
E:  Ad=81(I) Atr=01(Isoc) MxPS= 900 Ivl=1ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=   1 Ivl=100ms
I:  If#= 0 Alt= 8 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=sonixj
E:  Ad=81(I) Atr=01(Isoc) MxPS=1023 Ivl=1ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=   1 Ivl=100ms
I:* If#= 1 Alt= 0 #EPs= 0 Cls=01(audio) Sub=01 Prot=00 Driver=snd-usb-audio
I:* If#= 2 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
I:  If#= 2 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
E:  Ad=84(I) Atr=01(Isoc) MxPS=  64 Ivl=1ms

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh=10
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 2.06
S:  Manufacturer=Linux 2.6.27-zen3 ehci_hcd
S:  Product=EHCI Host Controller
S:  SerialNumber=0000:00:02.1
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms


NeddySeagoon wrote:
That will show what each device is capable of and how they are arranged. You must not mix USB 1 and USB 2 devices on the same root hub if you want the USB 2 devices to run at USB 2 speeds.


I don't know how not to mix them, hell I don't even know how to get it on USB2, tried every slot.
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 6069
Location: Removed by Neddy

PostPosted: Sat Nov 01, 2008 2:48 pm    Post subject: Reply with quote

Code:

T:  Bus=02 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#= 12 Spd=1.5 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=046d ProdID=c01d Rev=21.00
S:  Manufacturer=Logitech
S:  Product=USB-PS/2 Optical Mouse
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr= 98mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=usbhid
E:  Ad=81(I) Atr=03(Int.) MxPS=   7 Ivl=10ms


that is a usb1 device on bus2, so the usb2 camera will be forced to use the old drivers

emerge usbview to see what is where a bit easier


Quote:

I don't know how not to mix them, hell I don't even know how to get it on USB2, tried every slot.


using usbview you can do that. I recently had todo it to get my usbaudio device onto my usb2 controller. takes a few min of tracing through what is plugged in where and then re-ordering yr connections. BUT once you have identified what is the USB2 controller you are sorted
_________________
#define HelloWorld int
#define Int main()
#define Return printf
#define Print return
#include <stdio>
HelloWorld Int {
Return("Hello, world!\n");
Print 0;
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54819
Location: 56N 3W

PostPosted: Sat Nov 01, 2008 4:10 pm    Post subject: Reply with quote

Saundersx,

You have several problems.

First, your OHCI (USB 1) root hub is in an overcurrent condtion. Your webcam needs 500mA, which is the maximum a root hub can provide for all connected devices. This may cause strange effects with all connected devices.

Your webcam is USB 1.1 but your mouse is USB 2 ... thats odd.
Code:
T:  Bus=02 Lev=01 Prnt=01 Port=04 Cnt=03 Dev#= 18 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=045e ProdID=00f7 Rev= 1.01
S:  Product=USB camera

Move your webcam (alone) onto your other root hub
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum