Re: [Alsa-user] Speaker no sound - ALC662 on 51NB.COM's X62 board

2016-10-24 Thread Quintus Tim Leung
Hi,

I have the chance to re-visit the issue and get more information. From
the circuit diagram, we know that the speaker amp is controlled by a
GPIO pin. We can turn it on by using hda-verb, i.e.

# -- X62 ALC662 GPIO to turn on speaker amp --
/usr/bin/hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_MASK 0x01
/usr/bin/hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DIRECTION 0x01
/usr/bin/hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0x00

Could it be possible to associate the GPIO with the master mute or
speaker mute function?
Any recommendation is much appreciated. I would like to have the
direction so that I could work out the patch. e.g. An example code
snippet would be very helpful.

Thank you.

Quintus


On Fri, Aug 5, 2016 at 3:07 PM, Quintus Tim Leung  wrote:
> Hello all,
>
> I am using Debian sid on an X62 motherboard developed by a small group
> from 51nb.com.
> The X62 board is to replace the Thinkpad X60/X61 motherboard with
> i7-5600U / 5500U CPU and DDR3. The audio part is built with Intel HDA
> and Realtek ALC662 Rev3 codec with PAM8403 amplifier.
>
> However, the speaker has no sound under Linux.  (The RealTek Windows
> driver is working well on Windows 10, by the way.)  I am sure that the
> speaker is not muted in alsamixer. The headphone jack output is
> working well. I tried hda-analyzer to change EAPD but it didn't help.
>
> I would like to have your advice for the direction to fix the issue.
> What kind of quirk should be applied? Attached are the output of
> alsa-info.sh and kernel log for your reference.
>
> If further information is required, I could contact the X62 hardware /
> BIOS development team in China.
> Thanks very much.
>
> Best regards,
> Quintus
>
> p.s.
> -- My apology. I should post this in plain text format --

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] Speaker no sound - ALC662 on 51NB.COM's X62 board

2016-08-05 Thread Quintus Tim Leung
Hello all,

I am using Debian sid on an X62 motherboard developed by a small group
from 51nb.com.
The X62 board is to replace the Thinkpad X60/X61 motherboard with
i7-5600U / 5500U CPU and DDR3. The audio part is built with Intel HDA
and Realtek ALC662 Rev3 codec with PAM8403 amplifier.

However, the speaker has no sound under Linux.  (The RealTek Windows
driver is working well on Windows 10, by the way.)  I am sure that the
speaker is not muted in alsamixer. The headphone jack output is
working well. I tried hda-analyzer to change EAPD but it didn't help.

I would like to have your advice for the direction to fix the issue.
What kind of quirk should be applied? Attached are the output of
alsa-info.sh and kernel log for your reference.

If further information is required, I could contact the X62 hardware /
BIOS development team in China.
Thanks very much.

Best regards,
Quintus

p.s.
-- My apology. I should post this in plain text format --


alsa-info.txt.fP86RYRlX6
Description: Binary data


kern.log
Description: Binary data
--
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] Speaker no sound - ALC662 on 51NB.COM's X62 board

2016-08-04 Thread Quintus Tim Leung
Hello all,

I am using Debian sid on an X62 motherboard developed by a small group from
51nb.com.
The X62 board is to replace the Thinkpad X60/X61 motherboard with i7-5600U
/ 5500U CPU and DDR3. The audio part is built with Intel HDA and Realtek
ALC662 Rev3 codec with PAM8403 amplifier.

However, the speaker has no sound under Linux.  (The RealTek Windows driver
is working well on Windows 10, by the way.)  I am sure that the speaker is
not muted in alsamixer. The headphone jack output is working well. I tried
hda-analyzer to change EAPD but it didn't help.


I would like to have your advice for the direction to fix the issue. What
kind of quirk should be applied? Attached are the output of alsa-info.sh
and kernel log for your reference.

If further information is required, I could contact the X62 hardware / BIOS
development team in China.
Thanks very much.

Best regards,
Quintus


alsa-info.txt.fP86RYRlX6
Description: Binary data


kern.log
Description: Binary data
--
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user