From: James Courtier-Dutton <jcdutton@users.sourceforge.net>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] Add support for Pentax Still Camera to linux kernel.
Date: Mon, 14 Oct 2002 17:05:06 +1000 [thread overview]
Message-ID: <3DAA6CA2.8090008@users.sourceforge.net> (raw)
[-- Attachment #1: Type: text/plain, Size: 419 bytes --]
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.
Cheers
James Courtier-Dutton
[-- Attachment #2: unusual_devs.h.diff --]
[-- Type: text/plain, Size: 781 bytes --]
--- 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 <James@superbug.demon.co.uk>
+ */
+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",
next reply other threads:[~2002-10-14 6:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-14 7:05 James Courtier-Dutton [this message]
2002-10-14 15:02 ` [PATCH] Add support for Pentax Still Camera to linux kernel Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3DAA6CA2.8090008@users.sourceforge.net \
--to=jcdutton@users.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox