Hi > > >>I would like to use scanimage with my epson 4180. >>It is supported by epkowa backend, and iscan works. But I would like >>to do some scans on command line, without any gui, is it possible? >> >> > >The epkowa backend included with iscan is a regular SANE backend and >should be usable with any SANE frontend. > > > that was my thought, but unfortunately it does not work :-(
>>scanimage -L return nothing and >> >> > >Don't know what's wrong here. > > > >>mike@fjord:~$ scanimage -d epson:libusb:004:003 >>scanimage: open of device epson:libusb:004:003 failed: Invalid argument >> >> > >Have you tried with epkowa instead of epson? That is, have you tried > > $ scanimage -d epkowa:libusb:004:003 > > yes, with the same results : mike@fjord:~$ scanimage -d epkowa:libusb:004:003 [epkowa] Error opening the devicescanimage: open of device epkowa:libusb:004:003 failed: Invalid argument I give you some more informations if it can help. mike@fjord:~$ sane-find-scanner -v -v This is sane-find-scanner from sane-backends 1.0.15 [...] trying libusb: <device descriptor of 0x0000/0x0000 at 004:001> bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 9 bDeviceSubClass 0 bDeviceProtocol 1 bMaxPacketSize0 8 idVendor 0x0000 idProduct 0x0000 bcdDevice 2.04 iManufacturer 3 ((null)) iProduct 2 ((null)) iSerialNumber 1 ((null)) bNumConfigurations 1 <configuration 0> bLength 9 bDescriptorType 2 wTotalLength 25 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 () bmAttributes 64 (Self-powered) MaxPower 0 mA <interface 0> <altsetting 0> bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 bInterfaceSubClass 0 bInterfaceProtocol 0 iInterface 0 () <endpoint 0> bLength 7 bDescriptorType 5 bEndpointAddress 0x81 (in 0x01) bmAttributes 3 (interrupt) wMaxPacketSize 2 bInterval 12 ms bRefresh 0 bSynchAddress 0 <device descriptor of 0x04b8/0x0118 at 004:003 (EPSON EPSON Scanner)> bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 255 bDeviceSubClass 255 bDeviceProtocol 255 bMaxPacketSize0 64 idVendor 0x04B8 idProduct 0x0118 bcdDevice 1.00 iManufacturer 1 (EPSON) iProduct 2 (EPSON Scanner) iSerialNumber 0 () bNumConfigurations 1 <configuration 0> bLength 9 bDescriptorType 2 wTotalLength 32 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 () bmAttributes 192 (Self-powered) MaxPower 2 mA <interface 0> <altsetting 0> bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 255 bInterfaceSubClass 255 bInterfaceProtocol 255 iInterface 0 () <endpoint 0> bLength 7 bDescriptorType 5 bEndpointAddress 0x81 (in 0x01) bmAttributes 2 (bulk) wMaxPacketSize 512 bInterval 255 ms bRefresh 0 bSynchAddress 0 <endpoint 1> bLength 7 bDescriptorType 5 bEndpointAddress 0x02 (out 0x02) bmAttributes 2 (bulk) wMaxPacketSize 512 bInterval 255 ms bRefresh 0 bSynchAddress 0 <trying to find out which USB chip is used> checking for GT-6801 ... this is not a GT-6801 (bcdUSB = 0x200) checking for GT-6816 ... this is not a GT-6816 (bDeviceClass = 255, bInterfaceClass = 255) checking for GT-8911 ... this is not a GT-8911 (check 1, bDeviceClass = 255, bInterfaceClass = 255) checking for MA-1017 ... this is not a MA-1017 (bDeviceClass = 255, bInterfaceClass = 255) checking for MA-1015 ... this is not a MA-1015 (bcdUSB = 0x200) checking for MA-1509 ... this is not a MA-1509 (bcdUSB = 0x200) checking for LM983[1,2,3] ... this is not a LM983x (bcdUSB = 0x200) checking for GL646 ... this is not a GL646 (bDeviceClass = 255, bInterfaceClass = 255) checking for GL646_HP ... this is not a GL646_HP (bcdUSB = 0x200) checking for GL660+GL646 ... this is not a GL660+GL646 (bDeviceClass = 255, bInterfaceClass = 255) checking for GL841 ... this is not a GL841 (bNumEndpoints = 2) checking for ICM532B ... this is not a ICM532B (check 2, bcdUSB = 0x200) <Couldn't determine the type of the USB chip> found USB scanner (vendor=0x04b8 [EPSON], product=0x0118 [EPSON Scanner]) at libusb:004:003 mike@fjord:~$ cat /etc/sane.d/dll.conf # epkowa mike@fjord:~$ cat /etc/sane.d/epkowa.conf # epkowa.conf # # USB scanner - only enable this if you have an EPSON scanner. It could # otherwise block your non-EPSON scanner from being # recognized. #usb /dev/usb/scanner0 usb 0x04b8 0x0118 Thanks for your help. Mike