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@xxxxxxxxxxxxxxxxxxx> 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 So, if I understand this, the important part is building sane-backends 1.0.23 and manually dropping its genesys fileis into the RPM-based installation. I've removed all the sane RPM files, and built sane-backends with prefix pointing to /usr/local, then rebuilt xsane 0.998 and dropped it also into /usr/local. at this point sane-find-scanner finds the device, but neither xsane nor scanimage -L will find it. I suspect I've just got something not pointing to the files I've installed in /usr/local, but think I need to go away from it for a few hours and let the brain recharge. > > 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" > > [1] http://lists.alioth.debian.org/pipermail/sane-devel/2011-July/028852.html > > Hope this helps, I'm sure it will, once I digest it. Thanks a bunch! -- ------------------------------------------------------------------------------- .---- Fred Smith / ( /__ ,__. __ __ / __ : / / / / /__) / / /__) .+' Home: fredex@xxxxxxxxxxxxxxxxxxxxxx / / (__ (___ (__(_ (___ / :__ 781-438-5471 -------------------------------- Jude 1:24,25 --------------------------------- _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos