Linux

  1. Home
  2. Computing & Technology
  3. Linux
Linux / Unix Command: sane-dc25
Command Library

NAME

sane-dc25 - SANE backend for Kodak DC20/DC25 Digital Cameras  

DESCRIPTION

The sane-dc25 library implements a SANE (Scanner Access Now Easy) backend that provides access to Kodak DC20 and DC25 cameras. At present, only the DC25 has been tested, but since the code is based on a DC20 interface program, it is likely to work for that model also.  

DEVICE NAMES

The current version of the backend only allows one camera to be connected. The device name is always "0".  

CONFIGURATION

The contents of the dc25.conf specify the serial port and baud rate to use. The baud rate specifies the maximum rate to use while downloading pictures. (The camera is always initialized using 9600 baud, then switches to the higher rate). On my 90MHz Pentium, I usually have no problems downloading at 115200 baud as long as the system is not excessively busy and the "interrupt-unmask flag" is set in the IDE driver (hdparm -u1). Supported baud rates are: 9600, 19200, 38400, 57600, and 115200.

The dumpinquiry line causes some information about the camera to be printed to stderr during startup. Note: This is not compatible with saned, so make sure you don't have any dumpinquiry lines if you are using saned (i.e. scanning on a remote machine using a network).

Empty lines and lines starting with a hash mark (#) are ignored. A sample configuration file is shown below:

port=/dev/ttyS0
# this is a comment
baud=115200
dumpinquiry

 

SEE ALSO

sane(7)

 


Important: Use the man command (% man) to see how a command is used on your particular computer.

>> Linux/Unix Command Library

>> Shell Command Library

Explore Linux

About.com Special Features

Linux

  1. Home
  2. Computing & Technology
  3. Linux

©2009 About.com, a part of The New York Times Company.

All rights reserved.