UPDATED (June 2021): 17-distro multi-boot image for Pinephone (incl. 3GiB variant)
(10-19-2021, 06:11 PM)megous Wrote:
(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

This worked like a charm , Such a great starting point. Cheers for this.
  Reply


Messages In This Thread
RE: UPDATED (June 2021): 17-distro multi-boot image for Pinephone (incl. 3GiB variant) - by D34DP1X3L - 10-26-2021, 03:39 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pinephone boot. Richy_T 4 138 05-06-2024, 08:32 AM
Last Post: Richy_T
  PinePhone - boot from microSD laserpyramid 9 912 05-03-2024, 10:09 AM
Last Post: laserpyramid
  pinephone virtual keyboard aular 4 453 04-10-2024, 03:45 PM
Last Post: aular
  PinePhone Doesn't Boot LED Doesn't Show Any Signs When Charging dorkydev 1 305 04-02-2024, 11:50 AM
Last Post: Kevin Kofler
  Are you using the Pinephone as your daily driver? jro 157 111,170 02-18-2024, 11:33 PM
Last Post: aular
  2020 PinePhone Manjaro CE EU for sale, name your price astrojuanlu 7 1,961 02-14-2024, 04:51 PM
Last Post: astrojuanlu
  pinephone is not bootble for the box. ijij 1 689 01-19-2024, 01:29 PM
Last Post: fxc
  Multiple issues with the Pinephone MTXP 12 2,606 12-28-2023, 07:55 AM
Last Post: MTXP
  pinephone repair shop shengchieh 0 561 12-26-2023, 02:42 PM
Last Post: shengchieh
  sudo nano file saving pinephone beta edition CharlesGnarley 4 1,815 12-22-2023, 03:44 PM
Last Post: Kevin Kofler

Forum Jump:


Users browsing this thread: 1 Guest(s)