Re: [PATCH] unusual_devs: Add support for multiple Option 3G sticks

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

 



Jan Dumon wrote:
> From: Jan Dumon <j.dumon@xxxxxxxxxx>
> 
> Enable the SD-Card interface on multiple Option 3G sticks.
> 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.

Thanks for the patch. Man, I hate these manufacturers.

Looks good. Greg, please apply.

> Signed-off-by: Jan Dumon <j.dumon@xxxxxxxxxx>

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


> 
> --- linux-2.6.orig/drivers/usb/storage/unusual_devs.h
> +++ linux-2.6/drivers/usb/storage/unusual_devs.h
> @@ -1147,8 +1147,8 @@ UNUSUAL_DEV( 0x0af0, 0x7401, 0x0000, 0x0
>  		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
> + * These devices (wrongly) have a vendor-specific device descriptor.
> + * These entries are needed so usb-storage can bind to their mass-storage
>   * interface as an interface driver */
>  UNUSUAL_DEV( 0x0af0, 0x7501, 0x0000, 0x0000,
>  		"Option",
> @@ -1156,6 +1156,90 @@ UNUSUAL_DEV( 0x0af0, 0x7501, 0x0000, 0x0
>  		US_SC_DEVICE, US_PR_DEVICE, NULL,
>  		0 ),
>  
> +UNUSUAL_DEV( 0x0af0, 0x7701, 0x0000, 0x0000,
> +		"Option",
> +		"GI 0451 SD-Card",
> +		US_SC_DEVICE, US_PR_DEVICE, NULL,
> +		0 ),
> +
> +UNUSUAL_DEV( 0x0af0, 0x7706, 0x0000, 0x0000,
> +		"Option",
> +		"GI 0451 SD-Card",
> +		US_SC_DEVICE, US_PR_DEVICE, NULL,
> +		0 ),
> +
> +UNUSUAL_DEV( 0x0af0, 0x7901, 0x0000, 0x0000,
> +		"Option",
> +		"GI 0452 SD-Card",
> +		US_SC_DEVICE, US_PR_DEVICE, NULL,
> +		0 ),
> +
> +UNUSUAL_DEV( 0x0af0, 0x7A01, 0x0000, 0x0000,
> +		"Option",
> +		"GI 0461 SD-Card",
> +		US_SC_DEVICE, US_PR_DEVICE, NULL,
> +		0 ),
> +
> +UNUSUAL_DEV( 0x0af0, 0x7A05, 0x0000, 0x0000,
> +		"Option",
> +		"GI 0461 SD-Card",
> +		US_SC_DEVICE, US_PR_DEVICE, NULL,
> +		0 ),
> +
> +UNUSUAL_DEV( 0x0af0, 0x8300, 0x0000, 0x0000,
> +		"Option",
> +		"GI 033x SD-Card",
> +		US_SC_DEVICE, US_PR_DEVICE, NULL,
> +		0 ),
> +
> +UNUSUAL_DEV( 0x0af0, 0x8302, 0x0000, 0x0000,
> +		"Option",
> +		"GI 033x SD-Card",
> +		US_SC_DEVICE, US_PR_DEVICE, NULL,
> +		0 ),
> +
> +UNUSUAL_DEV( 0x0af0, 0x8304, 0x0000, 0x0000,
> +		"Option",
> +		"GI 033x SD-Card",
> +		US_SC_DEVICE, US_PR_DEVICE, NULL,
> +		0 ),
> +
> +UNUSUAL_DEV( 0x0af0, 0xc100, 0x0000, 0x0000,
> +		"Option",
> +		"GI 070x SD-Card",
> +		US_SC_DEVICE, US_PR_DEVICE, NULL,
> +		0 ),
> +
> +UNUSUAL_DEV( 0x0af0, 0xd057, 0x0000, 0x0000,
> +		"Option",
> +		"GI 1505 SD-Card",
> +		US_SC_DEVICE, US_PR_DEVICE, NULL,
> +		0 ),
> +
> +UNUSUAL_DEV( 0x0af0, 0xd058, 0x0000, 0x0000,
> +		"Option",
> +		"GI 1509 SD-Card",
> +		US_SC_DEVICE, US_PR_DEVICE, NULL,
> +		0 ),
> +
> +UNUSUAL_DEV( 0x0af0, 0xd157, 0x0000, 0x0000,
> +		"Option",
> +		"GI 1515 SD-Card",
> +		US_SC_DEVICE, US_PR_DEVICE, NULL,
> +		0 ),
> +
> +UNUSUAL_DEV( 0x0af0, 0xd257, 0x0000, 0x0000,
> +		"Option",
> +		"GI 1215 SD-Card",
> +		US_SC_DEVICE, US_PR_DEVICE, NULL,
> +		0 ),
> +
> +UNUSUAL_DEV( 0x0af0, 0xd357, 0x0000, 0x0000,
> +		"Option",
> +		"GI 1505 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/

"Be who you are and say what you feel, because those who mind don't matter
 and those who matter don't mind."
 - Dr. Seuss


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