Dear Matthew Dharm,
please find attached a patch to vanilla 2.4.20 that adds support of
the PENTAX OPTIO 330 to the USB Storage section of the kernel.
Modified files are
/drivers/usb/Config.in
/drivers/usb/storage/unusual_devs.h
Please contact me in case of any inconsistencies or troubles.
Further, please accept my apologies for posting to
linux-usb-devel although I am not subscribed to this list.
In case you maintain a Changelog as found on the www.kernel.org:
<[EMAIL PROTECTED]>:
o add support of PENTAX OPTIO based on a posting by Mikko Ahonen
Thanks for applying the patch to the main tree of 2.4.20.
wbr,
Lukas
--
Lukas Ruf | Wanna know anything about raw |
<http://www.lpr.ch> | IP? <http://www.rawip.org> |
diff -uNrwB linux-2.4.20/drivers/usb/Config.in
linux-2.4.20-pentax/drivers/usb/Config.in
--- linux-2.4.20/drivers/usb/Config.in 2002-11-29 00:53:14.000000000 +0100
+++ linux-2.4.20-pentax/drivers/usb/Config.in 2003-04-02 22:12:44.000000000 +0200
@@ -47,6 +47,7 @@
dep_mbool ' SanDisk SDDR-09 (and other SmartMedia) support'
CONFIG_USB_STORAGE_SDDR09 $CONFIG_USB_STORAGE $CONFIG_EXPERIMENTAL
dep_mbool ' SanDisk SDDR-55 SmartMedia support' CONFIG_USB_STORAGE_SDDR55
$CONFIG_USB_STORAGE $CONFIG_EXPERIMENTAL
dep_mbool ' Lexar Jumpshot Compact Flash Reader' CONFIG_USB_STORAGE_JUMPSHOT
$CONFIG_USB_STORAGE $CONFIG_EXPERIMENTAL
+ dep_mbool ' PENTAX OPTIO 330' CONFIG_USB_STORAGE_PENTAX_OPTIO
$CONFIG_USB_STORAGE $CONFIG_EXPERIMENTAL
dep_tristate ' USB Modem (CDC ACM) support' CONFIG_USB_ACM $CONFIG_USB
dep_tristate ' USB Printer support' CONFIG_USB_PRINTER $CONFIG_USB
diff -uNrwB linux-2.4.20/drivers/usb/storage/unusual_devs.h
linux-2.4.20-pentax/drivers/usb/storage/unusual_devs.h
--- linux-2.4.20/drivers/usb/storage/unusual_devs.h 2002-11-29 00:53:15.000000000
+0100
+++ linux-2.4.20-pentax/drivers/usb/storage/unusual_devs.h 2003-04-02
23:07:10.000000000 +0200
@@ -506,6 +506,16 @@
US_SC_SCSI, US_PR_CB, NULL,
US_FL_MODE_XLATE ),
+/* Lukas Ruf, [EMAIL PROTECTED], 20030402 */
+/* based on a posting by Mikko Ahonen found on the web */
+#ifdef CONFIG_USB_STORAGE_PENTAX_OPTIO
+UNUSUAL_DEV( 0x0a17, 0x0004, 0x0000, 0xffff,
+ "PENTAX",
+ "DIGITAL_CAMERA",
+ US_SC_8070, US_PR_CB, NULL,
+ US_FL_MODE_XLATE|US_FL_FIX_INQUIRY ),
+#endif
+
#ifdef CONFIG_USB_STORAGE_ISD200
UNUSUAL_DEV( 0x0bf6, 0xa001, 0x0100, 0x0110,
"ATI",