[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: usb scanner, kernel 2.6.3



On Sun, Mar 07, 2004 at 06:44:15AM -0500, Antonio Rodriguez 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:
>                                                                                
There are some more instructions in
/usr/share/doc/libsane/README.Debian.gz to have the device get the
right permissions when connected.

If I remember correctly: I added scanner to /etc/hotplug/blacklist 
(When I first configure it the scanner module was still there and I had
compiled it with my kernel, it should not be necessary to add it now).
Then in /etc/hotplug/usb/libsane.usermap I added a line for my scanner
like the sample entry provided and replaced VVVV and PPPP by the values
for my Epson 1240U.
Lastly, I commented out the 'usb /dev/usb/scanner0' line I had added to
the /etc/sane.d/epson.conf file and added a new line with simply 'usb'
on it.

YMMV HTH,
Philippe





Reply to: