hi Doug, This solved it all for me , thanks to Maxo !, see below. I only had to change "gksudo gedit" in to "sudo gedit"
Sunday, November 15, 2009 Scanning Problems in Ubuntu Karmic 9.10<http://maxolasersquad.blogspot.com/2009/11/scanning-problems-in-ubuntu-karmic-910.html> I went to scan in some pictures today with my new Karmic install and ran into problems. When I went to scan I would get "Failed to start scanner: Invalid argument" Some Googling revealed that many people are experiencing broken scanning after upgrading to Karmic with various printers. A little more searching revealed the solution. I think that there is probably an even better solution, but this is how I got scanning to work. First I installed libsane-extras: sudo aptitude install libsane-extras Next I edited saned.conf to enable the epson driver. gksudo gedit /etc/init.d/sane.d/dll.conf In this file I removed the # at the line that read #epson To get the parameters for me scanner I ran: $ sane-find-scanner # sane-find-scanner will now attempt to detect your scanner. If the # result is different from what you expected, first make sure your # scanner is powered up and properly connected to your computer. # No SCSI scanners found. If you expected something different, make sure that # you have loaded a kernel SCSI driver for your SCSI adapter. found USB scanner (vendor=0x04b8, product=0x0839) at libusb:001:003 found USB scanner (vendor=0x0bc7 [X10 Wireless Technology Inc], product=0x0004 [USB Receiver]) at libusb:007: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. # Not checking for parallel port scanners. # Most Scanners connected to the parallel port or other proprietary ports # can't be detected by this program. # You may want to run this program as root to find all devices. Once you # found the scanner devices, be sure to adjust access permissions as # necessary. Here the line that read "found USB scanner (vendor=0x04b8, product=0x0839) at libusb:001:003" was the key. These parameters needed to go in the epson drivers file. gksudo gedit /etc/init.d/sane.d/epson.conf I replaced the line that read "usb" to read "usb 0x4b8 0x0839" Finally I just needed to restart the sane daemon. sudo /etc/init.d/saned restart After this scanning finally worked. Posted by Maxo at 3:10 PM<http://maxolasersquad.blogspot.com/2009/11/scanning-problems-in-ubuntu-karmic-910.html> <http://www.blogger.com/email-post.g?blogID=2160921736769720124&postID=5950210381081136885> Labels: Linux <http://maxolasersquad.blogspot.com/search/label/Linux>, technology <http://maxolasersquad.blogspot.com/search/label/technology>, ubuntu <http://maxolasersquad.blogspot.com/search/label/ubuntu> On Mon, Feb 22, 2010 at 2:13 PM, Doug Morse <d...@dougmorse.org> wrote: > I too am having a very similar problem. I just recently switched this > particular machine from WinXP Home SP3 to Ubuntu 9.10. > > Before I did the install, I used WUBI to try out 9.10. At that point, > my Epson Perfection 3590 Photo scanner, connected via USB 2.0, worked > just fine. > > I thought I checked it again after actually installing Ubuntu 9.10 (from > the same ISO image), but I'm not sure. If so, I'm also not sure if I > checked it before or after updating everything, specifically updating > the kernel from the xxxx.31-14 version to the xxxx.31-19 version. > > So, I can't be sure, but I'm wondering if it's a kernel-update issue or > a library-update issue??? > > Technical info: > > > ------------------------------------------------------------------------------ > r...@dougshome:~# lsusb -t > > ------------------------------------------------------------------------------ > 1-6:1.0: No such file or directory > /: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M > /: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M > /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=ohci_hcd/2p, 12M > /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ohci_hcd/2p, 12M > /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ohci_hcd/2p, 12M > /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/6p, 480M > |__ Port 6: Dev 3, If 0, Class=vend., Driver=, 480M > > > ------------------------------------------------------------------------------ > r...@dougshome:~# sane-find-scanner -v > > ------------------------------------------------------------------------------ > This is sane-find-scanner from sane-backends 1.0.20 > > # sane-find-scanner will now attempt to detect your scanner. If the > # result is different from what you expected, first make sure your > # scanner is powered up and properly connected to your computer. > > searching for SCSI scanners: > checking /dev/scanner... failed to open (Invalid argument) > checking /dev/sg0... failed to open (Invalid argument) > checking /dev/sg1... failed to open (Invalid argument) > checking /dev/sg2... failed to open (Invalid argument) > ... > [checking /dev/sg[3-y], same error mesage...] > ... > checking /dev/sgz... failed to open (Invalid argument) > # No SCSI scanners found. If you expected something different, make sure > that > # you have loaded a kernel SCSI driver for your SCSI adapter. > > searching for USB scanners: > checking /dev/usb/scanner... failed to open (Invalid argument) > checking /dev/usb/scanner0... failed to open (Invalid argument) > checking /dev/usb/scanner1... failed to open (Invalid argument) > checking /dev/usb/scanner2... failed to open (Invalid argument) > ... > [checking /dev/usb/scannner[3-14], same error mesage...] > ... > checking /dev/usbscanner15... failed to open (Invalid argument) > found USB scanner (vendor=0x04b8 [EPSON], product=0x0122 [EPSON Scanner]) > 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. > > # Not checking for parallel port scanners. > > # Most Scanners connected to the parallel port or other proprietary ports > # can't be detected by this program. > done > > > ------------------------------------------------------------------------------ > r...@dougshome:~# scanimage -L > > ------------------------------------------------------------------------------ > WARNING: Unhandled message: interface=org.freedesktop.DBus.Introspectable, > path=/, member=Introspect > device `snapscan:libusb:001:003' is a EPSON EPSON Scanner flatbed scanner > > > ------------------------------------------------------------------------------ > > If I find a solution, I'll be sure to pass it along. I may try the > downgrading to 0.93 and then > re-installing 0.96. > > -- > failed to start scanner: Invalid argument > https://bugs.launchpad.net/bugs/478761 > You received this bug notification because you are a direct subscriber > of the bug. > -- failed to start scanner: Invalid argument https://bugs.launchpad.net/bugs/478761 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs