A fent emlitett scannert felizzadtam debian sarge ala. Mukodesre is tudom birni, ha a /proc/usb/002/00x jogosultsagat 646-ra, akkor userken-t is tudom hasznalni. Ellenkezo esetben device not found a hibauzenet. Mit kell ahhoz konfigolnom, hogy userkent is mukodjon rendesen a scanner??
Kimenetek:
lsusb
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 005: ID 0458:2004 KYE Systems Corp. (Mouse Systems)
Bus 002 Device 002: ID 0458:0036 KYE Systems Corp. (Mouse Systems)
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
ls -la /dev/usb/scanner*
crw-rw-rw- 1 root root 180, 48 2006-04-07 00:52 /dev/usb/scanner0
crw-rw-rw- 1 root root 180, 49 2006-04-07 00:52 /dev/usb/scanner1
...
cat /etc/sane.d/u12.conf
# U12-SANE Backend configuration file
#
# each device needs at least two lines:
# - [usb] vendor-ID and product-ID
# - device devicename
# i.e. for Plustek (0x07B3) U1212 (0x0001)
# [usb] 0x07B3 0x0001
# device /dev/usbscanner
# or
# device libusb:bbb:ddd
# where bbb is the busnumber and ddd the device number
# make sure that your user has access to /proc/bus/usb/bbb/ddd
#
# additionally you can specify some options
# warmup, lOffOnEnd, lampOff
#
# For autodetection use
# [usb]
# device /dev/usbscanner
#
# or simply
# [usb]
#
# or if you want a specific device but you have no idea about the
# device node or you use libusb, simply set vendor- and product-ID
# [usb] 0x07B3 0x0001
# device auto
#
# NOTE: autodetection is safe, as it uses the info it got
# from the USB subsystem. If you're not using the
# autodetection, you MUST have attached that device
# at your USB-port, that you have specified...
#
[usb] 0x0458 0x2004
device /dev/usb/scanner0
#libusb:002:006
#
# options for the previous USB entry
#
# switch lamp off after xxx secs, 0 disables the feature
option lampOff 300
# warmup period in seconds, 0 means no warmup
option warmup 15
# 0 means leave lamp-status untouched, not 0 means switch off
# on sane_close
option lOffOnEnd 1
#
# for adjusting the default gamma values
#
#option redGamma 1.5
#option greenGamma 1.5
#option blueGamma 1.5
#option grayGamma 1.5
#
# and of course the device-name
#
device auto
#
# to define a new device, start with a new section:
# [usb]
#
- 1063 megtekintés