Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
10-28-2013, 11:57 AM
|
#1
|
LQ Newbie
Registered: Oct 2013
Posts: 19
Rep: 
|
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.
|
|
|
10-28-2013, 03:18 PM
|
#2
|
LQ Newbie
Registered: Oct 2013
Posts: 19
Original Poster
Rep: 
|
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.
|
|
|
10-28-2013, 03:46 PM
|
#3
|
Member
Registered: Nov 2009
Location: Chatteris---UK
Distribution: Slackware 13.0 & 14.0
Posts: 42
Rep:
|
Quote:
Originally Posted by Floréal
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.
|
|
|
10-28-2013, 03:51 PM
|
#4
|
Slackware Maintainer
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 3,066
|
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.
|
|
|
10-28-2013, 03:52 PM
|
#5
|
LQ Newbie
Registered: Oct 2013
Posts: 19
Original Poster
Rep: 
|
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.
|
|
|
10-28-2013, 03:55 PM
|
#6
|
Slackware Maintainer
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 3,066
|
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.
|
|
|
10-29-2013, 12:23 AM
|
#7
|
Senior Member
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 3,345
|
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.
|
|
|
10-29-2013, 12:41 AM
|
#8
|
LQ Guru
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
|
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.
|
|
|
10-29-2013, 06:59 AM
|
#9
|
LQ Newbie
Registered: Oct 2013
Posts: 19
Original Poster
Rep: 
|
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.
|
|
|
10-29-2013, 07:43 AM
|
#10
|
LQ Newbie
Registered: Oct 2013
Posts: 19
Original Poster
Rep: 
|
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.
|
|
|
10-29-2013, 03:42 PM
|
#11
|
LQ Guru
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
|
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?
|
|
|
10-29-2013, 04:06 PM
|
#12
|
LQ Newbie
Registered: Oct 2013
Posts: 19
Original Poster
Rep: 
|
I need multilib for wine, and eventually for skype (but for skype I can do without it).
|
|
|
10-29-2013, 04:15 PM
|
#13
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559
|
Quote:
Originally Posted by Floréal
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
|
|
|
10-29-2013, 04:28 PM
|
#14
|
LQ Newbie
Registered: Oct 2013
Posts: 19
Original Poster
Rep: 
|
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
|
|
|
10-29-2013, 04:45 PM
|
#15
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559
|
Quote:
Originally Posted by Floréal
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
|
|
|
All times are GMT -5. The time now is 01:06 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|