I was having this very same problem and the fix below worked for me (but the actual path was /sys/block/sda/device/scsi_disk:8:0:0:0/allow_restart ). I don't really know much about the linux device model at all, so I'm not sure if that's to be expected.
However, if I unplug the drive and plug it in again, the value is set back to 0 (and the device in the path above would be incremented to 9 so the path would be ... /scsi_disk:9:0:0:0/allow_restart ). Is there a way to set this more generically for this drive? It seems like I shouldn't need to do it every time I plug it in. Thanks, Scott > Just the important parts: > > > usb-storage: Command READ_10 (10 bytes) > > usb-storage: 28 00 00 00 02 40 00 00 08 00 > > > usb-storage: -- unexpectedly short transfer > > usb-storage: Issuing auto-REQUEST_SENSE > > > usb-storage: -- code: 0x70, key: 0x2, ASC: 0x4, ASCQ: 0x2 > > usb-storage: Not Ready: Logical unit not ready, initializing command > > required > > Okay, that's clear. > > First of all, this is not a problem with autoresume. The drive was never > suspended and it was never resumed. It's a problem with auto-spin-down. > As such it has nothing whatsoever to do with USB. > > You might be able to fix it by writing an appropriate value to an > attribute file in sysfs. In this case you need to do something like: > > echo 1 >/sys/block/sda/device/allow_restart > > The path might be slightly different, but you definitely want the file > named "allow_restart" associated with the drive. Setting that value will > enable the system to spin-up the disk when necessary. > > If that doesn't work, you might want to try posting to the linux-scsi > mailing list. > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel