Jan Dumon wrote: > From: Jan Dumon <j.dumon@xxxxxxxxxx> > > Enable the SD-Card interface on the GI 0431 HSUPA stick from Option. > > The unusual_devs.h entry is necessary because the device descriptor is > vendor-specific. That prevents usb-storage from binding to it as an > interface driver. <SNIP> > > Signed-off-by: Jan Dumon <j.dumon@xxxxxxxxxx> Signed-off-by: Phil Dibowitz <phil@xxxxxxxx> > --- > diff --git a/drivers/usb/storage/unusual_devs.h b/drivers/usb/storage/unusual_devs.h > index 6f59c8e..bfa8db0 100644 > --- a/drivers/usb/storage/unusual_devs.h > +++ b/drivers/usb/storage/unusual_devs.h > @@ -1390,6 +1390,16 @@ UNUSUAL_DEV( 0x0af0, 0x7401, 0x0000, 0x0000, > US_SC_DEVICE, US_PR_DEVICE, NULL, > 0 ), > > +/* Reported by Jan Dumon <j.dumon@xxxxxxxxxx> > + * This device (wrongly) has a vendor-specific device descriptor. > + * The entry is needed so usb-storage can bind to it's mass-storage > + * interface as an interface driver */ > +UNUSUAL_DEV( 0x0af0, 0x7501, 0x0000, 0x0000, > + "Option", > + "GI 0431 SD-Card", > + US_SC_DEVICE, US_PR_DEVICE, NULL, > + 0 ), > + > /* Reported by Ben Efros <ben@xxxxxxxxxxxxx> */ > UNUSUAL_DEV( 0x0bc2, 0x3010, 0x0000, 0x0000, > "Seagate", > -- 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
Attachment:
signature.asc
Description: OpenPGP digital signature