Greg, There seems to be consensus on removing this entry, so I'm sending this on up. See the patch for the details. Please apply. Thanks. -- 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
The ZTE modem entry causes usb-storage to ignore the device, but for some versions of the device, usb-storage mode is required to get to modem ode. For both kinds the tool: http://www.draisberghof.de/usb_modeswitch/ should work. Note that the various versions of the device have the same ProductId, VendorId, and bcdDevice number, so we cannot have the entry for some and not others. Signed-off-by: Phil Dibowitz <phil@xxxxxxxx> --- linux-2.6.29-rc1-dev-phil/drivers/usb/storage/unusual_devs.h | 10 ---------- 1 file changed, 10 deletions(-) diff -L unusual_devs.h -puN /dev/null /dev/null diff -puN drivers/usb/storage/unusual_devs.h~unusual_remove_zte_modem drivers/usb/storage/unusual_devs.h --- linux-2.6.29-rc1-dev/drivers/usb/storage/unusual_devs.h~unusual_remove_zte_modem 2009-01-11 18:42:28.000000000 +0100 +++ linux-2.6.29-rc1-dev-phil/drivers/usb/storage/unusual_devs.h 2009-01-11 18:43:08.000000000 +0100 @@ -2031,16 +2031,6 @@ UNUSUAL_DEV( 0x1652, 0x6600, 0x0201, 0x US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_IGNORE_RESIDUE ), -/* Reported by Mauro Andreolini <andreoli@xxxxxxxxxxxxxxxxxxx> - * This entry is needed to bypass the ZeroCD mechanism - * and to properly load as a modem device. - */ -UNUSUAL_DEV( 0x19d2, 0x2000, 0x0000, 0x0000, - "Onda ET502HS", - "USB MMC Storage", - US_SC_DEVICE, US_PR_DEVICE, NULL, - US_FL_IGNORE_DEVICE), - /* patch submitted by Davide Perini <perini.davide@xxxxxxxxxxxxxx> * and Renato Perini <rperini@xxxxxxxx> */ _
Attachment:
signature.asc
Description: OpenPGP digital signature