Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
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.
usb.c: USB disconnect on device 2
hub.c: USB new device connect on bus1/2, assigned device number 3
usb.c: USB device 3 (vend/prod 0x4a9/0x2206) is not claimed by any active driver.
(the 2206 is the identification of the Canon scanner).
From my readings, Sane should at least identify the device, even if it does not support it.
Various postings suggest that all I need to do is to modified the /etc/canon/sane.d/canon650u.conf file to: usb /dev/usb/scanner0
The scanner is a N650U, which is similar to a N630U listed in the installed sane.d directory. The plustek site has a driver for the N650U (but that's another issue).
I have done a "chmod a+rw /dev/usb/scanner0"
The /usb is: rwxr-xr-x root root
and /scanner0 is rw john root
You'll only get it working with the correct sane backend which is the plustek backend, it dosn't matter how similar it is to the N630U it won't work unless you use the correct backend for it's chip. See this page for sane usb info.
I had the sane 1.0.8 frontend but backend RPMs installed and ran into trouble trying to install the plustek tarball for the CanoScan N659U. (I still don't know how to install the plustek tarball to a preinstalled RPM inspite of all my reading on the subject (I admit to being "thick") - the usual ./configure and/or make don't). So, I have uninstalled the 1.0.8 RPMs, and tried to install the sane 1.0.9 tarball together with the plustek tarball as per instructions pointed to in your last post.
./configure completes ok. "make" runs until an error occurs. Here are the last few lines:
make[1] : Entering directory 'xxxxxxxxxx/backend'
make[1] : Nothing to be done for 'all'
make[1] : Leaving directory 'xxxxxxxxxx/backend'
making all in backend
make[1] : Entering directory 'xxxxxxxxxx/backend'
rm -f abaton-s.c
ln ./stubs.c abaton-s.c
ln : creating hard link 'abaton-s.c' to ./stubs.c' : Operation not permitted
make[1] : *** [abaton-s.c] Error 1
make[1] : Leaving directory 'xxxxxxxxxx/backend'
make : *** [all-recursive] Error 1
[root@localhost sane-backends-1.0.90]#
May be I should restore the 1.0.8 RPMs, and try and learn how to post install the plustek??
The plustek backend should already be in sane-1.0.8, it's just a matter of configuring it according to the docs, and you don't need the sane frontend if your using Xsane.
I followed the instructions, and sane-find-scanner found my scanner - hooray!
I added the line "modprobe scanner vendor=0x04a9 product=0x2206" to /etc/rc.d/rc.local to load the module scanner on boot. But, on rebooting the computer, sane-find-scanner does not find the scanner until I enter the command in a terminal.
Inspite off all above, xsane tells me there is no scanner (likewise Gimp acquire).
My interpretation of is that the N650u is not in the 1.0.8 backend, and that I need to install the plustek (v0.44). And this is where I run into trouble.
Question 2. How do I add this driver to the existing sane RPM? (The plustek instructions presumes the sane-backend was installed using a tarball - http://www.gjaeger.de/scanner/usb/Plustek-USB.txt).
I already had that line in /etc/rc.local but without the "/sbin/". I added "/sbin/" and tried again after rebooting, and "sane-find-scanner" still does not find the scanner. If I type the command (modprobe scanner vendor=0x04a9 product=0x2206) as user, I get the same response. If I type it as su, "sane-find-scanner" finds the scanner. Is this a modprobe permissions problem?
I will remove the rpm sane install (which installed easilly) and retry the tarball install which fell over last time .....
I have removed all sane rpm packages. ./configure tells me there is still an old sane installed - I found /etc/sane.d and removed it (./configure says there is still an old sane but does not say where). I continued, and ran "make" which proceeded until it came up with this error message:
rm -f abaton-s.c
ln ./stubs.c abaton-s.c
ln: creating hard link 'abaton-s.c' to './stubs.c' : Operation not permitted
make[1] : *** [abaton-s.c] Error 1
make[1] : Leaving directory '/win98D/0-linux/software/sane/sane-backends-1.0.9/backend'
make: *** [all-recursive] Error 1
I have removed all sane rpm packages. ./configure tells me there is still an old sane installed - I found /etc/sane.d and removed it (./configure says there is still an old sane but does not say where).
Do "whereis sane" and remove any old sane parts that are found.
Quote:
I continued, and ran "make" which proceeded until it came up with this error message:
rm -f abaton-s.c
ln ./stubs.c abaton-s.c
ln: creating hard link 'abaton-s.c' to './stubs.c' : Operation not permitted
make[1] : *** [abaton-s.c] Error 1
make[1] : Leaving directory '/win98D/0-linux/software/sane/sane-backends-1.0.9/backend'
make: *** [all-recursive] Error 1
what does this mean?
Try untarring to /usr/src/sane-backends-1.0.9 and building as root.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.