Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
udev rules & libsane making me crazy... epson cx3200 MFP
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
daddio
Tux's lil' helper
Tux's lil' helper


Joined: 11 Oct 2003
Posts: 145
Location: Orem, UT

PostPosted: Fri Jan 05, 2007 6:54 pm    Post subject: udev rules & libsane making me crazy... epson cx3200 MF Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum