Hi, leloft writes:
> Hello to everyone, > > Please, has anybody out there had any experience with the > Epson-derived epkowa non-free backend for sane. I worked on it for about a decade as an upstream developer, so, yes, sort of ;-) I'm assuming you're trying to use this on Devuan jessie or ascii. > I am trying to set up a scanner (Epson V100) That model requires a DFSG non-free binary-only plugin. You did install that, right? You absolutely *need* the iscan-plugin-gt-s600. BTW, the epkowa backend itself is free but allows the use of non-free plugins for those models that need them :-( > on a remote headless > machine in the lab coupled to an rsync script to transfer the scanned > images to another machine with a GUI for processing. > > I am getting permissions problems with libusb, so I have > (1) added sane, iscan, epkowa rules > to /etc/udev/rules.d, /lib/udev/rules.d How did you add iscan? What epkowa rules do you use? Any rules provided by iscan should go under /lib/udev/rules.d. Your own rules should go under /etc/udev/rules.d. Note that file names should end with a .rules suffix. IIRC, the binary package you can download from EPSON's site will take care of all these things (and should have been tested on one of Debian's jessie of wheezy releases). If you build from source, I'm no longer sure of what a `sudo make install` would do (it's been more than seven years since I saw the code). > (2) changed permissions (to 666, 777, and back to 644) of the device > found by sane-find-scanner at /dev/bus/usb/002/003 Please note that /dev/bus/usb/xxx/yyy *changes* everytime you power cycle or replug the device (or reboot your machine). > (3) added the user to the scanner and saned groups > (4) turned the scanner off and on, rebooted the computer > (5) launching scanimage as root and as a normal user > (6) issuing $SANE_DEBUG_SANEI_USB=255 scanimage -v -v -v> test.pnm 2> > usb-verbose.log which gives the output > ... > [sanei_debug] Setting debug level of sanei_usb to 255. > [sanei_usb] sanei_usb_init: initializing libusb-1.0 > [sanei_usb] sanei_usb_scan_devices: marking existing devices > [sanei_usb] libusb_scan_devices: Looking for libusb-1.0 devices > [sanei_usb] libusb_scan_devices: found libusb-1.0 device > (0x04b8/0x012d) interface 0 at libusb:002:003 > [sanei_usb] store_device: add dn 0 with libusb:002:003 > ... > > but none of this works: I am still getting those permissions issues > > $ scanimage -p > test.pnm > scanimage: open of device epkowa:usb:002:003 failed: Access to resource > has been denied Here's guessing that you haven't installed the plugin. > Am I putting these rules in the right places and/or > what permissions should i assign (i thought 777 would do it...!)? The > machine is running ascii upgraded from jessie last week on a 4.9.61-gnu > linux-libre kernel. There were no reports of the epson software trying > to install any headers during installation. However, I am not sure if > the iscan software only works through a GUI. The epkowa backend is, at least should be, usable with any SANE frontend, graphical or not. Matter of fact, during development I would often test with scanimage because that was easier to script ;-) > Any pointers would be greatly appreciated. Hope this helps, -- Olaf Meeuwissen, LPIC-2 FSF Associate Member since 2004-01-27 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13 F43E B8A4 A88A F84A 2DD9 Support Free Software https://my.fsf.org/donate Join the Free Software Foundation https://my.fsf.org/join _______________________________________________ Dng mailing list [email protected] https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
