Bug 30703 - Update the complete sane stack
Summary: Update the complete sane stack
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA8-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks: 30702
  Show dependency treegraph
 
Reported: 2022-08-04 12:26 CEST by Morgan Leijström
Modified: 2022-09-26 08:23 CEST (History)
7 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Morgan Leijström 2022-08-04 12:26:31 CEST
Description of problem:
We seem to be using an old sane stack.
Especially in mga8.
As usual, best to update Cauldron first.
Then mga8, and consider backport.

Also see
Bug 30702 - xscanimage gives segmentation fault
Morgan Leijström 2022-08-04 12:27:30 CEST

Blocks: (none) => 30702

Morgan Leijström 2022-08-04 12:30:16 CEST

Assignee: bugsquad => pkg-bugs

Morgan Leijström 2022-08-04 12:30:36 CEST

Whiteboard: (none) => MGA8TOO

Comment 1 Morgan Leijström 2022-08-04 13:53:29 CEST
To consider:
Bug 29839 - sane-airscan -- SANE backend for AirScan (eSCL) and WSD document scanners. NEW PACKAGE REQUEST
Comment 2 Julien Moragny 2022-09-10 17:14:59 CEST
Hello,

the sane stack has been updated to v1.1.1 in cauldron (with eSCL enabled). I will wait a bit to be sure there is no major issue before backporting it to MGA8.

regards
Julien

CC: (none) => julien.moragny

Comment 3 Julien Moragny 2022-09-19 21:42:00 CEST
hello QA,

I just updated the sane stack to version 1.1.1 in updates_testing for MGA8.

The jump in version is due to a change in numbering in upstream, this new version is mostly bugfix (notably for some epson scanners) and enable the eSCL protocol which airprint is based off ( see http://www.sane-project.org/man/sane-escl.5.html and https://support.apple.com/en-us/HT201311 for a potential list of scanners ).

This version lives in cauldron since about a week without complaint at the moment. I'm also using it on MGA8 x86_64 without issue.

This update should be a drop-in and you should be able to scan the same as previously. Don't forget to have avahi started if you want to use autodetection on the network.

A word of caution for the tester: If you replace dll.conf with the new version and you use hplip, you will lose access to your scanner and will need to reinstall hplip or add the word "hpaio" in dll.conf.

regards
Julien



Tentative advisory:
========================
Updated Sane packages

this new version bring mostly bugfix and new hardware support (notably for epson scanners).
It enables the eSCL protocol which airprint is based off and allows "driverless" scanning,
especially for new multifunctions devices.

References:
https://gitlab.com/sane-project/backends/-/releases/1.1.1
http://www.sane-project.org/man/sane-escl.5.html
https://support.apple.com/en-us/HT201311
========================

Updated packages in core/updates_testing:
========================
sane-backends-doc-1.1.1-2.mga8
sane-backends-1.1.1-2.mga8
sane-backends-debuginfo-1.1.1-2.mga8
sane-backends-iscan-1.1.1-2.mga8
sane-backends-iscan-debuginfo-1.1.1-2.mga8
saned-debuginfo-1.1.1-2.mga8
saned-1.1.1-2.mga8
sane-debuginfo-1.1.1-2.mga8
sane-debugsource-1.1.1-2.mga8
lib64sane1-devel-1.1.1-2.mga8
lib64sane1-devel-debuginfo-1.1.1-2.mga8
lib64sane1-1.1.1-2.mga8
lib64sane1-debuginfo-1.1.1-2.mga8

Source RPMs:
sane-1.1.1-2.mga8.src.rpm

Assignee: pkg-bugs => qa-bugs

Comment 4 Morgan Leijström 2022-09-19 23:52:44 CEST
Thank you
I updated all relevant packages on my system:

- lib64sane1-1.1.1-2.mga8.x86_64
- sane-backends-1.1.1-2.mga8.x86_64
- sane-backends-iscan-1.1.1-2.mga8.x86_64
- saned-1.1.1-2.mga8.x86_64

and rebooted - I dont know if it is needed

Launched xsane directly, like I use to:
Works well as ever with my old EPSON perfection 1600 photo, USB connection.

That is the only program and scanner I use.
I have never had use for hplip but it is installed...

Leaving for some more to test before OKing

Nitpick: I guess you should list i586 and x86_64 packages as two lists.
Comment 5 Julien Moragny 2022-09-20 19:20:46 CEST
(In reply to Morgan Leijström from comment #4)
(...)
> 
> Nitpick: I guess you should list i586 and x86_64 packages as two lists.

You are right, it would be more readable.

New tentative advisory (with correction airprint/airscan)

========================
Updated Sane packages

this new version bring mostly bugfix and new hardware support (notably for epson scanners).
It enables the eSCL protocol which AirScan/AirPrint is based off and allows "driverless" scanning, especially for new multifunctions devices.

References:
https://gitlab.com/sane-project/backends/-/releases/1.1.1
http://www.sane-project.org/man/sane-escl.5.html
https://support.apple.com/en-us/HT201311
========================

Updated packages in core/updates_testing:
========================
x86_64:
sane-backends-doc-1.1.1-2.mga8
sane-backends-1.1.1-2.mga8
sane-backends-debuginfo-1.1.1-2.mga8
sane-backends-iscan-1.1.1-2.mga8
sane-backends-iscan-debuginfo-1.1.1-2.mga8
saned-debuginfo-1.1.1-2.mga8
saned-1.1.1-2.mga8
sane-debuginfo-1.1.1-2.mga8
sane-debugsource-1.1.1-2.mga8
lib64sane1-devel-1.1.1-2.mga8
lib64sane1-devel-debuginfo-1.1.1-2.mga8
lib64sane1-1.1.1-2.mga8
lib64sane1-debuginfo-1.1.1-2.mga8

i586:
sane-backends-doc-1.1.1-2.mga8
sane-backends-1.1.1-2.mga8
sane-backends-debuginfo-1.1.1-2.mga8
sane-backends-iscan-1.1.1-2.mga8
sane-backends-iscan-debuginfo-1.1.1-2.mga8
saned-debuginfo-1.1.1-2.mga8
saned-1.1.1-2.mga8
sane-debuginfo-1.1.1-2.mga8
sane-debugsource-1.1.1-2.mga8
libsane1-devel-1.1.1-2.mga8
libsane1-devel-debuginfo-1.1.1-2.mga8
libsane1-1.1.1-2.mga8
libsane1-debuginfo-1.1.1-2.mga8

Source RPMs:
sane-1.1.1-2.mga8.src.rpm
Comment 6 Dave Hodgins 2022-09-20 20:10:30 CEST
The reason two lists are preferred is so that testers can just copy/paste the
appropriate list into qarepo.

CC: (none) => davidwhodgins

Comment 7 Len Lawrence 2022-09-21 17:24:01 CEST
Just to provide confirmation for comment 4.
mga8, x64
Updated everything without the debuginfo packages.
HP Photosmart 5520 wifi printer/scanner
avahi daemon running and hpaio is listed in /etc/sane.d/dll.conf.
xsane found the device OK.
Acquired preview and scanned the standard alignment page in lineart, grey and colour at 300 dpi.  The resulting PNG images looked perfect.

CC: (none) => tarazed25
Whiteboard: MGA8TOO => MGA8TOO MGA8-64-OK

Comment 8 Len Lawrence 2022-09-21 17:37:20 CEST
Rider to this  with reference to bug 30702.
$ grep -e sane -e scan /etc/group
usb:x:43:saned
cdwriter:x:80:saned
scanner:x:983:saned
saned:x:945:

$ scanimage -L
device `escl:http://192.168.1.244:8080' is a ESCL Photosmart 5520 series [DF8761] platen scanner

Not checked before update.
Thomas Backlund 2022-09-21 20:20:46 CEST

Version: Cauldron => 8
Whiteboard: MGA8TOO MGA8-64-OK => MGA8-64-OK

Comment 9 Morgan Leijström 2022-09-22 09:05:10 CEST
Related:

§ sane-airscan coming to mga9 and mga8 backport
Bug 29839#c5

§ any idea about
Bug 20037 - USB MFP printers not detected, because /usr/lib/udev/rules.d/60-libsane.rules modifies all "scanners", including MFPs, to be in group "scanner"
Comment 10 Jose Manuel López 2022-09-22 12:13:00 CEST
Hi,

I have the new version of sane working with two scanners and two printers, Brother and HP.

I am working without issues in Mageia 8 X64 Plasma. 

I am scanning with simple-scan and i can select two scanners in a window.

CC: (none) => joselp

Comment 11 Thomas Andrews 2022-09-22 13:35:09 CEST
(In reply to Dave Hodgins from comment #6)
> The reason two lists are preferred is so that testers can just copy/paste the
> appropriate list into qarepo.

@Julien: For the same reason, it is better if the "debug" packages are not listed. 

And on a personal note, I appreciate the warning about dll.conf. I got caught by that one in a previous sane update.

Validating. Advisory in Comment 5.

Keywords: (none) => validated_update
CC: (none) => andrewsfarm, sysadmin-bugs

Comment 12 Miguel Moreno 2022-09-22 14:02:22 CEST
In Mageia 8:

Hello, due to the printer scanner problem, I left the thread open and I have seen that they have created a backend-sane for the types of printers that use escl, well, days after creating the query thread, my father passed away and between the mourning and some trips that I had to do I have not read it again, today I have discovered what was written by Morgan (which I thank, I suppose that I and many other people) who has created said backend for Mageia, since from my Mandrake beginnings I have never moved to other distros.

I have gone to Bugs and I have consulted the list and I see that (for now) it is solved, my scanner already... detects it! and I can work with it, I just followed the instructions and "voila!" achieved.

From here my deepest thanks to those who have worked to cover the huge hole that devastated Mageia with the theme "ESCL" and "WSD", and here I put at the disposal of whoever has it good or needs it, where to go and how to fix it .

CC: (none) => icaro842000

Comment 13 Morgan Leijström 2022-09-22 14:07:04 CEST
Thank you for the feedback, Miguel :)

The thread: https://forums.mageia.org/en/viewtopic.php?t=14432
Comment 14 Morgan Leijström 2022-09-22 14:18:44 CEST
Can someone have a look at
https://wiki.mageia.org/en/Epson_scanners
to see if it need be updated?

Hm would be good with a FOR_WIKI tag :)
Comment 15 Miguel Moreno 2022-09-22 14:48:46 CEST
(In reply to Morgan Leijström from comment #13)
> Thank you for the feedback, Miguel :)
> 
> The thread: https://forums.mageia.org/en/viewtopic.php?t=14432

Oh I forgot to put the link, thanks again Morgan. ;)
Dave Hodgins 2022-09-26 01:23:11 CEST

Keywords: (none) => advisory

Comment 16 Mageia Robot 2022-09-26 08:23:37 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2022-0127.html

Resolution: (none) => FIXED
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.