[PATCH] add soundcard device and fix device_file handling
Danny Kukawka
danny.kukawka at web.de
Mon Mar 19 07:41:09 PDT 2007
Hi,
this patch fixes these issues:
* change checks for empty device file path from 'device_file == NULL'
to 'device_file[0] == '\0'' since the device_file path is currently
never NULL but '\0' if empty/unset.
* Add the sound card device to HAL (e.g. /sys/devices/pci*/*/card0) to
represent the correct sysfs structure. All alsa and oss devices are
now childs of the releated sound card device.
Danny
device.c | 39 +++++++++++++++++++++++++++++++--------
1 file changed, 31 insertions(+), 8 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-add_soundcard_fix_device_file_handling.diff
Type: text/x-diff
Size: 3739 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20070319/0fc51be1/hal-add_soundcard_fix_device_file_handling.bin
More information about the hal
mailing list