hal/doc TODO,1.17,1.18

David Zeuthen david at pdx.freedesktop.org
Sun Apr 25 10:24:46 PDT 2004


Update of /cvs/hal/hal/doc
In directory pdx:/tmp/cvs-serv10816/doc

Modified Files:
	TODO 
Log Message:
2004-04-25  David Zeuthen  <david at fubar.dk>

	* doc/TODO: Add our notes about current issues with the Linux 2.6
	kernel

	* hald/linux/usbif_bus_device.c (usbif_device_accept): remove 
	is_probing

	* hald/linux/usb_bus_device.c (usb_device_accept): remove is_probing

	* hald/linux/printer_class_device.c (printer_class_device_accept): 
	remove is_probing

	* hald/linux/osspec.c (visit_class_device): optionally take and use
	a ClassDeviceHandler object
	(visit_class): -do-
	(visit_device): optionally take and use a BusDeviceHandler object
	(visit_bus): new function; not currently used
	(osspec_probe): add a comment about migration to visit_bus once the
	kernel is ready; slight changes

	* hald/linux/net_class_device.c (net_class_pre_process): set category
	and capabilities

	* hald/linux/ide_host_bus_device.c (ide_host_device_accept): remove
	is_probing

	* hald/linux/common.c (got_parent): new function

	* hald/linux/class_device.h: change prototypes by removing is_probing
	parameter

	* hald/linux/class_device.c don't pass is_probing; use 
	hald_is_initialising global instead

	* hald/linux/bus_device.h: change prototypes by removing is_probing
	parameter

	* hald/linux/bus_device.c: don't pass is_probing; use the global
	hald_is_initialising instead. Don't try to find parent if the sysfs
	path indicates that there is no parent.

	* hald/linux/block_class_device.c : don't pass is_probing; use 
	hald_is_initialising global



Index: TODO
===================================================================
RCS file: /cvs/hal/hal/doc/TODO,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- a/TODO	22 Apr 2004 20:24:13 -0000	1.17
+++ b/TODO	25 Apr 2004 17:24:44 -0000	1.18
@@ -61,3 +61,17 @@
     no others will be called.  There should be a timeout which kills the
     callout after a certain period of time.  (5 seconds?  10?  15?)
 
+Issues with Linux kernel 2.6.*:
+
+ -  The ide%d, parent of IDE devices, are no under /sys/bus or /sys/class.
+    In HAL we call it ide_host
+
+ -  16-bit PCMCIA devices (e.g. not CardBus) is not in sysfs
+
+ -  It would be nice if the kernel could poll for media by itself; right
+    now we poll for media in hald/linux/block_class_device.c:detect_media
+
+ -  The ide_cs driver for PCMCIA card readers has a bug where it removes
+    and inserts the block device when we do a simple readonly open on the
+    top block device (to poll for media)
+





More information about the hal-commit mailing list