PINE64
Arch Linux ARM on PinePhone - 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: Arch Linux on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=159)
+---- Thread: Arch Linux ARM on PinePhone (/showthread.php?tid=10507)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16


RE: Arch Linux ARM on PinePhone (2020/11/29) - Danct12 - 12-15-2020

(12-15-2020, 03:50 AM)dukla2000 Wrote:
(12-14-2020, 08:51 PM)Danct12 Wrote:
(12-13-2020, 02:57 PM)dukla2000 Wrote: I cant get megapixels to work anymore. Is it just me (completely up to date pacman -Syu) or has the device numbering changed with a recent kernel update?

Code:
alarm@dukla:~$ dmesg | grep video
[    0.102580] videodev: Linux video capture interface: v2.00
[    0.725833] cedrus 1c0e000.video-codec: Device registered as /dev/video0
alarm@dukla:~$ megapixels
Found config file at /usr/share/megapixels/config/pine64,pinephone-1.2.ini
Adding camera rear from config
Adding camera front from config
Found postprocessor script at /usr/share/megapixels/postprocess.sh
Could not open /dev/video1


That's weird, camera still works with 5.9.14-2

Can you please reboot and dump dmesg to paste.ubuntu.com?

Done - I put a month expiry on it to try be a good citizen so anyone reading this thread after Jan 2021 it is to be expected it is no longer there!

I also had a thought overnight that there should be something about the cameras in the log - at 9.5s I can see links but for sure more is missing. In parallel I will try another release via the SDcard - it may be I borked the camera connections when installing the 1.2b board.

p.s. a boot of Mobian from the SDcard gets at least the rear camera working fine in Megapixels.

Seems like the rear camera is working fine and the CSI driver also links it as well, but the front camera is broken..

Oddly enough, your Mobian seems to work fine with the rear camera. Can you try the latest 5.10 kernel (pacman -Syu) and see if the problem still persist there?


RE: Arch Linux ARM on PinePhone (2020/11/29) - dukla2000 - 12-16-2020

(12-15-2020, 08:01 PM)Danct12 Wrote: ...
Seems like the rear camera is working fine and the CSI driver also links it as well, but the front camera is broken..

Oddly enough, your Mobian seems to work fine with the rear camera. Can you try the latest 5.10 kernel (pacman -Syu) and see if the problem still persist there?

Rear camera working fine on 5.10 now - thanks for help/patience with this but even more, thanks again for Arch images that help a numpty like me up the ladder to Arch!

Trying to swap megapixels to front camera in Mobian crashes megapixels: now with 5.10.0-1-danctnix/Arch (possibly later rev megapixels as well)  I get a stream of
Code:
MPCamera: VIDIOC_DQBUF error 22, Invalid argument
when swapping to front camera but at least can swap back to back.


RE: Arch Linux ARM on PinePhone (2020/11/29) - Lousy Fisherman - 12-17-2020

pacman -Syu 2020-12-15, the phone is truly working, has been for a while now. I am starting to trust it, lol.

- wakes 100% from deep sleep, calls answers 100% of the time. I know it is a hack but the modem fix works for me.
- SMS works 100%
- sleep and suspend are more reliable.
- connecting  usb attachments to the dock is flaky at times
- megapixels has a lime-green shade on the front camera but takes very nice pictures on the back and flips back and forth without freezing
- sound sometimes skips or halts when using  mpv, lollipop or mplayer.  I am updating regularly and messing around with the sound channels so I am not sure I can reproduce it, it is not happening after the last update, of course, lol
- Kalliope Voice Assistant is fully functional. Makes phone calls using the address book, requests routes from navit, plays music, controls volume, and most important kicks the modem for me when needed Smile

YMMV
But it works for me

LF


RE: Arch Linux ARM on PinePhone (2020/11/29) - lat - 12-20-2020

In this debian post a recent (~2020-12-16) libtiff upgrade in Debian is suspected in causing Megapixels camera app crash.


RE: Arch Linux ARM on PinePhone (2020/12/23) - Danct12 - 12-23-2020

Arch Linux ARM (20201223):
  • Upgrade megapixels to 0.13.1
  • Upgrade gtk3-mobile to 3.24.24
  • Upgrade phosh to 0.7.1
  • Upgrade geary-mobile to 3.38.0.1-3pureos+librem5+byz1
  • Upgrade linux-pine64 to 5.10.0 (also enable CAN, USB serial and PPP)
  • Upgrade mesa-git to 21.0.0_devel.132332.001411774d2
  • Upgrade purple-telegram to 1.4.4
  • Fix for stuck in number pad on squeekboard
  • Attempting to fix network on some carriers
  • Attempting to make the device wake faster
  • Remove unnecessary AT calls from suspend hook
  • Use /etc/machine-info to identify the device form-factor.
  • portfolio-fm: a file manager designed for "Mobile Linux" is now preinstalled on phosh images
  • Enable zram on phosh images

Download: https://github.com/dreemurrs-embedded/Pine64-Arch/releases/tag/20201223


RE: Arch Linux ARM on PinePhone (2020/11/29) - dukla2000 - 12-23-2020

(12-16-2020, 04:22 AM)dukla2000 Wrote:
(12-15-2020, 08:01 PM)Danct12 Wrote: ...
Seems like the rear camera is working fine and the CSI driver also links it as well, but the front camera is broken..

Oddly enough, your Mobian seems to work fine with the rear camera. Can you try the latest 5.10 kernel (pacman -Syu) and see if the problem still persist there?

Rear camera working fine on 5.10 now - thanks for help/patience with this but even more, thanks again for Arch images that help a numpty like me up the ladder to Arch!

Trying to swap megapixels to front camera in Mobian crashes megapixels: now with 5.10.0-1-danctnix/Arch (possibly later rev megapixels as well)  I get a stream of
Code:
MPCamera: VIDIOC_DQBUF error 22, Invalid argument
when swapping to front camera but at least can swap back to back.

Apologies for quoting myself, but in case it helps someone else the reason I had front camera problems was that when I swapped my 1.2b mobo in for the BraveHeart, I failed to locate the front camera connector properly.


RE: Arch Linux ARM on PinePhone (2020/12/23) - quantumphone - 01-01-2021

(12-17-2020, 01:05 PM)Lousy Fisherman Wrote: - wakes 100% from deep sleep, calls answers 100% of the time. I know it is a hack but the modem fix works for me.
sorry, what's the hack again?


RE: Arch Linux ARM on PinePhone (2020/12/23) - antoyo - 01-06-2021

I'm not sure about this, but this issue seems to happen:
sometimes, probably after I get a SMS, the phone wake up from deep sleep, but after a while (not touching the phone), it seems to never go back in sleep, which drains the battery.
I'll try to notice when it happens.


RE: Arch Linux ARM on PinePhone (2020/12/23) - TheLastDon - 01-07-2021

(01-01-2021, 01:00 AM)quantumphone Wrote:
(12-17-2020, 01:05 PM)Lousy Fisherman Wrote: - wakes 100% from deep sleep, calls answers 100% of the time. I know it is a hack but the modem fix works for me.
sorry, what's the hack again?
 It's probably this. Here are instructions to upgrade your modem's firmware. I've personally done this and it's easy. Just make sure to follow the instructions exactly. https://github.com/dreemurrs-embedded/Pine64-Arch/wiki/Upgrade-the-modem-firmware

(01-06-2021, 02:38 PM)antoyo Wrote: I'm not sure about this, but this issue seems to happen:
sometimes, probably after I get a SMS, the phone wake up from deep sleep, but after a while (not touching the phone), it seems to never go back in sleep, which drains the battery.
I'll try to notice when it happens.
I've noticed this too. I've gone to bed with an 80% battery level to a 0% batter level when I wake up. No apps were open. I think it has to do with SMS, as well.


RE: Arch Linux ARM on PinePhone (2020/12/23) - quantumphone - 01-19-2021

system freezes during large downloads like firefox attachments or pacman syu