Saturday, January 22, 2005

New digital camera

I got my new digital camera, an Olympus D-580. Not exactly what I wanted, but I really just wanted to get out of Best Buy. I never realized how much salespeople piss me off until today.

Regardless, it worked flawlessly under FreeBSD 5.3. Here's my /etc/fstab:

/dev/da0s1    /camera    msdos   rw,noauto       0       0


And, for automounting, here's what I added to /etc/usbd.conf:

## Olympus Digital Camera

device "Olympus D-580"
devname "umass0"
vendor 0x07b4
product 0x0105
release 0x0100
class 0x0000
attach "sleep 1; chmod 0666 /dev/da0*; /usr/local/bin/sudo -u netgeek /sbin/mount /camera"
detach "/sbin/umount /camera"


I don't think the detach line works. Also note that I manually chmod the device, because I couldn't get devfs to work properly for da0. The user netgeek owns /camera, so that it's user-mountable.

The automounting plus Nautilus makes getting photos as simple as plugging the camera in.

My mom doing taxes on my bed

0 Comments:

Post a Comment

<< Home