Page 1 of 2
libsane update request
Posted: Wed Mar 04, 2020 3:30 am
by elgrande71
Hi, I'm MX Linux user from France and I'm very pleased to use MX Linux but I have a problem with my scanner : a Canon Lide 25 .
It doesn't works ( black render page ) with MX Linux because of the version of the libsane package .
With 1.0.25, 1.0.27 patched version by Ubuntu, 1.0.28 ( tested on Fedora Workstation 31 ) and above, no problem .
I also tested my scanner on Debian 10 live system and it doesn't works .
See another topic related to this problem :
viewtopic.php?f=23&t=55238&p=551021&hil ... de#p551021
So is it possible to update the libsane package provided with MX Linux system ?
Thank you in advance
Re: libsane update request
Posted: Wed Mar 04, 2020 10:47 pm
by timkb4cq
I had built the 64bit sane-backends 1.0.28+git13012020 in January (when I really needed my scanner working for emailing documents - and it worked with this build) for my LiDE-30 scanner but was unable to get the 32bit package to build so I set it aside. I tried again today and it's failing on the self-tests.
I have just uploaded that 64bit build to the MX-19 Test repo. In MX Package Installer, you need to uncheck the box box that hides library & developer packages and upgrade libsane, libsane-common, & sane-utils.
1.0.29 has just been released so I'll give backporting that a try sometime this week.
Re: libsane update request
Posted: Thu Mar 05, 2020 4:22 pm
by elgrande71
I followed all the steps described and I successfully installed your sane-backends builds ( libsane, libsane-common, sane-utils packages ) .
I give a try to this command line :
scanimage -d "plustek:libusb:002:003" -x 210 -y 297 --resolution=150 --format=jpeg > testscan.jpg
The result is great .
Thank you for this but it's not very handy to use a scanimage command line all the time.
Xsane and Simple-Scan from the stable repo doesn't work so it could be great if It could be rebuild with your sane-backends builds .
If you want a tester for your upcoming or another builds, send me a message .
Thank you
Re: libsane update request
Posted: Thu Mar 05, 2020 4:53 pm
by timkb4cq
I just tested my scanner again to make sure. Simple Scan, XSane, gscan2pdf, and your scanimage command (adjusted for usb:address) are all working with this backend. Rebuilding those frontend tools won't help anything. Gscan2pdf can be set to use scanimage instead of libimage-sane-perl if that is a problem but it shouldn't be.
Re: libsane update request
Posted: Fri Mar 06, 2020 11:15 am
by elgrande71
I try Gscan2pdf .
With libimage-sane-perl, scanning image is completely black, so it doesn't work .
With scanimage, scanning image gives me a good result, so it works .
It's strange .
Re: libsane update request
Posted: Fri Mar 06, 2020 10:47 pm
by timkb4cq
sane backends 1.0.29 is now available in the MX-19 Test repository. Tested with my Canon LiDE-30 scanner and it's working fine here.
Re: libsane update request
Posted: Sat Mar 07, 2020 3:40 pm
by elgrande71
I find the solution for my Canon LiDE 25 scanner on Simple Scan and XSane .
I have to modify the /etc/default/tlp file and add the following line :
USB_BLACKLIST="04a9:2220"
After I upgraded the sane backends to the 1.0.29 version, tested my scanner on Simple Scan and now it works perfectly .
Thank you for your work .
Re: libsane update request
Posted: Tue Feb 02, 2021 11:44 pm
by Brigs
@timkb4cq can you update mx-test 18 repo sir ? i've been struggle to make my hp 2300 scanner working with hp-lip 3.20.9. thx
Re: libsane update request
Posted: Wed Feb 03, 2021 2:36 pm
by timkb4cq
If you are referring to an HP ScanJet 2300c flatbed scanner then that has nothing to do with the hplip project. It is handled by the genesys backend in Sane.
If yours is a different 2300 please give the full model name/number(s)
Re: libsane update request
Posted: Wed Feb 03, 2021 5:51 pm
by Brigs
my device hp deskjet aio 2336 recognizing with 2300 series by hplip and connecting to mx with usb cable.
cups printing working fine and "sane-find-scanner" detected
found USB scanner (vendor=0x03f0 [HP], product=0x3654 [DeskJet 2300 series]) at libusb:004:005
could not fetch string descriptor: Pipe error
but unfortunately always fail starting "scanimage -L" with "No scanner were identified". try with another frontend simple-scan (update from test repo), xsane, gscan2pdf with same result.
i've read another thread with same problem here.
did i miss something sir ?