0. Есть линукc 2.4.27, sarge и usb сканер epson perfection 1270.
1. Проблема: ядро не видит сканер. Кстати, сканер поддерживается sane
2. Должно быть что--то вроде Vendor=0x04b8 ProdID=0x0120 Product=Espon scanner. Ан нет. :-(
$ cat /proc/bus/usb/devices
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB UHCI Root Hub
S: SerialNumber=e400
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
3. Естественно, что sane-find-scanner ничего не находит.
$ sane-find-scanner
# sane-find-scanner will now attempt to detect your scanner. If the
# result is different from what you expected, first make sure your
# scanner is powered up and properly connected to your computer.
# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a SCSI driver for your SCSI adapter.
# Also you need support for SCSI Generic (sg) in your operating system.
# If using Linux, try "modprobe sg".
# No USB scanners found. If you expected something different, make sure that
# you have loaded a driver for your USB host controller and have installed a
# kernel scanner module.
# Not checking for parallel port scanners.
# Most Scanners connected to the parallel port or other proprietary ports
# can't be detected by this program.
# You may want to run this program as root to find all devices. Once you
# found the scanner devices, be sure to adjust access permissions as
# necessary.
4. Хотя из вывода dmesg вроде бы следует что сканер опознан.
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 16:52:03 May 16 2005
usb-uhci.c: High bandwidth mode enabled
PCI: Found IRQ 10 for device 00:07.2
PCI: Sharing IRQ 10 with 00:0c.0
usb-uhci.c: USB UHCI at I/O 0xe400, IRQ 10
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
usbdevfs: remount parameter error
hub.c: new USB device 00:07.2-2, assigned address 2
PCI: Found IRQ 10 for device 00:0c.0
PCI: Sharing IRQ 10 with 00:07.2
8139cp: 10/100 PCI Ethernet driver v1.2 (Mar 22, 2004)
uhci.c: USB Universal Host Controller Interface driver v1.1
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x1001
usb_control/bulk_msg: timeout
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: acpi_pciehprm:get_device PCI ROOT HID fail=0x1001
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
usb.c: USB device not responding, giving up (error=-110)
hub.c: new USB device 00:07.2-2, assigned address 3
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
usb.c: USB device not responding, giving up (error=-110)
usb.c: registered new driver usbscanner
scanner.c: 0.4.16:USB Scanner Driver
scanner.c: probe_scanner: User specified USB scanner -- Vendor:Product - 4b8:120
5. вроде бы сканер найден
$ cat /proc/bus/usb/drivers
usbdevfs
hub
48- 63: usbscanner
6. и модули есть нужные
# lsmod
....
scanner 10176 0
usb-uhci 19504 0 (unused)
usbcore 52268 1 [scanner usb-uhci]
7. кстати в /etc/modules.conf руками добавлена нужная информация.
$ tail /etc/modules.conf
options scanner vendor=0x04b8 product=0x0120
8. сам usb контроллер система видит
$ lspci
...
0000:00:07.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 11)
$ lsusb
Bus 001 Device 001: ID 0000:0000
9. Помогите люди добрые. Так не хочется маздаем машинку марать из--за одной несчастной железки.