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/lib*/sane/libsane-v4l.a
42 The static library implementing this backend.
43
44 /usr/lib*/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
61 order).
62
63 SANE_DEBUG_V4L
64 If the library was compiled with debug support enabled, this
65 environment variable controls the debug level for this backend.
66 E.g., a value of 128 requests all debug output to be printed.
67 Smaller levels reduce verbosity.
68
70 Juergen G. Schimmer, Henning Meier-Geinitz
71
72
74 If more than one video card is present, a crash may occur. Frequency
75 and geometry selection is missing.
76 Send bug reports to the SANE mailing list: sane-
77 devel@lists.alioth.debian.org. You must be subscribed to the list to
78 send mail. See http://www.sane-project.org/mailing-lists.html for
79 details.
80
81
83 sane(7), xcam(1).
84
85
86
87sane-backends 1.0.18 28 Aug 2002 sane-v4l(5)