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