USB camera's are often able to transfer photo's in PTP mode, or acting as a mass storage device.
For PTP, gthumb is convenient (file->import photos).
See also http://lwn.net/Articles/122826/
There is also gphoto2 (command-line) and gtkaw (gui).
DanielGermer was able to make a Panasonic DMC-LC33 work, after simply copying and modifying the Shellscripts from this HOWTO. (usb-camera-howto from Debian Documentation (see also: /usr/share/doc/HOWTO/en-txt/USB-Digital-Camera-HOWTO.gz) I modified the Scripts a little so that they transferred the jpegs directly into a folder of my LinPHA.
The script (can be run as root but not as user) looks like this:
#!/bin/bash echo "Please enter a directory name for the pictures." #read from userinput read DIRPATH mkdir /var/www/Linpha/albums/$DIRPATH #add the module usb-storage to the kernel modules #(if already in kernel, then any user can run this program) modprobe usb-storage #mount the storage device sda1 in /mnt/usbstore, #note: this may be a different one (like sda2, sda3 etc or even sdb1.... depending if there are other USB devices attached) mount -t vfat /dev/sda1 /mnt/usbstore echo "..." cp -v /mnt/usbstore/dcim/100_pana/*.jpg /var/www/Linpha/albums/$DIRPATH echo "copying any movies to Linpha/movies" echo "" cp -v /mnt/usbstore/dcim/100_pana/*.mov /var/www/Linpha/albums/movies echo "" #(note that triple5 is my own username. for ["LinPHA"] all the permissions should be for www-user (or whatever group your server is in)) chown -R (user) /var/www/Linpha/albums/$DIRPATH chgrp -R www-user /var/www/Linpha/albums chmod -R 777 /var/www/Linpha/albums
(note that the first DIRPATH does not have the dollar (not like in PHP)).