2002-10-14 06:58:36

by James Courtier-Dutton

[permalink] [raw]
Subject: [PATCH] Add support for Pentax Still Camera to linux kernel.

--- unusual_devs.h.org Mon Oct 14 16:55:30 2002
+++ unusual_devs.h Mon Oct 14 16:55:17 2002
@@ -451,6 +451,19 @@
US_SC_SCSI, US_PR_CB, NULL,
US_FL_MODE_XLATE ),

+/* This Pentax still camera is not conformant
+ * to the USB storage specification: -
+ * - It does not like the INQUIRY command. So we must handle this command
+ * of the SCSI layer ourselves.
+ * Tested on Rev. 10.00 (0x1000)
+ * Submitted by James Courtier-Dutton <[email protected]>
+ */
+UNUSUAL_DEV( 0x0a17, 0x0004, 0x1000, 0x1000,
+ "ASAHI PENTAX",
+ "PENTAX OPTIO 430",
+ US_SC_8070, US_PR_CBI, NULL,
+ US_FL_FIX_INQUIRY ),
+
#ifdef CONFIG_USB_STORAGE_ISD200
UNUSUAL_DEV( 0x0bf6, 0xa001, 0x0100, 0x0110,
"ATI",


Attachments:
unusual_devs.h.diff (781.00 B)

2002-10-14 14:56:29

by Greg KH

[permalink] [raw]
Subject: Re: [PATCH] Add support for Pentax Still Camera to linux kernel.

On Mon, Oct 14, 2002 at 05:05:06PM +1000, James Courtier-Dutton wrote:
> This is a very low risk patch.
> Attached patch to "/usr/src/linux/drivers/usb/storage/unusual_devs.h" to
> enable the "PENTAX OPTIO 430" USB Still Camera to appear as a SCSI
> /dev/sd* storage device.
> This patch works for my kernel version 2.4.18, but should work just as
> well unchanged for 2.4.19.
> Patching to 2.5.x has not been tested.
>
> Please include this patch with all future kernels.

Can you please send this to the usb-storage author and maintainer? He's
the one that needs to add this.

thanks,

greg k-h