Bug 141226

Summary: missing alsa devices in hal
Product: [openSUSE] SUSE Linux 10.1 Reporter: Ludwig Nussel <lnussel>
Component: BasesystemAssignee: Takashi Iwai <tiwai>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: dkukawka, tiwai
Version: Alpha 4   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: lshal output
l -R /sys/class/sound

Description Ludwig Nussel 2006-01-03 13:28:24 UTC
/dev/snd/pcm* are not listend in hal anymore with kernel 2.6.15-20060103094928-default. I suppose it's because their sysfs nodes have moved from /sys/class/sound/ to /sys/class/sound/controlC0/.
Comment 1 Danny Al-Gaaf 2006-01-03 13:45:36 UTC
I hate this f*****g changes in the kernel with each new version.

I have currently no machine with this kernelversion here atm. Could you please attach the output of lshal and of "grep . /sys/class/sound/*/*".
Comment 2 Ludwig Nussel 2006-01-03 13:57:02 UTC
Created attachment 61884 [details]
lshal output

> grep . /sys/class/sound/*/* 2>/dev/null 
/sys/class/sound/adsp/dev:14:12
/sys/class/sound/audio/dev:14:4
/sys/class/sound/controlC0/dev:116:3
/sys/class/sound/dsp/dev:14:3
/sys/class/sound/mixer/dev:14:0
/sys/class/sound/seq/dev:116:10
/sys/class/sound/timer/dev:116:2
Comment 3 Ludwig Nussel 2006-01-03 13:58:33 UTC
Created attachment 61885 [details]
l -R /sys/class/sound

maybe moving the devices was an accident? That's why I CC'd Takashi.
Comment 4 Danny Al-Gaaf 2006-01-03 14:06:51 UTC
This looks a littlebit strange for me. Why are all PCM devices now under the controlC0 device. @ludwig: you are maybe right, looks for me like a accident.

@Takashi: any ideas?
Comment 5 Takashi Iwai 2006-01-03 19:18:50 UTC
It's not an accident, but I just overlooked what the patch really does.
Yes, it looks strange.  I'll roll back the patch, so no need to fix from the HAL side.
Comment 6 Danny Al-Gaaf 2006-01-04 09:50:30 UTC
Sounds good for me ;-). Are there any changes planed for the alsa sysfs interface for 10.1 or Code 10?
Comment 7 Takashi Iwai 2006-01-05 18:18:48 UTC
No, unless something is missing from HAL/udev side, we have no plan to change the current design.