CAMEDIAPLAY(1)

NAME
camediaplay - download/control tool for digital cameras with Sanyo firmware

SYNOPSIS
camediaplay [-duvD] [-b baudrate] port
camediaplay [-aduvD] [-b baudrate] [-s startpict] [-e endpict] [-n pict] -o port
camediaplay [-adituvD] [-b baudrate] [-s startpict] [-e endpict] [-n pict] -g port
camediaplay [-duvD] [-b baudrate] -# serialno port
camediaplay [-duvD] [-b baudrate] -I idstring port
camediaplay [-duvD] [-b baudrate] -S port
camediaplay [-duvD] [-b baudrate] -P port

DESCRIPTION
camediaplay is an downloading/controlling tool for digital cameras with Sanyo firmware. Camera with Sanyo firmware includes all Olympus products, Epson products, Agfa products, and of course, Sanyo digital cameras.

camediaplay has several modes of opertation. Options to specify the operation mode are -og#ISP. If two or more modes are specified, the rightmost one will be active.

no mode option specified
    Queries the number of pictures in the camera.

-o  Downloads single picture, and generates output to standard output. As you imagine, the mode will not work if multiple pictures are specified for download.

-g  Downloads multiple pictures, and generates output to files.

-#  Updates the EEPROM data in the camera for serial number.

-I  Updates the EEPROM data in the camera for camera personal id.

-S  Dumps the status of the camera.

-P  Takes a picture.

The following options are available, however, some of them are meaningful only in some specific mode. If the option is not supported in the current mode, the option will be ignored.

-a  Download all the pictures on the camera. The flag overrides other flags to specify picture number (-sen).

-d  Enable data dump mode (basically for debugging). The data transmitted between the program and the camera will be shown. Transactions longer than 30 bytes will be truncated to fit the dump list into 80 columns.

-i  Do not overwrite existing files.

-t  Download thumbnails instead of full sized pictures.

-u  Do not perform uucp locking. Only gulus are allowed to use this option.

-v  Be verbose.

-D  Enable debugging mode.

-b baudrate
    Specify baudrate to use. Default baudrate is 19200. (yes, we are conservative by default) It is believed that up to 115200bps can be used.

-s startpict

-e endpict
    Specifies the range of picture # to be downloaded. The flag overrides other flags to specify picture number (-an).

-n pict
    Downloads a single picture, specified by pict. The flag overrides other flags to specify picture number (-ase).

port
    Serial port device to be used.

EXAMPLES
    camediaplay /dev/tty00
shows the number of picts. As seen in
    camediaplay tty00
the directory name for device files can be omitted.

    camediaplay -n10 -o tty00 > foo.jpg
downloads full-sized picture #10 to foo.jpg through stdout.
    camediaplay -n10 -t -o tty00 > foo.jpg
downloads thumbnail picture #10 to foo.jpg through stdout.

    camediaplay -a -g tty00
downloads all full-sized pictures into "pic00001.jpg", "pic00002.jpg" and so forth.

    camediaplay -s2 -e4 -g tty00
downloads full-sized pictures from #2 to #4 into "pic00001.jpg", "pic00002.jpg" and so forth.
    camediaplay -s2 -e4 -Npict%02d.jpg -g tty00
downloads full-sized pictures from #2 to #4 into "pict01.jpg", "pict02.jpg" and so forth.

SUPPORTED CAMERAS
Most of the cameras from Sanyo, Epson, Agfa, and Olympus are believed to be supported. Successful/failure reports will always be welcomed.

AUTHOR CONTACT
Jun-ichiro Itoh <itojun@itojun.org>