ALT Linux hardware support
 help / color / mirror / Atom feed
* [Hardware] HP ScanJet 5300C
@ 2007-02-05 10:08 Alex Moskalenko
  2007-02-06 18:14 ` [Hardware] [sisyphus] " Sergey Vlasov
  0 siblings, 1 reply; 4+ messages in thread
From: Alex Moskalenko @ 2007-02-05 10:08 UTC (permalink / raw)
  To: hardware; +Cc: ALT Linux Sisyphus discussion list

[-- 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 --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-03-28  9:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-05 10:08 [Hardware] HP ScanJet 5300C Alex Moskalenko
2007-02-06 18:14 ` [Hardware] [sisyphus] " Sergey Vlasov
2007-02-07  6:55   ` Alex Moskalenko
2007-03-28  9:48   ` [Hardware] " Alex Moskalenko

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