Thread (1 message) 1 message, 1 author, 2021-07-21

Re: [usb-storage] unusual diagnostic message requestl?

From: Alan Stern <stern@rowland.harvard.edu>
Date: 2021-07-21 14:36:33

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 [off-list ref]> and
<usb-storage@lists.one-eyed-alien.net
[off-list ref]>*[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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help