From owner-freebsd-hackers@FreeBSD.ORG Sat Jun 14 18:16:28 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 16FCD1065672 for ; Sat, 14 Jun 2008 18:16:28 +0000 (UTC) (envelope-from chuckr@telenix.org) Received: from mail5.sea5.speakeasy.net (mail5.sea5.speakeasy.net [69.17.117.7]) by mx1.freebsd.org (Postfix) with ESMTP id EC03B8FC1A for ; Sat, 14 Jun 2008 18:16:27 +0000 (UTC) (envelope-from chuckr@telenix.org) Received: (qmail 16227 invoked from network); 14 Jun 2008 18:16:27 -0000 Received: from april.chuckr.org (HELO april.telenix.org) (chuckr@[66.92.151.30]) (envelope-sender ) by mail5.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 14 Jun 2008 18:16:27 -0000 Message-ID: <4854087F.90509@telenix.org> Date: Sat, 14 Jun 2008 14:05:51 -0400 From: Chuck Robey User-Agent: Thunderbird 2.0.0.6 (X11/20071107) MIME-Version: 1.0 To: freebsd-hackers@freebsd.org References: <4852C94B.2090809@telenix.org> In-Reply-To: <4852C94B.2090809@telenix.org> 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 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: Sat, 14 Jun 2008 18:16:28 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Chuck Robey wrote: > I have finished doing all the work and investigation (and test program writing) > I need to do, for all of the usb aspects of my grapghic tablet Xorg Xinput > driver (well, THEY call it a driver). Yes, I know I've been owrking on it for a > while now, but I need to move slowly for personal reasons. I can see that, for > very up to date modules, Xorg wants to have hotplugging to work in their input > drivers. My work contemplates using the existing FreeBSD devices (my test > program uses uhid very nicely). So, I was wondering if anyone knows of any sort > of software working in FreeBSD that doesn hotplugging (using dbus would be the > way that Xorg contemplates), then could you tell me what it is, so I can look at it? > > I've already read up on dbus; it seems to be a messaging thing, so I just want > to see some example of how dbus would see use in FreeBSD. I figure, since the > devices I'm working on are quite inexpensive (about 60 bucks for a 8" by 6" > model), it might just turn out to be popular, if I do a really good job of this. > That's why I want to cross every T, dot every I. I was going ahead and > adapting my test program to the Xinput example I have, when I realized I need > the hotplugging feature. 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 find it myself) then I could find the sourvce code and read it myself, so you don't need to give me some big tutorial, just point it out if you're aware of it. I said "where that it", I mean, just give me the name, I can find out where with the name in hand, obviously. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIVAh/z62J6PPcoOkRAkDdAJ46GT/AOpp36nGoYj7z7MLYFFOYGwCfQ1ir zjFfI55ekunrN6qWSCTFNQ4= =J/My -----END PGP SIGNATURE-----