Gentoo Archives: gentoo-user

From: Michael Sullivan <michael@××××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Return of My Continuing ALSA woes
Date: Thu, 17 Nov 2005 16:30:44
Message-Id: 1132244623.10845.26.camel@camille.espersunited.com
In Reply to: Re: [gentoo-user] Return of My Continuing ALSA woes by Uwe Klosa
1 On Thu, 2005-11-17 at 16:55 +0100, Uwe Klosa wrote:
2 > Which kernel were you using before the new kernel install. I did also have some problems when i upgraded from 2.6.13 to 2.6.14. Check
3 > that your kernel config is correct. In my case the config hasn't been correct.
4 >
5 > Cheers
6 > Uwe
7 >
8 > Michael Sullivan wrote:
9 > > I got my new computer about a month ago. It uses the snd-hda-intel ALSA
10 > > driver. I fought with it for a week or two and finally got it working
11 > > with alsa-driver (it wouldn't work when I attempted to compile ALSA
12 > > support for the card into the kernel.) Yesterday it just kind of
13 > > stopped. I've just rebuild kernel-2.6.14-gentoo-r2 (removing SMP
14 > > support - someone told me last time that it might cause a problem) and
15 > > before I rebuilt the kernel I removed all the old modules
16 > > from /lib/modules for this kernel. I remerged alsa-driver. I try to
17 > > start /etc/init.d/alsamixer and I hear the little <click/pop> sound out
18 > > of my speakers that tells me that Gentoo has activated my sound card. I
19 > > try to run alsamixer to unmute the card, but I get an error:
20 > >
21 > > camille ~ # /etc/init.d/alsasound start
22 > > * Loading ALSA modules ...
23 > > * Loading: snd-card-0 ...
24 > > [ ok ] * Loading: snd-seq-oss ...
25 > > [ ok ] * Restoring Mixer Levels ...
26 > > * No mixer config in /etc/asound.state, you have to unmute your card!
27 > > [ ok ]camille ~ # alsamixer
28 > >
29 > > alsamixer: function snd_mixer_load failed: Invalid argument
30 > >
31 > > The funny thing is that when I reload gnome-panel (killall gnome-panel)
32 > > I have a volume control applet there. It's muted, but I slide the
33 > > volume bar up. On File->Change Device (in the volume control applet) it
34 > > claims to be using Realtek ALC880 (OSS Mixer), but I can't hear any
35 > > sound from any of my other applications (including by selecting the OSS
36 > > Mixer in xmms.) After I turn the volume up in the volume control applet
37 > > if I go back to my terminal and try to run alsamixer again I get the
38 > > same stupid error message, and if I restart /etc/init.d/alsasound I get
39 > > this:
40 > >
41 > > camille ~ # /etc/init.d/alsasound restart
42 > > * WARNING: you are stopping a boot service.
43 > > * Storing ALSA Mixer Levels ...
44 > > /usr/sbin/alsactl: get_control:149: Cannot read control info
45 > > '2,0,0,Front Playback Volume,0': Invalid argument
46 > > [ !! ] * Unloading ALSA ...
47 > > [ ok ] * Unloading ALSA modules ...
48 > > [ ok ] * Loading ALSA modules ...
49 > > * Loading: snd-card-0 ...
50 > > [ ok ] * Loading: snd-seq-oss ...
51 > > [ ok ] * Loading: snd-pcm-oss ...
52 > > [ ok ] * Restoring Mixer Levels ...
53 > > * No mixer config in /etc/asound.state, you have to unmute your card!
54 > > [ ok ]
55 > >
56 > > I have an /etc/asound.state backed up. When I restore it and
57 > > restart /etc/init.d/alsasound I get this:
58 > >
59 > > camille ~ # /etc/init.d/alsasound restart
60 > > * WARNING: you are stopping a boot service.
61 > > * Storing ALSA Mixer Levels ...
62 > > /usr/sbin/alsactl: get_control:149: Cannot read control info
63 > > '2,0,0,Front Playback Volume,0': Invalid argument
64 > > [ !! ] * Unloading ALSA ...
65 > > [ ok ] * Unloading ALSA modules ...
66 > > [ ok ] * Loading ALSA modules ...
67 > > * Loading: snd-card-0 ...
68 > > [ ok ] * Loading: snd-seq-oss ...
69 > > [ ok ] * Loading: snd-pcm-oss ...
70 > > [ ok ] * Restoring Mixer Levels ...
71 > > /usr/sbin/alsactl: set_control:873: failed to obtain info for control #1
72 > > (Invalid argument) * Errors while restoring defaults, ignoring
73 > > [ ok ]
74 > >
75 > > Any thoughts on how to get my sound back, or why it just quit in the
76 > > first place?
77 > >
78
79 I use genkernel. To get my sound card to work the first time I had to
80 reboot with the LiveCD (Gentoo 2005), mount my partitions, chroot to the
81 new environmeny, etc, unmerge gentoo-sources and alsa-driver, completely
82 delete the directories under /usr/src and /lib/modules, remerge
83 gentoo-sources, zcat /proc/config.gz
84 > /usr/share/genkernel/x86/kernel-2.6 and run genkernel --all and then
85 reboot into my regular environment and emerge alsa-driver then
86 restart /etc/init.d/alsasound. Yesterday I did everything I did
87 originally to get the sound to work and it doesn't. I'm not sure the
88 kernel config was really clean. What would I have to do to get the
89 original kernel config for when one first installs Gentoo?
90
91 --
92 gentoo-user@g.o mailing list