[alsa-devel] getting the sound to work on my asus m6s00v

Christian Gleerup cromozon at swn.nu
Fri Mar 20 17:48:39 CET 2015


> > The internal mic also works.
> >
> > but; I am a bit puzled, because I tried to comment out 'options
> snd-hda-intel model=3stack-digout' and did a powercycle (power off)...
> > and now the sound still works, so it seems the soundcard was woken from
> some deepsleep.
> > The machine have been turned of for many (4/5) years...
> >
> > Anyway since the soundcard now is working with my current kernel without
> the extra options, I am unsure if trying the newest vanilla kernel would
> make any sense?
> >
> > Any recommendations?
> 
> If it is a netbook with one jack which can be used as headphone or mic

Not a neetbook, two jacks, one Mic, and one S/PDIF
 
> The best way is to measure the impedance of the jack to determince  HP or
> mic and swtich pin ctls to OUT or IN as pincap support ImpSense
> 
> Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
>   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
>   Amp-Out vals:  [0x00 0x00]
>   Pincap 0x0000003f: IN OUT HP Detect Trigger ImpSense
>   Pin Default 0x0121411f: [Jack] HP Out at Ext Rear
>     Conn = 1/8, Color = Green
>     DefAssociation = 0x1, Sequence = 0xf
>     Misc = NO_PRESENCE
>   Pin-ctls: 0xc0: OUT HP
>   Unsolicited: tag=00, enabled=0
>   Connection: 1
>      0x0c
> 
> Try
> 
> hda-verb  /dev/snd/hwC0D0 0x14 SET_PIN_SENSE 0
> 
> hda-verb /dev/snd/hwC0D0 0x14 GET_PIN_SENSE 0
> 
> and check the returned values when you plug hp and mic are different

1) Nothing plugged in:
./hda-verb  /dev/snd/hwC0D0 0x14 SET_PIN_SENSE 0
nid = 0x14, verb = 0x709, param = 0x0
value = 0x0

./hda-verb /dev/snd/hwC0D0 0x14 GET_PIN_SENSE 0
nid = 0x14, verb = 0xf09, param = 0x0
value = 0x7fffffff

2) Headphones plugged in in S/PDIF
./hda-verb  /dev/snd/hwC0D0 0x14 SET_PIN_SENSE 0
nid = 0x14, verb = 0x709, param = 0x0
value = 0x0

./hda-verb /dev/snd/hwC0D0 0x14 GET_PIN_SENSE 0
nid = 0x14, verb = 0xf09, param = 0x0
value = 0x7fffffff

3) microphone plugged in 'Mic'
./hda-verb  /dev/snd/hwC0D0 0x14 SET_PIN_SENSE 0
nid = 0x14, verb = 0x709, param = 0x0
value = 0x0

./hda-verb /dev/snd/hwC0D0 0x14 GET_PIN_SENSE 0
nid = 0x14, verb = 0xf09, param = 0x0
value = 0x7fffffff





More information about the Alsa-devel mailing list