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

Re: Howto get xsane with libusb working for normal users (was Re: Howto get an usb scanner working under linux 2.6.3)



On Mon, 22 Mar 2004 19:03:24 +0100
Joris Huizer <jorishuizer@planet.nl> wrote:

> Hello,
> 
> I'm trying to get xsane to work with libusb;
> Now, as root user xsane finds the scanner but as a normal user xsane 
> doesn't find it! This is both on 2.6.3 and 2.4.24 (where I took out the 
> scanner.o module)
> 
> I found this page http://www.freecolormanagement.com/sane/libusb.html 
> about configuring libusb but the scanner still doesn't work. I attach 
> /etc/sane.d/epson.conf, /etc/hotplug/usb.usermap, and 
> /etc/hotplug/usb/epson_scanner I currently have
> 
> Can anybody tell me what's wrong? I've got an Epson Perfection 1650 
> scanner. This is what sane-find-scanner says:
> found USB scanner (vendor=0x04b8, product=0x0110) at libusb:001:004
> 
> It seems the numbers at libusb keep changing I hope I don't have to 
> update settings each time or so :-/
> 
> Thanks for any help,

You shouldn't need a new script, just use the libusbscanner that is in
/etc/hotplug/usb, the pointer to it may need to be in
/etc/hotplug/usb/libsane.usermap rather than /usr/hotplug.usb.usermap.
Also just a plain usb in epson.conf (i.e. without the manufacturer and
model codes) should suffice.

James

-- 
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: