[pulseaudio-discuss] [PATCH] HAL hotplug support

Shahms E. King shahms at shahms.com
Fri Aug 4 13:50:54 PDT 2006

Attached is the current patch for HAL/DBus integration.  It takes care of most
of the memory management issues in the last one as well as delaying the actual
loading of the modules so that it always actually succeeds.

Currently missing is OSS support, although it shouldn't be too difficult to add
as much of the infrastructure is there, just unimplemented.

There is also a rather serious issue with hot-remove at the moment, due to the
ALSA modules continuously trying to read/write to the now-non-existant device
which blocks further processing to respond to the device removed events and
actually unload the modules.  I don't have enough experience with said modules
(or ALSA in general) to properly debug and fix them at the moment.  My limited
attempts to do so have, so far, resulted in no success ;-P

Anyway, enjoy the extant patch, please give feedback so I can make it acceptable
for merging.

The patch should apply cleanly against revision 1186 with patch -p1.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-hotplug.patch
Type: text/x-patch
Size: 34492 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20060804/51b4fc22/attachment.bin>

More information about the pulseaudio-discuss mailing list