ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Алексей Шенцев" <ashen@nsrz.ru>
To: sisyphus@lists.altlinux.org
Subject: Re: [sisyphus] Сборка Sane + udev + hotplug
Date: Tue, 29 Jan 2008 18:54:07 +0300
Message-ID: <200801291854.07133.ashen@nsrz.ru> (raw)
In-Reply-To: <20080129144832.GB18666@newmaster.mivlgu.local>

В сообщении от 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


  reply	other threads:[~2008-01-29 15:54 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-28 10:08 Vitaly Lipatov
2008-01-28 12:39 ` Алексей Шенцев
2008-01-28 23:41   ` Vitaly Lipatov
2008-01-29  6:01     ` Алексей Шенцев
2008-01-30  6:29       ` Алексей Шенцев
2008-01-29 13:22     ` Алексей Шенцев
2008-01-29 14:20       ` Sergey Vlasov
2008-01-29 14:25         ` Алексей Шенцев
2008-01-29 14:48           ` Sergey Vlasov
2008-01-29 15:54             ` Алексей Шенцев [this message]
2008-01-29 16:27               ` Sergey Vlasov
2008-01-30  6:27                 ` Алексей Шенцев
2008-01-28 23:45 ` Dmitry V. Levin
2008-01-29  0:18   ` Vitaly Lipatov
2008-01-29  6:11     ` Anton Farygin
2008-01-29  6:12     ` Алексей Шенцев

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200801291854.07133.ashen@nsrz.ru \
    --to=ashen@nsrz.ru \
    --cc=sisyphus@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git