Re: [gentoo-user] speakers have no sound in Gentoo, but work in Ubuntu

2008-07-01 Thread Chuanwen Wu
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



[gentoo-user] speakers have no sound in Gentoo, but work in Ubuntu

2008-06-30 Thread Chuanwen Wu
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_oss28992  0
snd_seq_device  6160  1 snd_seq_oss
snd_seq_midi_event  6912  1 snd_seq_oss
snd_seq47968  4 snd_seq_oss,snd_seq_midi_event
snd_pcm_oss37600  0
snd_mixer_oss  14592  1 snd_pcm_oss
snd_hda_intel 405080  2
snd_pcm70984  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
snd50632  13
snd_seq_oss,snd_seq_device,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_pcm,snd_timer,snd_hwdep
soundcore   6688  1 snd


/ In Ubuntu ***/
$ lsmod | grep snd
snd_hda_intel 440408  3
snd_pcm_oss47648  0
snd_mixer_oss  20224  1 snd_pcm_oss
snd_pcm92168  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_oss38912  0
snd_seq_midi   10688  0
snd_rawmidi29856  1 snd_seq_midi
snd_seq_midi_event 10112  2 snd_seq_oss,snd_seq_midi
snd_seq63232  6
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_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
snd70856  17
snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_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: 

Re: [gentoo-user] speakers have no sound in Gentoo, but work in Ubuntu

2008-06-30 Thread Brian Johnson
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 [EMAIL PROTECTED] 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_oss28992  0
 snd_seq_device  6160  1 snd_seq_oss
 snd_seq_midi_event  6912  1 snd_seq_oss
 snd_seq47968  4 snd_seq_oss,snd_seq_midi_event
 snd_pcm_oss37600  0
 snd_mixer_oss  14592  1 snd_pcm_oss
 snd_hda_intel 405080  2
 snd_pcm70984  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
 snd50632  13

 snd_seq_oss,snd_seq_device,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_pcm,snd_timer,snd_hwdep
 soundcore   6688  1 snd


 / In Ubuntu ***/
 $ lsmod | grep snd
 snd_hda_intel 440408  3
 snd_pcm_oss47648  0
 snd_mixer_oss  20224  1 snd_pcm_oss
 snd_pcm92168  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_oss38912  0
 snd_seq_midi   10688  0
 snd_rawmidi29856  1 snd_seq_midi
 snd_seq_midi_event 10112  2 snd_seq_oss,snd_seq_midi
 snd_seq63232  6
 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_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
 snd70856  17

 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_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