Wykres commitów

61 Commity (1dd768d5340eb7e85abfec401321b5523ddf8284)

Autor SHA1 Wiadomość Data
Julien BLACHE ed0d09f863 Add wildcard for some Epson scanners 2011-06-24 22:13:07 +02:00
Julien BLACHE a4643d888e Fix infinite loop in walking the SCSI scanners list 2011-06-24 22:10:55 +02:00
Julien BLACHE 9441b1cdfe Add udev+acl output mode, udev rules using ACLs
Use ACLs for the scanner group instead of making the device root:scanner
with permissions 0664; designed to help with MFPs and play nice with
ConsoleKit.
2011-06-02 11:05:30 +02:00
Julien BLACHE cd376be4af Use power/control instead of power/level if available 2011-03-19 17:51:10 +01:00
Julien BLACHE 323ed013e6 udev rules: set libsane_matched=yes for SCSI scanners too
Used later on by udev-acl to handle scanners.
2010-06-21 19:01:51 +02:00
m. allan noah 0340d25366 Update the sane-devel contact suggestion 2010-04-18 20:37:15 -04:00
m. allan noah 5d080dc17c Condense warnings about half-baked .desc files 2010-02-27 21:09:45 -05:00
m. allan noah 2df3c10817 * doc/.gitignore, doc/Makefile.am, doc/Makefile.in:
- added new targets for scanner search engine db
* doc/releases.txt: improved doc
* doc/saned.man: clean typos
* tools/sane-desc.c: removed NAME= from udev rules (deprecated)
2010-02-10 14:27:27 -05:00
m. allan noah 645bde0b8b add closedir call to fix bug #311880, patch from Johannes Meixner 2009-08-13 14:15:57 -04:00
Julien BLACHE 79e6e5c420 Unbreak udev rules
We switched from SYSFS{} to ATTR{} and that should really be ATTRS{}.
Slightly different behaviour and all hell breaks loose.
2009-05-06 11:13:44 +02:00
m. allan noah 18e88c02a7 double counting untested scanners bug 2009-04-14 03:54:01 +00:00
m. allan noah 5718d5a4ed * tools/sane-desc.c: remove 8859-1 chars from string cleaner,
enforce only printable ASCII on output (bug 311539)
2009-03-13 13:48:44 +00:00
Chris Bagwell caba90c552 * configure.in, acinclude.ac: Cleanup autoconf 2.63 warnings.
add cv_ prefix to cached variable.  Remove AC_ARG_PROGRAM as
automake already invokes this. When prefered AC_USE_SYSTEM_EXTENSIONS
exists, use that instead of AC_GNU_SOURCE/AC_AIX/AC_MINUX.
Cleanup socket detection more by creating only a single
SOCKET_LIBS that contains list of all optional libraries
for any socket related funciton.  Make sure that checks
for socket related functions use SOCKET_LIBS when searching.
Check for getopt_long() and getopt.h.  Make OS/2 use
-no-undefined (same as windows).
* ltmain.sh, m4/libtool.m4: Upgrade to libtool 1.5.26.
* Makefile.am: Cleanups to match configure updates.
* frontend/scanimage.c, include/Makefile.in, lib/getopt.c
lib/getopt1.c, toosl/sane-desc.c, include/lgetopt.h:
Rename internal getopt.h to lgetopt.h to allow using
external getopt.h when it exists.  This allows to go
back to optionally compiling getopt()/getopt_long() and its
prototypes and not have conflicts with external headers/symbols.
2009-02-06 03:10:44 +00:00
Julien BLACHE be690a3d4e Remove debug code. 2009-02-03 12:07:20 +00:00
Julien BLACHE 9056460913 Filter out unsupported/unknown models from output (udev/hal). 2009-02-03 11:08:31 +00:00
Chris Bagwell 23ff26f9a5 * acinclude.m4, configure.in: Put all libraries into their
own *_LIB variables instead of $LIB so that we do not have to
link in the world to all executables. Modified SANE_CHECK_U_TYPES
to be a little more portable to platforms that use #define
for u_* types. Create SANE_CHECK_BACKENDS macro so that
PRELOADABLE_BACKENDS can also be valided.  Auto-populated
PRELAODABLE_BACKENDS when detect dlopen() won't work.
Various protability cleanups.
* backend/dll.c: Make dll-preload.c a .h since its an include and
not compilable byitself.
* frontend/Makefile.in, frontend/scanimage.c, include/laaloca.h,
  lib/Makefile.am, lib/alloca.c, strcasestr.c, tools/Makefile.in,
  tools/sane-desc.c: Convert lib/ to automake.  Create a liblib.la
  for everyone to use and a libfelib.la for only frontend programs.
  Make all internal programs be prefixed with sanei_ as not to conflict
  with other programs libsane is linked in with that will also most
  likely create similar internal utils on problem platforms.
  * include/getopt.h, lib/getopt.c, lib/getopt1.c: Always compile
  and link in getopt_long() but prefix it with sanei_.  Its
  easier to always use internal version then try to figure out what
  platforms support getopt_long() and what header files to use.
  * backend/Makefile.am: Convert backend makefile to automake.
  Initial version that is feature parity with original but uses
  specific rules instead of wildcards and only links in libraries/objs
  really required. Room for more cleanup of whats linked in once
  all makefiles have been converted to automake.
2009-01-31 03:12:18 +00:00
Julien BLACHE acc2b0fccf Add a new :scsi keyword for SCSI devices, add support for SCSI devices
in the udev and HAL FDI outputs.
2009-01-13 21:17:16 +00:00
Julien BLACHE e91b604df7 Replace the obsolete SYSFS{} key by the newer ATTR{} key in the udev output. 2009-01-13 21:14:17 +00:00
Julien BLACHE 4cb1d28a35 Group USB devices by vendor in the HAL FDI output. 2009-01-13 21:11:28 +00:00
Julien BLACHE 59f6298630 Replace opencoded device permissions and ownership by proper definitions. 2009-01-13 20:58:55 +00:00
Julien BLACHE 95f01b7244 HAL 0.5.11-rc2 does not support the info.bus property anymore; superseded by
info.subsystem. Unfortunately, this is not backward-compatible, so add a new
"hal-new" mode to sane-desc.
2008-03-28 20:57:59 +00:00
Julien BLACHE 08f6df7b48 Add a RUN rule to the udev rules to automatically disable USB suspend for all known scanners.
This effectively works around the hardware bugs exposed by CONFIG_USB_SUSPEND.

Works only with kernels >= 2.6.22 where /sys/bus/usb/devices/*/power/level exists.
2007-07-29 18:39:54 +00:00
Julien BLACHE 734c0c1800 Comment out the node creation rule by default so as to not depend on a (documented) udev side effect.
(that is, the rule would be ignored by udev because a previous rule already set the NAME key)
2007-07-29 17:37:49 +00:00
Julien BLACHE d5d762f96e Revert my last commit and rework the one before to produce a backward compatible udev rules file. Yay. 2007-07-26 21:23:27 +00:00
Julien BLACHE 3958e52b1b Simplify previous modification. 2007-07-25 12:30:16 +00:00
Julien BLACHE 8dc1f4493c Update udev rules for use with Linux >= 2.6.22 and CONFIG_USB_DEVICE_CLASS=n. 2007-07-25 09:21:18 +00:00
Julien BLACHE a0fd0edb03 Use mode 0664 for usbfs device nodes; allows everybody on the system to use lsusb. 2007-04-17 19:21:13 +00:00
Julien BLACHE 17ca143dc2 Adding hal FDI output mode, from David Zeuthen <davidz@redhat.com> 2007-03-18 09:31:10 +00:00
Julien BLACHE 2d3f6ca6c9 Revert part of the previous commit (unwanted mods). 2006-07-16 11:15:14 +00:00
Julien BLACHE 08ebb3df15 Split very long comment lines in the udev rules file. 2006-07-16 11:05:15 +00:00
Julien BLACHE 587c25825c sane-desc.c: Fix a typo in the udev header. 2006-07-03 17:51:32 +00:00
Mattias Ellert 494b57584b Missing end tag 2006-05-27 14:56:58 +00:00
Mattias Ellert b7ea951e7c plist output from sane-desc 2006-05-27 07:50:05 +00:00
Julien BLACHE 8cdd5db635 Fix/optimize udev rules; tests on the same line are ANDed together, not ORed together, causing the rules to trigger more often than necessary. 2006-04-12 11:35:06 +00:00
Henning Geinitz 408c7c4e1f Added "ignore" parameter to :usbid token. Print warning if a backend defines USB
models without defining usbid. Print warning if a model doesn't have an
interface.
2006-01-14 19:06:49 +00:00
Henning Geinitz 14e5a82d9d Added usermap, db, and udev output modes for generating USB vendor/product lists
for hotplug (ng) and Linux udev. Added version information to html modes.
2006-01-08 20:42:53 +00:00
Henning Geinitz 94f90304b0 Added support for keyword :usbid. All output modes now print the usb vendor and
product modes.
2006-01-08 15:48:38 +00:00
Henning Geinitz afa3fc0bb5 Added new output mode: statistics. This mode prints overal statistics about
known devices. Added support for more than one search directory. Removed support
for deprecated backend status ("alpha", "beta" ...). Ran indent -gnu. HTML
output (backends and mfgs) prints statitics now. Unify status and device type
strings. Simplified status and device type string printing. Removed any
remaining links of backend status.
2006-01-07 23:44:09 +00:00
Henning Geinitz c3cf1bc572 Ran indent -gnu. 2006-01-07 21:42:07 +00:00
Henning Geinitz 0cba368232 Added new output mode: statistics. This mode prints overal statistics about
known devices. Added support for more than one search directory. Removed support
for deprecated backend status ("alpha", "beta" ...).
2006-01-07 19:36:24 +00:00
Henning Geinitz 6874a8d10a XML mode updates (patch from Jose Gato <jgato@gsyc.escet.urjc.es>) 2004-07-09 16:48:17 +00:00
Henning Geinitz 47c50edf00 Added xml output (patch from jose <jgato@lambdaux.com>). Other minor fixes. 2004-06-28 18:46:35 +00:00
Henning Geinitz 02334639e8 Really fix the anchors. 2004-01-11 18:52:00 +00:00
Henning Geinitz 4933528fdf When generating HTML anchor names, make sure they are unique. Bug #300439. 2004-01-11 18:05:47 +00:00
Henning Geinitz 4bf0aa0851 In error and warning messages print the name of the description file. Print
warning if the status is not set for a device.
2003-10-17 09:25:56 +00:00
Henning Geinitz e306b4fbe1 Changed links to sane-project.org. Mentioned bug tracker. Added contact link.
Removed link to special USB and Parport lists (now on static web pages).
2003-09-24 15:56:34 +00:00
Henning Geinitz 1a2db4cadd PATH_MAX is too small for long comments on win32. Actually return 0 if there
is no second quotation mark.  Patch from Frank Zago <fzago at austin dot rr
dot com>. Check for !word everywhere to avoid segfaults when a quotation mark
is missing.
2003-09-21 08:56:35 +00:00
Henning Geinitz 29d42ebe6a Mention backend name in warnings and errors. 2003-06-20 11:16:22 +00:00
Henning Geinitz 39321aa87b Changed to use the new status system for devices: unsupported, untested,
minimal, basic, good, complete.  The old backend and device statuses are
translated. Removed the option to generate one big table of backends (wasn't
used anyway).
2003-06-18 09:06:38 +00:00
Henning Geinitz 5b89307312 Fixed segfault. 2003-04-30 23:11:50 +00:00