Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Dan Aloni <dan@kernelim.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: on-board sound on ASUS TRX-40
Date: Thu, 22 Oct 2020 11:14:03 +0200	[thread overview]
Message-ID: <s5hv9f2bp2c.wl-tiwai@suse.de> (raw)
In-Reply-To: <20201022081746.GA1118484@gmail.com>

On Thu, 22 Oct 2020 10:17:46 +0200,
Dan Aloni wrote:
> 
> Hi,
> 
> The on-board earphone jack does not seem to work on an ASUS TRX-40
> board. Here's the alsa-info.sh output:
> 
> http://alsa-project.org/db/?f=7a94c1b1eec4b2e623c75770364ec43c33d6c95c
> 
> Tried coding up the patch below, but it _does not_ fix the problem. It
> does shows the earphone as 'plugged' though. Verified that it's not an
> hardware issue via Windows.
> 
> Please instruct on how to debug this further.

Did you try to add connector_map, too?


Takashi

> 
> Thanks!
> 
> diff --git a/sound/usb/mixer_maps.c b/sound/usb/mixer_maps.c
> index 9af7aa93f6fa..ab0f036f385e 100644
> --- a/sound/usb/mixer_maps.c
> +++ b/sound/usb/mixer_maps.c
> @@ -568,6 +568,10 @@ static const struct usbmix_ctl_map usbmix_ctl_maps[] = {
>                 .map = trx40_mobo_map,
>                 .connector_map = trx40_mobo_connector_map,
>         },
> +       {       /* ASUS TRX40-PRO */
> +               .id = USB_ID(0x0b05, 0x1918),
> +               .map = trx40_mobo_map,
> +       },
>         {       /* Asrock TRX40 Creator */
>                 .id = USB_ID(0x26ce, 0x0a01),
>                 .map = trx40_mobo_map,
> 
> 
> -- 
> Dan Aloni
> 

  reply	other threads:[~2020-10-22  9:15 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-22  8:17 on-board sound on ASUS TRX-40 Dan Aloni
2020-10-22  9:14 ` Takashi Iwai [this message]
2020-10-22 10:18   ` Dan Aloni
2020-10-22 10:24     ` Takashi Iwai
2020-10-22 12:33       ` Dan Aloni
2020-10-22 12:36         ` Takashi Iwai
2020-10-22 12:51           ` Dan Aloni
2020-10-22 12:57             ` Takashi Iwai
2020-10-22 15:49               ` Dan Aloni
2020-10-22 16:09                 ` Takashi Iwai
2020-10-22 18:08                   ` Dan Aloni
  -- strict thread matches above, loose matches on Subject: below --
2020-11-04 11:03 apt-ghetto

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=s5hv9f2bp2c.wl-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=dan@kernelim.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox