Re: ums-realtek: Unneeded SubClass & Protocol entries (Fujitsu S760laptop)

From: Alan Stern
Date: Wed May 04 2011 - 12:35:47 EST


On Wed, 4 May 2011, Tony Vroon wrote:

> Good afternoon,
>
> The following message was emitted by my kernel:
> usb 1-1.6: new high speed USB device number 5 using ehci_hcd
> ums-realtek 1-1.6:1.0: This device (0bda,0138,3882 S 06 P 50) has
> unneeded SubClass and Protocol entries in unusual_devs.h (kernel
> 2.6.39-rc5-00274-g609cfda)
> Please send a copy of this message to <linux-usb@xxxxxxxxxxxxxxx> and
> <usb-storage@xxxxxxxxxxxxxxxxxxxxxxxx>
> scsi6 : usb-storage 1-1.6:1.0

Thanks for reporting this. Does the patch below cause the message to
go away?

Alan Stern



Index: usb-2.6/drivers/usb/storage/unusual_realtek.h
===================================================================
--- usb-2.6.orig/drivers/usb/storage/unusual_realtek.h
+++ usb-2.6/drivers/usb/storage/unusual_realtek.h
@@ -23,19 +23,19 @@
#if defined(CONFIG_USB_STORAGE_REALTEK) || \
defined(CONFIG_USB_STORAGE_REALTEK_MODULE)

-UNUSUAL_DEV(0x0bda, 0x0159, 0x0000, 0x9999,
+UNUSUAL_DEV(0x0bda, 0x0138, 0x0000, 0x9999,
"Realtek",
"USB Card Reader",
- USB_SC_SCSI, USB_PR_BULK, init_realtek_cr, 0),
+ USB_SC_DEVICE, USB_PR_DEVICE, init_realtek_cr, 0),

UNUSUAL_DEV(0x0bda, 0x0158, 0x0000, 0x9999,
"Realtek",
"USB Card Reader",
- USB_SC_SCSI, USB_PR_BULK, init_realtek_cr, 0),
+ USB_SC_DEVICE, USB_PR_DEVICE, init_realtek_cr, 0),

-UNUSUAL_DEV(0x0bda, 0x0138, 0x0000, 0x9999,
+UNUSUAL_DEV(0x0bda, 0x0159, 0x0000, 0x9999,
"Realtek",
"USB Card Reader",
- USB_SC_SCSI, USB_PR_BULK, init_realtek_cr, 0),
+ USB_SC_DEVICE, USB_PR_DEVICE, init_realtek_cr, 0),

#endif /* defined(CONFIG_USB_STORAGE_REALTEK) || ... */

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