summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Zeuthen <david@fubar.dk>2006-02-08 01:34:12 +0000
committerDavid Zeuthen <david@fubar.dk>2006-02-08 01:34:12 +0000
commit8ed04a87d04289faf59d0026bdde70c7db65e83b (patch)
treebcf5d24f3b9358ede4658caa6d0d2872f24a18f7
parentc9f0e45ed53d0ea031d3d171ae5d40c2b0b4a9ce (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--ChangeLog7
-rw-r--r--hald/linux2/probing/probe-input.c1
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index f2d188a8..48bdef1d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 */