speakers have no sound in Gentoo, but work in Ubuntu
Hi, my laptop(Dell1400)'s speakers never work in Gentoo(headphones can
work). But server days ago, I installed Ubuntu and I found that the
speakers work(headphones also work)!
I thought the alsa-driver could not drive my sound card properly
before, and now, I think there must be some way since Ubuntu can work.
/******** In Gentoo ***********/
$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.16rc2 (Thu Jan 31
16:40:16 2008 UTC).
/******** In Ubuntu ***********/
$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.16.
Compiled on Apr 21 2008 for kernel 2.6.24-16-generic (SMP).
/******** In Gentoo ***********/
# uname -a
Linux wcw-laptop 2.6.25-tuxonice-r5 #1 SMP Mon Jun 30 15:13:46 CST
2008 x86_64 Intel(R) Core(TM)2 Duo CPU T5470 @ 1.60GHz GenuineIntel
GNU/Linux
/******** In Ubuntu ***********/
$ uname -a
Linux wcw-laptop 2.6.24-16-generic #1 SMP Thu Apr 10 12:47:45 UTC 2008
x86_64 GNU/Linux
/******** In Gentoo ***********/
# amixer
Simple mixer control 'Master',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 127
Mono: Playback 127 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 255 [100%] [0.00dB]
Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Front',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 127
Mono:
Front Left: Playback 119 [94%] [-6.00dB] [on]
Front Right: Playback 119 [94%] [-6.00dB] [on]
Simple mixer control 'Surround',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 127
Mono:
Front Left: Playback 127 [100%] [0.00dB] [off]
Front Right: Playback 127 [100%] [0.00dB] [off]
Simple mixer control 'Center',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 127
Mono: Playback 127 [100%] [0.00dB] [off]
Simple mixer control 'LFE',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 127
Mono: Playback 127 [100%] [0.00dB] [off]
Simple mixer control 'Mic as Output',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 14
Front Left: Capture 4 [29%] [6.00dB] [off]
Front Right: Capture 4 [29%] [6.00dB] [off]
Simple mixer control 'Capture',1
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 14
Front Left: Capture 5 [36%] [7.50dB] [off]
Front Right: Capture 5 [36%] [7.50dB] [off]
Simple mixer control 'Capture',2
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 14
Front Left: Capture 7 [50%] [10.50dB] [off]
Front Right: Capture 7 [50%] [10.50dB] [off]
Simple mixer control 'Analog Loopback',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Digital',0
Capabilities: cvolume
Capture channels: Front Left - Front Right
Limits: Capture 0 - 120
Front Left: Capture 60 [50%] [0.00dB]
Front Right: Capture 60 [50%] [0.00dB]
Simple mixer control 'Digital Input Source',0
Capabilities: enum
Items: 'Analog Inputs' 'Digital Mic 1'
Item0: 'Analog Inputs'
Simple mixer control 'Input Source',0
Capabilities: cenum
Items: 'Mic'
Item0: 'Mic'
Simple mixer control 'Input Source',1
Capabilities: cenum
Items: 'Mic'
Item0: 'Mic'
Simple mixer control 'Input Source',2
Capabilities: cenum
Items: 'Mic'
Item0: 'Mic'
Simple mixer control 'Mux',0
Capabilities: cvolume
Capture channels: Front Left - Front Right
Limits: Capture 0 - 4
Front Left: Capture 0 [0%] [0.00dB]
Front Right: Capture 0 [0%] [0.00dB]
Simple mixer control 'Mux',1
Capabilities: cvolume
Capture channels: Front Left - Front Right
Limits: Capture 0 - 4
Front Left: Capture 0 [0%] [0.00dB]
Front Right: Capture 0 [0%] [0.00dB]
Simple mixer control 'Mux',2
Capabilities: cvolume
Capture channels: Front Left - Front Right
Limits: Capture 0 - 4
Front Left: Capture 0 [0%] [0.00dB]
Front Right: Capture 0 [0%] [0.00dB]
Simple mixer control 'Swap Center/LFE',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
/******** In Ubuntu ***********/
$ amixer
Simple mixer control 'Master',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 127
Mono: Playback 117 [92%] [-7.50dB] [on]
Simple mixer control 'Headphone as Line Out',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'PCM',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 255 [100%] [0.00dB]
Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Front',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 127
Mono:
Front Left: Playback 95 [75%] [-24.00dB] [on]
Front Right: Playback 95 [75%] [-24.00dB] [on]
Simple mixer control 'Surround',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 127
Mono:
Front Left: Playback 127 [100%] [0.00dB] [off]
Front Right: Playback 127 [100%] [0.00dB] [off]
Simple mixer control 'Center',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 127
Mono: Playback 127 [100%] [0.00dB] [off]
Simple mixer control 'LFE',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 127
Mono: Playback 127 [100%] [0.00dB] [off]
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 14
Front Left: Capture 0 [0%] [0.00dB] [on]
Front Right: Capture 0 [0%] [0.00dB] [on]
Simple mixer control 'Capture',1
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 14
Front Left: Capture 0 [0%] [0.00dB] [off]
Front Right: Capture 0 [0%] [0.00dB] [off]
Simple mixer control 'Capture',2
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 14
Front Left: Capture 0 [0%] [0.00dB] [off]
Front Right: Capture 0 [0%] [0.00dB] [off]
Simple mixer control 'Analog Loopback',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Digital',0
Capabilities: cvolume
Capture channels: Front Left - Front Right
Limits: Capture 0 - 120
Front Left: Capture 60 [50%] [0.00dB]
Front Right: Capture 60 [50%] [0.00dB]
Simple mixer control 'Digital Input Source',0
Capabilities: enum
Items: 'Analog Inputs' 'Digital Mic 1'
Item0: 'Analog Inputs'
Simple mixer control 'Input Source',0
Capabilities: cenum
Items: 'Mic' 'Front Mic'
Item0: 'Mic'
Simple mixer control 'Input Source',1
Capabilities: cenum
Items: 'Mic' 'Front Mic'
Item0: 'Mic'
Simple mixer control 'Input Source',2
Capabilities: cenum
Items: 'Mic' 'Front Mic'
Item0: 'Mic'
Simple mixer control 'Mux',0
Capabilities: cvolume
Capture channels: Front Left - Front Right
Limits: Capture 0 - 4
Front Left: Capture 0 [0%] [0.00dB]
Front Right: Capture 0 [0%] [0.00dB]
Simple mixer control 'Mux',1
Capabilities: cvolume
Capture channels: Front Left - Front Right
Limits: Capture 0 - 4
Front Left: Capture 0 [0%] [0.00dB]
Front Right: Capture 0 [0%] [0.00dB]
Simple mixer control 'Mux',2
Capabilities: cvolume
Capture channels: Front Left - Front Right
Limits: Capture 0 - 4
Front Left: Capture 0 [0%] [0.00dB]
Front Right: Capture 0 [0%] [0.00dB]
Simple mixer control 'Swap Center/LFE',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
How to let my speakers work in Gentoo?
Any help will be very appreciated!
--
wcw
--
gentoo-user@lists.gentoo.org mailing list
06-30-2008, 11:14 PM
"Brian Johnson"
speakers have no sound in Gentoo, but work in Ubuntu
Almost all snd-hda-intel sound cards need quirks added to /etc/modules.d/alsa
Under the auto-generated configuration add:
options snd-hda-intel model=dell-3stack
Once that is done, save the file and run:
update-modules
Once that has completed (you may need to update-modules --force if it complains). Simply reboot the computer or restart the alsasound service. Note, some programs/applets using ALSA may crash if you unload/reload the sound card.
- Brian
On Mon, Jun 30, 2008 at 5:49 AM, Chuanwen Wu <wcw8410@gmail.com> wrote:
Hi, my laptop(Dell1400)'s speakers never work in Gentoo(headphones can
work). But server days ago, I installed Ubuntu and I found that the
speakers work(headphones also work)!
I thought the alsa-driver could not drive my sound card properly
before, and now, I think there must be some way since Ubuntu can work.
# lspci | grep Audio
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio
Controller (rev 02)
/******** In Gentoo ***********/
$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.16rc2 (Thu Jan 31
16:40:16 2008 UTC).
/******** In Ubuntu ***********/
$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.16.
Compiled on Apr 21 2008 for kernel 2.6.24-16-generic (SMP).
/******** In Gentoo ***********/
# uname -a
Linux wcw-laptop 2.6.25-tuxonice-r5 #1 SMP Mon Jun 30 15:13:46 CST
2008 x86_64 Intel(R) Core(TM)2 Duo CPU T5470 @ 1.60GHz GenuineIntel
GNU/Linux
/******** In Ubuntu ***********/
$ uname -a
Linux wcw-laptop 2.6.24-16-generic #1 SMP Thu Apr 10 12:47:45 UTC 2008
speakers have no sound in Gentoo, but work in Ubuntu
Hi, thanks for your help!
> Both are detecting and loading snd_hda_intel. Perhaps an options line might
> fix on Gentoo?
> Add them in the /etc/modprobe.d/sound file as lines like:
> options snd_hda_intel model=mbp3 or 3stack or 6stack or ...
It works! I have tried :
options snd_hda_intel model=mbp3
and
options snd_hda_intel model=dell-3stack #I got it from Brian Johnson
Both of them works, but I can't tell the difference between them.
So is there any more tips and tricks? Maybe I can optimize it.
Besides, now hda_intel works both in kernel 2.6.24 and 2.6.25
>
> See if they are detecting the same card by running alsa-info.sh with
> --no-upload option under
> each OS and compare the output looking for differences. The script is found
> at http://www.alsa-project.org/alsa-info.sh
>
Here is the output of running alsa-info.sh in my Gentoo after I add
the line "options snd_hda_intel model=dell-3stack" :
http://pastebin.ca/1060228
And the output in Ubuntu is here: http://pastebin.ca/1060247
I can see some differences especially the "Modprobe options".
--
wcw
--
gentoo-user@lists.gentoo.org mailing list
07-02-2008, 05:42 AM
"Chuanwen Wu"
speakers have no sound in Gentoo, but work in Ubuntu
Hi, thanks for your help! It works!
But I think this line
> options snd-hda-intel model=dell-3stack
should be:
options snd_hda_intel model=dell-3stack
>
> Once that is done, save the file and run:
>
> update-modules
>
> Once that has completed (you may need to update-modules --force if it
> complains). Simply reboot the computer or restart the alsasound service.
> Note, some programs/applets using ALSA may crash if you unload/reload the
> sound card.
Yeah, it's very weird - It changed the theme of my Xfce and when I
enter the "Xfce Setting Manager", the original theme return back, even
although I had not actually done setting yet.
>
--
wcw
--
gentoo-user@lists.gentoo.org mailing list