From: Sergey Vlasov <vsu@altlinux.ru> To: sisyphus@lists.altlinux.org Subject: Re: [sisyphus] Сборка Sane + udev + hotplug Date: Tue, 29 Jan 2008 19:27:21 +0300 Message-ID: <20080129162721.GE18666@newmaster.mivlgu.local> (raw) In-Reply-To: <200801291854.07133.ashen@nsrz.ru> [-- Attachment #1: Type: text/plain, Size: 2658 bytes --] On Tue, Jan 29, 2008 at 06:54:07PM +0300, Алексей Шенцев wrote: > В сообщении от 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 Сложно сказать, почему это не работает. На всякий случай попробуйте отключить сканер, потом подключить снова и повторить эту команду - возможно, после попыток обращения к нему с использованием неверного протокола требуется сброс. [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2008-01-29 16:27 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 ` Алексей Шенцев 2008-01-29 16:27 ` Sergey Vlasov [this message] 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=20080129162721.GE18666@newmaster.mivlgu.local \ --to=vsu@altlinux.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