Re: [PATCH] USB: usb-storage: unusual_devs entry for ARM V2M motherboard.

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

 



On Wed, 13 Jul 2011, Nick Bowler wrote:

> Connecting the V2M to a Linux host results in a constant stream of
> errors spammed to the console, all of the form
> 
>   sd 1:0:0:0: ioctl_internal_command return code = 8070000
>      : Sense Key : 0x4 [current]
>      : ASC=0x0 ASCQ=0x0
> 
> The errors appear to be otherwise harmless.  Add an unusual_devs entry
> which eliminates all of the error messages.
> 
> Signed-off-by: Nick Bowler <nbowler@xxxxxxxxxxxxxxxx>
> ---
> 
> NB: The unusual_devs.h file tells me to attach a copy of
> /proc/bus/usb/devices with any patch submission, but this file
> does not exist on my system so I'm not sure what to attach.

That filename is out of date.  The modern equivalent would be 
/sys/kernel/debug/usb/devices, but in your case it doesn't matter.

>  drivers/usb/storage/unusual_devs.h |   10 ++++++++++
>  1 files changed, 10 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/usb/storage/unusual_devs.h b/drivers/usb/storage/unusual_devs.h
> index ccff348..3041a97 100644
> --- a/drivers/usb/storage/unusual_devs.h
> +++ b/drivers/usb/storage/unusual_devs.h
> @@ -1988,6 +1988,16 @@ UNUSUAL_DEV(  0x4146, 0xba01, 0x0100, 0x0100,
>  		"Micro Mini 1GB",
>  		USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
>  
> +/*
> + * Nick Bowler <nbowler@xxxxxxxxxxxxxxxx>
> + * SCSI stack spams (otherwise harmless) error messages.
> + */
> +UNUSUAL_DEV(  0xc251, 0x4003, 0x0100, 0x0100,
> +		"Keil Software, Inc.",
> +		"V2M MotherBoard",
> +		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
> +		US_FL_NOT_LOCKABLE),
> +
>  /* Reported by Andrew Simmons <andrew.simmons@xxxxxxxxx> */
>  UNUSUAL_DEV(  0xed06, 0x4500, 0x0001, 0x0001,
>  		"DataStor",

This is fine.  Greg, please apply.

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