From: Alex Moskalenko <mav@elserv.msk.su>
To: hardware@lists.altlinux.org
Cc: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: [Hardware] HP ScanJet 5300C
Date: Mon, 5 Feb 2007 13:08:07 +0300
Message-ID: <200702051308.07737.mav@elserv.msk.su> (raw)
[-- Attachment #1: Type: text/plain, Size: 4002 bytes --]
Здравствуйте!
Пытаясь подключить сканер HP ScanJet 5300С к текущему сизифу, столкнулся с
проблемой - sane-find-scanner видит его, а scanimage -L отказывается. При
этом проблема похоже в самом ядре, так как при подключении сканера в messages
видим следующее:
Feb 5 12:53:41 linux kernel: usb 3-1: new full speed USB device using
uhci_hcd and address 18
Feb 5 12:53:51 linux kernel: usb 3-1: configuration #1 chosen from 1 choice
Feb 5 12:53:51 linux kernel: usb 3-1: can't set config #1, error -71
В списке устройств по lsusb сканер присутствует.
Версии пакетов следующие:
===============================
[root@host /]# cat /etc/altlinux-release
ALT Linux Sisyphus (20070101)
[root@host /]# rpmquery -a | egrep libusb\|sane\|kernel\-image | sort
kernel-image-std-smp-2.6.18-alt3
libsane-1.0.18-alt1
libusb-0.1.12-alt1
libusb-devel-0.1.12-alt1
sane-1.0.18-alt1
sane-frontends-1.0.14-alt1
sane-server-1.0.18-alt1
xsane-0.991-alt3
xsane-gimp2-0.991-alt3
===============================
Данные о системе:
===============================
[root@host ~]# uname -a
Linux host.domain 2.6.18-std-smp-alt3 #1 SMP Fri Dec 22 22:43:04 MSK 2006 i686
GNU/Linux
[root@host /]# lspci
00:00.0 Host bridge: Intel Corporation 82845G/GL[Brookdale-G]/GE/PE DRAM
Controller/Host-Hub Interface (rev 03)
00:01.0 PCI bridge: Intel Corporation 82845G/GL[Brookdale-G]/GE/PE Host-to-AGP
Bridge (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M)
USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M)
USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M)
USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI
Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 82)
00:1f.0 ISA bridge: Intel Corporation 82801DB/DBL (ICH4/ICH4-L) LPC Interface
Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801DB (ICH4) IDE Controller (rev
02)
00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus
Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200]
(rev a1)
02:08.0 Ethernet controller: Intel Corporation 82801DB PRO/100 VE (CNR)
Ethernet Controller (rev 82)
[root@host /]# lsusb
Bus 003 Device 005: ID 03f0:0701 Hewlett-Packard ScanJet 5300c/5370c
Bus 003 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
===============================
Часть вывода от scanimage -L с дебагом:
===============================
[avision] sane_init: Trying to find USB device 3f0 701 ...
[sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x0701
[avision] attach:
[avision] attach: opening libusb:003:005
[sanei_usb] sanei_usb_open: trying to open device `libusb:003:005'
USB error: could not set config 1: Protocol error
[sanei_usb] sanei_usb_open: libusb complained: could not set config 1:
Protocol error
[avision] attach: open failed (Invalid argument)
[avision] sane_init: Trying to find USB device 3f0 701 ...
[sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x0701
[avision] attach:
[avision] attach: opening libusb:003:005
[sanei_usb] sanei_usb_open: trying to open device `libusb:003:005'
USB error: could not set config 1: Protocol error
[sanei_usb] sanei_usb_open: libusb complained: could not set config 1:
Protocol error
[avision] attach: open failed (Invalid argument)
===============================
Смена USB-разъема, кабеля, замена ehci_hcd на uhci_hcd ничего не меняет.
На этой же машине этот же сканер с этим кабелем работает под Windows.
Что можно предпринять в такой ситуации?
PS В аттаче - полный вывод sane-find-scanner, scanimage -L, lsusb и strace на
них.
--
WBR, Alex Moskalenko
[-- Attachment #2: output.tar.bz2 --]
[-- Type: application/x-tbz, Size: 10358 bytes --]
next reply other threads:[~2007-02-05 10:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-05 10:08 Alex Moskalenko [this message]
2007-02-06 18:14 ` [Hardware] [sisyphus] " Sergey Vlasov
2007-02-07 6:55 ` Alex Moskalenko
2007-03-28 9:48 ` [Hardware] " Alex Moskalenko
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=200702051308.07737.mav@elserv.msk.su \
--to=mav@elserv.msk.su \
--cc=hardware@altlinux.ru \
--cc=hardware@lists.altlinux.org \
--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 hardware support
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/hardware/0 hardware/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 hardware hardware/ http://lore.altlinux.org/hardware \
hardware@altlinux.ru hardware@lists.altlinux.org hardware@lists.altlinux.ru hardware@lists.altlinux.com hardware@altlinux.org
public-inbox-index hardware
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.hardware
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git