Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Help, if you have Asus V2S - Alsa sound working
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
jasn
Guru
Guru


Joined: 05 May 2005
Posts: 439
Location: Maryland, US

PostPosted: Fri Jan 11, 2008 7:01 am    Post subject: [Solved] Help, if you have Asus V2S - Alsa sound working Reply with quote

I've got an Asus V2S, cousin to my Asus V1S, and I cannot get alsa sound to work no matter what I do. I have it working perfectly on the V1S, and sound on Windows XP works fine on both laptops. The recommended alsa config file option setting of model=lenovo from one working linux config, doesn't work for me. Although after reading through bunches of stuff, it seems that the proper setting for the Realtek 660VD codec in both the V1S and V2S is, either 3stack-660 or 3-stack-660-digout. After testing all three with the V1S, and seeing that they all work, I decided to stick with 3-stack-660-digout.

However with the V2S, it's the similar problem to what others have reported; modules build and load fine; no error messages; just no sound output. That would suggest something to do with output lines and headphone jacks, but I've tried plugging headphones into every port on the laptop, both while docked and undocked; checking and unchecking the headphone and IEC958 options in the Volume Control many times; all without any effect. I'm kind of at my wit's end, so I'm hoping that someone who actually has this working on a V2S, can share with me the entire contents of their /etc/modules.d/alsa file. Also if you can let me know what alsa-driver, (I've tried 1.0.15 and the Gentoo 9999 versions), and kernel version, (I'm on 2.6.23-r5), along with what BIOS version you are running (I tried downgrading from 300 to 206, which didn't change anything).

Here's the output of aadebug
Code:
ALSA Audio Debug v0.1.0 - Fri Jan 11 01:23:25 EST 2008
http://alsa.opensrc.org/aadebug
http://www.gnu.org/licenses/gpl.txt

Kernel ----------------------------------------------------
Linux asus-v2s 2.6.23-gentoo-r5 #14 SMP Thu Jan 10 09:37:16 EST 2008 i686 Intel(R) Core(TM)2 Duo CPU T7700 @ 2.40GHz GenuineIntel GNU/Linux

Loaded Modules --------------------------------------------
snd_pcm_oss            29984  0
snd_mixer_oss          11520  1 snd_pcm_oss
snd_seq_oss            25748  0
snd_seq_midi_event      4096  1 snd_seq_oss
snd_seq                34972  4 snd_seq_oss,snd_seq_midi_event
snd_seq_device          4876  2 snd_seq_oss,snd_seq
snd_hda_intel         217888  1
snd_pcm                48388  2 snd_pcm_oss,snd_hda_intel
snd_timer              13700  2 snd_seq,snd_pcm
snd_page_alloc          6024  2 snd_hda_intel,snd_pcm
snd_hwdep               5380  1 snd_hda_intel
snd                    30740  11 snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_pcm,snd_timer,snd_hwdep

Proc Config -----------------------------------------------
CONFIG_SOUND=y
# CONFIG_SND is not set
# CONFIG_SOUND_PRIME is not set

Modprobe Conf ---------------------------------------------
alias char-major-116-* snd
alias char-major-14-* soundcore
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
options snd cards_limit=1
options snd-hda-intel model=3stack-660-digout

Proc Asound -----------------------------------------------
Advanced Linux Sound Architecture Driver Version 1.0.15.
Compiled on Jan 10 2008 for kernel 2.6.23-gentoo-r5 (SMP).
 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xfebf8000 irq 23
  0: [ 0]   : control
  1:        : sequencer
  4: [ 0- 0]: hardware dependent
  5: [ 0- 1]: hardware dependent
 16: [ 0- 0]: digital audio playback
 17: [ 0- 1]: digital audio playback
 22: [ 0- 6]: digital audio playback
 24: [ 0- 0]: digital audio capture
 30: [ 0- 6]: digital audio capture
 33:        : timer
00-01: HDA Codec 1
00-00: HDA Codec 0
00-06: Si3054 Modem : Si3054 Modem : playback 1 : capture 1
00-01: ALC861VD Digital : ALC861VD Digital : playback 1
00-00: ALC861VD Analog : ALC861VD Analog : playback 1 : capture 2
Client info
  cur  clients : 2
  peak clients : 2
  max  clients : 192

Client   0 : "System" [Kernel]
  Port   0 : "Timer" (Rwe-)
  Port   1 : "Announce" (R-e-)
    Connecting To: 15:0
Client  15 : "OSS sequencer" [Kernel]
  Port   0 : "Receiver" (-we-)
    Connected From: 0:1

Dev Snd ---------------------------------------------------
controlC0  hwC0D1    pcmC0D0p  pcmC0D6c  seq
hwC0D0      pcmC0D0c  pcmC0D1p  pcmC0D6p  timer

CPU -------------------------------------------------------
model name   : Intel(R) Core(TM)2 Duo CPU     T7700  @ 2.40GHz
cpu MHz      : 2401.000
model name   : Intel(R) Core(TM)2 Duo CPU     T7700  @ 2.40GHz
cpu MHz      : 2401.000

RAM -------------------------------------------------------
MemTotal:      3098516 kB
SwapTotal:     1052216 kB

Hardware --------------------------------------------------
00:00.0 Host bridge: Intel Corporation Mobile Memory Controller Hub (rev 03)

I see that the aadebug script does a "cat /proc/asound/{version,cards,devices,hwdep,pcm,seq/clients}" to come up with its Proc Asound information. I just found it interesting that when I cat the codec I get the following;
Code:
cat /proc/asound/card0/codec#0
Codec: Realtek ALC660-VD
Address: 0
Vendor Id: 0x10ec0660
Subsystem Id: 0x10431633
Revision Id: 0x100001

and the aadebug Proc Asound cat command comes up with the ALC861VD, which this laptop does not have. I don't know if that's significant or not. Also remember that the exact same hardware is in my V1S and it's working fine. As a matter of fact the aadebug output from the working sound on my V1S is exactly the same as the one from my non-working V2S.

Thanks..


Last edited by jasn on Fri Jan 11, 2008 8:06 pm; edited 1 time in total
Back to top
View user's profile Send private message
jasn
Guru
Guru


Joined: 05 May 2005
Posts: 439
Location: Maryland, US

PostPosted: Fri Jan 11, 2008 8:05 pm    Post subject: Reply with quote

Well I finally got it to work by trying every combination I could think of. Finally here's the combination that worked;

Kernel source = gentoo-sources-2.6.23-r5
Alsa driver = in-kernel alsa sources (not alsa-driver!). Just select Intel HDA driver under the appropriate kernel configuration menu.
/etc/modules.d/alsa configuration = options snd-hda-intel model=lenovo

Just like the Gentoo wiki indicates. (Although I couldn't get it work at all with the external alsa-driver). When I tried the alsa-documentation recommended models for this codec, 3stack-660 and 3stack-660-digout, I got no sound. When I changed it to lenovo, everything worked.

What's strange is that with my V1S I can use asus, lenovo or either of the 3stack-660 model configurations, and sound works, (sort of). I'm kind of suspicious that the sound would work with NO model configuration information too, although I didn't try it. I have stuck with 3stack-660-digout based on the alsa docs, and while I do have sound output from both the speakers and the headphone/external jack on the laptop (not on the docking station though), plugging in my desktop speakers, or headphones, into the headphone jack, does not mute the laptop speakers. On the V2S, once I was using the in-kernel alsa and configuring it with model=lenovo, using the laptop external speaker port (but again NOT the docking station sound port), for headphones or speakers, DOES mute the laptop speakers. Both systems do not save the volume setting when rebooting though, (always muted on reboots), so it's a mixed bag.

Anyway I was looking for an excuse to revert the in-kernel alsa sources, and I guess this is a good a time as any.. I've reconfigured the V1S to use the in-kernel alsa and to use model=lenovo, and it works just like it did before with using the alsa-driver. I get sound output but no laptop speaker muting when plugging in external speakers. <sigh>.. [sarcasm/]Well it's not like these laptops are that identical anyway.[/sarcasm] They do have different webcams (linux-uvc for V2S, and stk11xx for V1S). At least they have the same bluetooth and WiFi. In case anyone wants to compare, here's my /etc/modules.d/alsa for both laptops;
Code:
# Alsa kernel modules' configuration file.

# ALSA portion
alias char-major-116 snd

# OSS/Free portion
alias char-major-14 soundcore

##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
##  ALSA portion
## alias snd-card-0 snd-interwave
## alias snd-card-1 snd-ens1371
alias snd-card-0 snd-hda-intel

##  OSS/Free portion
## alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
alias sound-slot-0 snd-card-0

# OSS/Free portion - card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

##  OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

# Set this to the correct number of cards.
options snd cards_limit=1

# Set other options here.
options snd-hda-intel model=lenovo
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum