diff options
author | David Zeuthen <david@fubar.dk> | 2006-02-08 01:34:12 +0000 |
---|---|---|
committer | David Zeuthen <david@fubar.dk> | 2006-02-08 01:34:12 +0000 |
commit | 8ed04a87d04289faf59d0026bdde70c7db65e83b (patch) | |
tree | bcf5d24f3b9358ede4658caa6d0d2872f24a18f7 | |
parent | c9f0e45ed53d0ea031d3d171ae5d40c2b0b4a9ce (diff) |
The attached patch lets hal listen for input devices that are of type
BUS_HOST. These are pieces of built-in hardware, so won't be
hotpluggable. Patch from Matthew Garrett <mjg59@srcf.ucam.org>.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | hald/linux2/probing/probe-input.c | 1 |
2 files changed, 8 insertions, 0 deletions
@@ -1,5 +1,12 @@ 2006-02-07 David Zeuthen <davidz@redhat.com> + * hald/linux2/probing/probe-input.c (main): The attached patch + lets hal listen for input devices that are of type BUS_HOST. These + are pieces of built-in hardware, so won't be hotpluggable. Patch + from Matthew Garrett <mjg59@srcf.ucam.org>. + +2006-02-07 David Zeuthen <davidz@redhat.com> + * hald/hald.c (main): Hald doesn't handle the case that PATH is not set (getenv returns NULL). Fixed in attached patch. From Sjoerd Simons <sjoerd@luon.net>. diff --git a/hald/linux2/probing/probe-input.c b/hald/linux2/probing/probe-input.c index 3af49bb8..3186de26 100644 --- a/hald/linux2/probing/probe-input.c +++ b/hald/linux2/probing/probe-input.c @@ -185,6 +185,7 @@ main (int argc, char *argv[]) if (physical_device == NULL) { switch (id.bustype) { case 17: /* TODO: x86 legacy port; use symbol instead of hardcoded constant */ + case 21: /* BUS_HOST, not hotpluggable */ break; /* TODO: ADB on Apple computers */ |