libsane update request

User Package Requests for MX-19
Message
Author
elgrande71
Posts: 7
Joined: Wed Mar 04, 2020 3:13 am

libsane update request

#1 Post 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

User avatar
timkb4cq
Developer
Posts: 3620
Joined: Wed Jul 12, 2006 4:05 pm

Re: libsane update request

#2 Post 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.
HP Pavillion TP01, AMD Ryzen 3 5300G (quad core), Crucial 500GB SSD, Toshiba 6TB 7200rpm
Dell Inspiron 15, AMD Ryzen 7 2700u (quad core). Sabrent 500GB nvme, Seagate 1TB

elgrande71
Posts: 7
Joined: Wed Mar 04, 2020 3:13 am

Re: libsane update request

#3 Post 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

User avatar
timkb4cq
Developer
Posts: 3620
Joined: Wed Jul 12, 2006 4:05 pm

Re: libsane update request

#4 Post 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.
HP Pavillion TP01, AMD Ryzen 3 5300G (quad core), Crucial 500GB SSD, Toshiba 6TB 7200rpm
Dell Inspiron 15, AMD Ryzen 7 2700u (quad core). Sabrent 500GB nvme, Seagate 1TB

elgrande71
Posts: 7
Joined: Wed Mar 04, 2020 3:13 am

Re: libsane update request

#5 Post 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 .

User avatar
timkb4cq
Developer
Posts: 3620
Joined: Wed Jul 12, 2006 4:05 pm

Re: libsane update request

#6 Post 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.
HP Pavillion TP01, AMD Ryzen 3 5300G (quad core), Crucial 500GB SSD, Toshiba 6TB 7200rpm
Dell Inspiron 15, AMD Ryzen 7 2700u (quad core). Sabrent 500GB nvme, Seagate 1TB

elgrande71
Posts: 7
Joined: Wed Mar 04, 2020 3:13 am

Re: libsane update request

#7 Post 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 .

User avatar
Brigs
Posts: 17
Joined: Sun May 07, 2017 9:07 am

Re: libsane update request

#8 Post 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
MX18 - 4.19.0-16.1-liquorix
i7-2700K@4.3 - Z68V-Pro - RX-560 - 2x8GB D3 - 3x2TB

El-Capitan
i5-760@3.4 - P7P55D-E - XFX 6850B.E - 4x2GB D3 - 500GB

User avatar
timkb4cq
Developer
Posts: 3620
Joined: Wed Jul 12, 2006 4:05 pm

Re: libsane update request

#9 Post 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)
HP Pavillion TP01, AMD Ryzen 3 5300G (quad core), Crucial 500GB SSD, Toshiba 6TB 7200rpm
Dell Inspiron 15, AMD Ryzen 7 2700u (quad core). Sabrent 500GB nvme, Seagate 1TB

User avatar
Brigs
Posts: 17
Joined: Sun May 07, 2017 9:07 am

Re: libsane update request

#10 Post 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 ?
MX18 - 4.19.0-16.1-liquorix
i7-2700K@4.3 - Z68V-Pro - RX-560 - 2x8GB D3 - 3x2TB

El-Capitan
i5-760@3.4 - P7P55D-E - XFX 6850B.E - 4x2GB D3 - 500GB

Post Reply

Return to “Package Requests/Status - MX-19”