USB Support for recent Casio Digital Still Cameras, linux-2.4.11
Subsystems (2)
PATCH 1/1 USB Support for recent Casio Digital Still Cameras, linux-2.4.11
Recent Casio QV digital still cameras (for example the QV 4000) show up as
VendorID: 0x07cf ProductID: 0x1001 Revision: 10.00
So the following patch is necessary to make these devices working with the USB storage driver. The patch is against linux-2.4.11, but it should work with any kernel since 2.4.8-pre3.
drivers/usb/storage/unusual_devs.h +4 -3
@@ -376,14 +376,15 @@ US_FL_MODE_XLATE | US_FL_START_STOP ),#endif -/* Casio QV 2x00/3x00/8000 digital still cameras are not conformant -* to the USB storage specification in two ways: +/* Casio QV 3 / QV 2x00 / QV 3x00 / QV 4000 / QV 8000 digital still cameras +* are not conformant to the USB storage specification in two ways: * - They tell us they are using transport protocol CBI. In reality they * are using transport protocol CB. * - They don't like the INQUIRY command. So we must handle this command * of the SCSI layer ourselves. +* Submitted by Harald Schreiber <[email protected]>. */ -UNUSUAL_DEV( 0x07cf, 0x1001, 0x9009, 0x9009, +UNUSUAL_DEV( 0x07cf, 0x1001, 0x1000, 0x9009, "Casio", "QV DigitalCamera", US_SC_8070, US_PR_CB, NULL,
Signature · 4 lines
-------------------------------------------------------------------- Dipl.-Math. Harald Schreiber, Nizzaallee 26, D-52072 Aachen, Germany Phone/Fax: +49-241-9108015/6 mailto:[email protected] --------------------------------------------------------------------
Quoted 7 lines · Harald Schreiber
Recent Casio QV digital still cameras (for example the QV 4000) show up as
VendorID:0x07cfProductID:0x1001Revision: 10.00So the following patch is necessary to make these devices working with the USB storage driver. The patch is against linux-2.4.11, but it should work with any kernel since 2.4.8-pre3.
Confirmed. I sent the same patch (without the comments) to linux-kernel three days ago.
BTW, perhaps it would be better to patch the thing the following way, because I don't know what's in the revision number range between 1000 and 9009, perhaps there are other devices which don't like the workaround?
drivers/usb/storage/unusual_devs.h +6 -0
@@ -394,6 +394,12 @@* - They don't like the INQUIRY command. So we must handle this command * of the SCSI layer ourselves. */ +UNUSUAL_DEV (0x07cf ,0x1001 ,0x1000 ,0x1000 , +"Casio" , +"QV DigitalCamera" , +US_SC_8070 ,US_PR_CB ,NULL , +US_FL_FIX_INQUIRY ), + UNUSUAL_DEV( 0x07cf, 0x1001, 0x9009, 0x9009, "Casio", "QV DigitalCamera",
Quoted 4 lines
--------------------------------------------------------------------
Dipl.-Math. Harald Schreiber, Nizzaallee 26, D-52072 Aachen, Germany
Phone/Fax: +49-241-9108015/6 mailto:[email protected]
--------------------------------------------------------------------
Interesting, twice the same patch, and then from nearly the same location in the world. (Roermonder Str. 112a - distance several 100m )
Jan
In my experience, if you've tested the endpoints on these things, you've covered the middle. I'd rather have the single entry.
Matt
Quoted 43 lines · Jan Niehusmann
Quoted 7 lines · Harald Schreiber
Recent Casio QV digital still cameras (for example the QV 4000) show up as
VendorID:0x07cfProductID:0x1001Revision: 10.00So the following patch is necessary to make these devices working with the USB storage driver. The patch is against linux-2.4.11, but it should work with any kernel since 2.4.8-pre3.
Confirmed. I sent the same patch (without the comments) to linux-kernel three days ago.
BTW, perhaps it would be better to patch the thing the following way, because I don't know what's in the revision number range between 1000 and 9009, perhaps there are other devices which don't like the workaround?
drivers/usb/storage/unusual_devs.h +6
-0@@ -394,6 +394,12 @@* - They don't like the INQUIRY command. So we must handle this command * of the SCSI layer ourselves. */ +UNUSUAL_DEV (0x07cf ,0x1001 ,0x1000 ,0x1000 , +"Casio" , +"QV DigitalCamera" , +US_SC_8070 ,US_PR_CB ,NULL , +US_FL_FIX_INQUIRY ), + UNUSUAL_DEV( 0x07cf, 0x1001, 0x9009, 0x9009, "Casio", "QV DigitalCamera",Quoted 5 lines
--------------------------------------------------------------------
Dipl.-Math. Harald Schreiber, Nizzaallee 26, D-52072 Aachen, Germany
Phone/Fax: +49-241-9108015/6 mailto:[email protected]
--------------------------------------------------------------------Interesting, twice the same patch, and then from nearly the same location in the world. (Roermonder Str. 112a - distance several 100m )
Jan
Signature · 6 lines
Matthew Dharm Home: [email protected] Maintainer, Linux USB Mass Storage Driver God, root, what is difference? -- Pitr User Friendly, 11/11/1999