sourCEntral - mobile manpages

pdf

CAMEDIAPLAY(1) BSD General Commands Manual 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 a downloading/controlling tool for digital cameras with Sanyo firmware. Cameras with Sanyo firmware include all Olympus products, Epson products, Agfa products, and of course, Sanyo digital cameras.

camediaplay has several modes of operation. 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 can 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 to stderr.

−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 from the camera. The flag overrides other flags that specify picture numbers. (−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 gurus are allowed to use this option.

−v

Be verbose.

−D

Enable debugging mode.

−b baudrate

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

−s startpict

−e endpict

Specifies the range of picture numbers to be downloaded. The flag overrides other flags that specify a picture numbers. (−an).

−n pict

Downloads a single picture, specified by pict. The flag overrides other flags that specify picture numbers. (−ase).

port

Serial port device to be used (usually /dev/ttyS0 or /dev/ttyS1).

EXAMPLES

camediaplay /dev/ttyS0

shows the number of pictures.

camediaplay ttyS0

the directory name for device files can be omitted.

camediaplay -n10 -o ttyS0 > foo.jpg

downloads full-sized picture #10 to foo.jpg through stdout.

camediaplay -n10 -t -o ttyS0 > foo.jpg

downloads thumbnail picture #10 to foo.jpg through stdout.

camediaplay -a -g ttyS0

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

camediaplay -s2 -e4 -g ttyS0

downloads full-sized pictures from #2 to #4 into "pic00002.jpg", "pic00003.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 AT itojun DOT org>

BSD December 20, 2012 BSD

pdf