linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [usb-storage] unusual diagnostic message requestl?
       [not found] <CAORgStp5VT5MVHuBeZEVW08VaUkUfCNHqWhiEKFTchKGzrzf9g@mail.gmail.com>
@ 2021-07-21 14:36 ` Alan Stern
  0 siblings, 0 replies; only message in thread
From: Alan Stern @ 2021-07-21 14:36 UTC (permalink / raw)
  To: Jason Quackenbush; +Cc: linux-usb, usb-storage

On Tue, Jul 20, 2021 at 09:14:22PM -0700, Jason Quackenbush wrote:
> Hi, I received a strange notice in the dmesg log while trying to figure out
> why a thumb drive is misbehaving. It told me to send the message to these
> email addresses so I am doing as instructed. I've also included all the
> messages included in the string beginning with when I plugged the stick in
> up to the point where the log stopped because i ran the dmesg command.

Thanks for sending this in.

> Please let me know if you would like any additional information. The dmesg
> output was as follows:
> 
> [30931.644203] usb 1-2.1: new high-speed USB device number 23 using xhci_hcd
> [30931.720562] usb 1-2.1: New USB device found, idVendor=ffff,
> idProduct=1201
> [30931.720580] usb 1-2.1: New USB device strings: Mfr=0, Product=0,
> SerialNumber=0
> [30931.725709] usb-storage 1-2.1:1.0: USB Mass Storage device detected
> 
> 
> *[30931.731119] usb-storage 1-2.1:1.0: This device (ffff,1201,0000 S 06 P
> 50) has unneeded SubClass and Protocol entries in unusual_devs.h (kernel
> 4.16.18-galliumos)                  Please send a copy of this message to
> <linux-usb@vger.kernel.org <linux-usb@vger.kernel.org>> and
> <usb-storage@lists.one-eyed-alien.net
> <usb-storage@lists.one-eyed-alien.net>>*[30931.731321] scsi host0:
> usb-storage 1-2.1:1.0

I don't see any entry like that (vendor ID = 0xffff, product ID = 0x1201) in 
unusual_devs.h in the standard 4.16.18 kernel source.  Has your kernel been 
modified to add such an entry?

Assuming it has, it looks like the entry wasn't added correctly.  It 
probably should contain USB_SC_DEVICE and USB_PR_DEVICE rather than 
USB_SC_SCSI and USB_PR_BULK.

Alan Stern

PS: It also looks like that thumb drive was was programmed in a rather 
shoddy fashion, not compliant with the appropriate standards requirements.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-07-21 14:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAORgStp5VT5MVHuBeZEVW08VaUkUfCNHqWhiEKFTchKGzrzf9g@mail.gmail.com>
2021-07-21 14:36 ` [usb-storage] unusual diagnostic message requestl? Alan Stern

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).