Saturday, December 28, 2002

Advogato Entry 296

Thought I'd post a note (mostly for the search engines out there) that the FujiFilm FinePix A303 camera works with Linux (as a USB storage device, at least). The camera can be configured in a "PC Camera" mode, but that doesn't work with Linux yet (the manual says that only works with Windows (XP?), and won't work with MacOS either). I was somewhat worried, as this camera uses xD-Picture Card media, rather than CompactFlash or SmartMedia.

Anyway, I guess my computer was set up for USB already, so I just had to mount the camera, which was a simple ``mount -t vfat /dev/sda1 /camera'' I decided to add a line to my /etc/fstab so I can just ``mount /camera'' to make it easier to copy images onto my laptop.

I've been thinking that I should try to find a way to automatically mount and unmount the camera when it is plugged in and unplugged, but I suspect someone has done that already. I had the thought that most of these filesystems have pseudorandom serial numbers on them (well, unless you get preformatted media, which often all have the same thing, which can lead to data corruption in certain situations). Anyway, you could make it so different serial numbers get mounted in different places. Any of the cards for your camera show up on /camera, while your MP3 player shows up on /boombox or something.

I just want something that does it automatically, because I always forget to unmount before unplugging the camera...