PINE64
A quick tutorial on having the image work its best - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: UBPorts on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=125)
+---- Thread: A quick tutorial on having the image work its best (/showthread.php?tid=8923)

Pages: 1 2 3 4


RE: A quick tutorial on having the image work its best - Luke - 02-09-2020

(02-09-2020, 07:46 AM)kop316 Wrote:
(02-08-2020, 10:08 PM)liamsgotgenes Wrote:
(02-08-2020, 12:21 PM)kop316 Wrote: Hello,

To confirm, this seems to be different than here:

https://megous.com/dl/tmp/modem.txt

Can I ignore the link above for Ubuntu touch, or is the shutdown still essential in the aboce link?

EDIT: The script from megous does not seem to work in Ubuntu Touch.

I believe the script will only work on megous' kernel they are working on: https://xff.cz/kernels/

Note that right before the script he says "...enable the modem in my kernel..."

Makes sense. It was hard to tell if that was already in Ubuntu Touch. It sounded like it was in here and Postmarket OS.

This is not in UT yet.


RE: A quick tutorial on having the image work its best - cow_killer - 02-11-2020

Is there a way to save the modem settings without having to retype the commands upon reboot?


RE: A quick tutorial on having the image work its best - qrsBRWN - 02-11-2020

(02-11-2020, 02:34 PM)cow_killer Wrote: Is there a way to save the modem settings without having to retype the commands upon reboot?

Just make a bash script and if you like a desktop file so it shows up as an app (I assume ubports uses desktop files)


RE: A quick tutorial on having the image work its best - wibble - 02-11-2020

Better yet make an init script for whatever init system the OS is using and let that run things on start/stop. There may be something needed for suspend too, so that an incoming call or text can wake the phone.


RE: A quick tutorial on having the image work its best - ivanB1975 - 02-13-2020

I installed the system image of the 12th of February 2020 and now the commands:
amixer -c 0 set 'AIF1 Slot 0 Digital DAC' unmute
and similar fails with message:
amixer: Unable to find simple control 'AIF1 Slot 0 Digital DAC' and similar ones
The image of the 11th of February 2020 didn't have this problem.


RE: A quick tutorial on having the image work its best - hectorzg - 02-13-2020

(02-13-2020, 12:20 AM)ivanB1975 Wrote: I installed the system image of the 12th of February 2020 and now the commands:
amixer -c 0 set 'AIF1 Slot 0 Digital DAC' unmute
and similar fails with message:
amixer: Unable to find simple control 'AIF1 Slot 0 Digital DAC' and similar ones
The image of the 11th of February 2020 didn't have this problem.

That's weird because it seems that there have not been any changes committed since February 7, unless I'm misunderstanding the build history.


RE: A quick tutorial on having the image work its best - pepo - 02-13-2020

(02-13-2020, 12:20 AM)ivanB1975 Wrote: I installed the system image of the 12th of February 2020 and now the commands:
amixer -c 0 set 'AIF1 Slot 0 Digital DAC' unmute
and similar fails with message:
amixer: Unable to find simple control 'AIF1 Slot 0 Digital DAC' and similar ones
The image of the 11th of February 2020 didn't have this problem.

Same for me, unable to have any speaker working


RE: A quick tutorial on having the image work its best - noeman5 - 02-13-2020

(02-13-2020, 01:52 PM)pepo Wrote:
(02-13-2020, 12:20 AM)ivanB1975 Wrote: I installed the system image of the 12th of February 2020 and now the commands:
amixer -c 0 set 'AIF1 Slot 0 Digital DAC' unmute
and similar fails with message:
amixer: Unable to find simple control 'AIF1 Slot 0 Digital DAC' and similar ones
The image of the 11th of February 2020 didn't have this problem.

Same for me, unable to have any speaker working

I assume you started the line with 'sudo'?  The commands won't work without administrator privileges.


RE: A quick tutorial on having the image work its best - PinePhoneCoder - 02-14-2020

(02-13-2020, 01:52 PM)pepo Wrote:
(02-13-2020, 12:20 AM)ivanB1975 Wrote: I installed the system image of the 12th of February 2020 and now the commands:
amixer -c 0 set 'AIF1 Slot 0 Digital DAC' unmute
and similar fails with message:
amixer: Unable to find simple control 'AIF1 Slot 0 Digital DAC' and similar ones
The image of the 11th of February 2020 didn't have this problem.

Same for me, unable to have any speaker working

I had that once, I solved it with (not sure why, but it worked):
Code:
echo "PULSE=no" > /etc/pulse/pulse.cfg



RE: A quick tutorial on having the image work its best - pepo - 02-14-2020

(02-14-2020, 05:28 AM)PinePhoneCoder Wrote:
(02-13-2020, 01:52 PM)pepo Wrote:
(02-13-2020, 12:20 AM)ivanB1975 Wrote: I installed the system image of the 12th of February 2020 and now the commands:
amixer -c 0 set 'AIF1 Slot 0 Digital DAC' unmute
and similar fails with message:
amixer: Unable to find simple control 'AIF1 Slot 0 Digital DAC' and similar ones
The image of the 11th of February 2020 didn't have this problem.

Same for me, unable to have any speaker working

I had that once, I solved it with (not sure why, but it worked):
Code:
echo "PULSE=no" > /etc/pulse/pulse.cfg

how do you use this command? to me it opens a blank line with just a ">" , and then?

(02-13-2020, 06:33 PM)noeman5 Wrote:
(02-13-2020, 01:52 PM)pepo Wrote:
(02-13-2020, 12:20 AM)ivanB1975 Wrote: I installed the system image of the 12th of February 2020 and now the commands:
amixer -c 0 set 'AIF1 Slot 0 Digital DAC' unmute
and similar fails with message:
amixer: Unable to find simple control 'AIF1 Slot 0 Digital DAC' and similar ones
The image of the 11th of February 2020 didn't have this problem.

Same for me, unable to have any speaker working

I assume you started the line with 'sudo'?  The commands won't work without administrator privileges.

yes, no difference with or without sudo, in both cases the only result is a timid click coming from the speaker on the back when I tipe the first letter in the terminal, or on an app icon - but just the first letter, not the following ones