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

2009-07-13 Thread Tim Waugh
On Mon, 2009-07-13 at 21:17 +0200, Till Kamppeter wrote: > If you update the driver and update the PPDs of the existing queues > (automatically done by Gutenprint and also by all drivers in Ubuntu and > by all drivers from OpenPrinting) the replacement of the PPD makes the > device ID injected b

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

2009-07-13 Thread Martin Pitt
Till Kamppeter [2009-07-13 18:34 +0200]: > The data written into the HAL DB is the printer's device ID. This > way it is available at the printer disconnection event, when it > cannot get queried any more from the printer. So we need another > place to store this data. I think that will actually w

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

2009-07-13 Thread Martin Pitt
Hello Tim, Tim Waugh [2009-07-13 15:52 +0100]: > > I see. So we can basically keep the structure of hal_lpadmin to become > > cups_admin (except that this should fork into the background to avoid > > stalling udev processing), and just replace the hal specific > > information retrieval with some l

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

2009-07-13 Thread Tim Waugh
On Mon, 2009-07-13 at 17:45 +0100, Tim Waugh wrote: > That's sort of what I was asking. :-) > > Alternatively, if there is access to this information using simple shell > utilities or something, that would also work. Actually all we need is the IEEE 1284 Device ID. I'll try to look at adding the

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

2009-07-13 Thread Tim Waugh
On Mon, 2009-07-13 at 18:34 +0200, Till Kamppeter wrote: > Are there no Python bindings for libudev? That's sort of what I was asking. :-) Alternatively, if there is access to this information using simple shell utilities or something, that would also work. > The data written into the HAL DB is