UPDATED (June 2021): 17-distro multi-boot image for Pinephone (incl. 3GiB variant)
(10-18-2021, 08:25 PM)D34DP1X3L Wrote: Sorry if there is a thread about this somewhere else. Currently using pboot with the Megi's latest kernel , I for the life of me can't figure out how to get sound to output properly ... If someone can point me to the right direction of what I'm missing any help would be greatly appricated.

created asound.conf file in arch. setting
defaluts.pcm.card 1
defaults.ctl.card 1

complied Megi's latest callaudio program , tried running it with
callaudio -s and callaudio s
all I'm getting is alot of stuff that is
is defined in state but not present on card ...
alsa mixer is showing pinephone is selected and I have lineout unmuted , tried speaker test ... still no sound. let me know of anything that might help or I have missed
Cheers. Also please let me know of the correct place to post to if this is the worng place. Love the Megi kernel btw it boots so fast... just want to get around this sound issue.
Call audio always uses /dev/snd/controlC0 and that may not be the right "audio card" if you have more than one.

If you have more /dev/snd/controlC# files you can try changing callaudio.c code to a different one.

EDIT: I've added card autodetection to the program: https://megous.com/git/pinephone-call-audio/ So maybe try the new code. Smile

Anyway, that code is mostly useful for phone call audio setup. For normal playback/recording, you'd have to extend it a bit I guess.

The routing defined by that program is documented here https://xnux.eu/devices/feature/audio-pp.html

You can use that same diagram to configure your own routing using alsamixer. It's not enough to enable line out. You have to enable the digital audio paths from the digital audio interfaces (that's where aplay/arecord get data to/from) via digital mixer before the DAC, enable DAC by setting some gain on it, etc.

One such working setup: https://megous.com/dl/tmp/31d31f81781a31dc.png
my website: https://xnux.eu
  Reply


Messages In This Thread
RE: UPDATED (June 2021): 17-distro multi-boot image for Pinephone (incl. 3GiB variant) - by megous - 10-19-2021, 06:11 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  eSIM on PinePhone just_a_q 8 4,669 11-05-2024, 11:10 AM
Last Post: zetabeta
  How boot Alpine Linux realroot 4 659 11-02-2024, 01:00 PM
Last Post: linmob
  Want to buy second hand PinePhone 3G version rudi.timmermans 0 170 11-01-2024, 09:58 AM
Last Post: rudi.timmermans
  Can use PlayStation on Pinephone? willharper 6 5,659 10-30-2024, 08:07 AM
Last Post: biketool
  Ordered PinePhone till today have no info or confirmation about order hennadiyt 1 352 10-05-2024, 02:20 PM
Last Post: KC9UDX
  Tow boot MTXP 5 1,593 08-22-2024, 03:11 AM
Last Post: Pavlos1
  US Mobile, via T-Mobile, won't support Pinephone Pro - SOLVED, SIMPLY jovval 11 5,758 07-28-2024, 03:42 PM
Last Post: dchang0
  How can I record video on a Pinephone? kk22 18 7,154 07-22-2024, 05:18 PM
Last Post: baptx
  Pinephone not booting, always vibrating alexander12 8 6,867 07-19-2024, 07:50 PM
Last Post: Blackheart
  PinePhone Pro P. Siera 2 821 07-17-2024, 12:41 AM
Last Post: P. Siera

Forum Jump:


Users browsing this thread: 4 Guest(s)