[PATCH] add soundcard device and fix device_file handling

Danny Kukawka danny.kukawka at web.de
Thu Aug 9 12:09:40 PDT 2007


On Donnerstag, 22. März 2007, David Zeuthen wrote:
> On Wed, 2007-03-21 at 09:25 +0100, Danny Kukawka wrote:
[...]
> > This was not my plan for 0.5.9, I would only start to discuss this. Btw.
> > the change from alsa.* to sound.alsa.* would make also sense without
> > !CONFIG_SYSFS_DEPRECATED because this don't need to depend on the sound
> > card device. This devices are really similar devices and should be in the
> > same namespace.
>
> OK, can you submit the patch again when 0.5.9 is out? I really want to
> get that out but I kept getting side tracked :-)

Okay 0.5.9 is out and 0.5.10 is almost here! Here the patch again to add the 
card device to the device tree (nothing more) if you compile you kernel 
with !CONFIG_SYSFS_DEPRECATED. I added the requested 'device_file == NULL' 
check to the new version.

We have this patch in the SUSE hal package now since March 2007 without any 
problems. We should push this into 0.5.10.

Danny

 device.c |   38 ++++++++++++++++++++++++++++++--------
 1 file changed, 30 insertions(+), 8 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-add_soundcard_fix_device_file_handling_v2.diff
Type: text/x-diff
Size: 3362 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20070809/331de90b/attachment.diff 


More information about the hal mailing list