Page 1 of 1

Xsane .999-16.mga9 [SOLVED]

PostPosted: May 28th, '24, 03:33
by lloyd
I have a really old scanner (Samsung SCX-4200) The scanner works fine. It's Xsane .999-16.mga9 that seems to be the problem.
When I start Xsane, all the options for color, contrast, and brightness seem to be missing. I have used previous versions of Xsane with earlier versions of Mageia, and those options were there. I'm still using the same scanner as before.

Any idea what the problem could be? Thank you.

Re: Xsane .999-16.mga9

PostPosted: May 28th, '24, 12:39
by morgano
Just for reference: That scanner is not really old - i have an Epson perfection 1660 photo. Working perfectly as ever on mga9. USB2.
Sorry i have no idea what could be wrong.
Hoping for others.

Re: Xsane .999-16.mga9

PostPosted: May 28th, '24, 17:10
by doktor5000
Your issue is probably more with the version of the sane-backends* package and not with xsane as xsane is only the frontend.

You may need to check which sane backend the scanner uses and compare the outputs between e.g. mga8 and mga9
See e.g. https://docs.fedoraproject.org/en-US/qu ... ng-issues/ for some examples on how to do that with e.g scanimage -L

Re: Xsane .999-16.mga9

PostPosted: May 28th, '24, 20:31
by morgano
There is much about scanners I do not understand.

On my system Xsane always works, so I am OK for my own need.
But other applications and tools, including scanimage -L, have problems: https://bugs.mageia.org/show_bug.cgi?id=30702#c41

Re: Xsane .999-16.mga9

PostPosted: May 28th, '24, 23:38
by doktor5000
Well xscanimage is not what I'd use at all. Also for scanimage, did you run that as root ?

Re: Xsane .999-16.mga9

PostPosted: May 29th, '24, 08:59
by morgano
doktor5000 wrote:Well xscanimage is not what I'd use at all. Also for scanimage, did you run that as root ?

In my case it do not seem to matter. I am member of wheel group, in case that matters.
Now after power cycling the scanner and not using xsane:
Code: Select all
[root@svarten ~]# scanimage -L
device `epson2:libusb:002:005' is a Epson GT-8300 flatbed scanner
root@svarten ~]# exit
[morgan@svarten ~]$ scanimage -L
device `epson2:libusb:002:005' is a Epson GT-8300 flatbed scanner


My scanner is Epson perfection 1660 photo.
Maybe the problem is that scanimage tries a wrong protocol.
But xsane works, and show "GT-8300:005" in top window frame.
(that ":005" number varies between power cycles of scanner but is same as with scanimage -L)

$ sane-find-scanner also find the scanner.

scanimage seem to find scanner but not communicate correctly:
Code: Select all
$ /usr/bin/scanimage -T
Output format is not set, using pnm as a default.
-Then after a minute more lines:
Code: Select all
scanimage: scanning image of size 208x292 pixels at 1 bits/pixel
scanimage: acquiring gray frame, 1 bits/sample
scanimage: reading one scanline, 26 bytes...
- and the scanner start blinking...
After yet a couple minutes last line is appended with
Code: Select all
    FAIL Error: Error during device I/O
, scanner still blinking.
After another couple minutes it exits with no more message, scanner still blinking.

Same result if (scanner power cycled and) scanimage -T is executed by root.

Re: Xsane .999-16.mga9 [SOLVED}

PostPosted: May 29th, '24, 14:32
by lloyd
I found the problem. Settings. have to be set to "grey" or "color" to have the other settings show up. I did a fresh install of Mageia 8 (no updates) and the other settings showed up immediately.

Re: Xsane .999-16.mga9

PostPosted: May 29th, '24, 22:00
by morgano
:)
Please edit your top post here and add "[SOLVED]" without quotes to beginning of the subject line.

Re: Xsane .999-16.mga9 [SOLVED]

PostPosted: May 30th, '24, 16:35
by lloyd
I thought I did that, but it didn't show up. I fixed it now.