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

Jan Niehusmann (jan@gondor.com)
Thu, 11 Oct 2001 02:36:47 +0200


On Thu, Oct 11, 2001 at 02:11:56AM +0200, Harald Schreiber wrote:
> 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.

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?

--- linux-2.4.9-ac10/drivers/usb/storage/unusual_devs.h Sat Sep 8 18:18:51 2001
+++ linux-2.4.10-ac11/drivers/usb/storage/unusual_devs.h Thu Oct 11 02:11:29 2001
@@ -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",

> --------------------------------------------------------------------
> Dipl.-Math. Harald Schreiber, Nizzaallee 26, D-52072 Aachen, Germany
> Phone/Fax: +49-241-9108015/6 mailto:harald@harald-schreiber.de
> --------------------------------------------------------------------

Interesting, twice the same patch, and then from nearly the same location
in the world. (Roermonder Str. 112a - distance several 100m )

Jan

-
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/