[PATCH] USB Support for recent Casio Digital Still Cameras, linux-2.4.11

Harald Schreiber (harald@harald-schreiber.de)
11 Oct 2001 02:11:56 +0200


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.

diff -Naur linux-2.4.11/drivers/usb/storage/unusual_devs.h linux/drivers/usb/storage/unusual_devs.h
--- linux-2.4.11/drivers/usb/storage/unusual_devs.h Tue Sep 25 16:35:39 2001
+++ linux/drivers/usb/storage/unusual_devs.h Thu Oct 11 00:28:22 2001
@@ -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 <harald@harald-schreiber.de>.
*/
-UNUSUAL_DEV( 0x07cf, 0x1001, 0x9009, 0x9009,
+UNUSUAL_DEV( 0x07cf, 0x1001, 0x1000, 0x9009,
"Casio",
"QV DigitalCamera",
US_SC_8070, US_PR_CB, NULL,

-- 
--------------------------------------------------------------------
Dipl.-Math. Harald Schreiber, Nizzaallee 26, D-52072 Aachen, Germany
Phone/Fax: +49-241-9108015/6       mailto:harald@harald-schreiber.de
--------------------------------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/