Google
  Web www.spinics.net

Re: [usb-storage] "transport indicates command failure" when hot-plugging a USB device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Fri, 27 Jul 2007, Jean-Claude Repetto wrote:

> > I wonder if a START_UNIT would help.... I've heard through the grapevine
> > that a common OS reponse to "Not ready" is START_UNIT.
> > 
> > Matt
> > 
> 
> How can I test that ? Could you send me a patch against the kernel 
> 2.6.22 driver ?

You can do it yourself pretty easily.  In drivers/scsi/sd.c, find the 
sd_spinup_disk() routine and comment out the call to 
media_not_present() near its start.  You also have to comment out the 
check of sdkp->device->no_start_on_add.

Alan Stern


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Linux-usb-users@xxxxxxxxxxxxxxxxxxxxx
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

[Linux USB]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Video Projectors]     [PDAs]     [Free Online Dating]     [Hacking TiVo]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Devices]     [Big List of Linux Books]     [16.7MP]

Powered by Linux