Posts

Showing posts from September, 2006

Canon Powershot A520 working

Add the following lines to /etc/usbd.conf: device "Canon Digital Camera" devname "ugen[0-9]+" attach "/usr/local/bin/camera_attach" Save the following script as /usr/local/bin/camera_attach: #!/bin/sh /sbin/devfs ruleset 10 /sbin/devfs rule add path 'ugen*' mode 666 /sbin/devfs rule applyset Make the script executable by executing the following command as root: chmod +x /usr/local/bin/camera_attach Make sure the following line appears in /etc/rc.d usbd_enable="YES" restart usbd by issuing the following two commands as root: /etc/rc.d/usbd stop /etc/rc.d/usbd start Now you should be able to connect the camera and start downloading pictures with gtkam or gphoto2!

Shell script to generate reports on source code

I am taking an OpenGL course and have to generate reports about the programs I write for assignments. I wrote a shell script to automatically generate reports based on the source code for the program. It is called make_report.sh . It is available for anyone to use.