[PATCH pd58] unusual_dev: usb-storage needs to ignore a device

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

 



Somehow this patch got lost in the shuffle and I forgot to submit it.

Description and sign-off below.

Greg, please apply.


-- 
Phil Dibowitz                             phil@xxxxxxxx
Open Source software and tech docs        Insanity Palace of Metallica
http://www.phildev.net/                   http://www.ipom.com/

"Never write it in C if you can do it in 'awk';
 Never do it in 'awk' if 'sed' can handle it;
 Never use 'sed' when 'tr' can do the job;
 Never invoke 'tr' when 'cat' is sufficient;
 Avoid using 'cat' whenever possible" -- Taylor's Laws of Programming


This patch adds an unusual_devs entry for a Sony Ericsson modem. Like many
other modems, we have to ignore the storage device in order to access the
modem.

Reported by The Solutor <thesolutor@xxxxxxxxx>.

At this time usb_modeswitch does not work with this device.


Signed-off-by: Phil Dibowitz <phil@xxxxxxxx>

---

 linux-2.6.29-rc1-dev-phil/drivers/usb/storage/unusual_devs.h |    7 +++++++
 1 file changed, 7 insertions(+)

diff -puN drivers/usb/storage/unusual_devs.h~unusual_md400 drivers/usb/storage/unusual_devs.h
--- linux-2.6.29-rc1-dev/drivers/usb/storage/unusual_devs.h~unusual_md400	2009-01-20 23:41:15.000000000 +0100
+++ linux-2.6.29-rc1-dev-phil/drivers/usb/storage/unusual_devs.h	2009-01-20 23:47:04.000000000 +0100
@@ -1589,6 +1589,13 @@ UNUSUAL_DEV(  0x0fce, 0xd008, 0x0000, 0x
 		US_SC_DEVICE, US_PR_DEVICE, NULL,
 		US_FL_NO_WP_DETECT ),
 
+/* Reported by The Solutor <thesolutor@xxxxxxxxx> */
+UNUSUAL_DEV(  0x0fce, 0xd0e1, 0x0000, 0x0000,
+		"Sony Ericsson",
+		"MD400",
+		US_SC_DEVICE, US_PR_DEVICE, NULL,
+		US_FL_IGNORE_DEVICE),
+
 /* Reported by Jan Mate <mate@xxxxxxxxxxxxx>
  * and by Soeren Sonnenburg <kernel@xxxxxx> */
 UNUSUAL_DEV(  0x0fce, 0xe030, 0x0000, 0x0000,
_

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux