Bug 133749
| Summary: | Call "alsactl store" only if there is a sound card loaded | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Féliciano Matias <feliciano.matias> | ||||
| Component: | initscripts | Assignee: | Bill Nottingham <notting> | ||||
| Status: | CLOSED NOTABUG | QA Contact: | |||||
| Severity: | low | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 3 | CC: | rvokal | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | i386 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2004-10-14 21:57:29 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 123268 | ||||||
| Attachments: |
|
||||||
|
Description
Féliciano Matias
2004-09-27 06:46:11 UTC
Created attachment 104348 [details]
A little patch
Out of curiousity, when are you seeing alsa loaded without a soundcard? Note that this won't work if you have a machine with only, say, snd-intel8x0m loaded. > Out of curiousity, when are you seeing alsa loaded without a soundcard? With snd-dummy :-) Never but who knows. I was playing with "modprobe snd-xxxx" and "modprobe -r snd-xxxx" to find out why sound setting is lose. Find two cases : - when sound setting is not restore (modprobe) and then after store (with halt or "modprobe -r"). - When no sound card is loaded. I repeat, it's not an initscript or alsactl bug. It seems to me it's a kernel/alsa-driver bug. If there is no sound card, then there shounld not be /dev/snd/controlCX (udev) or device and then "alsactl store" should failed. But it's not what I see here (snd-ens1371 and snd-via82xx). > Note that this won't work if you have a machine with only, say, snd-intel8x0m loaded. ??? $ modinfo snd-intel8x0m.ko | grep depends depends: snd-ac97-codec,snd-pcm,snd-page-alloc,snd Why do you want to use alsactl if the card is not under the umbrella of alsa ? Anyway, if you want to close this bug with NOTABUG and drop my fabulous patch, do it. Again, it's not an initscript bug. Sorry for the noise. What I mean is that if snd-intel8x0m is loaded, it will show as a 'card', but there's no audio settings to save for that device. :) OK, closing as NOTABUG for now. With the new alsa-utils with the udev fix, things *should* work correctly, as long as a initial volume is set somewhere. |