Re: [PATCH] Sony Clie SJ33 memory stick
Matthew Dharm <[email protected]> Wed, 22 Oct 2003 12:11:18 -0700
| Newsgroups | gmane.linux.usb.devel,gmane.comp.handhelds.clie.linux |
|---|---|
| Organization | One Eyed Alien Networks |
| Message-ID | <[email protected]> |
--Bg2esWel0ueIH/G/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Looking at this, I'm more tempted to remove the test for bType in the IRQ -- this isn't the first device I've seen broken like this. It's using a UFI-style CBI interrupt for a non-UFI device. This is, apparently, one of many spec violations that windows silently ignores. Stephen, what happens if you just remove the check (search the code for the line that shows "CBI IRQ data showed reserved bType")? Matt On Wed, Oct 22, 2003 at 11:18:07AM -0700, Stephen Hemminger wrote: > On Wed, 22 Oct 2003 10:37:28 -0700 > Matthew Dharm <[email protected]> wrote: >=20 > > usb-storage isn't very picky about the response at all... what exactly = was > > happening without the patch? > >=20 >=20 > usb-storage: *** thread awakened. > usb-storage: Command INQUIRY (6 bytes) > usb-storage: 12 00 00 00 24 00 > usb-storage: usb_stor_ctrl_transfer: rq=3D00 rqtype=3D21 value=3D0000 ind= ex=3D00 len=3D12 > usb-storage: Status code 0; transferred 12/12 > usb-storage: -- transfer complete > usb-storage: Call to usb_stor_ctrl_transfer() returned 0 > usb-storage: usb_stor_bulk_transfer_buf: xfer 36 bytes > usb-storage: Status code 0; transferred 36/36 > usb-storage: -- transfer complete > usb-storage: CBI data stage result is 0x0 > usb-storage: usb_stor_intr_transfer: xfer 2 bytes > usb-storage: Status code 0; transferred 2/2 > usb-storage: -- transfer complete > usb-storage: Got interrupt data (0x28, 0x0) > usb-storage: CBI IRQ data showed reserved bType 40 > usb-storage: -- transport indicates error, resetting > usb-storage: usb_stor_CB_reset called > usb-storage: usb_stor_control_msg: rq=3D00 rqtype=3D21 value=3D0000 index= =3D00 len=3D12 > usb-storage: Soft reset failed: -32 --=20 Matthew Dharm Home: mdharm-usb@one-eyed-alien.= net=20 Maintainer, Linux USB Mass Storage Driver E: You run this ship with Windows?! YOU IDIOT! L: Give me a break, it came bundled with the computer! -- ESR and Lan Solaris User Friendly, 12/8/1998 --Bg2esWel0ueIH/G/ 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/ltZWIjReC7bSPZARAn0RAJ47WOUDv4zcvxirRclg1pD+XEQKgQCdHtix 8GuCa/REwvN7V0Gt3Mzqc0A= =Xe1c -----END PGP SIGNATURE----- --Bg2esWel0ueIH/G/-- ------------------------------------------------------- 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