Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
For some reason when I connect my USB compact Flash reader in any USB port I get this message from the kernel. It always reset the device!?!
Code:
reset high speed USB device using ehci_hcd and address 8
hub 3-0:1.0: port 4 disabled by hub (EMI?), re-enabling...
Then puts it back in the low speed configuration
Code:
usb 1-1: not running at top speed; connect to a high speed hub
Any idea what could cause that?
Uname -a
Linux toshiba 2.6.23.14-smp #6 SMP Tue Jan 29 13:13:22 EST 2008 i686 Intel(R) Celeron(R) M CPU 430 @ 1.73GHz GenuineIntel GNU/Linux
Thanks
Claude
DMESG message when connecting:
Code:
usb 3-1: new high speed USB device using ehci_hcd and address 8
usb 3-1: configuration #1 chosen from 1 choice
scsi9 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 8
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete
usb 3-1: reset high speed USB device using ehci_hcd and address 8
usb 3-1: reset high speed USB device using ehci_hcd and address 8
usb 3-1: reset high speed USB device using ehci_hcd and address 8
usb 3-1: reset high speed USB device using ehci_hcd and address 8
hub 3-0:1.0: port 1 disabled by hub (EMI?), re-enabling...
usb 3-1: USB disconnect, address 8
usb 1-1: new full speed USB device using ohci_hcd and address 4
usb 1-1: not running at top speed; connect to a high speed hub
usb 1-1: configuration #1 chosen from 1 choice
scsi10 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete
scsi 10:0:0:0: Direct-Access OEI-USB2 CompactFlash 2.22 PQ: 0 ANSI: 0
sd 10:0:0:0: [sdb] Attached SCSI removable disk
sd 10:0:0:0: Attached scsi generic sg1 type 0
sd 10:0:0:0: [sdb] 3940272 512-byte hardware sectors (2017 MB)
sd 10:0:0:0: [sdb] Write Protect is off
sd 10:0:0:0: [sdb] Mode Sense: 0b 00 00 08
sd 10:0:0:0: [sdb] Assuming drive cache: write through
sd 10:0:0:0: [sdb] 3940272 512-byte hardware sectors (2017 MB)
sd 10:0:0:0: [sdb] Write Protect is off
sd 10:0:0:0: [sdb] Mode Sense: 0b 00 00 08
sd 10:0:0:0: [sdb] Assuming drive cache: write through
sdb: sdb1
(b) search HCL to see if someone already has it working.
What is HCL if I can ask before we start???
What is a Vanilla Kernel, does it taste good ?
Edit--> Ok, got my answer for the Vanilla Kernel... Well this is what I'm using, the latest from kernel.org. I guess that this is the Vanilla kernel...???
Thanks
Claude
Last edited by cferron; 03-30-2008 at 08:26 AM.
Reason: Found one answer
ok please post the full make model etc of your reader.....
Can't seem to find it... Here are the details...
===========================================
READER = CompuApps OmniFlash Uno CF 2.0! (USB2-UDMA40)
Controller: OnSpec xSil251-G
OM-U2-CFU4 / Part No.: CF06-11
Source: http://www.hjreggel.net/cardspeed/
===========================================
It matches the reader vendor and idproduct (got those with lsusb command) and create the /dev/flashport entry with no problem when I connect the reader to any USB port. It seems to be stable and working for now, but it normally happend when I upload lots of card (35 and more in a day...)
UPDATE: I created a new rules files ex 55-myrules.rules in the /etc/udev/rules.d/ directory.... that seem to be causing a problem (lsusb was not giving any output + I was unable to mount my CF card, I wonder why?). I have put back my rules in the original 50-udev.rules and it seem to be working.
USB card readers (CompactFlash, SmartMedia, etc) are yet another range of USB storage devices which have different usage requirements.
These devices typically do not inform the host computer upon media change. So, if you plug in the device with no media, and then insert a card, the computer does not realise, and you do not have your mountable sdb1 partition node for the media.
One possible solution is to take advantage of the all_partitions option, which will create 16 partition nodes for every block device that the rule matches:
KERNEL="sd*", SUBSYSTEMS=="scsi", ATTRS{model}=="USB 2.0 CompactFlash Reader", SYMLINK+="cfrdr%n", OPTIONS+="all_partitions"
You will now have nodes named: cfrdr, cfrdr1, cfrdr2, cfrdr3, ..., cfrdr15.
KERNEL="sd*", SUBSYSTEMS=="scsi", ATTRS{model}=="USB 2.0 CompactFlash Reader", SYMLINK+="cfrdr%n", OPTIONS+="all_partitions"
You will now have nodes named: cfrdr, cfrdr1, cfrdr2, cfrdr3, ..., cfrdr15.
Thanks for the time you put in that aus9, I really appreciate it!
Will try the above rule.
I'm just trying to understand what I'm doing here...
I have /dev entry created at every boot (/etc/rc.d/rc.local)
/bin/mknod /dev/sdb1 b 8 1
/bin/mknod /dev/sdc1 b 8 1
/bin/mknod /dev/sdd1 b 8 1
/bin/mknod /dev/sde1 b 8 1
Don't ask me why there is a 8 1 there, just don<t understand the minor or major number...
I have my /etc/fstab that has:
/dev/flashport1 /mnt/flash1 vfat user,ro,noatime,noauto 0 0
I have a udev rule that goes like this:
#Reader Uno2!
SYSFS{idVendor}=="55aa", SYSFS{idProduct}=="2b00", NAME="flashport1", MODE="0644"
Is that ok, or there are "cleaner" way to do what I<m doing right now.
How does linux know that /dev/sdb1 is related to /dev/flashport1????
Thanks again.
Claude, desperate to understand more
im just going to throw this in, and its not a solution at all, but i bought a bytestor card reader and got the same sort of error messages you have, i then bought a kingston card reader and it worked perfectly.
If it is that your device is not running at its full capable speed,
maybe you dont have usb 2.0 ports on your PC.
Your specs are reminescent of an old box.
im just going to throw this in, and its not a solution at all, but i bought a bytestor card reader and got the same sort of error messages you have, i then bought a kingston card reader and it worked perfectly.
I have 10 readers and they all did the same thing.... But since I change therules in udev, everything seem to be stable! I cross my finger, maybe my problem is solved? The reader I have is the faster on the market, speed is critical for us. As for machine spec, 100% certain they have USB2 (Dual quad core XEON) running ehci driver....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.