A quick tutorial on having the image work its best
#21
(02-14-2020, 10:30 AM)pepo Wrote:
(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

What does the command "amixer scontrols" say?
#22
[quote pid='60334' dateline='1581772633']


What does the command "amixer scontrols" say?
[/quote]
I'll answer, as I have the same issues as the previous posters - sound enabling commands worked several days ago; now don't after latest updates.  Here's my session:

phablet@ubuntu-phablet:~$ amixer --help
Usage: amixer <options> [command]

Available options:
  -h,--help       this help
  -c,--card N     select the card
  -D,--device N   select the device, default 'default'
  -d,--debug      debug mode
  -n,--nocheck    do not perform range checking
  -v,--version    print version of this program
  -q,--quiet      be quiet
  -i,--inactive   show also inactive controls
  -a,--abstract L select abstraction level (none or basic)
  -s,--stdin      Read and execute commands from stdin sequentially
  -R,--raw-volume Use the raw value (default)
  -M,--mapped-volume Use the mapped volume

Available commands:
  scontrols       show all mixer simple controls
  scontents  show contents of all mixer simple controls (default command)
  sset sID P      set contents for one mixer simple control
  sget sID        get contents for one mixer simple control
  controls        show all controls for given card
  contents        show contents of all controls for given card
  cset cID P      set control contents for one control
  cget cID        get control contents for one control
phablet@ubuntu-phablet:~$ sudo amixer scontrols
phablet@ubuntu-phablet:~$ amixer scontrols
phablet@ubuntu-phablet:~$ amixer scontents
phablet@ubuntu-phablet:~$ amixer --version
amixer version 1.1.0
phablet@ubuntu-phablet:~$
#23
I can send texts, but cannot receive them.

Wondering if anyone has found a solid fix, or even exerienced this. I'm on Tmobile, no other sims to test.

On Ubuntu Touch

if anyone can link to posts reguarding a fix, all is helpful.

(I have not had time to read through posts, making time to do this later, asking incase no one else has asked previously, been absent from website for a bit, appologies if duplicate question, ignore if so.)
#24
well, doing apt-get install update, ends in:
Errors were encountered while processing:
bluez
ubuntu-system-settings
unity8

which could be why im having issues

well, doing apt-get install update, ends in:
Errors were encountered while processing:
bluez
ubuntu-system-settings
unity8

which could be why im having issues... or thats what I thought.
the first error generated was:
insserv: can not stat(../rc3.d/): Structure needs cleaning
which is from a dirty filesystem. I cloned the Ubuntu ports image directly, and did not then also run fack.etx4 /dev/mmcbk0p1 against the unmounted filesystem.
I havent looked at the scripts for cloning, I just used ddrescue, but in either case, maybe the ports image should get filesystem checked prior to being distributed.
IDK, is that a PinePhone image issue, or an Ubuntu Ports issue?

anyway, fsck your boot disk prior to booting, the ubuntu ports image isnt clean.

so then kernel updates break my system (ubuntu) every damn time
I learned this command to block package updates, and not update the things that break my OS when updated:
sudo apt-mark hold linux-image-generic linux-image-generic-lts-xenial linux-headers-generic linux-headers-generic-lts-xenial unity8 bluez ubuntu-system-settings
#25
(02-15-2020, 12:53 PM)blicken Wrote: well, doing apt-get install update, ends in:
Errors were encountered while processing:
bluez
ubuntu-system-settings
unity8

which could be why im having issues... or thats what I thought.
the first error generated was:
insserv: can not stat(../rc3.d/): Structure needs cleaning
which is from a dirty filesystem. I cloned the Ubuntu ports image directly, and did not then also run fack.etx4 /dev/mmcbk0p1 against the unmounted filesystem.
I havent looked at the scripts for cloning, I just used ddrescue, but in either case, maybe the ports image should get filesystem checked prior to being distributed.
IDK, is that a PinePhone image issue, or an Ubuntu Ports issue?

anyway, fsck your boot disk prior to booting, the ubuntu ports image isnt clean.

Seems more like a write error tbh. If the image was unclean in and of itself more people would have these issues.
#26
(02-15-2020, 11:37 AM)blicken Wrote: well, doing apt-get install update, ends in:

Well, the correct command would be:
Code:
$ sudo apt update

or

Code:
sudo apt-get update

Either will work. Anyways, I have no issues in updating and upgrading the packages.
#27
hey I've tried setting up sound could get it to work even have AlsaMixer installed and can't hear anything .
thyrth
#28
(01-25-2020, 12:26 PM)Luke Wrote: 2) Enable Sound:
Code:
sudo modprobe snd_soc_simple_amplifier
sudo modprobe snd_soc_simple_card_utils
In Ubuntu Touch CLI above bash instuctions will looks like:
Code:
   sudo modprobe snd simple_amplifier
   sudo modprobe snd simple_card_utils
It worked on my PinePhone. So, many THANKS Luke! Smile I am very appreciated for Your job. Respect. All the best!
P.S. I just reanimated my modem! Smile It is living now Smile
#29
(01-25-2020, 12:26 PM)Luke Wrote: All of these things may, very well, be addressed by the time you receive your phone, but I am just posting this in the even X or Y doesn't work/ is broken:

[edit] For starters, every morning (EU Time) you may wish to:

Code:
sudo apt update && apt upgrade -y


1) Downgrade Mesa (currently newest Mesa brakes the UI) [edit] fixed

2) Enabling sound (speaker routing at this time is also wrong - may be fixed soon)
3) Manually start the the modem (fix / hack soon)
[edit]  4) Change the wallpaper

1) Downgrade Mesa:




2) Enable Sound:


Code:
sudo modprobe snd_soc_simple_amplifier
sudo modprobe snd_soc_simple_card_utils


then:


Code:
amixer -c 0 set 'AIF1 Slot 0 Digital DAC' unmute

[edit] 2 Feb 2020

Then:

Quote:
Code:
amixer -c 0 set 'Line Out' unmute

To set volume on max:

Code:
Code:
amixer sset 'Line Out' 100%


3) Start modem:


Code:
sudo /usr/share/ofono/scripts/enable-modem
sudo /usr/share/ofono/scripts/online-modem
4) Change the wallpaper
In settings, navigate to background, and choose a different wallpaper (like the one with dogs) - there is some odd glitch that makes the OS run slow due to the wallpaper sizes.

Oddly enough, when I got the modem to run, the Wifi doesn't seem to be detecting any networks like it did before.

Speaking of modem, Text Messaging works but not Phone Calls from my experience.
#30
found this on https://gitlab.com/ubports/community-por.../issues/16

(not tried yet):

sudo nmcli radio all off
sudo rmmod 8723cs
sudo modprobe 8723cs
sudo nmcli radio all on

the entire post is interesting and to be read, though don't understand everything


Possibly Related Threads…
Thread Author Replies Views Last Post
  Sound won’t work LMalilil 2 4,541 07-28-2020, 09:52 AM
Last Post: Cree
  wifi does not work - authentication problem? pphone-newbie 7 10,108 07-26-2020, 01:30 PM
Last Post: Cree
  dropdown menu doesn't work daniel 3 5,453 07-22-2020, 01:17 PM
Last Post: natasha
  Tutorial for new UBPorts CE users / list of known issues? ThatGeoGuy 2 5,315 07-21-2020, 05:54 PM
Last Post: natasha
  Image #58 Touchscreen Unresponsive BryWilson 3 6,260 06-27-2020, 02:38 AM
Last Post: Zweitaktmotor
  Does Miracast work? mercrapper 1 3,517 06-25-2020, 08:18 AM
Last Post: heng
  Image build guide? Djhg2000 3 6,468 06-18-2020, 02:04 PM
Last Post: bingo600
  Only the top few rows of pixels work on stable OTA 3 NoraCodes 0 2,232 06-18-2020, 09:18 AM
Last Post: NoraCodes
  Battery issues with latest image ashley123 6 9,717 06-14-2020, 11:06 AM
Last Post: KeithMcN
  Ubports OTA won't work on my braveheart none 12 16,934 06-13-2020, 03:23 AM
Last Post: tsar_chasm

Forum Jump:


Users browsing this thread: 2 Guest(s)