Re: [PATCH] Sony Clie SJ33 memory stick

Matthew Dharm <[email protected]> Wed, 22 Oct 2003 10:37:28 -0700
Newsgroups gmane.linux.usb.devel,gmane.comp.handhelds.clie.linux
Organization One Eyed Alien Networks
Message-ID <[email protected]>
--bi5JUZtvcfApsciF
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

usb-storage isn't very picky about the response at all... what exactly was
happening without the patch?

Matt

On Mon, Oct 20, 2003 at 04:42:56PM -0700, Stephen Hemminger wrote:
> This fixes the memory stick SCSI access for Sony Clie SJ33 with SanDisk
> memory stick.  It worked in 2.4 because the usb-storage seemed to be less
> picky about inquiry responses.  Rather than changing the inquiry response
> processing, I opt'd to put it in the busted device list.=20
>=20
> Patch against 2.6.0-test8
> --- linux-2.5/drivers/usb/storage/unusual_devs.h	2003-10-20 10:20:43.0000=
00000 -0700
> +++ desktop-2.5/drivers/usb/storage/unusual_devs.h	2003-10-20 16:32:30.00=
0000000 -0700
> @@ -285,7 +285,14 @@
>  		"PEG Mass Storage",
>  		US_SC_8070, US_PR_CBI, NULL,
>  		US_FL_FIX_INQUIRY ),
> -	=09
> +
> +/* Submitted by Stephen Hemminger <[email protected]> */
> +UNUSUAL_DEV(  0x054c, 0x0099, 0x0000, 0x9999,
> +		"Sony",
> +		"PEG Mass Storage",
> +		US_SC_DEVICE, US_PR_DEVICE, NULL,
> +	        US_FL_FIX_INQUIRY ),
> +
>  UNUSUAL_DEV(  0x057b, 0x0000, 0x0000, 0x0299,=20
>  		"Y-E Data",
>  		"Flashbuster-U",

--=20
Matthew Dharm                              Home: mdharm-usb@one-eyed-alien.=
net=20
Maintainer, Linux USB Mass Storage Driver

A female who groks UNIX?  My universe is collapsing.
					-- Mike
User Friendly, 10/11/1998

--bi5JUZtvcfApsciF
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE/lsBXIjReC7bSPZARAi4NAJoCSp8aeQShXnEoA8yIBfwwIhqJXACglBHQ
iNL+QSygza8HGauPWY0NxMY=
=X875
-----END PGP SIGNATURE-----

--bi5JUZtvcfApsciF--


-------------------------------------------------------
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel