mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Denis Sunko <nim4daz@yahoo.com>
To: linux-kernel@vger.kernel.org
Cc: akpm@osdl.org, greg@kroah.com, david@2gen.com
Subject: [PATCH] unusual_devs.h, kernel 2.6.15.6
Date: Tue, 4 Apr 2006 07:15:20 -0700 (PDT)	[thread overview]
Message-ID: <20060404141520.7778.qmail@web35506.mail.mud.yahoo.com> (raw)

This patch adds an UNUSUAL_DEV entry which prevents a particular usb
drive from flooding the console with useless SCSI messages. It is
patterned after similar ones for other manufacturers. I also took the
opportunity to correct the order of entries, manufacturer 0x0451 was
out of order.

I thank David Härdeman for help with this one.

Denis Sunko

--- linux-2.6.15.6-vanilla/drivers/usb/storage/unusual_devs.h	2006-04-04 14:15:10.000000000 +0200
+++ linux-2.6.15.6-patched/drivers/usb/storage/unusual_devs.h	2006-04-04 14:07:39.000000000 +0200
@@ -127,6 +127,14 @@
  		US_SC_SCSI, US_PR_DPCM_USB, NULL, 0 ),
 #endif
 
+/* Patch submitted by Daniel Drake <dsd@gentoo.org>
+ * Device reports nonsense bInterfaceProtocol 6 when connected over USB2 */
+UNUSUAL_DEV(  0x0451, 0x5416, 0x0100, 0x0100,
+		"Neuros Audio",
+		"USB 2.0 HD 2.5",
+		US_SC_DEVICE, US_PR_BULK, NULL,
+		US_FL_NEED_OVERRIDE ),
+
 /*
  * Pete Zaitcev <zaitcev@yahoo.com>, from Patrick C. F. Ernzer, bz#162559.
  * The key does not actually break, but it returns zero sense which
@@ -137,13 +145,14 @@
 		"USB Mass Storage Device",
 		US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
 
-/* Patch submitted by Daniel Drake <dsd@gentoo.org>
- * Device reports nonsense bInterfaceProtocol 6 when connected over USB2 */
-UNUSUAL_DEV(  0x0451, 0x5416, 0x0100, 0x0100,
-		"Neuros Audio",
-		"USB 2.0 HD 2.5",
-		US_SC_DEVICE, US_PR_BULK, NULL,
-		US_FL_NEED_OVERRIDE ),
+/*
+ * Denis Sunko <nim4daz@yahoo.com>
+ * The key makes the SCSI stack print confusing (but harmless) messages
+ */
+UNUSUAL_DEV(  0x0457, 0x0151, 0x0100, 0x0100,
+		"Silicon Integrated Systems Corp.",
+		"Drive UT_USB20",
+		US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
 
 /* Patch submitted by Philipp Friedrich <philipp@void.at> */
 UNUSUAL_DEV(  0x0482, 0x0100, 0x0100, 0x0100,


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

             reply	other threads:[~2006-04-04 14:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-04 14:15 Denis Sunko [this message]
2006-04-05 20:54 ` Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060404141520.7778.qmail@web35506.mail.mud.yahoo.com \
    --to=nim4daz@yahoo.com \
    --cc=akpm@osdl.org \
    --cc=david@2gen.com \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®