On Sat, Jan 19, 2013 at 04:24:33PM -0800, Akemi Yagi wrote:
On Sat, Jan 19, 2013 at 4:13 PM, Frank Cox theatre@melvilletheatre.com wrote:
On Sat, 19 Jan 2013 19:06:08 -0500 fred smith wrote:
I've been messing around with building sane from source, but have not been fully successful, yet, so thought before butchering my system any further I should ask if anyone has (or can point me to) newer Sane packages for EL5??
This may be of interest to you.
http://www.melvilletheatre.com/articles/canon-lide-110-scanner/
That would work fine with CentOS-6. But the OP is running EL5.
I got my LiDE 110/210 working that was connected to a Scientific Linux 5.7 box. The following procedure was from about 14 months ago, so some part might not be current (but hopefully get you started).
- Rebuild xsane 0.998
- Rebuild sane-backends 1.0.19 (later version did not rebuild) -> not good
- Compile sane-backends 1.0.23 from git (tarball) [1] and manually copied genesys-related files from /usr/local/
- At this point scanner was found by root but not by non-root
- Edit /etc/udev/rules.d/50-udev.rules and change Mode from 0644 to 0666
ACTION=="add", SUBSYSTEM=="usb_device", \ PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", \ NAME="%c", MODE="0666"
Akemi:
Thanks a bunch!
I had already built 1.0.22, so I just copied over the genesys files from /usr/local/lib/sane/wherever, renamed the existing genesys file that was already there (from the 1.0.18 installation from the Centos packages), edited genesys.conf (to add the right USB identifiers for the scanner) then changed the udev rule as you showed.
Rebooted, and voila!
All I need to be careful of now, I think, is to not allow sane package updates to be applied by yum, unless it gets updated to 1.0.22, and I don't imagine that will happen within the 5.x series.
thanks again, that was a lot easier than messing around with trying to build everything and install it in /usr/local.
Fred