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

Christian Gleerup cromozon at swn.nu
Sat Mar 28 10:19:03 CET 2015


http://www.alsa-project.org/db/?f=df46a9ee01e04dde11b194e0278c9f22594540d0

> You need to issue get_pin_sense  after set_pin_sense of the same node to
> get the impedance measurement of that node before you test another node

Sorry, I missed that, here is the output again 

Nothing plugged in
../hdajacksensetest/hdajacksensetest -a; for i in 0x14 0x15 0x15; do ./hda-verb /dev/snd/hwC0D0 $i SET_PIN_SENSE 0 nid ;./hda-verb /dev/snd/hwC0D0 $i GET_PIN_SENSE 0 nid; done
Pin 0x14 (Green Headphone, Rear side): present = No
Pin 0x15 (Not connected): present = No
Pin 0x16 (Not connected): present = No
Pin 0x17 (Not connected): present = No
Pin 0x18 (Internal Mic): present = No
Pin 0x19 (Not connected): present = No
Pin 0x1a (Not connected): present = No
Pin 0x1b (Not connected): present = No
Pin 0x1c (Not connected): present = No
Pin 0x1d (Not connected): present = No
Pin 0x1e (Internal SPDIF Out, Mobile-In): present = No
Pin 0x1f (Not connected): present = No
nid = 0x14, verb = 0x709, param = 0x0
value = 0x0
nid = 0x14, verb = 0xf09, param = 0x0
value = 0x7fffffff
nid = 0x15, verb = 0x709, param = 0x0
value = 0x0
nid = 0x15, verb = 0xf09, param = 0x0
value = 0x7fffffff
nid = 0x15, verb = 0x709, param = 0x0
value = 0x0
nid = 0x15, verb = 0xf09, param = 0x0
value = 0x7fffffff

Headphones plugged in
../hdajacksensetest/hdajacksensetest -a; for i in 0x14 0x15 0x15; do ./hda-verb /dev/snd/hwC0D0 $i SET_PIN_SENSE 0 nid ;./hda-verb /dev/snd/hwC0D0 $i GET_PIN_SENSE 0 nid; done
Pin 0x14 (Green Headphone, Rear side): present = No
Pin 0x15 (Not connected): present = No
Pin 0x16 (Not connected): present = No
Pin 0x17 (Not connected): present = No
Pin 0x18 (Internal Mic): present = No
Pin 0x19 (Not connected): present = No
Pin 0x1a (Not connected): present = No
Pin 0x1b (Not connected): present = No
Pin 0x1c (Not connected): present = No
Pin 0x1d (Not connected): present = No
Pin 0x1e (Internal SPDIF Out, Mobile-In): present = No
Pin 0x1f (Not connected): present = No
nid = 0x14, verb = 0x709, param = 0x0
value = 0x0
nid = 0x14, verb = 0xf09, param = 0x0
value = 0x7fffffff
nid = 0x15, verb = 0x709, param = 0x0
value = 0x0
nid = 0x15, verb = 0xf09, param = 0x0
value = 0x7fffffff
nid = 0x15, verb = 0x709, param = 0x0
value = 0x0
nid = 0x15, verb = 0xf09, param = 0x0
value = 0x7fffffff

mic plugged in
../hdajacksensetest/hdajacksensetest -a; for i in 0x14 0x15 0x15; do ./hda-verb /dev/snd/hwC0D0 $i SET_PIN_SENSE 0 nid ;./hda-verb /dev/snd/hwC0D0 $i GET_PIN_SENSE 0 nid; done
Pin 0x14 (Green Headphone, Rear side): present = No
Pin 0x15 (Not connected): present = No
Pin 0x16 (Not connected): present = No
Pin 0x17 (Not connected): present = No
Pin 0x18 (Internal Mic): present = No
Pin 0x19 (Not connected): present = No
Pin 0x1a (Not connected): present = No
Pin 0x1b (Not connected): present = No
Pin 0x1c (Not connected): present = No
Pin 0x1d (Not connected): present = No
Pin 0x1e (Internal SPDIF Out, Mobile-In): present = No
Pin 0x1f (Not connected): present = No
nid = 0x14, verb = 0x709, param = 0x0
value = 0x0
nid = 0x14, verb = 0xf09, param = 0x0
value = 0x7fffffff
nid = 0x15, verb = 0x709, param = 0x0
value = 0x0
nid = 0x15, verb = 0xf09, param = 0x0
value = 0x7fffffff
nid = 0x15, verb = 0x709, param = 0x0
value = 0x0
nid = 0x15, verb = 0xf09, param = 0x0
value = 0x7fffffff



> > It looks like the pin connection map as below:
> >
> > 0x14: external mic in jack
> > 0x15: external headphone jack
> > 0x18: internal mic
> > 0x1a: internal speaker
> > 0x1e: internal SPDIF Out
> 
> If sound work with the previous version ,
> 
> Either 0x14, 0x15 and 0x16 are the headphone and speaker
> 
> So internal mic is 0x1a and mic jack is 0x18 if hda jack sense test report
> present when you plug the mic jack
> 
> https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda?id=29e3fdcc84e5da04cb7e6a36fee0a772c91d3b28
In my current (4.0.0-rc5), the option asus, asus-dig and asus-dig2 did not help with the sound,
I have not applied above patch, I am not sure if or how I should do this.

> - * ALC880 ASUS model
> - *
> - * DAC: HP/Front = 0x02 (0x0c), Surr = 0x03 (0x0d), CLFE = 0x04 (0x0e)
> - * Pin assignment: HP/Front = 0x14, Surr = 0x15, CLFE = 0x16,
> - *  Mic = 0x18, Line = 0x1a
> - */
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel at alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel





More information about the Alsa-devel mailing list