DebuggingUSBStorage

Differences between revisions 3 and 5 (spanning 2 versions)
Revision 3 as of 2006-01-27 22:56:37
Size: 1042
Editor: S010600131016cf6f
Comment: add cats
Revision 5 as of 2008-08-06 16:40:21
Size: 63
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
== USB2 Issues ==

This can be worked around easily. Simply run this command:

{{{
sudo rmmod ehci_hcd
}}}


== Buffer I/O Errors ==

If you see errors related to Buffer I/O when attaching a USB Storage device, there are two ways to work around it. First, try using varying max_sectors settings, as such:

{{{
sudo sh -c "echo 120 > /sys/block/sda/queue/max_sectors_kb"
}}}

Try values of 120, 64 and 32.

If this does not resolve the issue, then you may need an unusual_dev entry for your device. It would look something like this:

{{{
UNUSUAL_DEV(0x03eb , 0x2002, 0x0100, 0x9999,
            "Generic",
            "MusicDrive",
            US_SC_DEVICE, US_PR_DEVICE, NULL,
            US_FL_IGNORE_RESIDUE),
}}}

The vendor and device ID's can be obtained from the output of "lsusb". The entry would be placed in drivers/usb/storage/unusual_devs.h. If you cannot compile your own kernel, please file a bug report, and we'll attempt to compile a test module for you.

CategoryDocumentation CategoryCleanup
#REFRESH 0 http://help.ubuntu.com/community/DebuggingUSBStorage

DebuggingUSBStorage (last edited 2008-08-06 16:40:21 by localhost)