Skip to contentSkip to conversation

udevd [was: Re: [RFC/PATCH] input_id: add touchpad quirks rules

DISCUSSION Martin Pitt 4 participants 6 messages May 13, 2010 – May 17, 2010

lore
Share & tools
lore
#0 lore raw

Hello Kay,

Kay Sievers [2010-05-13 15:29 +0200]:

Quoted 5 lines
Quoted 3 lines

 (2) I hear that udevd will eventually go away, and its probers will be fanned out to the subsystem daemons, therefore leaving the udev package as a relatively stable library only.

Oh, that's interesting news. :) What makes you think of that?

Scott just gave a presentation about the plumbing layer, and mentioned that. It came as quite a surprise to me, too, and that's why I wrote "I hear", not "it is" :) I'll ask him about this.

Quoted 1 line

What would match on and deliver all the kernel events to subcribers?

As far as I understood it, libudev would stay for client-side programs (reading events from netlink and enumerate from /sys), and the udev database would stay for the properties, but the udev daemon would/could go away.

Thanks,

Martin

Signature · 2 lines
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
#1 lore raw

Re: udevd [was: Re: [RFC/PATCH] input_id: add touchpad quirks

Quoted 13 lines · Martin Pitt

Hello Kay,

Kay Sievers [2010-05-13 15:29 +0200]:

Quoted 5 lines
Quoted 3 lines

 (2) I hear that udevd will eventually go away, and its probers will be fanned out to the subsystem daemons, therefore leaving the udev package as a relatively stable library only.

Oh, that's interesting news. :) What makes you think of that?

Scott just gave a presentation about the plumbing layer, and mentioned that. It came as quite a surprise to me, too, and that's why I wrote "I hear", not "it is" :) I'll ask him about this.

Quoted 6 lines
Quoted 1 line

What would match on and deliver all the kernel events to subcribers?

As far as I understood it, libudev would stay for client-side programs (reading events from netlink and enumerate from /sys), and the udev database would stay for the properties, but the udev daemon would/could go away.

OMG! Ubuntu is forking udev! This is ... funny...

Lennart

Signature · 3 lines
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net
http://0pointer.net/lennart/           GnuPG 0x1A015CC4
#2 lore raw

Re: udevd [was: Re: [RFC/PATCH] input_id: add touchpad quirks

In reply to Martin Pitt
Quoted 2 lines · Lennart Poettering

OMG! Ubuntu is forking udev! This is ... funny...

Wow, I've never seen anyone leap so far. There was a veritable chasm between you and those conclusions.

I consider myself an active member of udev upstream, and I think we've taken a wrong turn with the design and implementation. Any changes I propose will be just as much upstream as any you propose.

Scott

Signature · 2 lines
Scott James Remnant
[email protected]
#3 lore raw

Re: udevd [was: Re: [RFC/PATCH] input_id: add touchpad quirks

In reply to Martin Pitt
Quoted 2 lines · Scott James Remnant

I consider myself an active member of udev upstream, and I think we've taken a wrong turn with the design and implementation.

What specifically do you mean by this?

Is the current libudev not a good design for your needs? What should it be instead?

curious,

greg k-h

#4 lore raw

Re: udevd [was: Re: [RFC/PATCH] input_id: add touchpad quirks

In reply to Martin Pitt
Quoted 9 lines · Greg KH
Quoted 2 lines · Scott James Remnant

I consider myself an active member of udev upstream, and I think we've taken a wrong turn with the design and implementation.

What specifically do you mean by this?

Is the current libudev not a good design for your needs? What should it be instead?

Actually, quite the opposite! I think that libudev is a great design.

I think that the wrong turn is that we rely on a massive "cold plug" phase during boot, and we rely on probing every single piece of hardware during that phase or on later insertion - whether or not anything on the system actually cares about the result.

Scott

Signature · 2 lines
Scott James Remnant
[email protected]
#5 lore raw

Re: udevd [was: Re: [RFC/PATCH] input_id: add touchpad quirks

In reply to Martin Pitt
Quoted 11 lines · Scott James Remnant
Quoted 9 lines · Greg KH
Quoted 2 lines · Scott James Remnant

I consider myself an active member of udev upstream, and I think we've taken a wrong turn with the design and implementation.

What specifically do you mean by this?

Is the current libudev not a good design for your needs? What should it be instead?

Quoted 6 lines

Actually, quite the opposite! I think that libudev is a great design.

I think that the wrong turn is that we rely on a massive "cold plug" phase during boot, and we rely on probing every single piece of hardware during that phase or on later insertion - whether or not anything on the system actually cares about the result.

But how would we "know" if we care about a device until we actually figure out what the device is, and load the driver for it?

This cold-plug phase doesn't seem to take a very large amount of time these days at all, so I don't see the real savings that would be possible here.

Or am I missing something?

thanks,

greg k-h