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. On *NIX systems, the direc‐
52 tories are separated by a colon (`:'), under OS/2, they are sep‐
53 arated by a semi-colon (`;'). If this variable is not set, the
54 configuration file is searched in two default directories:
55 first, the current working directory (".") and then in
56 /etc/sane.d. If the value of the environment variable ends with
57 the directory separator character, then the default directories
58 are searched after the explicitly specified directories. For
59 example, setting SANE_CONFIG_DIR to "/tmp/config:" would result
60 in directories tmp/config, ., and /etc/sane.d being searched (in
61 this order).
62
63 SANE_DEBUG_V4L
64 If the library was compiled with debug support enabled, this en‐
65 vironment 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-devel@alioth-lists.de‐
77 bian.net. You must be subscribed to the list to send mail. See
78 http://www.sane-project.org/mailing-lists.html for details.
79
80
82 sane(7), xcam(1)
83
84
85
86 14 Jul 2008 sane-v4l(5)