-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alan Stern wrote:
| You know, I think this is all my fault for not being sufficiently careful
| about that earlier patch.  Phil, see if this fixes everything.  That
| verbose usb-storage debugging probably won't be needed.
|
| Alan Stern
|
|
| --- a/drivers/usb/storage/unusual_devs.h     Thu Sep 25 17:14:37 2003
| +++ b/drivers/usb/storage/unusual_devs.h     Sat Oct 18 15:57:31 2003
| @@ -542,10 +542,10 @@
|   * - They don't like the INQUIRY command. So we must handle this command
|   *   of the SCSI layer ourselves.
|   */
| -UNUSUAL_DEV( 0x07cf, 0x1001, 0x1000, 0x5009,
| +UNUSUAL_DEV( 0x07cf, 0x1001, 0x1000, 0x9999,
|               "Casio",
|               "QV DigitalCamera",
| -             US_SC_8070, US_PR_CB, NULL,
| +             US_SC_DEVICE, US_PR_DEVICE, NULL,
|               US_FL_FIX_INQUIRY ),
|
|  /* Submitted by Hartmut Wahl <[EMAIL PROTECTED]>*/

That seems to work quite well (patched against 2.6.0-test7)! Just for
completeness, here's the output from /var/log/messages:

Oct 18 14:51:15 rider kernel: hub 1-0:1.0: new USB device on port 2,
assigned address 2
Oct 18 14:51:16 rider kernel: scsi0 : SCSI emulation for USB Mass
Storage devices
Oct 18 14:51:16 rider kernel:   Vendor: Casio     Model: QV
DigitalCamera  Rev: 5010
Oct 18 14:51:16 rider kernel:   Type:   Direct-Access
~   ANSI SCSI revision: 02
Oct 18 14:51:16 rider scsi.agent[995]: how to add device type= at
/devices/pci0000:00/0000:00:07.2/usb1/1-2/1-2:1.0/host0/0:0:0:0 ??
Oct 18 14:51:16 rider kernel: SCSI device sda: 20208 512-byte hdwr
sectors (10 MB)
Oct 18 14:51:16 rider kernel: sda: Write Protect is off
Oct 18 14:51:16 rider kernel: sda: cache data unavailable
Oct 18 14:51:16 rider kernel:  sda: sda1
Oct 18 14:51:16 rider kernel: Attached scsi removable disk sda at scsi0,
channel 0, id 0, lun 0


I don't remember seeing that scsi.agent message before, but it doesn't seem to be an error... especially given that it works.

Thanks!
- --
Phil Dibowitz                             [EMAIL PROTECTED]
Freeware and Technical Pages              Insanity Palace of Metallica
http://www.phildev.net/                   http://www.ipom.com/

"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
~ - Benjamin Franklin, 1759

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org

iD8DBQE/kbarN5XoxaHnMrsRApMqAJ4vzTiHnQ8kp+WrEjwsko/JFAD9VQCfZCLc
z4rT0BDelK7zcu6i4l1XBqQ=
=9G1S
-----END PGP SIGNATURE-----



-------------------------------------------------------
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise Linux in the Boardroom; in the Front Office; & in the Server Room http://www.enterpriselinuxforum.com
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to