Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 May 2003 09:56:17 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        cbiffle@safety.net, mobile@freebsd.org
Subject:   Re: devctl for non-devd userland processes
Message-ID:  <20030501.095617.72710939.imp@bsdimp.com>
In-Reply-To: <200305010115.05326.cbiffle@safety.net>
References:  <200305010115.05326.cbiffle@safety.net>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <200305010115.05326.cbiffle@safety.net>
            "Cliff L. Biffle" <cbiffle@safety.net> writes:
: Good ${time_of_day}!
: 
: I'm hacking on KDE's laptop hardware monitoring support (ACPI, battery, 
: hardware detection, etc.).  I'd like to be able to provide device 
: notification -- for example, notifying the user when a PCMCIA device is 
: recognized and what device it's been bound to.  In my mind, the logical way 
: to do this is devctl -- it's a generic interface and an elegant mechanism.  
: However, devd is already sucking on devctl.

Correct.

: Do you have any existing plans for providing a mechanism for non-devd 
: processes to play nice with devd, in terms of devctl?  The sorts of options 
: that pop into my head are a userland socket/pipe interface to devd, or even 
: cloning for devctl (though that strikes me as excessive, perhaps).

Device cloning was what I had in mind.  I really don't want to deal
with multiple userland processes just to have devd run.

: If you don't have any plans along these lines, I'll either work
: around it for now or work out an interface and toss patches into the
: fray.

I'm most partial to a cloning device, but I might be talked into
something else.

: Perhaps more importantly, is there a dev community for devd/devctl,
: so I might stop pestering you personally? :-)

mobile@ might be a good place.

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030501.095617.72710939.imp>