[PATCH] add property alsa.device_pcm_class

Danny Kukawka danny.kukawka at web.de
Wed Aug 23 16:11:13 PDT 2006


Hi,

this patch adds the property alsa.device_pcm_class to alsa devices to show if 
the device is e.g. a generic sound device or a modem. The new property 
represents the types of snd_pcm_info_t from the alsa lib (generic, modem, 
multi, digitizer).

You need the attached kernel patch from Takashi Iwai (IIRC against 	
2.6.18-rc4-git1) to use the patch (if you use a kernel without the 
patch,alsa.device_pcm_class is 'unknown'), which he commits upstream.

Danny

 doc/spec/hal-spec-properties.xml |   60 +++++++++++++++++++++++++++++++
 hald/linux/classdev.c            |    3 +
 2 files changed, 63 insertions(+)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kernel-alsa-add-pcm_class_to_sysfs.diff
Type: text/x-diff
Size: 5018 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20060824/59e6b377/kernel-alsa-add-pcm_class_to_sysfs.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-add-alsa_pcm_class_info_kernel-2.6.19.diff
Type: text/x-diff
Size: 3053 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20060824/59e6b377/hal-add-alsa_pcm_class_info_kernel-2.6.19.bin


More information about the hal mailing list