LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-28-2013, 11:57 AM   #1
Floréal
LQ Newbie
 
Registered: Oct 2013
Posts: 19

Rep: Reputation: Disabled
Slackware 14.1 RC3 : problem with scanners


Hi,

Today, I have upgraded my Slackware 14.1 beta1 to the slackware 14.1 RC3... I have do that on my two machines. But I have a problem with xsane (and also with skanlite, so the problem doesn't appear to be xsane itself) : when I launch xsane, it show the message that it search scanners, then the message disappears... And with the new slackware I have to wait several minutes before xsane appear. It was not the case with slackware 14.1 beta1, neither with slackware 14.0.

My scanner is the multifunction Canon Pixma MG5250.

Do you have the same problem ? How solve it ?

May be it could be interesting to report it to Patrick Volkerding, but I don't know how to do that.

EDIT : I want make a precision : I have made a clean install of Slackware 14.1 RC3 : I have formatted the partition before launch the installation.

Thanks in advance for your response and sorry for my bad english.

Floréal.

Last edited by Floréal; 10-28-2013 at 11:58 AM.
 
Old 10-28-2013, 03:18 PM   #2
Floréal
LQ Newbie
 
Registered: Oct 2013
Posts: 19

Original Poster
Rep: Reputation: Disabled
Hi,

The problem is the last version of sane (1.0.24). In fact, in the beta1 it still was the 1.0.23 version. So I have replaced sane of my RC3 with the package from my beta1 DVD. After that, I have recompiled xsane, and now it works !

With the 1.0.24, it takes long time to launch and then I can't make a scan ! Now, all works perfectly. So, may be it could be a good idea to revert to 1.0.23 version for the 14.1 release ?

I will report this bug to sane project. I will send also a mail to info@slackware.com, I don't know if there is a best way to contact team.

Best regards,

Floréal.
 
Old 10-28-2013, 03:46 PM   #3
sparkyhall
Member
 
Registered: Nov 2009
Location: Chatteris---UK
Distribution: Slackware 13.0 & 14.0
Posts: 42

Rep: Reputation: 8
Quote:
Originally Posted by Floréal View Post

The problem is the last version of sane (1.0.24).
sane 1.0.24 is working fine here on Slackware 14.1rc2 with a canon lide20.
 
Old 10-28-2013, 03:51 PM   #4
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,504

Rep: Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461
It's working as expected here with a Canon Pixma MP620, for both root and for non-root users who are members of the lp group. I'm not noticing any difference in startup time or anything else between 1.0.23 and 1.0.24.

Since 1.0.24 supports many more scanners than 1.0.23, I'm not about to revert it one the basis of a single report when it's working here.
 
Old 10-28-2013, 03:52 PM   #5
Floréal
LQ Newbie
 
Registered: Oct 2013
Posts: 19

Original Poster
Rep: Reputation: Disabled
Yes, I think it depend on the model of the scanner. As you say it works with some canon models but not with my canon model, and may be not with others, whereas it works with 1.0.23 version of sane.

Does your canon model works fine with sane 1.0.23 ?

@ volkerdi : yes, if I am alone... But yes, the new version is interesting for new models supported. It is just a shame that some "older" models doesn't work anymore... I really hope sane will correct this bug, it would be the best solution.

Best regards

Last edited by Floréal; 10-28-2013 at 03:56 PM.
 
Old 10-28-2013, 03:55 PM   #6
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,504

Rep: Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461
My Canon MP620 (a multifunction device) works fine with either version of sane. It looks like yours is also supported by both versions, and there were no configuration changes pertaining to that scanner model between 1.0.23 and 1.0.24.
 
Old 10-29-2013, 12:23 AM   #7
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,971

Rep: Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548
Hmm... having a similar problem Cannon MP-258. xsane loads, scanning results error during device I/O. Worked before, configuration files are properly setup.

Running scanimage results in the following:
Code:
scanimage -L
device `pixma:04A9173A_931088' is a CANON Canon PIXMA MP250 multi-function peripheral

scanimage -T
scanimage: scanning image of size 638x877 pixels at 24 bits/pixel
scanimage: acquiring RGB frame, 8 bits/sample
scanimage: reading one scanline, 1914 bytes...  FAIL Error: Error during device I/O

Last edited by chrisretusn; 10-29-2013 at 12:54 AM.
 
Old 10-29-2013, 12:41 AM   #8
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Check your cables first to see if they are in good condition, also, which version of libusb are you using as libusb-1.0.17 should be installed.

You could also try rebuilding sane-1.0.24 as well if it has issues.

I use this script on LFS, but it should translate to Slackware fairly easily:

Code:
#!/bin/sh

# Installation script for SANE-backends

groupadd -g 70 scanner
su $(whoami)
./configure --prefix=/usr                                    \
            --sysconfdir=/etc                                \
            --localstatedir=/var                             \
            --with-docdir=/usr/share/doc/sane-backend-1.0.24 \
            --with-group=scanner
make
exit
make install
install -m 644 -v tools/udev/libsane.rules           \
                  /etc/udev/rules.d/65-scanner.rules
chgrp -v scanner  /var/lock/sane
cat >> /etc/sane.d/net.conf << "EOF" &&
connect_timeout = 60

# Change line below to reflect Scanner server IP address if necessary
127.0.0.1
EOF
Sane also has optional (but not required) backends for libtiff, cups, libjpeg-turbo, avahi, and texlive as well as net-snmp, libieee1284, libgphoto2, and video4linux.

Last edited by ReaperX7; 10-29-2013 at 12:44 AM.
 
Old 10-29-2013, 06:59 AM   #9
Floréal
LQ Newbie
 
Registered: Oct 2013
Posts: 19

Original Poster
Rep: Reputation: Disabled
Hi,

I have totally reinstalled Slackware and now... xsane works perferctly with my Canon MG5250 with sane 1.0.24. The only thing I have done is I have not installed my nvidia driver in the same manner... So I don't know why, but this problem is solved for me.
 
Old 10-29-2013, 07:43 AM   #10
Floréal
LQ Newbie
 
Registered: Oct 2013
Posts: 19

Original Poster
Rep: Reputation: Disabled
Hi,

I have found why I had my problem ! I just install multilib packages from alien, and now my scanner doesn't work !

I have tried to :
- reinstall sane and xsane from packages
- recompile sane (1.0.24) and xsane (0.999)

The problem is not solved.

The only solution is to install the sane package 1.0.23 from my slackware 14.1 beta1 DVD, and now it works.

So, I think there is a problem with the multilib packages, but I need multilib, so waiting a correction in multilib packages, I keep sane 1.0.23 on my computer.
 
Old 10-29-2013, 03:42 PM   #11
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Multilib should only be installed on a final release system, not a RC, Beta, Alpha, or other -Current release without FIRST checking the version numbers of the software and making sure all of them match up correctly.

Eric's releases are timely but often you have to be patient and wait for all the packages to get synced up.

What exactly do you need multilib for?
 
Old 10-29-2013, 04:06 PM   #12
Floréal
LQ Newbie
 
Registered: Oct 2013
Posts: 19

Original Poster
Rep: Reputation: Disabled
I need multilib for wine, and eventually for skype (but for skype I can do without it).
 
Old 10-29-2013, 04:15 PM   #13
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by Floréal View Post
Hi,

I have found why I had my problem ! I just install multilib packages from alien, and now my scanner doesn't work !

I have tried to :
- reinstall sane and xsane from packages
- recompile sane (1.0.24) and xsane (0.999)

The problem is not solved.

The only solution is to install the sane package 1.0.23 from my slackware 14.1 beta1 DVD, and now it works.

So, I think there is a problem with the multilib packages, but I need multilib, so waiting a correction in multilib packages, I keep sane 1.0.23 on my computer.
Adding multilib packages can not affect the working of your scanner.
If you had to install an older version of the sane package (1.0.23 instead of slackware-current's 1.0.24) then it is more probable that you have forgotten to update one or more of the other slackware-current packages. Also, you have proven that it is not the multilib packages which are causing you headaches, but the 64-bit "sane" package.

My multilib packages for slackware-current are behind on only one package (gnutls was upgraded in -current, yesterday) but that will be taken care of soon, and it will not affect your scanner at all.

Eric
 
Old 10-29-2013, 04:28 PM   #14
Floréal
LQ Newbie
 
Registered: Oct 2013
Posts: 19

Original Poster
Rep: Reputation: Disabled
Hi,

I have NOT upgraded my slackware ! I have formatted my partition and I have made a fresh installation from the iso you provide of slackware 14.1 RC3 (iso image of slackware current from october 28th).

When I have finished the installation, I have tested the scanner (with sane 1.0.24, thereby). I have installed the NVIDIA driver, and I have rebooted my computer. I have tested again the scanner : it works perfectly again !

Next, I have passed my system to multilib by downloading packages from your website and executing these two commands:
upgradepkg --reinstall --install-new *.t?z
upgradepkg --install-new slackware64-compat32/*-compat32/*.t?z

I have rebooted my computer, and then the scanner doesn't work anymore ! I have done NOTHING else.

I have tried to recompile sane (1.0.24) and xsane, it change anything. But if I installed the sane 1.0.23 package from my older slackware current DVD, and recompile then xsane, the scanner works again !

So, I conclude that this is the installation of multilib packages that cause the problem with sane 1.0.24. But I don't know why...

I think there is two possibilities at all :
- There is a multilib package (or several) which cause the problem
- One or more packages have been corrupted during the downloading
 
Old 10-29-2013, 04:45 PM   #15
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by Floréal View Post
Next, I have passed my system to multilib by downloading packages from your website and executing these two commands:
upgradepkg --reinstall --install-new *.t?z
upgradepkg --install-new slackware64-compat32/*-compat32/*.t?z
Which multilib directory did you download? The 14.0 or the current directory?

Eric
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware 14.0 rc3 and virtualbox StreamThreader Slackware 6 08-28-2012 08:07 AM
Slackware 12.1 RC3:-) hitest Slackware 18 05-01-2008 09:43 PM
scanners in slackware Mig21 Slackware 1 01-06-2007 04:18 AM
LXer: Slackware 11.0 RC3 available LXer Syndicated Linux News 0 08-25-2006 07:54 PM
Slackware 8.1 rc3 charliekennedy Slackware 3 06-16-2002 01:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration