FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 06-30-2008, 12:49 PM
"Chuanwen Wu"
 
Default 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.


# 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
x86_64 GNU/Linux

/******** In Gentoo ***********/
# lsmod | grep snd
Module Size Used by
snd_seq_oss 28992 0
snd_seq_device 6160 1 snd_seq_oss
snd_seq_midi_event 6912 1 snd_seq_oss
snd_seq 47968 4 snd_seq_oss,snd_seq_midi_event
snd_pcm_oss 37600 0
snd_mixer_oss 14592 1 snd_pcm_oss
snd_hda_intel 405080 2
snd_pcm 70984 2 snd_pcm_oss,snd_hda_intel
snd_timer 19792 2 snd_seq,snd_pcm
snd_page_alloc 8144 2 snd_hda_intel,snd_pcm
snd_hwdep 7816 1 snd_hda_intel
snd 50632 13
snd_seq_oss,snd_seq_device,snd_seq,snd_pcm_oss,snd _mixer_oss,snd_hda_intel,snd_pcm,snd_timer,snd_hwd ep
soundcore 6688 1 snd


/******** In Ubuntu ***********/
$ lsmod | grep snd
snd_hda_intel 440408 3
snd_pcm_oss 47648 0
snd_mixer_oss 20224 1 snd_pcm_oss
snd_pcm 92168 2 snd_hda_intel,snd_pcm_oss
snd_page_alloc 13200 2 snd_hda_intel,snd_pcm
snd_hwdep 12552 1 snd_hda_intel
snd_seq_dummy 5764 0
snd_seq_oss 38912 0
snd_seq_midi 10688 0
snd_rawmidi 29856 1 snd_seq_midi
snd_seq_midi_event 10112 2 snd_seq_oss,snd_seq_midi
snd_seq 63232 6
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_mid i_event
snd_timer 27912 2 snd_pcm,snd_seq
snd_seq_device 10644 5
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi ,snd_seq
snd 70856 17
snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,sn d_hwdep,snd_seq_dummy,snd_seq_oss,snd_rawmidi,snd_ seq,snd_timer,snd_seq_device
soundcore 10400 1 snd


/******** 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
 
Old 06-30-2008, 11:14 PM
"Brian Johnson"
 
Default 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

x86_64 GNU/Linux



/******** In Gentoo ***********/

# lsmod | grep snd

Module * * * * * * * * *Size *Used by

snd_seq_oss * * * * * *28992 *0

snd_seq_device * * * * *6160 *1 snd_seq_oss

snd_seq_midi_event * * *6912 *1 snd_seq_oss

snd_seq * * * * * * * *47968 *4 snd_seq_oss,snd_seq_midi_event

snd_pcm_oss * * * * * *37600 *0

snd_mixer_oss * * * * *14592 *1 snd_pcm_oss

snd_hda_intel * * * * 405080 *2

snd_pcm * * * * * * * *70984 *2 snd_pcm_oss,snd_hda_intel

snd_timer * * * * * * *19792 *2 snd_seq,snd_pcm

snd_page_alloc * * * * *8144 *2 snd_hda_intel,snd_pcm

snd_hwdep * * * * * * * 7816 *1 snd_hda_intel

snd * * * * * * * * * *50632 *13

snd_seq_oss,snd_seq_device,snd_seq,snd_pcm_oss,snd _mixer_oss,snd_hda_intel,snd_pcm,snd_timer,snd_hwd ep

soundcore * * * * * * * 6688 *1 snd





/******** In Ubuntu ***********/

$ lsmod | grep snd

snd_hda_intel * * * * 440408 *3

snd_pcm_oss * * * * * *47648 *0

snd_mixer_oss * * * * *20224 *1 snd_pcm_oss

snd_pcm * * * * * * * *92168 *2 snd_hda_intel,snd_pcm_oss

snd_page_alloc * * * * 13200 *2 snd_hda_intel,snd_pcm

snd_hwdep * * * * * * *12552 *1 snd_hda_intel

snd_seq_dummy * * * * * 5764 *0

snd_seq_oss * * * * * *38912 *0

snd_seq_midi * * * * * 10688 *0

snd_rawmidi * * * * * *29856 *1 snd_seq_midi

snd_seq_midi_event * * 10112 *2 snd_seq_oss,snd_seq_midi

snd_seq * * * * * * * *63232 *6

snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_mid i_event

snd_timer * * * * * * *27912 *2 snd_pcm,snd_seq

snd_seq_device * * * * 10644 *5

snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi ,snd_seq

snd * * * * * * * * * *70856 *17

snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,sn d_hwdep,snd_seq_dummy,snd_seq_oss,snd_rawmidi,snd_ seq,snd_timer,snd_seq_device

soundcore * * * * * * *10400 *1 snd





/******** 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
 
Old 07-02-2008, 05:42 AM
"Chuanwen Wu"
 
Default 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
 
Old 07-02-2008, 05:42 AM
"Chuanwen Wu"
 
Default 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
 

Thread Tools




All times are GMT. The time now is 10:03 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org