[Bug 2049327] Re: `alsactl init` unable to initialze audio device on G700

Sebastien Bacher 2049327 at bugs.launchpad.net
Tue Jan 16 10:30:23 UTC 2024


Thanks, I've uploaded to N/M/J now after adding the bug reference to the
changelog (please try to think about doing that next time), I don't
think it makes sense to SRU to Lunar at this point unless you had an
explicit need for it?

I've also changed the J version to be .10 instead of .9 but let me know
if there was a reason you did skip one revision

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2049327

Title:
  `alsactl init` unable to initialze audio device on G700

Status in alsa-ucm-conf package in Ubuntu:
  Fix Committed

Bug description:
  [Impact]
  This bug cause "alsactl init" command unable to initialize mt8390-evk correctly and print these error message:

  ```
  ceqa at ubuntu:/home/ceqa$ alsactl init
  alsa-lib main.c:761:(execute_sequence) unable to execute cset 'name='DP_OUT_MUX' Disconnect'
  alsa-lib main.c:2373:(set_boot_user) Unable to execute boot sequence
  Found hardware: "mt8390-evk" "" "" "" ""
  Hardware is initialized using a generic method
  ```

  Thus, the audio devices on MediaTek G700 do not work.

  This patch fix this bug by correcting 'DP_OUT_MUX' to 'DPTX_OUT_MUX'.

  [ Test Plan ]
  Reproduce:
  1. Install Ubuntu 22.04 (jammy) on a MediaTek G700 device
  2. Run `alsactl init` on MediaTek G700 device
  3. alsactl print error message "unable to execute cset 'name='DP_OUT_MUX' Disconnect'" and audio devices do not work.

  Verify:
  By applying this patch, alsactl does not print this error message and audio devices work.

  
  [Where problems could occur]
  This patch fix the typo in ucm files, and it affects the device init process on Mediatek Genio boards.

  
  [ Other Info ]
  There is a typo in 'd/p/0001-Add-initial-support-for-MediaTek-Genio-boards.patch'.

  The name of the flag that controls the audio output of the DP port is
  not 'DP_OUT_MUX'. It is 'DPTX_OUT_MUX'.

  MediaTek fix this issue in the PR in upstream:
  https://github.com/alsa-project/alsa-ucm-conf/compare/243f2d60740e41a0cfb7779388c17e4a00e1bfe9..a55f840ab2b13f32cb55cd1730933ef0f5a96079

  
  mt8390-evk (G700) Pull Request: (Still under review)
  https://github.com/alsa-project/alsa-ucm-conf/pull/321

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-ucm-conf/+bug/2049327/+subscriptions




More information about the Ubuntu-sponsors mailing list