Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jun 2008 16:14:21 +0200
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Chuck Robey <chuckr@telenix.org>
Cc:        freebsd-hackers@freebsd.org, Konrad Jankowski <lichave@gmail.com>
Subject:   Re: FreeBSD hotplugging (Hal) info
Message-ID:  <20080616161421.39263060wa8p0f28@webmail.leidinger.net>
In-Reply-To: <48566D63.3090509@telenix.org>
References:  <4852C94B.2090809@telenix.org> <4854087F.90509@telenix.org> <716a8d5f0806160017y23a29fd4r20190e8b8a198a6@mail.gmail.com> <48566D63.3090509@telenix.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Chuck Robey <chuckr@telenix.org> (from Mon, 16 Jun 2008 =20
09:40:51 -0400):

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Konrad Jankowski wrote:
>>> Replying to my own mail, I realize I've worded this badly ... what =20
>>> I meant is,
>>> does any part of FreeBSD's base make any use of Hal's (the =20
>>> hardware abstraction
>>> layer) API?  If it does, and you could tell me where that is =20
>>> (because I can't
>>
>> Base definitely doesn't use it.
>> All you can find in base is devd.
>
> Well, good news and bad.  Dropping the bad news first, I can't grep =20
> for hal or
> dbus anywhere in the devd src dir, which I think might mean it's not a dir=
ect
> user or propagator of hal.  OTOH, devd's man page lists devctl, which seem=
s
> mightily interesting, and could extremely likely be adapted into reporting=
 to
> hal directly.

devctl is reporting to devd. There's no relationship to HAL.

> My immediate worry is something I picked up from the devctl man =20
> page, that it is
> meant for a single reader.  Does that mean that I am somehow prevented fro=
m
> sharing it to both devd (or devfs) AND hal, both?  Or, do I manually =20
> (well, via
> script) create an extra devctl node?  Or, maybe, am I knocking on the door=
 of
> the wrong mailing list?

You can let devd issue commands in arrival/departure.

> Please let me know, my stubborn streak has seen me too close to the ending=
 of
> this driver of mine to consider stopping now, I just MUST answer this last
> feature worry of mine.

Ask on gnome@ about dbus, and on x11@ about the X11 HAL stuff.

Bye,
Alexander.

--=20
=09"Fantasies are free."
=09"NO!! NO!! It's the thought police!!!!"

http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID =3D B0063FE7
http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID =3D 72077137



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