Re: hardware initialization

"Andreas V. Meier" <avmeier-S0/[email protected]>
Newsgroups gmane.linux.distributions.rock.devel
Message-ID <[email protected]>
On Tue, Nov 22, 2005 at 06:32:34PM +0100, Benjamin Schieder wrote:
> Andreas V. Meier wrote:
> > Hi,
> > 
> > I have thought a bit about our scheme of hardware initialization, and suggest
> > the follwoing changes to enhance our udev support:
 
> Can you elaborate a bit more on how hardware detection will work then? Will
> udev send hotplug events to the hotplug scripts or how is that going to work?
> Mind you, I'm no expert in that field :)
I am neither, and unfortunately my research was interrupted by that conference
call. But it should go the following:

First: Devices already present:
 - Through the call of all hotplug scripts from hotplug.init the present
 hardware is evaluated and respective drivers are loaded.
 - Through kernel.init which calls /etc/conf/kernel the custom modprobe commands
 are executed.

Second: plugging devices:
 - kernel calls udevsend, which forwards the event to udevd
 - udevd reorders the events in appropriate manner and forwards them to hotplug
   the reordering is used to prevent race conditions
 - hotplug loads the respective drivers in accordance to the received events. 
 - udevd also calls hal, which can be used with dbus and ivman/pmount to
 automount plugged devices or just to execute arbitrary scripts for plug events
 or other hardware changes.
 
This already works nicely on my notebook. I decided to use the recent versions
for hal and dbus, because I had some issues with the old versions, which were
required for kde 3.4. But the upcoming kde 3.5 has support for those recent
versions, so until we have decided on this topic we will probably also have kde
3.5 then ;)

Ciao

Andreas

_______________________________________________
rock-devel mailing list
[email protected]
http://www.rocklinux.net/mailman/listinfo/rock-devel
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFDhEey2A9/vRi9PS4RAkL0AJ4/ySf3IB9cVv3IRuRCot6u+CuQHQCeJwmv
/ri7dgRWai4mCXVoBTo3j60=
=Dq6v
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.