samueldr / wip-pinebook-pro

More information on the Unofficial NixOS Wiki
https://nixos.wiki/wiki/NixOS_on_ARM/PINE64_Pinebook_Pro
65 stars 18 forks source link

Audio issues #12

Open samueldr opened 4 years ago

samueldr commented 4 years ago

Do you all have issues with the audio? I haven't gotten any audio out of it yet. It shows the card and shows that it's indeed providing sound from the applications though pulseaudio, but nothing is heard.

Originally posted by @tgunnoe in https://github.com/samueldr/wip-pinebook-pro/issues/11#issuecomment-648381353

samueldr commented 4 years ago

Last I tried, audio worked fine, I haven't used the pinebook pro much since early February, I'm not sure I validated that audio worked with the last kernel upgrade. The audio setup on the Pinebook pro is weird, it may also be that the alsa state from a fixup + previous kernel are enough to make it work on the latest upgrade, but a clean slate kernel doesn't work.

tgunnoe commented 4 years ago

I forgot to report back on this. The audio works! I needed to mess around with the alsamixer settings. It was showing up as casting audio in pavucontrol but no actual sound. And when I got it working plugging in headphones with the 3.5mm jack it played audio through both the laptop and the headphones. The setting that made the most difference (from 0 audio to something) was DAC Source Mux -> LDATA to LDAC, RDATA to RDAC.

I also set sound.extraConfig to this https://gitlab.manjaro.org/manjaro-arm/packages/community/pinebookpro-post-install/blob/master/asound.state but I can't verify that it helped me in any way except add the config file to /etc

samueldr commented 4 years ago

The reset-sound.rb script should do the equivalent of that asound.state, AFAIUI. Well, it is not equivalent because I authored it on my own without having a state file to work from.

Though updates and upgrades of audio stuff on the kernel side of things may have changed things enough that the script doesn't work anymore with more recent kernel updates.

Once the recent kernels work with #13 I'll probably end up looking into it, if no one looks into it beforehand.

samueldr commented 2 years ago

I deleted the setup script recently...

But removing the asound.state file shows that it's probably still needed for initial setup :/.

samueldr commented 2 years ago

Issues still present, reverted.

nagalun commented 1 year ago

I fixed my audio issues by unmuting "Left Headphone Mixer Left DAC" and "Right Headphone Mixer Right DAC" on alsamixer. No other modifications were necessary and now both speakers and headphones work (speakers get muted correctly when plugging in headphones).