[PATCH] - BUS_HOST input devices aren't hotpluggable

Matthew Garrett mjg59 at srcf.ucam.org
Mon Feb 6 06:47:20 PST 2006


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.

-- 
Matthew Garrett | mjg59 at srcf.ucam.org
-------------- next part --------------
diff -ur probing.orig/probe-input.c probing/probe-input.c
--- probing.orig/probe-input.c	2005-11-02 15:38:14 +0000
+++ a/hald/linux2/probing/probe-input.c	2006-02-06 14:44:26 +0000
@@ -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:
 			break;
 
 			/* TODO: ADB on Apple computers */


More information about the hal mailing list