My new Pentax Optio S — a super-nifty digital camera that
fits in an Altoids tin — is the coolest toy I’ve treated myself to in a long time. I bought it thinking that I would not be able to get it to work directly with Linux, but this weekend things turned out better than I expected. To get an Optio S talking to Linux via USB, add the following lines to your /usr/src/linux/drivers/usb/storage/unusual_devs.h file:
UNUSUAL_DEV( 0x0a17, 0x0006, 0x0000, 0xffff,
"Pentax",
"OPTIO S",
US_SC_8070, US_PR_CB, NULL, US_FL_MODE_XLATE|US_FL_FIX_INQUIRY ),
Now recompile your kernel. After a reboot, your Optio will act like any other usb-storage device, fully browsable from any mount point you set up.
Ain’t Linux a hoot? Ah, but someday this foolishness will not be necessary. There is already less and less of it all the time.