Ok, all sorted. Thanks to the help of Rolf and Gernot.
The problem was laying in many different attempts to install sane-backends, some wrong linking, and after a total clean-up of all the installations, we noticed that the libsane.la was located in the folder /usr/lib/i386-linux-gnu/libsane.la So creating symbolic links to that file $ cd /usr/lib/i386-linux-gnu $ sudo ln -sf /usr/local/lib/libsane.so.1.0.24 libsane.so.1 $ sudo ln -sf /usr/local/lib/sane/libsane.la libsane.la $ cd - solved the problem. Everything running smoothly now. Please note that if xsane has problems in shutting down after using sudo xsane, remove the '~/.sane/' folder. And that little problem solved aswell. Thanks! On 12/11/2012 04:23 PM, Gernot Hassenpflug wrote: > On Tue, Dec 11, 2012 at 10:41 PM, Rolf Bensch <rolf at bensch-online.de> > wrote: >> Hi Erik, >> >> I guess that you don't have the user rights to access your scanner. > Erik, > > would you be so kind as you give a clear description of the problem > you faced, and how you finally solved it (I think there may be a more > elegant method, like maybe something with symlink changes). > From what you wrote to me, it was a problem with the packaging of > xsane and installation using a high-level package manager like > synaptic. > > Best regards, > Gernot > >> Please try 'sudo scanimage -L'. If this is working, you need to copy >> 'tools/udev/libsane.rules' from your sane's project folder to >> '/etc/udev/rules.d/' and join the group 'scanner'. Ubuntu uses udev to >> recognise the attached devices, please ignore the stuff around >> '/dev/scanner'. >> >> If this won't work, please reinstall sane from source as described in >> 'README.linux' after "Installation". You can ignore the stuff above >> "Installation". >> >> Normally sane installation from source doesn't affect system's sane >> installation and vice versa, instead of some symbolic links, for your 32 >> bits ubuntu in '/usr/lib/'. >> >> If any package installation or update might overwrite the symbolic >> links, you only need to create new ones as described in README.linux. >> >> Cheers, >> Rolf >> >> >> >> Am 09.12.2012 12:58, schrieb erik: >>> Hello all >>> >>> First of all, if any replies, please send me a cc as i am not a member >>> of this list. >>> >>> >>> Secondly, I had Sane working brilliantly under ubuntu 10.04 with the >>> backend version 1.0.16 >>> >>> now, after doing a completely fresh install of 12.04 i really cannot get >>> Sane to work. >>> >>> here are some proofs. >>> >>> scanimage -V >>> scanimage (sane-backends) 1.0.24git; backend version 1.0.24 >>> >>> output >>> sane-find-scanner >>> >>> # sane-find-scanner will now attempt to detect your scanner. If the >>> # result is different from what you expected, first make sure your >>> # scanner is powered up and properly connected to your computer. >>> >>> # No SCSI scanners found. If you expected something different, make >>> sure that >>> # you have loaded a kernel SCSI driver for your SCSI adapter. >>> >>> found USB scanner (vendor=0x04a9 [Canon], product=0x1746 [MP280 series]) >>> at libusb:002:006 >>> # Your USB scanner was (probably) detected. It may or may not be >>> supported by >>> # SANE. Try scanimage -L and read the backend's manpage. >>> >>> output >>> sudo scanimage -L >>> >>> No scanners were identified. If you were expecting something different, >>> check that the scanner is plugged in, turned on and detected by the >>> sane-find-scanner tool (if appropriate). Please read the documentation >>> which came with this software (README, FAQ, manpages). >>> >>> >>> Advices from http://www.sane-project.org/README.linux: >>> >>> My /etc/ld.so.conf >>> only contains the line >>> include /etc/ld.so.conf.d/*.conf >>> >>> locate libsane.so.1 after sudo updatedb >>> /usr/lib/libsane.so.1 >>> /usr/lib/libsane.so.1.0.24 >>> >>> >>> Yesterday, I had for one moment the scanner working, then I installed >>> Xsane through the command line, which give me a lot options of which I >>> didnot know which one to choose. Since then, no success at all. Anyway, >>> now installing xsane will mean it will downgrade to 1.0.22. >>> >>> If, one day, I will have SANE running, is there a way to install XSane >>> without downgrading? >>> >>> >>> and a last question, quoting from the README.linux >>> >>> "It may help to set a symbolic link /dev/scanner to the respective device if >>> automatic detection does not work." >>> >>> how do I do that? >>> >>> Thanks in advance. >>> >>> Erik. >>> >>> Linux ho-erik 3.2.0-34-generic-pae #53-Ubuntu SMP Thu Nov 15 11:11:12 >>> UTC 2012 i686 athlon i386 GNU/Linux >>> >>> >>> >>> >>> >>> >>> >>> >> -- >> sane-devel mailing list: sane-devel at lists.alioth.debian.org >> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel >> Unsubscribe: Send mail with subject "unsubscribe your_password" >> to sane-devel-request at lists.alioth.debian.org -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20121213/58cab2a2/attachment.html>
