daddio Tux's lil' helper


Joined: 11 Oct 2003 Posts: 145 Location: Orem, UT
|
Posted: Fri Jan 05, 2007 6:54 pm Post subject: udev rules & libsane making me crazy... epson cx3200 MF |
|
|
Happy New year everybody!
The epson cx3200 is a multifunction printer.
And was working peachy until some recent updates.
Now xsane works great, but CUPS can't print (although it does detect and correctly identify and helps find the correct gutenprint or gimp-print driver)
I finally discovered the problem and I am struggling with a proper and persistent solution:
/etc/udev/rules.d/99-libsane.rules
sets the group to "scanner" and the MODE="660"
CUPS needs (I think) group="lp" (correct me if I'm way off here folks)
I can "# chmod 666 /dev/usb/lp0" , and it prints great, but on the reboot, or printer unplug/power cycle, the device is created afresh with MODE="660" group="scanner"
I am reading the udev rules guide
http://www.reactivated.net/writing_udev_rules.html
and it recomends setting your own rules first... but won't that still get hijacked by 99-libsane.rules?
and if I want a udev rule file to be read AFTER 99-libsane.rules, what should I call it? 999-my.rules?
I think I can blunder my way the rule creation, I am just trying to resist the temptation to ater the existing rules which will make updating more painful when/if libsane fixes this behaviour
Any pointers would be helpful...
Yours, Daddio |
|