1sane-v4l(5) SANE Scanner Access Now Easy sane-v4l(5)
2
3
4
6 sane-v4l - SANE interface for Video for Linux API
7
9 The sane-v4l library implements a SANE (Scanner Access Now Easy) back‐
10 end that provides generic access to video cameras and similar equipment
11 using the V4L (Video for Linux) API.
12
13 This is ALPHA software. Really! Important features are missing and
14 there are lots of bugs. The code is currently only tested on a Linux
15 2.4 system with a Hauppauge WinTV video card.
16
18 This backend expects device names of the form:
19
20 special
21
22 Where special is the UNIX path-name for the special device that corre‐
23 sponds to the v4l device. The special device name must be a v4l device
24 or a symlink to such a device. For example, such a device name could
25 be /dev/video0 or /dev/bttv0.
26
28 The contents of the v4l.conf file is a list of device names that corre‐
29 spond to v4l devices. Empty lines and lines starting with a hash mark
30 (#) are ignored. A sample configuration file is shown below:
31
32 /dev/bttv0
33 # this is a comment
34 /dev/video3
35
37 /etc/sane.d/v4l.conf
38 The backend configuration file (see also description of
39 SANE_CONFIG_DIR below).
40
41 /usr/lib64/sane/libsane-v4l.a
42 The static library implementing this backend.
43
44 /usr/lib64/sane/libsane-v4l.so
45 The shared library implementing this backend (present on systems
46 that support dynamic loading).
47
49 SANE_CONFIG_DIR
50 This environment variable specifies the list of directories that
51 may contain the configuration file. Under UNIX, the directories
52 are separated by a colon (`:'), under OS/2, they are separated
53 by a semi-colon (`;'). If this variable is not set, the config‐
54 uration file is searched in two default directories: first, the
55 current working directory (".") and then in /etc/sane.d. If the
56 value of the environment variable ends with the directory sepa‐
57 rator character, then the default directories are searched after
58 the explicitly specified directories. For example, setting
59 SANE_CONFIG_DIR to "/tmp/config:" would result in directories
60 tmp/config, ., and /etc/sane.d being searched (in this order).
61
62 SANE_DEBUG_V4L
63 If the library was compiled with debug support enabled, this
64 environment variable controls the debug level for this backend.
65 E.g., a value of 128 requests all debug output to be printed.
66 Smaller levels reduce verbosity.
67
69 Juergen G. Schimmer, Henning Meier-Geinitz
70
71
73 If more than one video card is present, a crash may occur. Frequency
74 and geometry selection is missing.
75 Send bug reports to the SANE mailing list: sane-devel@alioth-
76 lists.debian.net. You must be subscribed to the list to send mail. See
77 http://www.sane-project.org/mailing-lists.html for details.
78
79
81 sane(7), xcam(1)
82
83
84
85 14 Jul 2008 sane-v4l(5)