I just got a Canon Canoscan LiDE 210 scanner, which the SANE project pages say works "completely" with Sane.
but what isn't obvious without a lot of digging is that the version of Sane in EL5 isn't new enough.
it works fine with what's on my eeepc (Fedora 17) but not Centos 5.9.
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??
Thanks!
Fred
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/
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"
[1] http://lists.alioth.debian.org/pipermail/sane-devel/2011-July/028852.html
Hope this helps,
Akemi
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
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!
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
On Sun, Jan 20, 2013 at 6:33 PM, fred smith fredex@fcshome.stoneham.ma.us wrote:
On Sat, Jan 19, 2013 at 04:24:33PM -0800, Akemi Yagi wrote:
- 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
Glad to hear your success! Sometimes it takes extra effort to get certain hardware working in Enterprise Linux but all's well that ends well. :-)
Akemi
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.
Thanks to both Akemi and to Frank!
Yakemi's advice worked on Centos 5, and now that I've FINALLY upgraded to 6.x, Frank's RPMS work fine for me too.
Ain't community support just grand? :)
Fred
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"
[1] http://lists.alioth.debian.org/pipermail/sane-devel/2011-July/028852.html
Hope this helps,
Akemi _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos