Re: Problem with STM8S Discovery kit

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

 



On Tue, 17 Aug 2010, Vaclav Peroutka wrote:

> > For example:
> > 
> > 	modprobe usb-storage quirks=483:3744:l
> > 
> > That last character is the letter l, not the number 1; it tells
> > usb-storage the medium can't be locked so the kernel shouldn't send a
> > PREVENT-ALLOW MEDIUM REMOVAL command.  Equivalently, you can add a line
> > saying
> > 
> 
> Hi Alan,
> 
> this quirk IMHO did not cause, that above-mentioned command was not sent. The usb-storage module just ignores the device completely. I got
> usb-storage 5-1:1.0: Quirks match for vid 0483 and pid 3744: 800
> usb-storage: device ignored
> 
> Is that right behaviour ?

It sounds like you typed an 'i' instead of an 'l'.  The match value 
should have been 80, not 800.

> If I understand correctly, no Mass Storage is detected... Is there a 
possibility just to skip the PREVENT-ALLOW command ? I have kernel 2.6.31.

The 'i' quirk means to ignore the device, as you saw.  The 'l' quirk
means to skip the PREVENT-ALLOW command.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux