Re: [sane-devel] Sending confirmation about the pixma backend
Hi Rogério, I opened a merge request for your issue here: https://gitlab.com/sane-project/backends/merge_requests/213 Please build SANE from source as described in INSTALL.linux (http://www.sane-project.org/docs.html). If this is working, please pull recent code from git ($ git pull), checkout our test code ($ git checkout pixma/e4200-adf) and build SANE again. Then ADF should work. Please report your results in the merge request. Many thanks for your help. Cheers, Rolf Am 09.10.19 um 07:16 schrieb Rogério Brito: > Dear Rolf, > > On Oct 07 2019, Rolf Bensch wrote: >> I can see an error response in your log file. > > First of all, sorry for not being able to respond earlier, but I'm having > some quite hectic days. Second, thank you very much for helping with this. > >> To fix this I need an USB snoop file from Canon's ScanGear Software. You >> can use wireshark for snooping (to enable USB support read this: >> https://wiki.wireshark.org/CaptureSetup/USB). > > I took 2 captures of 2 pages from the ADF: once in "Text Mode" and another > in whatever other mode is available. > > In both cases, the resulting PDF file had files in 300dpi in JPEG format and > they were 3-channel JPEGs. There doesn't seem to be any way of changing the > resolution or format that the files will be saved in. > > Regarding the captures, I don't know if I should send them attached via > email or posted somewhere, but I will send the 1st one here and post both on > my homepage at: > > https://www.ime.usp.br/~rbrito/linux/canon-e4210/ > >> Many thanks for your help. > > Many thanks for your help! If you need other information, please let me know > and I will try my best. > > > Thank you very much again, > > Rogério Brito. >
Re: [sane-devel] Sending confirmation about the pixma backend
Dear Rolf and other developers, I'm resending the message below because it was potentially not allowed to reach the list (due to the attachment inflating its size). The comments below (of course) still apply. Thanks, Rogério Brito. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - On Oct 09 2019, Rogério Brito wrote: > On Oct 07 2019, Rolf Bensch wrote: > > I can see an error response in your log file. > > First of all, sorry for not being able to respond earlier, but I'm having > some quite hectic days. Second, thank you very much for helping with this. > > > To fix this I need an USB snoop file from Canon's ScanGear Software. You > > can use wireshark for snooping (to enable USB support read this: > > https://wiki.wireshark.org/CaptureSetup/USB). > > I took 2 captures of 2 pages from the ADF: once in "Text Mode" and another > in whatever other mode is available. > > In both cases, the resulting PDF file had files in 300dpi in JPEG format and > they were 3-channel JPEGs. There doesn't seem to be any way of changing the > resolution or format that the files will be saved in. > > Regarding the captures, I don't know if I should send them attached via > email or posted somewhere, but I will send the 1st one here and post both on > my homepage at: > > https://www.ime.usp.br/~rbrito/linux/canon-e4210/ > > > Many thanks for your help. > > Many thanks for your help! If you need other information, please let me know > and I will try my best. > > > Thank you very much again, > > Rogério Brito. > > -- > Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFC > http://cynic.cc/blog/ : github.com/rbrito : profiles.google.com/rbrito > DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br -- Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFC http://cynic.cc/blog/ : github.com/rbrito : profiles.google.com/rbrito DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br
Re: [sane-devel] Sending confirmation about the pixma backend
Dear Jeroen, On Oct 07 2019, Jeroen Van den Keybus wrote: > I use a HP C309a and X576dw (fast scanning) daily and reliably with their > hplip drivers and gscan2pdf. No issues. Thanks for the feedback. They both seem like considering as fine replacements to this current Canon E4210, especially considering their optical resolutions. Unfortunately, it doesn't seem like I can get the HP C309a in my country. :-( The X576dw, OTOH, is beyond my budget. :-( > I needed the Canon LiDE220 as a scan-only device (work on desk) and HP's > ScanJets are a bit expensive. Like the first one from HP, and according to the specs on Canon's site, it seems to be capable of amazing high resolutions and it is not that expensive (this one I can find on my local market). > I would expect the drivers to be working well on that device too. I will keep this in consideration for a future purchase for my parents (they will need an all-in-one device soon, it seems). Thank you very much for your recommendations, Rogério -- Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFC http://cynic.cc/blog/ : github.com/rbrito : profiles.google.com/rbrito DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br
Re: [sane-devel] Sending confirmation about the pixma backend
Rogerio, I use a HP C309a and X576dw (fast scanning) daily and reliably with their hplip drivers and gscan2pdf. No issues. I needed the Canon LiDE220 as a scan-only device (work on desk) and HP's ScanJets are a bit expensive. I would expect the drivers to be working well on that device too. J. Op zo 6 okt. 2019 om 15:14 schreef Rogério Brito : > Dear Rolf and others, > > On Oct 05 2019, Rolf Bensch wrote: > > Am 05.10.19 um 00:00 schrieb Rogério Brito: > > > Since I read the code and it mentioned that it needed testers, here is > a > > > report. With the newer version of sane-backends, I can scan from the > > > flatbed, as expected, and it works as well as I could expect (minus the > > > fragility of this piece of hardware---disappointed with that, but > that's not > > > software-related, of course). > > > > Many thanks for your report. > > You're welcome. > > > $ scanadf -d pixma:04A91855_103CD1 --source "Automatic Document Feeder" > > --mode Lineart --output-file foo%02d.pbm > > > > For testing ADF I prefer to use gscan2pdf and for "normal" scans xsane. > > You can see some logs with: > > > > $ SANE_DEBUG_PIXMA=11 gscan2pdf > > I tried: > > $ SANE_DEBUG_PIXMA=11 scanadf -d pixma:04A91855_103CD1 --source "Automatic > Document Feeder" --mode Lineart --output-file foo%02d.pbm 2> scanadf.log > > I still couldn't get anything scanned from the ADF (even though I put there > 3 sheets of paper). I'm attaching the log to this message. Any help would > be highly appreciated. > > If further information (or more detailed logs) are desired, please let me > know. > > > You can decrease the log level to reduce log depth (see 'man sane-pixma' > > for details). > > Thanks for the hint of that manpage. > > > > In the case of it being possible to return this device and get > something > > > else in its place, which manufacturer/model would be preferred to have > > > *full* functionality with Free Software only? Any recommendations? > > > > Please have a look at this table: > > http://www.sane-project.org/sane-backends.html > > Regarding this device, unfortunately, it seems that I can't return it. :-( > So, I will have to live with it for the moment. > > If/when possible, I may be getting another one more compatible and robust > with Free Software support in the future. :-( OTOH, that table is huge. > Which manufacturers are generally good bets/collaborative with Free > Software > developers in general? HP? > > > Hope this helps. > > It sure did. > > > Thanks, > > Rogério > > -- > Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFC > http://cynic.cc/blog/ : github.com/rbrito : profiles.google.com/rbrito > DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br >
Re: [sane-devel] Sending confirmation about the pixma backend
Hi Rogério, I can see an error response in your log file. To fix this I need an USB snoop file from Canon's ScanGear Software. You can use wireshark for snooping (to enable USB support read this: https://wiki.wireshark.org/CaptureSetup/USB). Many thanks for your help. Cheers, Rolf Am 06.10.19 um 15:14 schrieb Rogério Brito: > Dear Rolf and others, > > On Oct 05 2019, Rolf Bensch wrote: >> Am 05.10.19 um 00:00 schrieb Rogério Brito: >>> Since I read the code and it mentioned that it needed testers, here is a >>> report. With the newer version of sane-backends, I can scan from the >>> flatbed, as expected, and it works as well as I could expect (minus the >>> fragility of this piece of hardware---disappointed with that, but that's not >>> software-related, of course). >> >> Many thanks for your report. > > You're welcome. > >> $ scanadf -d pixma:04A91855_103CD1 --source "Automatic Document Feeder" >> --mode Lineart --output-file foo%02d.pbm >> >> For testing ADF I prefer to use gscan2pdf and for "normal" scans xsane. >> You can see some logs with: >> >> $ SANE_DEBUG_PIXMA=11 gscan2pdf > > I tried: > > $ SANE_DEBUG_PIXMA=11 scanadf -d pixma:04A91855_103CD1 --source "Automatic > Document Feeder" --mode Lineart --output-file foo%02d.pbm 2> scanadf.log > > I still couldn't get anything scanned from the ADF (even though I put there > 3 sheets of paper). I'm attaching the log to this message. Any help would > be highly appreciated. > > If further information (or more detailed logs) are desired, please let me > know. > >> You can decrease the log level to reduce log depth (see 'man sane-pixma' >> for details). > > Thanks for the hint of that manpage. > >>> In the case of it being possible to return this device and get something >>> else in its place, which manufacturer/model would be preferred to have >>> *full* functionality with Free Software only? Any recommendations? >> >> Please have a look at this table: >> http://www.sane-project.org/sane-backends.html > > Regarding this device, unfortunately, it seems that I can't return it. :-( > So, I will have to live with it for the moment. > > If/when possible, I may be getting another one more compatible and robust > with Free Software support in the future. :-( OTOH, that table is huge. > Which manufacturers are generally good bets/collaborative with Free Software > developers in general? HP? > >> Hope this helps. > > It sure did. > > > Thanks, > > Rogério >
Re: [sane-devel] Sending confirmation about the pixma backend
Hi Rogério, Am 05.10.19 um 00:00 schrieb Rogério Brito: > Dear people, > > I just (yesterday night) bought myself a Canon PIXMA E4210 that I want to > use *purely* with Free Software. > > In my limited hours with it, I found that the scanning wasn't working with > the programs in Debian testing nor sid but that I could make it work with an > USB cable if I installed sane-backends 1.0.28 (I actually grabbed a package > uploaded to mentors.debian.org). > > Since I read the code and it mentioned that it needed testers, here is a > report. With the newer version of sane-backends, I can scan from the > flatbed, as expected, and it works as well as I could expect (minus the > fragility of this piece of hardware---disappointed with that, but that's not > software-related, of course). Many thanks for your report. > > Unfortunately, I can't scan from the ADF (which was one of the main reasons > for me to choose this printer instead of others--with money being a 2nd > factor, of course). > - - - - - - - - - - - - - - - - - - - - - - > $ scanadf -d pixma:04A91855_103CD1 --mode Lineart --gamma 1 --source > "Automatic Document Feeder" --output-file foo%02d.pbm > scanadf: sane_read: Document feeder out of documents > Scanned 0 pages > - - - - - - - - - - - - - - - - - - - - - - > > The printer doesn't do anything, nothing moves etc. The ADF works if I tell > it to scan from my Android device (but, then, the Canon app doesn't allow me > to specify resolution, nor if I want B/W images etc.---yes, it's that > limited). --souce option usually resets previous settings. Please try this: $ scanadf -d pixma:04A91855_103CD1 --source "Automatic Document Feeder" --mode Lineart --output-file foo%02d.pbm For testing ADF I prefer to use gscan2pdf and for "normal" scans xsane. You can see some logs with: $ SANE_DEBUG_PIXMA=11 gscan2pdf or $ SANE_DEBUG_PIXMA=11 xsane add this if you want to save the log into a file: &> pixma.log You can decrease the log level to reduce log depth (see 'man sane-pixma' for details). > In the case of it being possible to return this device and get something > else in its place, which manufacturer/model would be preferred to have > *full* functionality with Free Software only? Any recommendations? Please have a look at this table: http://www.sane-project.org/sane-backends.html Hope this helps. Cheers, Rolf
[sane-devel] Sending confirmation about the pixma backend
Dear people, I just (yesterday night) bought myself a Canon PIXMA E4210 that I want to use *purely* with Free Software. In my limited hours with it, I found that the scanning wasn't working with the programs in Debian testing nor sid but that I could make it work with an USB cable if I installed sane-backends 1.0.28 (I actually grabbed a package uploaded to mentors.debian.org). Since I read the code and it mentioned that it needed testers, here is a report. With the newer version of sane-backends, I can scan from the flatbed, as expected, and it works as well as I could expect (minus the fragility of this piece of hardware---disappointed with that, but that's not software-related, of course). Unfortunately, I can't scan from the ADF (which was one of the main reasons for me to choose this printer instead of others--with money being a 2nd factor, of course). This is what I have in my dmesg logs: - - - - - - - - - - - - - - - - - - - - - - [ 8812.136212] amdgpu: [powerplay] VBIOS did not find boot engine clock value in dependency table. Using Memory DPM level 0! [ 9138.020109] usb 1-1: new high-speed USB device number 7 using xhci_hcd [ 9138.170011] usb 1-1: New USB device found, idVendor=04a9, idProduct=1855, bcdDevice= 1.02 [ 9138.170020] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 9138.170024] usb 1-1: Product: E4200 series [ 9138.170028] usb 1-1: Manufacturer: Canon [ 9138.170032] usb 1-1: SerialNumber: 103CD1 [ 9138.282978] usblp 1-1:1.1: usblp1: USB Bidirectional printer dev 7 if 1 alt 0 proto 2 vid 0x04A9 pid 0x1855 [ 9138.284546] usblp 1-1:1.2: usblp2: USB Bidirectional printer dev 7 if 2 alt 0 proto 2 vid 0x04A9 pid 0x1855 [ 9138.284573] usbcore: registered new interface driver usblp - - - - - - - - - - - - - - - - - - - - - - With scanimage, this is what I get: - - - - - - - - - - - - - - - - - - - - - - $ scanimage -L device `pixma:04A91855_103CD1' is a CANON Canon PIXMA E4200 Series multi-function peripheral - - - - - - - - - - - - - - - - - - - - - - Making sure that there is a paper in the flatbed: - - - - - - - - - - - - - - - - - - - - - - $ time scanimage --device=pixma:04A91855_103CD1 --progress --mode=Lineart --resolution=600 --format=png --gamma=1 > out.png Progress: 100.0% real0m21.907s user0m1.375s sys 0m0.323s $ file out.png out.png: PNG image data, 5104 x 7016, 1-bit grayscale, non-interlaced - - - - - - - - - - - - - - - - - - - - - - Now, making sure that there are sheets of paper on the ADF: - - - - - - - - - - - - - - - - - - - - - - $ scanadf -d pixma:04A91855_103CD1 --mode Lineart --gamma 1 --output-file foo%02d.pnm Scanned document foo01.pnm scanadf: sane_read: Error during device I/O Error during device I/O Scanned 1 pages - - - - - - - - - - - - - - - - - - - - - - What was scanned is the page from the flatbed, not from the ADF. If, OTOH, I specify something like: - - - - - - - - - - - - - - - - - - - - - - $ scanadf -d pixma:04A91855_103CD1 --mode Lineart --gamma 1 --source "Automatic Document Feeder" --output-file foo%02d.pbm scanadf: sane_read: Document feeder out of documents Scanned 0 pages - - - - - - - - - - - - - - - - - - - - - - The printer doesn't do anything, nothing moves etc. The ADF works if I tell it to scan from my Android device (but, then, the Canon app doesn't allow me to specify resolution, nor if I want B/W images etc.---yes, it's that limited). So, in essence, there is partial success with the pixma backend and this device. If there is anything that I can answer before I return this device (unfortunately, I'm not really sure that I can return it, but I will try it), then, please let me know and I will test whatever is desired. In the case of it being possible to return this device and get something else in its place, which manufacturer/model would be preferred to have *full* functionality with Free Software only? Any recommendations? Thanks, Rogério Brito. -- Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFC http://cynic.cc/blog/ : github.com/rbrito : profiles.google.com/rbrito DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br