From owner-freebsd-hackers@FreeBSD.ORG Mon Jun 16 13:51:42 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0898D106566B for ; Mon, 16 Jun 2008 13:51:42 +0000 (UTC) (envelope-from chuckr@telenix.org) Received: from mail1.sea5.speakeasy.net (mail1.sea5.speakeasy.net [69.17.117.3]) by mx1.freebsd.org (Postfix) with ESMTP id D9CDC8FC18 for ; Mon, 16 Jun 2008 13:51:41 +0000 (UTC) (envelope-from chuckr@telenix.org) Received: (qmail 6071 invoked from network); 16 Jun 2008 13:51:41 -0000 Received: from april.chuckr.org (HELO april.telenix.org) (chuckr@[66.92.151.30]) (envelope-sender ) by mail1.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 16 Jun 2008 13:51:40 -0000 Message-ID: <48566D63.3090509@telenix.org> Date: Mon, 16 Jun 2008 09:40:51 -0400 From: Chuck Robey User-Agent: Thunderbird 2.0.0.6 (X11/20071107) MIME-Version: 1.0 To: Konrad Jankowski References: <4852C94B.2090809@telenix.org> <4854087F.90509@telenix.org> <716a8d5f0806160017y23a29fd4r20190e8b8a198a6@mail.gmail.com> In-Reply-To: <716a8d5f0806160017y23a29fd4r20190e8b8a198a6@mail.gmail.com> X-Enigmail-Version: 0.95.5 OpenPGP: id=F3DCA0E9; url=http://pgp.mit.edu Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: FreeBSD hotplugging (Hal) info X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jun 2008 13:51:42 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Konrad Jankowski wrote: >> Replying to my own mail, I realize I've worded this badly ... what I meant is, >> does any part of FreeBSD's base make any use of Hal's (the hardware abstraction >> layer) API? If it does, and you could tell me where that is (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 for hal or dbus anywhere in the devd src dir, which I think might mean it's not a direct user or propagator of hal. OTOH, devd's man page lists devctl, which seems mightily interesting, and could extremely likely be adapted into reporting to hal directly. My immediate worry is something I picked up from the devctl man page, that it is meant for a single reader. Does that mean that I am somehow prevented from sharing it to both devd (or devfs) AND hal, both? Or, do I manually (well, via script) create an extra devctl node? Or, maybe, am I knocking on the door of the wrong mailing list? 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. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIVm1jz62J6PPcoOkRArQbAJ9G+Ql78K7LWJ1vbKB7TWqAfRtBwgCgjQgw z+AP1pYbvAgmBrdqBXvMRbg= =7eon -----END PGP SIGNATURE-----