Re: usb scanner, kernel 2.6.3
On Sun, 7 Mar 2004 06:44:15 -0500
Antonio Rodriguez <arodriguez31@cfl.rr.com> wrote:
> On Sat, Mar 06, 2004 at 09:45:21PM +0100, Philippe Marzouk wrote:
> > On Sat, Mar 06, 2004 at 09:32:48PM +0100, Kenneth Macdonald Karlsen
> > wrote:
> > > Philippe Marzouk wrote:
>
> > > >the kernel you have to swith to using libusb.
> > > >
> > > >For my Epson scanner I had simply to put
> > > >
> > > >usb
> > > >
> > > >on the epson.conf file
> > > >
> > > >Philippe
>
> > > For my epson it was not as simple.
> > > Sane is now supported by libusb and not kernel.
> > > Run sane-find-scanner. You get something like this:
> > >
> > > found USB scanner (vendor=0x04b8 [EPSON], product=0x0104
> > > [Perfection1200]) at libusb:001:003
> > > # Your USB scanner was (probably) detected. It may or may not be
> > > supported by
> > > # SANE. Try scanimage -L and read the backend's manpage.
> > >
> > > Then I put this in /etc/sane.d/epson.conf:
> > > usb libusb:001:003
>
> I am having a bad time making this work. I have tried a
> bunch of different options, including one found on the net about
> making some changes in fstab:
>
> none /proc/bus/usb usbfs defaults,devmode=0666 0
> 0
>
> Here is another output:
> tony@hpd:~$ sane-find-scanner
> found USB scanner (vendor=0x03f0, product=0x0401) at libusb:003:002
> # Your USB scanner was (probably) detected. It may or may not be
> # supported by SANE. Try scanimage -L and read the backend's manpage.
>
> Made the change in /etc/sane.d/hp.conf
> # HP ScanJet 5200C
> #usb 0x03f0 0x0401
> usb libusb:003:002
>
> and also tried without libusb as indicated by one of you:
> # HP ScanJet 5200C
> #usb 0x03f0 0x0401
> usb
>
> Nothing works. Any ideas?
That's further than I get with the Epson perfection 1660 photo:
sane-find-scanner with no arguments doesn't find anything
sane-find-scanner -f /proc/bus/usb/001/003 reports:
found USB scanner (UNKNOWN vendor and product) at device
/proc/bus/usb/001/003
# Your USB scanner was detected. It may or may not be supported by
# SANE. Try scanimage -L and read the backend's manpage.
# `UNKNOWN vendor and product' means that there seems to be a scanner at
this
# device file but the vendor and product ids couldn't be identified.
# Currently identification only works with Linux versions >= 2.4.8. You
may
# need to configure your backend manually, see the backend's manpage.
The relevant bit of /proc/bus/usb/devices has:
T: Bus=01 Lev=01 Prnt=01 Port=05 Cnt=01 Dev#= 2 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS=64 #Cfgs= 1
P: Vendor=04b8 ProdID=011e Rev= 1.00
S: Manufacturer=EPSON
S: Product=EPSON Scanner
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 2mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
the versions of sane and libusb are:
ii sane-utils 1.0.13-3 API library for scanners --
utilities
ii libusb-0.1-4 0.1.8-4 Userspace USB programming
library
The kernel is 2.6.3 for AMD k7 (Debian Sid stock kernel).
(I'm not totally convinced I understand the controllers on this machine as
the scanner shows up on Bus 001 (the USB2 bus) whichever socket I plug it
into, while the printer (also supposedly a USB2 device) never does).
--
James Tappin, O__ "I forget the punishment for using
james@tappin.me.uk -- \/` Microsoft --- Something lingering
http://www.tappin.me.uk/ with data loss in it I fancy"
Reply to: