Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62274 - ALSA unaccessable until aplay is run, using kernel 2.6.9_rc1
Summary: ALSA unaccessable until aplay is run, using kernel 2.6.9_rc1
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-30 10:20 UTC by David Öhlin
Modified: 2004-09-05 16:40 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Öhlin 2004-08-30 10:20:23 UTC
If I reboot my computer and log in, xmms will complain about ALSA not working ("check if your sound card is enabled", or something like that), and the xfce4 volume control will not function. Xine will be quiet.

Now if, instead, I log in and start by running "aplay sound.wav", not only will I get sound, but xmms and the rest of the programs will function. Almost as if aplay does something magic which unlocks or loads some alsa component.

I have not been able to reproduce this "unlocking" _after_ having run xmms. It seems it has to be done directly after boot-up (preferably outside of X, as to not load a non-working volume control).

Reproducible: Always
Steps to Reproduce:
1. Compile and install development-sources 2.6.9_rc1 with ALSA and emu10k1 (I think it works with modules as well as built-in).
2. Follow the Gentoo ALSA setup guide.
3. Reboot and log in.
4. To get sound: "aplay sound.wav"
5. Start xmms (for instance). If 4 was performed, xmms will play with the ALSA driver. If it wasn't, xmms will complain about ALSA not working.
Actual Results:  
Quietness; ALSA unaccessable (as were it not loaded)

Expected Results:  
Audio through ALSA

kernel 2.6.9_rc1 from development-sources with ALSA and emu10k1 built-in
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2004-08-30 11:34:55 UTC
do you have 'alsasound' in the boot runlevel?
does it work with an older kernel?
Comment 2 David Öhlin 2004-08-30 11:55:36 UTC
Yes, alsasound is in boot. I've folded back to 2.6.8 now, and it's working, but I had to add myself to the audio group -- which makes this even more strange. I did not have to be in the audio group when doing all of the stuff mentioned in the original post.
Comment 3 Jeremy Huddleston (RETIRED) gentoo-dev 2004-08-30 12:16:06 UTC
ok, then this is a problem with alsa in a specific kernel which is not maintained by the sound herd... reassigning...
Comment 4 Daniel Drake (RETIRED) gentoo-dev 2004-09-05 16:40:25 UTC
We don't modify development-sources - this must be an upstream bug. Please file a bug at http://bugzilla.kernel.org