Re: [sane-devel] HP ScanJet 7400c open of device faled: invalid arguement
Hello Johannes, Thank you. 'lsusb' returns: Bus 002 Device 002: ID 8087:8000 Intel Corp. Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 003: ID 0c45:649d Microdia Bus 001 Device 002: ID 8087:8008 Intel Corp. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device 003: ID 413c:5534 Dell Computer Corp. Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 033: ID 03f0:0801 Hewlett-Packard ScanJet 7400c Bus 003 Device 024: ID 0b33:0702 Contour Design, Inc. Bus 003 Device 023: ID 049f:0005 Compaq Computer Corp. Bus 003 Device 021: ID 413c:2134 Dell Computer Corp. Bus 003 Device 031: ID 04e8:6860 Samsung Electronics Co., Ltd Galaxy (MTP) Bus 003 Device 022: ID 413c:2513 Dell Computer Corp. internal USB Hub of E-Port Replicator Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub 'lsusb -t' returns: /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 5000M |__ Port 3: Dev 3, If 0, Class=Hub, Driver=hub/3p, 5000M /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/15p, 480M |__ Port 3: Dev 31, If 0, Class=Vendor Specific Class, Driver=, 480M |__ Port 4: Dev 21, If 0, Class=Hub, Driver=hub/3p, 480M |__ Port 1: Dev 23, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M |__ Port 1: Dev 23, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M |__ Port 2: Dev 24, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M |__ Port 6: Dev 33, If 0, Class=, Driver=, 12M |__ Port 13: Dev 22, If 0, Class=Hub, Driver=hub/3p, 480M /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/8p, 480M /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M |__ Port 5: Dev 3, If 0, Class=Video, Driver=uvcvideo, 480M |__ Port 5: Dev 3, If 1, Class=Video, Driver=uvcvideo, 480M According to http://www.sane-project.org/sane-mfgs.html, the current status of sane's support for the scanner is 'Good', with backend of 'avision (Build: 296)'. Because the following outputs are too large, I have put them onto pastebin. Notice that the device number increases each time I reconnected the scanner to the laptop. After plugin the USB cable of the scanner to the laptop, 'scanimage -L' returns: http://pastebin.com/t7juYziM Detailed debug output with 'SANE_DEBUG_DLL=4' set is: http://pastebin.com/BDyH666C. Detailed debug output with 'SANE_DEBUG_AVISION=128' set is: http://pastebin.com/4ujx9En2 Detailed debug output with 'SANE_DEBUG_SANEI_USB=128' set is: http://pastebin.com/EXEqhsi1 However, if I run 'scanimage -L' again, everything is the same, except the scanner disappeared: http://pastebin.com/x8b0e2i6. Detailed debug output with 'SANE_DEBUG_DLL=4' set is: http://pastebin.com/aFRQseiz. I noticed that it took a long time before next output was prompted, after the line "[dll] init: initializing backend `avision'" (line 457 in pastebin) was shown. Detailed debug output with 'SANE_DEBUG_AVISION=128' set is: http://pastebin.com/JjrCK86A. It took a long time before next output was prompted, after the line "[avision] try to write cmd, count: 10." (line 129 in the pastebin) was shown. Detailed debug output with 'SANE_DEBUG_SANEI_USB=128' set is: http://pastebin.com/4UXet7rL. It took a long time before next output was prompted, after the line "[sanei_usb] 000 12 00 00 00 60 00 00 00 00 00 `. " (line 2570 in the pastebin) was shown. I tried to run 'scanimage -L' for the third time after USB cable is reconnected once, the output with 'SANE_DEBUG_AVISION=128' is here: http://pastebin.com/A5ZRC20L. You can see that scanimage actually found two scanners. I ran it again, scanimage only found one scanner. It seems that scanimage would always find the 7400c when running for the first time after the cable is plugged in.In the second time always failed to find the scanner. In the third time, maybe find the scanner. Do these debug output provide any meaning information? Kind regards, Xianwen On Tue, Apr 26, 2016 at 4:41 PM, Johannes Meixnerwrote: > > Hello, > > On Apr 24 11:58 Chen, Xianwen wrote (excerpt): >> >> lsusb recognizes the scanner: >> Bus 003 Device 008: ID 03f0:0801 Hewlett-Packard ScanJet 7400c > > > What do both commands > lsusb > and > lsusb -t > show (the full "lsusb -t" output is needed). > > >> What can I do to (1) provide more debug information > > > See "Trouble-Shooting (Debugging)" at > https://en.opensuse.org/SDB:Configuring_Scanners > > > Kind Regards > Johannes Meixner > -- > SUSE LINUX GmbH - GF: Felix Imendoerffer, Jane Smithard, > Graham Norton - HRB 21284 (AG Nuernberg) > -- Xianwen Chen, PhD Research Scientist Norwegian Institute for Nature Research – NINA, Oslo Division Address: Gaustadalléen 21, 0349 Oslo, Norway Phone: +47 73 80 14 00 • Cell: +47 984 21 622 (Norway); +1
Re: [sane-devel] Gratitude for sane-devel Digest, Vol 130, Issue 19
Dear Roger, Thanks so much for showing me how to get my scanner working again, with such a simple Terminal command, even an inexperienced Linux user like myself could use it. It has worked splendidly, so I hope you can feel good about doing me a good turn. Thanks are also due to the whole sane-devel community of course, for providing the opportunity for me to seek help from those more knowledgeable than I. Pennies in heaven or other spiritual rewards will no doubt have been accrued by you all. <3 Rene <3 On Mon, Apr 25, 2016 at 1:00 PM,wrote: > Send sane-devel mailing list submissions to > sane-devel@lists.alioth.debian.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel > or, via email, send a message with subject or body 'help' to > sane-devel-requ...@lists.alioth.debian.org > > You can reach the person managing the list at > sane-devel-ow...@lists.alioth.debian.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of sane-devel digest..." > > > Today's Topics: > >1. Re: Error message: Failed to start scanner: Invalid argument > (Roger) > > > -- > > Message: 1 > Date: Sun, 24 Apr 2016 20:45:34 -0400 > From: Roger > To: sane-devel@lists.alioth.debian.org > Subject: Re: [sane-devel] Error message: Failed to start scanner: > Invalid argument > Message-ID: <20160425004534.GA29144@localhost4.local> > Content-Type: text/plain; charset=us-ascii > > Likely somebody with an Epson will need to help; but in the meantime, > perform > the following task and try restarting XSane. > > $ mv /home/user/.sane /home/user/.sane-20160424 > > Basically removing the .sane/ configuration folder containing Sane/XSane > settings, and allowing the XSane to recreate the default settings. > > > -- > Roger > http://rogerx.freeshell.org/ > > > > -- > > Subject: Digest Footer > > ___ > sane-devel mailing list > sane-devel@lists.alioth.debian.org > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel > > -- > > End of sane-devel Digest, Vol 130, Issue 19 > *** > -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-requ...@lists.alioth.debian.org
Re: [sane-devel] HP ScanJet 7400c open of device faled: invalid arguement
Hello, On Apr 24 11:58 Chen, Xianwen wrote (excerpt): lsusb recognizes the scanner: Bus 003 Device 008: ID 03f0:0801 Hewlett-Packard ScanJet 7400c What do both commands lsusb and lsusb -t show (the full "lsusb -t" output is needed). What can I do to (1) provide more debug information See "Trouble-Shooting (Debugging)" at https://en.opensuse.org/SDB:Configuring_Scanners Kind Regards Johannes Meixner -- SUSE LINUX GmbH - GF: Felix Imendoerffer, Jane Smithard, Graham Norton - HRB 21284 (AG Nuernberg) -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-requ...@lists.alioth.debian.org
Re: [sane-devel] HP ScanJet 7400c open of device faled: invalid arguement
Hello Michael, Thank you. It's not a MFP, it's a scanner without any other function. Kind regards, Xianwen -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-requ...@lists.alioth.debian.org
Re: [sane-devel] HP ScanJet 7400c open of device faled: invalid arguement
On Tue, Apr 26, 2016 at 02:00:44PM +0200, Chen, Xianwen wrote: > Thank you. I've just tried by adding hpaio in > /etc/sane-d/dll.conf. It did not avail. There was a peculiar *cups* setup required for HP MFPs: http://lists.alioth.debian.org/pipermail/sane-devel/2009-February/024117.html -- WBR, Michael Shigorin / http://altlinux.org -- http://opennet.ru / http://anna-news.info -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-requ...@lists.alioth.debian.org
Re: [sane-devel] HP ScanJet 7400c open of device faled: invalid arguement
Hello Roger, Thank you. I've just tried by adding hpaio in /etc/sane-d/dll.conf. It did not avail. However, I shall note that this scanner is supposed having the backend of avision. And avision is listed on /etc/sane-d/dll.conf. Can someone provide a tip to troubleshoot the scanner? Kind regards, Xianwen -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-requ...@lists.alioth.debian.org
Re: [sane-devel] Fwd: Canon LiDE 220
With instructions from https://answers.launchpad.net/ubuntu/+question/262320 my scanner is working "FullColour" scan is very well, but grayscale quality is poor... -- Regards, Sergey 26.04.2016, 06:54, "Stef": > On 25/04/2016 16:24, Сергей Шевченко wrote: >> Hi >> here >> https://www.mail-archive.com/sane-devel@lists.alioth.debian.org/msg31893.html >> Stef wrote about GL848 : "it is a new genesys chip revision. Not datasheet >> known for this one. This work would be complicated" >> >> DataSheet is available here - >> http://www.alldatasheet.com/datasheet-pdf/pdf/267066/GENESYS/GL848.html >> or here - http://www.digchip.com/datasheets/parts/datasheet/589/GL848.php >> >> Can You make Sane-driver for Canon Lide 220 ? >> >> -- >> Sergey > > Hello, > > the Canon LiDE 220 is supported by latest git version. > > Regards, > > Stef -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-requ...@lists.alioth.debian.org
Re: [sane-devel] Fwd: Canon LiDE 220
Yesterday I installed Sane from Git on instructions from https://help.ubuntu.com/community/CompileSaneFromSource I compiled backend 1.0.26, but the device is still not recognized by the scanner user-GB-BXCE-3205 ~ # lsusb Bus 003 Device 002: ID 8087:8001 Intel Corp. Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 004: ID 8087:07dc Intel Corp. Bus 001 Device 005: ID 04a9:190f Canon, Inc. Bus 001 Device 003: ID 046d:c00e Logitech, Inc. M-BJ58/M-BJ69 Optical Wheel Mouse Bus 001 Device 002: ID 258a:0001 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub user-GB-BXCE-3205 ~ # lsusb -d 04a9:190f -v -v Bus 001 Device 005: ID 04a9:190f Canon, Inc. Device Descriptor: bLength18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 255 Vendor Specific Class bDeviceSubClass 255 Vendor Specific Subclass bDeviceProtocol 255 Vendor Specific Protocol bMaxPacketSize064 idVendor 0x04a9 Canon, Inc. idProduct 0x190f bcdDevice7.04 iManufacturer 1 Canon iProduct2 CanoScan iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 39 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xa0 (Bus Powered) Remote Wakeup MaxPower 500mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber0 bAlternateSetting 0 bNumEndpoints 3 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass255 Vendor Specific Subclass bInterfaceProtocol255 Vendor Specific Protocol iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes2 Transfer TypeBulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x02 EP 2 OUT bmAttributes2 Transfer TypeBulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x83 EP 3 IN bmAttributes3 Transfer TypeInterrupt Synch Type None Usage Type Data wMaxPacketSize 0x0001 1x 1 bytes bInterval 8 Device Qualifier (for other device speed): bLength10 bDescriptorType 6 bcdUSB 2.00 bDeviceClass 255 Vendor Specific Class bDeviceSubClass 255 Vendor Specific Subclass bDeviceProtocol 255 Vendor Specific Protocol bMaxPacketSize064 bNumConfigurations 1 Device Status: 0x (Bus Powered) user-GB-BXCE-3205 ~ # 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=0x04a9 [Canon], product=0x190f [CanoScan], chip=GL848+) at libusb:001:005 # 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. user-GB-BXCE-3205 ~ # scanimage -V scanimage (sane-backends) 1.0.26git; backend version 1.0.26 user-GB-BXCE-3205 ~ # user-GB-BXCE-3205 ~ # uname -a Linux user-GB-BXCE-3205 3.19.0-32-generic #37~14.04.1-Ubuntu SMP Thu Oct 22 09:41:40 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux -- Regards, Sergey 26.04.2016, 06:54, "Stef": > On 25/04/2016 16:24, Сергей Шевченко wrote: >> Hi >> here >> https://www.mail-archive.com/sane-devel@lists.alioth.debian.org/msg31893.html >> Stef wrote about GL848 : "it is a new genesys chip revision. Not datasheet >> known for this one. This work would be complicated" >> >> DataSheet is available here - >>