* Lukas Ruf <[EMAIL PROTECTED]> [2003-04-02 22:03]: > being owner of a Pentax OPTIO for quite a while I would like to access > the data on my camera from Linux. *The manufacturer is not interested > in supporting me.* So, I contact you -- maybe anyone managed to > attach this "nice" camera to a Linux box. > > I am running 2.4.20, all USB options are enabled. >
please find attached a patch to 2.4.20 that I submitted also to the maintainers of the USB Storage development. This patch solves the problem of attaching a Pentax OPTIO to Linux. A personal hint: Do not buy a camera not explicitely supported by Linux (as I did) -- you can avoid a lot of frustration! 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",