hal/hald/linux2/probing probe-input.c,1.11,1.12

David Zeuthen david at freedesktop.org
Tue Feb 7 17:34:14 PST 2006


Update of /cvs/hal/hal/hald/linux2/probing
In directory gabe:/tmp/cvs-serv17410/hald/linux2/probing

Modified Files:
	probe-input.c 
Log Message:
2006-02-07  David Zeuthen  <davidz at 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 at srcf.ucam.org>.



Index: probe-input.c
===================================================================
RCS file: /cvs/hal/hal/hald/linux2/probing/probe-input.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- probe-input.c	2 Nov 2005 15:38:14 -0000	1.11
+++ probe-input.c	8 Feb 2006 01:34:12 -0000	1.12
@@ -185,6 +185,7 @@
 	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 */




More information about the hal-commit mailing list