Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Can't detect USB devices. (needed both 1.x and 2.0)
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
Jeremy_Z
l33t
l33t


Joined: 05 Apr 2004
Posts: 671
Location: Shanghai

PostPosted: Fri Jul 16, 2004 12:31 pm    Post subject: [SOLVED] Can't detect USB devices. (needed both 1.x and 2.0) Reply with quote

Hi,

I am trying to setup my usb printe (canon s200x) but it does not appear in
# cat /proc/bus/usb/devices
in fact i just see the usb controller, should i be able to see all usb devices ? (i've got the printer, a scanner, a gamepad and a webcam, all work in windows, the mouse is a logitech usb wireless but it works)

Code:
T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 6
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.7-gentoo-r5 ehci_hcd
S:  Product=Silicon Integrated Systems [SiS] USB 2.0 Controller
S:  SerialNumber=0000:00:03.2
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=256ms


and
# dmesg
Code:

ehci_hcd 0000:00:03.2: Silicon Integrated Systems [SiS] USB 2.0 Controller
ehci_hcd 0000:00:03.2: irq 11, pci mem e0831000
ehci_hcd 0000:00:03.2: new USB bus registered, assigned bus number 1
PCI: cache line size of 64 is not supported by device 0000:00:03.2
ehci_hcd 0000:00:03.2: USB 2.0 enabled, EHCI 1.00, driver 2004-May-10
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 6 ports detected
USB Universal Host Controller Interface driver v2.2
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver


Looks like usb is correctly set up but, it doesn't work ? :?

USB support is compiled into the kernel (with USB printer support, usbfs, usb mass storage).

Did i miss something ?
:(
_________________
"Because two groups of consumers drive the absolute high end of home computing: the gamers and the porn surfers." /.
My gentoo projects, Kelogviewer and a QT4 gui for etc-proposals


Last edited by Jeremy_Z on Fri Jul 16, 2004 4:33 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Fri Jul 16, 2004 1:45 pm    Post subject: Reply with quote

Jeremy_Z,

Uou have the correct USB 2.0 driver loaded (ehci_hcd) but it will not work with USB 1.1 or 1.0 devices. IF you don't have any USB 2.0 devices remove this driver.

You are also loading the uhci-hcd driver for Intel and VIA USB 1.1 root hubs. However, you have a SiS chip set, so you probably want the ohci-hcd driver. (The other USB 1.1 driver)

Give it a shot. You must not load both ohci-hcd and uhci-hcd or it almost certianly won't work.

usbview (emerge usbview) is good for making sense of /proc/bus/usb/devices

Your mouse works because your motherboard is making it look like a PS/2 device.
_________________
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
Jeremy_Z
l33t
l33t


Joined: 05 Apr 2004
Posts: 671
Location: Shanghai

PostPosted: Fri Jul 16, 2004 3:48 pm    Post subject: Reply with quote

Hmm 2.0 is not backward compatible ? lame. I don't use USB 2.0 so i will try to remove it then.
But IF i want to use both ?

I use uhci (i know it doesn't work with ohci) because i thought it wasthe good one, and dmesg was reassuring about that. But i realize uhci is not used so, if i understand well uhci is the bad driver, ehci is used but only for 2.0 then i need ohci for 1.x and perhaps both ohci and ehci if i use 2.0 devices too.

Is that correct ?

Thanks anyway. :wink:
_________________
"Because two groups of consumers drive the absolute high end of home computing: the gamers and the porn surfers." /.
My gentoo projects, Kelogviewer and a QT4 gui for etc-proposals
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Fri Jul 16, 2004 4:00 pm    Post subject: Reply with quote

Jeremy_Z,

Yes. You need the USB 2.0 driver (which suits all USB 2.0 root hubs) and the right USB 1.1 driver for your particular USB 1.1 root hubs.

USB 2.0 compatibility has been faked. USB 2.0 chip sets require 'helper' chips to do USB 1.1 but, USB 2.0 devices will fall back to USB 1.1 if they are unable to connect via USB 2.0. In that sense, they are compatible.

You still need the right drivers for your motherboard hardware.
_________________
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
Jeremy_Z
l33t
l33t


Joined: 05 Apr 2004
Posts: 671
Location: Shanghai

PostPosted: Fri Jul 16, 2004 4:23 pm    Post subject: Reply with quote

OK it works. :D

Now i have to fight against cups, but it is another story :wink:
_________________
"Because two groups of consumers drive the absolute high end of home computing: the gamers and the porn surfers." /.
My gentoo projects, Kelogviewer and a QT4 gui for etc-proposals
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