PrawnOS icon indicating copy to clipboard operation
PrawnOS copied to clipboard

Asus C201p Sound Issue

Open Wooty-B opened this issue 1 year ago • 14 comments

I have been playing around with PrawnOS and Cadmium, trying to understand the devices on this platform. When I installed the most recent version of PrawnOS, I noticed sound was not working out-of-the-box and started browsing these two issue trackers. Need to see if other C201p owners are having sound issues on PrawnOS, and if so, the below is the remedy to this (Thanks, @peter-marshall5!!!):

cd /usr/share/alsa/ucm2
cp -r Rockchip/max98090/ VEYRONI2S/
mv VEYRONI2CS/max98090.conf VEYRONI2S/VEYRONI2S.conf

If the above doesn't start working after a reboot:

nano /usr/share/alsa/ucm2/VEYRONI2S/VEYRONI2S.conf

Syntax 2

Comment "Rockchip Veyron card"

SectionUseCase."HiFi" {
        File "/VEYRONI2S/HiFi.conf"
        Comment "Default"
}

Wooty-B avatar Sep 15 '22 02:09 Wooty-B

I've been experiencing a certain form of this issue myself - audio through headphones but not through the speakers. For info, I'm using i3 window manager and rather than one of the graphical environments offered during the PrawnOS installation, and pulse for audio.

I'll try your fix when I'm home - thank you for adding this information.

cocojamb0 avatar Oct 20 '22 11:10 cocojamb0

Don't hesitate to update with your results. I will be actively working on several ARM projects this weekend and more than happy to help troubleshoot through this.

Wooty-B avatar Oct 20 '22 18:10 Wooty-B

Hi again - I tried out your fix! I'm still not getting audio through the speakers unfortunately, although the audio through the 3.5mm jack connector is still a-ok and capable of driving my Beyerdynamic DT-150 headphones! I'm willing to accept that the speakers could be fried - I didn't actually test them properly before flashing Libreboot and installing PrawnOS...

Any advice on where to start looking? Need any logs?

Thanks for being willing to help!

cocojamb0 avatar Oct 21 '22 07:10 cocojamb0

Just downloaded and installed the latest pre-built PrawnOS image.

  1. I can confirm I have no sound through the speakers (Installed default XFCE).
  2. I know speakers worked previously so this shouldn't be a hardware issue.
  3. I tried both fixes from @Wooty-B - Unfortunately still no sound.

I also looked through the InstallingDebianOn documentation and they note the upcoming Debian Bookworm ships with a UCM profile for the soundcard in the C201 (plus an updated .conf file is available for HDMI audio), so rebasing on Bookworm or backporting some configurations might help to resolve this issue.

gregordinary avatar Oct 23 '22 00:10 gregordinary

Using the updated ucm2 conf from the ALSA repo seems to resolve the speaker issue here, may be worth manually adding it to the image until the eventual rebase to bookworm

Stormwoodpecker avatar Nov 04 '22 19:11 Stormwoodpecker

Using the updated ucm2 conf from the ALSA repo seems to resolve the speaker issue here, may be worth manually adding it to the image until the eventual rebase to bookworm

For my own clarity, are you copying the conf listed above and placing it in /usr/share/alsa/ucm2 ? I tried that and sadly it did not work for me, though headphone audio still worked.

cocojamb0 avatar Nov 07 '22 12:11 cocojamb0

Using the updated ucm2 conf from the ALSA repo seems to resolve the speaker issue here, may be worth manually adding it to the image until the eventual rebase to bookworm

For my own clarity, are you copying the conf listed above and placing it in /usr/share/alsa/ucm2 ? I tried that and sadly it did not work for me, though headphone audio still worked.

Yes, using that config. I think the only important deviation is that I'm using mainline kernel 5.15.76 instead of the default 5.15.6.

There may have been relevant changes to ucm2 so it may be worth trying against a newer kernel ver and see if it can be repro'd

Stormwoodpecker avatar Nov 07 '22 12:11 Stormwoodpecker

I can confirm that the updated conf is working on Linux 6.0. Although I'm still having the issue where a reboot (or switching the sound card profile to "Off" and then back to "Default") is required for the internal microphone to work again after switching to the headset microphone.

3xfc avatar Nov 07 '22 18:11 3xfc