Gentoo Archives: gentoo-amd64

From: Peter Humphrey <prh@××××××××××.uk>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] USB scanners and udev
Date: Wed, 07 Mar 2007 09:44:19
Message-Id: 200703070935.19104.prh@gotadsl.co.uk
In Reply to: Re: [gentoo-amd64] USB scanners and udev by Thierry de Coulon
1 On Tuesday 06 March 2007 18:26:30 Thierry de Coulon wrote:
2 > On Tuesday 06 March 2007 17:44, Peter Humphrey wrote:
3 > > Also not, perhaps, a 64-bit problem, but can someone please confirm
4 > > that they can plug a USB scanner in and have it work? I have an Epson
5 > > Perfection 640U which works under M$ but not Gentoo.
6 >
7 > I run both a 640u and a 1260 under Gentoo 64 bit (but I did install the
8 > libraries for 32bit compatibility, so maybe that plays a role).
9
10 I have all the emul-linux packages installed except for java, medialibs and
11 sdl. I can't imagine that any of those is causing this problem.
12
13 In answer to Barry, I have this:
14
15 $ cat /etc/udev/rules.d/92-scanner.rules
16 BUS=="usb", SYSFS{idVendor}=="0x4b8", SYSFS{idProduct}=="0x106",
17 GROUP="scanner", MODE="660"
18
19 Those numbers are I believe correct for my scanner.
20
21 In reply to Antoine, after removing all other entries
22 from /etc/sane.d/epson.conf I get these log entries when I plug the scanner
23 in:
24
25 # grep "7 08:45" /var/log/messages
26 Mar 7 08:45:03 wstn hub 1-0:1.0: state 7 ports 10 chg 0000 evt 0008
27 Mar 7 08:45:03 wstn ehci_hcd 0000:00:02.1: GetStatus port 3 status 001803
28 POWER sig=j CSC CONNECT
29 Mar 7 08:45:03 wstn hub 1-0:1.0: port 3, status 0501, change 0001, 480 Mb/s
30 Mar 7 08:45:03 wstn hub 1-0:1.0: debounce: port 3: total 100ms stable 100ms
31 status 0x501
32 Mar 7 08:45:03 wstn ehci_hcd 0000:00:02.1: port 3 full speed --> companion
33 Mar 7 08:45:03 wstn ehci_hcd 0000:00:02.1: GetStatus port 3 status 003001
34 POWER OWNER sig=se0 CONNECT
35 Mar 7 08:45:03 wstn hub 2-0:1.0: state 7 ports 10 chg 0000 evt 0008
36 Mar 7 08:45:03 wstn ohci_hcd 0000:00:02.0: GetStatus roothub.portstatus [2]
37 = 0x00010101 CSC PPS CCS
38 Mar 7 08:45:03 wstn hub 2-0:1.0: port 3, status 0101, change 0001, 12 Mb/s
39 Mar 7 08:45:04 wstn hub 2-0:1.0: debounce: port 3: total 100ms stable 100ms
40 status 0x101
41 Mar 7 08:45:04 wstn ohci_hcd 0000:00:02.0: GetStatus roothub.portstatus [2]
42 = 0x00100103 PRSC PPS PES CCS
43 Mar 7 08:45:04 wstn usb 2-3: new full speed USB device using ohci_hcd and
44 address 3
45 Mar 7 08:45:04 wstn ohci_hcd 0000:00:02.0: GetStatus roothub.portstatus [2]
46 = 0x00100103 PRSC PPS PES CCS
47 Mar 7 08:45:04 wstn usb 2-3: ep0 maxpacket = 8
48 Mar 7 08:45:08 wstn usb 2-3: default language 0x0409
49 Mar 7 08:45:08 wstn usb 2-3: new device strings: Mfr=1, Product=2,
50 SerialNumber=0
51 Mar 7 08:45:08 wstn usb 2-3: Product: Perfection640
52 Mar 7 08:45:08 wstn usb 2-3: Manufacturer: EPSON
53 Mar 7 08:45:08 wstn usb 2-3: uevent
54 Mar 7 08:45:08 wstn usb 2-3: usb_probe_device
55 Mar 7 08:45:08 wstn usb 2-3: configuration #1 chosen from 1 choice
56 Mar 7 08:45:08 wstn usb 2-3: adding 2-3:1.0 (config #1, interface 0)
57 Mar 7 08:45:08 wstn usb 2-3:1.0: uevent
58 Mar 7 08:45:08 wstn drivers/usb/core/inode.c: creating file '003'
59 Mar 7 08:45:08 wstn hub 2-0:1.0: state 7 ports 10 chg 0000 evt 0008
60
61 So the scanner evidently is being detected and recognised, but I still get
62 no-scanners from scanimage -L.
63
64 Maybe the scanner is faulty, but it does work for M$.
65
66 --
67 Rgds
68 Peter Humphrey
69 Linux Counter 5290, Aug 93
70 --
71 gentoo-amd64@g.o mailing list

Replies

Subject Author
Re: [gentoo-amd64] USB scanners and udev Thierry de Coulon <tcoulon@××××××××.ch>
Re: [gentoo-amd64] USB scanners and udev Barry.SCHWARTZ@×××××××××××××.org