[Bug 24946] Re: Detected scanner fails to load with "Invalid Argument"
*** This bug is a duplicate of bug 195782 *** https://bugs.launchpad.net/bugs/195782 Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: xsane (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/24946 Title: Detected scanner fails to load with "Invalid Argument" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/24946/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 24946] Re: Detected scanner fails to load with Invalid Argument
*** This bug is a duplicate of bug 195782 *** https://bugs.launchpad.net/bugs/195782 Regarding 'artec_eplus48u, here is the manual working solution for Ubuntu 10.10 (possibly also applicable to Ubutnu 10.04 and some versions before that, down to year 2007, according to web sites). After doing: sane-find-scanner , this is the result for a MEDION MD4394: found USB scanner (vendor=0x05d8, product=0x4003, chip=GT-6816) at libusb:003:002 Keep in mind, there are possibly two different revisions of this scanner family. === Solution 1 (possible first revision): This scanner might be possibly misidentified to work with the gt68xx driver (http://www.meier-geinitz.de/sane/gt68xx-backend/). The procedure should be, to add following lines to the end of /etc/sane.d/gt68xx.confm to perform manual override: usb 0x05d8 0x4003 override artec-ultima-2000 firmware Artec48.usb Also, the firmware is required!! It must be placed in /usr/share/sane/gt68xx/ . After that, the scanner in question responds, but may stall or make weird noises due to be variant 2 chipset. === Solution 2 (worked in my case): More probable match is the artec_eplus48u backend. The file /etc/sane.d/artec_eplus48u.conf must be modified. Add the end, add this: # -- # MD4394 test usb 0x05d8 0x4003 option artecFirmwareFile /usr/share/sane/artec_eplus48u/Artec48.usb option ePlusPro 1 option vendorString Artec option modelString MD 4393 Also, the firmware is required!! It must be placed in /usr/share/sane/artec_eplusu/ . === Also - possible backend override may be neccessary: /etc/sane.d/dll.conf must possibly be modified. In my case, it loaded automatically the unmatching in the list (gt68xx), which was wrong match. So comment out this line : gt68xx into #gt68xx and artec backend will be used instead. === Also - firmware is mandatory: Firmware can be, for example, gotten from windows CD (in the driver directory, usually the file with extension .usb). It is neccesary to exist in the correct /usr/share/sane subdir, in order for the scanner to work. Firmware name might diffe, keep that in mind. But usually has an extension .usb. === Suggestion: I suggest, that sll this, now done manually, should be made somehow automatically working in Ubuntu in future (i.e. a wizard with possible subtypes, when this PID is detected). This would make life easier, === Other distros: The procedure is the same for other distros with sane, except the location of firmware and sane config dirs might differ. -- Detected scanner fails to load with Invalid Argument https://bugs.launchpad.net/bugs/24946 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 24946] Re: Detected scanner fails to load with Invalid Argument
*** This bug is a duplicate of bug 195782 *** https://bugs.launchpad.net/bugs/195782 Hey Ray Stuart, I've got a Brother DCP-115C, I can't get it to scan: failed to open device 'brother2:bus2;dev1': invalid argument. What version of ubuntu are you running? I am running 10.04, it was working fine in 8.04 -- Detected scanner fails to load with Invalid Argument https://bugs.launchpad.net/bugs/24946 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 24946] Re: Detected scanner fails to load with Invalid Argument
*** This bug is a duplicate of bug 195782 *** https://bugs.launchpad.net/bugs/195782 Thanks... same here. It magically started working for me after installing libsane-extras. This is for a Brother MFC-5440CN, scanning over the network. -- Detected scanner fails to load with Invalid Argument https://bugs.launchpad.net/bugs/24946 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 24946] Re: Detected scanner fails to load with Invalid Argument
*** This bug is a duplicate of bug 195782 *** https://bugs.launchpad.net/bugs/195782 Oddly enough this magically started working for me after I installed libsane-extras.. Try it sudo apt-get install libsane-extras -- Detected scanner fails to load with Invalid Argument https://bugs.launchpad.net/bugs/24946 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 24946] Re: Detected scanner fails to load with Invalid Argument
*** This bug is a duplicate of bug 195782 *** https://bugs.launchpad.net/bugs/195782 I think this is no dup of the scanner group problem, as even root cannot scan: This seems to exist for any usb scanner, as some searching showed me. I have the same problem using a brother mfc-215c (brother native backend). It worked like a charm util i did a (debian) update. Now the same error occurs: failed to start scanner: invalid argument scanimage returns: [code] scanimage: sane_start: Invalid argument [/code] and strace scanimage shows this: [code] open(/dev/bus/usb/001/002, O_RDWR)= 181 ioctl(181, USBDEVFS_SETCONFIGURATION, 0xbffdff94) = -1 EBUSY (Device or resource busy) ioctl(181, USBDEVFS_CLEAR_HALT, 0xbffdff94) = 0 ioctl(181, USBDEVFS_CLAIMINTERFACE, 0xbffdffc4) = 0 [/code] maybe also a bug in libusb? lsusb output is: [code] Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 002: ID 04f9:0193 Brother Industries, Ltd MFC-215C Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub [/code] ** Attachment added: strace scanimage output for Brother brscan2 model MFC-215C attached to usb http://launchpadlibrarian.net/22674530/trace.log -- Detected scanner fails to load with Invalid Argument https://bugs.launchpad.net/bugs/24946 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 24946] Re: Detected scanner fails to load with Invalid Argument
*** This bug is a duplicate of bug 195782 *** https://bugs.launchpad.net/bugs/195782 Ignore my last report and take this solution instead: The problem about the device state EBUSY is that my device has a cardreader attached and is a printer: lsmod showns usblp and usb_storage being loaded. This causes the EBUSY state, wehen doing modprobe -r usblp and modprobe -r usb_storage, the scanner is working fine. At another page, I read about someone having patched xsane to ignore EBUSY, this seemns to work correctly enough to be useable. -- Detected scanner fails to load with Invalid Argument https://bugs.launchpad.net/bugs/24946 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 24946] Re: Detected scanner fails to load with Invalid Argument
*** This bug is a duplicate of bug 195782 *** https://bugs.launchpad.net/bugs/195782 I have the same error in Ubuntu 8.04 (Hardy). The scanner is detected (it makes a sound when I start Xsane) but when I press scan, a popup message appears saying failed to start scanner: invalid argument. It does NOT help if I start Xsane as root (by sudo). -- Detected scanner fails to load with Invalid Argument https://bugs.launchpad.net/bugs/24946 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 24946] Re: Detected scanner fails to load with Invalid Argument
*** This bug is a duplicate of bug 195782 *** https://bugs.launchpad.net/bugs/195782 ** This bug has been marked a duplicate of bug 195782 Users not automatically added to scanner group: No scanning functions of HP multi-function in Hardy -- Detected scanner fails to load with Invalid Argument https://bugs.launchpad.net/bugs/24946 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 24946] Re: Detected scanner fails to load with Invalid Argument
I want to report that my scanner, a HP PSC 1350 stopped working in Hardy. When opening xsane, I get the following error message: Failed to open device 'v4l:/dev/video0': Invalid argument. I do even never see the main window. The PSC 1350 is a all in one device, the printer still working. Scanning worked in all versions before Hardy. If you need further information, please don't hesitate to contact me. Here is the output of some commands: [EMAIL PROTECTED]:~$ sudo sane-find-scanner [sudo] password for ingo: # 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=0x03f0 [hp], product=0x3b11 [psc 1300 series]) at libusb:006: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. [EMAIL PROTECTED]:~$ sudo scanimage -L device `v4l:/dev/video0' is a Noname USB 2.0 Camera virtual device device `hpaio:/usb/psc_1300_series?serial=MY44KDF06B9F' is a Hewlett-Packard psc_1300_series all-in-one [EMAIL PROTECTED]:~$ sudo scanimage -T scanimage: open of device v4l:/dev/video0 failed: Invalid argument [EMAIL PROTECTED]:~$ id uid=1000(ingo) gid=1000(ingo) groups=4(adm),20(dialout),24(cdrom),25(floppy),29(audio),30(dip),44(video),46(plugdev),106(fuse),108(lpadmin),114(admin),124(sambashare),1000(ingo) [EMAIL PROTECTED]:~$ -- Detected scanner fails to load with Invalid Argument https://bugs.launchpad.net/bugs/24946 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 24946] Re: Detected scanner fails to load with Invalid Argument
** Changed in: sane-backends (Ubuntu) Assignee: Martin Pitt = (unassigned) -- Detected scanner fails to load with Invalid Argument https://bugs.launchpad.net/bugs/24946 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 24946] Re: Detected scanner fails to load with Invalid Argument
Hi Stephen Many thanks for the email. I did copy the correct file over from my win 2000 system and you probably missed that sane worked once and the scanner scanned and I was happy. However after a reboot it has never worked again. I have almost forgotten about it. I'll have another go and let you know. Regards Peter - Original Message - From: Stephen Anthony [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 05, 2007 6:42 AM Subject: [Bug 24946] Re: Detected scanner fails to load with Invalid Argument The same problem continues to exist in Feisty (7.04) with 2.6.20-16-generic, which still uses libusb-0.1.4 While I can only verify it for my system, I followed the directions at http://www.sane-project.org/man/sane-artec_eplus48u.5.html, copying the firmware file over from the cd (the WinXP file), and I can now scan 16-bit 1200 dpi color. No other changes were necessary. (Helpful hint: all initial settings in xsane were correct, except that it was set to scan only a 5 cm square. Correct that, and xsane works fine after doing the above.) -- Detected scanner fails to load with Invalid Argument https://bugs.launchpad.net/bugs/24946 You received this bug notification because you are a direct subscriber of the bug. -- Detected scanner fails to load with Invalid Argument https://bugs.launchpad.net/bugs/24946 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 24946] Re: Detected scanner fails to load with Invalid Argument
The same problem continues to exist in Feisty (7.04) with 2.6.20-16-generic, which still uses libusb-0.1.4 While I can only verify it for my system, I followed the directions at http://www.sane-project.org/man/sane-artec_eplus48u.5.html, copying the firmware file over from the cd (the WinXP file), and I can now scan 16-bit 1200 dpi color. No other changes were necessary. (Helpful hint: all initial settings in xsane were correct, except that it was set to scan only a 5 cm square. Correct that, and xsane works fine after doing the above.) -- Detected scanner fails to load with Invalid Argument https://bugs.launchpad.net/bugs/24946 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 24946] Re: Detected scanner fails to load with Invalid Argument
I have ubuntu 6.06 and an acer scanner. I have all the errors as described. When I setup snapscan.conf for the first time, xsane worked and I scanned an immage. After a reboot I have the libusb error message. Driver manager sees the scanner. As user no device . I see in man sane-usb it says as below. Ubuntu 6.06 has libusb0.1.4 Could this be the problem ??? Peter LIBUSB SANE can only use libusb 0.1.6 or newer. It needs to be installed at build-time. Modern Linux distributions and other operating systems come with libusb. -- Detected scanner fails to load with Invalid Argument https://launchpad.net/bugs/24946 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 24946] Re: Detected scanner fails to load with Invalid Argument
** Changed in: sane-backends (Ubuntu) Status: Needs Info = Confirmed -- Detected scanner fails to load with Invalid Argument https://launchpad.net/bugs/24946 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs