[sisyphus] Сборка Sane + udev + hotplug

Алексей Шенцев =?iso-8859-1?q?ashen_=CE=C1_nsrz=2Eru?=
Вт Янв 29 18:54:07 MSK 2008


В сообщении от Tuesday 29 January 2008 17:48:32 Sergey Vlasov написал(а):
> Строка "snapscan" есть в /etc/sane.d/dll.conf?  
Мля вот её то как раз случайно стёр, но суть дела не меняет.

> Ещё проверьте, что строка 
> "usb 0x4b8 0x0120" присутствует в /etc/sane.d/snapscan.conf, 
Есть.

> и выполните export SANE_DEBUG_SNAPSCAN=255; scanimage -L снова.
[root на oasu3 /]# cat /etc/sane.d/dll.conf
# enable the next line if you want to allow access through the network:
net
#epson
epkowa
snapscan
[root на oasu3 /]# cat /etc/sane.d/epkowa.conf
# epkowa.conf -- sample configuration for the EPKOWA SANE backend
# Copyright (C) 2004  Olaf Meeuwissen
#
# See sane-epkowa(5), sane-scsi(5) and sane-usb(5) for details.
usb
usb 0x04b8 0x0120
usb /dev/scanner-usbdev5.2
[root на oasu3 /]# cat /etc/sane.d/snapscan.conf
#------------------------------ General -----------------------------------
#firmware /usr/share/sane/snapscan/esfw3e.bin
firmware /etc/sane.d/esfw3e.bin

#--------------------------- USB scanners -----------------------------------
# Epson Perfection 1270
usb 0x04b8 0x120
[root на oasu3 /]# export SANE_DEBUG_SNAPSCAN=255
[root на oasu3 /]# scanimage -L
[sanei_debug] Setting debug level of snapscan to 255.
[snapscan] sane_snapscan_init
[snapscan] sane_snapscan_init: Snapscan backend version 1.4.53
[snapscan] add_usb_device(libusb:005:002)
[snapscan] add_usb_device: Detected (kind of) an USB device
[snapscan] snapscani_usb_open(libusb:005:002)
[snapscan] add_usb_device: Checking if 0x04b8 is a supported USB vendor ID
[snapscan] snapscani_check_device()
[snapscan] mini_inquiry
[snapscan] snapscan_cmd
[snapscan] snapscani_usb_cmd(0,0xaf83dc82,6,0xaf83dc5e,0xaf83dc58 (36))
[snapscan] atomic_usb_cmd(0,0xaf83dc82,6,0xaf83dc5e,0xaf83dc58 (36))
[snapscan] usb_cmd(0,0xaf83dc82,6,0xaf83dc5e,0xaf83dc58 (36))
[snapscan] usb_cmd: cmdlen=6, datalen=0
[snapscan] usb_write: writing:  0x12 0x00 0x00 0x00 0x24 0x00
[snapscan] usb_write Only 0 bytes written
[snapscan] Written 0 bytes
[snapscan] mini_inquiry: snapscan_cmd command failed: Error during device I/O
[snapscan] snapscani_check_device: mini_inquiry failed with Error during 
device I/O.
[snapscan] snapscani_usb_close(0)
[snapscan] 1st read 0 write 0
[snapscan] 2nd read 0 write 0
[snapscan] sane_snapscan_get_devices (0xaf83ee98, 0)

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
[snapscan] sane_snapscan_exit
[root на oasu3 /]# sane-find-scanner | grep found
  # No SCSI scanners found. If you expected something different, make sure 
that
found USB scanner (vendor=0x04b8, product=0x0120) at libusb:005:002
[root на oasu3 /]#

Светодиод на сканере горит синим цветом.
-- 
С уважением Шенцев Алексей Владимирович.
E-mail: ashen на nsrz.ru
XMPP: ashen на altlinux.org, AlexShen на jabber.ru
ICQ: 271053845



Подробная информация о списке рассылки Sisyphus