View previous topic :: View next topic |
Author |
Message |
siro Tux's lil' helper
Joined: 20 Mar 2004 Posts: 102
|
Posted: Wed Mar 30, 2005 7:11 pm Post subject: Kernel detects USB 2.0 as USB 1.0 |
|
|
Hi,
ive got a usb 2.0 memory key, i know it works on my computer because i have tested it in windows and it gives me high speed transfers. When i plug it in in linux and i do dmesg i get the following output:
Code: |
Vendor: LEXAR Model: DIGITAL FILM Rev: /W1.
Type: Direct-Access ANSI SCSI revision: 02
SCSI device sda: 251904 512-byte hdwr sectors (129 MB)
sda: Write Protect is off
sda: Mode Sense: 0d 00 00 00
sda: assuming drive cache: write through
SCSI device sda: 251904 512-byte hdwr sectors (129 MB)
sda: Write Protect is off
sda: Mode Sense: 0d 00 00 00
sda: assuming drive cache: write through
sda: sda1
Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
usb-storage: device scan complete
|
As you can see it is the typical output of a 1.0 device. I have the usb 2.0 driver compiled in the kernel. This is the output from modprobe -l | grep usb:
Code: |
/lib/modules/2.6.11-gentoo-r4/kernel/drivers/usb/storage/usb-storage.ko
/lib/modules/2.6.11-gentoo-r4/kernel/drivers/usb/input/usbhid.ko
/lib/modules/2.6.11-gentoo-r4/kernel/drivers/usb/host/uhci-hcd.ko
/lib/modules/2.6.11-gentoo-r4/kernel/drivers/usb/host/ehci-hcd.ko
/lib/modules/2.6.11-gentoo-r4/kernel/drivers/usb/core/usbcore.ko
/lib/modules/2.6.11-gentoo-r4/kernel/drivers/usb/class/usblp.ko
/lib/modules/2.6.11-gentoo-r4/kernel/drivers/bluetooth/hci_usb.ko
|
I can load ehci-hcd manually and when i plug in the memory key with that module loaded and uhci-hcd unloaded dmesg gives me no output. I have tried ohci-hcd with exactly the same results.
Does anybody know how to make this damn thing get detected? |
|
Back to top |
|
|
yaneurabeya Veteran
Joined: 13 May 2004 Posts: 1754 Location: Seattle
|
Posted: Wed Mar 30, 2005 7:24 pm Post subject: |
|
|
Uhm, it is detected and your dmesg says it's being mapped to /dev/sda. Did you compile in the proper vfat stuff and emerge dosfstools yet? |
|
Back to top |
|
|
siro Tux's lil' helper
Joined: 20 Mar 2004 Posts: 102
|
Posted: Wed Mar 30, 2005 7:46 pm Post subject: |
|
|
I can mount it and copy things inside it, and i can read them back. The problem is that i get very low speeds (USB 1.0 speeds to be precise) and id like it to be detected as USB 2.0. |
|
Back to top |
|
|
Peach Advocate
Joined: 08 Mar 2003 Posts: 3686 Location: London, UK
|
Posted: Wed Mar 30, 2005 9:29 pm Post subject: Re: Kernel detects USB 2.0 as USB 1.0 |
|
|
siro wrote: | Code: |
/lib/modules/2.6.11-gentoo-r4/kernel/drivers/usb/storage/usb-storage.ko
/lib/modules/2.6.11-gentoo-r4/kernel/drivers/usb/input/usbhid.ko
/lib/modules/2.6.11-gentoo-r4/kernel/drivers/usb/host/uhci-hcd.ko
/lib/modules/2.6.11-gentoo-r4/kernel/drivers/usb/host/ehci-hcd.ko
/lib/modules/2.6.11-gentoo-r4/kernel/drivers/usb/core/usbcore.ko
/lib/modules/2.6.11-gentoo-r4/kernel/drivers/usb/class/usblp.ko
/lib/modules/2.6.11-gentoo-r4/kernel/drivers/bluetooth/hci_usb.ko
|
|
the USB 2.0 driver is handled by the EHCI driver, but is the module loaded when you attach the usb drive? secondly, dunno if it's the right thing to check, anyway, is the UHCI module right for your hardware specs? you can see it making a
mine is something like:
Quote: | 0000:00:1d.2 USB Controller: Intel Corp. 82801CA/CAM USB (Hub #3) (rev 01) (prog-if 00 [UHCI]) |
_________________ Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom |
|
Back to top |
|
|
siro Tux's lil' helper
Joined: 20 Mar 2004 Posts: 102
|
Posted: Thu Mar 31, 2005 3:27 pm Post subject: |
|
|
This is what i get from lspci | grep -i usb (look at the last line).
Code: |
0000:00:1d.0 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01)
0000:00:1d.1 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01)
0000:00:1d.2 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01)
0000:00:1d.7 USB Controller: Intel Corp. 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 01)
|
As i said in my previous post i plugged it in with and without the module loaded. When i have the uhci module loaded it detects the device as USB 1.0 (it doesnt mind if wheter i have ehci loaded or not) and when i load only ehci it doesnt detect anything.[/code] |
|
Back to top |
|
|
yaneurabeya Veteran
Joined: 13 May 2004 Posts: 1754 Location: Seattle
|
Posted: Thu Mar 31, 2005 5:34 pm Post subject: |
|
|
Silly question, but are you sure you plugged your Flash drive into the USB 2.0 compatible BUS? |
|
Back to top |
|
|
|