Re: udev-ish replacement for hal-cups-utils?

2009-07-17 Thread Tim Waugh
On Fri, 2009-07-17 at 21:56 +0200, Till Kamppeter wrote: > I have looked into udev-configure-printer.c and I see two problems (in > hal_lpadmin this works): > > 1. One device can have more than one queue. Your program supports only > one queue per device according to the syntax of the "remove" c

Re: udev-ish replacement for hal-cups-utils?

2009-07-17 Thread Tim Waugh
On Tue, 2009-07-14 at 18:32 +0200, Martin Pitt wrote: > So, one immediate workaround would be to not pass the device ID > itself, but the path (%p) and just read that value plus "/ieee1284_id" > from the python program. That's a little tricky with identifying the > ID at removal time, though (you'd

Re: udev-ish replacement for hal-cups-utils?

2009-07-17 Thread Martin Pitt
Hello Tim, Tim Waugh [2009-07-16 23:31 +0100]: > The requirements for this are a bit fiddly: > > * if CUPS < 1.4 is to be supported, we need to give group lp read/write > access to the usblp device node This is provided by 50-udev-default.rules: KERNEL=="parport[0-9]*",GROUP="lp" SUBSYS