I have a new Epson 1660 scanner, and I'm having difficulty getting it working with the sane drivers. Here's what I have thus far... 1. lsusb worked immediately. Here's some of the output: Bus 001 Device 001: ID 0000:0000 Virtual Hub Device Descriptor: <snip> Bus 001 Device 002: ID 04b8:011e Seiko Epson Corp. Device Descriptor: <snip> Bus 001 Device 003: ID 03f0:0317 Hewlett-Packard Device Descriptor: <snip> (I recently unloaded & loaded the USB & printer modules, and the device numbers for the printer (HP) and scanner (Epson) changed.) 2. sane-find-scanner: found USB scanner (vendor = 0x04b8, product = 0x011e) at device /dev/usb/scanner0 This did not work until I added this to the /etc/modules.conf file and modprobe'd "scanner": options scanner vendor=0x04b8 product=0x011e 3. My /etc/sane.d/epson.conf file has: usb /dev/usb/scanner0 (Is that right? I did try some other devices) I also tried usb 0x04b8 0x011e No luck 4. I chmod'd (666) /dev/usb/scanner*. 5. xsane always fails. Here are some of the messages.
xsane
no devices available
xsane epson:/dev/usb/scanner0
Failed to open device 'epson:/dev/usb/scanner0': Operation not supported. Any suggestions? TIA, Bill P.S. I'm running stock Red Hat 8.0. (I have installed the ALSA sound modules.)
On Friday 02 May 2003 3:30 pm, Bill Mills-Curran wrote:
I have a new Epson 1660 scanner, and I'm having difficulty getting it working with the sane drivers. Here's what I have thus far...
1. lsusb worked immediately. Here's some of the output:
Bus 001 Device 001: ID 0000:0000 Virtual Hub Device Descriptor: <snip> Bus 001 Device 002: ID 04b8:011e Seiko Epson Corp. Device Descriptor:
OK, 04b8:011e is the Epson 1660. You knew that. :-)
(I recently unloaded & loaded the USB & printer modules, and the device numbers for the printer (HP) and scanner (Epson) changed.)
2. sane-find-scanner: found USB scanner (vendor = 0x04b8, product = 0x011e) at device /dev/usb/scanner0
It found my Epson 1660 at both /dev/usb/scanner0 and /dev/usbscanner. I don't know why I have both, and they both have major:minor=180:48.
This did not work until I added this to the /etc/modules.conf file and modprobe'd "scanner":
I also have the scanner module loaded.
options scanner vendor=0x04b8 product=0x011e
Yup...
3. My /etc/sane.d/epson.conf file has:
usb /dev/usb/scanner0
I have "usb /dev/usbscanner", but recall note above.
(Is that right? I did try some other devices) I also tried
usb 0x04b8 0x011e
No luck
4. I chmod'd (666) /dev/usb/scanner*.
Mine is (666). I'm running sane-backends-1.0.9 and sane-frontends-1.0.9 which I built from source in /usr/local. I'm running xsane 0.90. There are more recent versions available. I'm using a 2.4.20 kernel, but it worked on my 2.4.19 and I think also on 2.4.18. You didn't mention your kernel rev, but I assume 2.4.x since Redhat 8.0 is a relatively recent vintage.
5. xsane always fails. Here are some of the messages.
xsane
no devices available
According to the xsane readme in the source tarball, the most common problem is having multiple copies of sane installed, and having them conflict in some way. You might try something like this "find / -name "*sane*" | less". Also, try this: rm -rf ~/.sane/xsane If all else fails, try running strace on xsane. It might shed some clues. Let me know how it goes. Andy -- Andy Stewart, Founder Worcester Linux Users' Group Worcester, MA USA http://www.wlug.org
Andy, Thanks for the tips. I've tried everything you suggested, and still no joy. However, I think that a newer version of sane is in order. I'm still using the version from RH 8.0:
rpm -qa|fgrep sane sane-backends-1.0.8-5 sane-frontends-1.0.8-4 xsane-0.84-8
I have the Red Hat 9 CD's, and I'll upgrade as soon as possible to see what happens. Thanks, Bill
On Fri, 2 May 2003, Andy Stewart wrote: AS> Date: Fri, 2 May 2003 22:31:14 -0400 AS> From: Andy Stewart <andystewart@attbi.com> AS> Reply-To: wlug@mail.wlug.org AS> To: wlug@mail.wlug.org AS> Subject: Re: [Wlug] scanner help AS> AS> On Friday 02 May 2003 3:30 pm, Bill Mills-Curran wrote: AS> > I have a new Epson 1660 scanner, and I'm having difficulty getting it AS> > working with the sane drivers. Here's what I have thus far... <snip> Andy, Thanks for the pointers on getting my scanner going. The key was to get a newer version of xsane. I took the lazy road and upgraded to Red Hat 9. The version of xsane in the upgrade did the trick. BTW, I did have one glitch in the upgrade -- it did a poor job of modifying modules.conf, so a bunch of stuff (printers, network, etc.) stopped working until I fixed it. Bill
On Monday 19 May 2003 3:50 pm, Bill Mills-Curran wrote:
Andy,
Thanks for the pointers on getting my scanner going. The key was to get a newer version of xsane. I took the lazy road and upgraded to Red Hat 9. The version of xsane in the upgrade did the trick.
BTW, I did have one glitch in the upgrade -- it did a poor job of modifying modules.conf, so a bunch of stuff (printers, network, etc.) stopped working until I fixed it.
Bill
Hi Bill, I'm glad to hear that you finally go this to work! I have heard similar RedHat upgrade stories from others. However, I've yet to see a completely successful upgrade from any distribution. Perhaps I'm just hearing the vocal folks. Later, Andy -- Andy Stewart, Founder Worcester Linux Users' Group Worcester, MA USA http://www.wlug.org
participants (2)
-
Andy Stewart
-
Bill Mills-Curran