Arch Linux ARM on PinePhone
(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?
Find me in the forest, when I'm at my lowest. I don't really think you should continue..

HOLD YOUR BREATH.
  Reply
(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.
  • ROCKPro64 v2.1 2GB, 16Gb eMMC for rootfs, SX8200Pro 512GB NVMe for /home, HDMI video & sound, Bluetooth keyboard & mouse. Arch (6.2 kernel, Openbox desktop) for general purpose daily PC.
  • PinePhone Pro Explorer Edition, daily driver, rk2aw & U-boot on SPI, Arch/SXMO & Arch/phosh on eMMC
  • PinePhone BraveHeart now v1.2b 3/32Gb, Tow-boot with Arch/SXMO on eMMC
  Reply
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
  Reply
In this debian post a recent (~2020-12-16) libtiff upgrade in Debian is suspected in causing Megapixels camera app crash.
  Reply
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/Pi...g/20201223
Find me in the forest, when I'm at my lowest. I don't really think you should continue..

HOLD YOUR BREATH.
  Reply
(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.
  • ROCKPro64 v2.1 2GB, 16Gb eMMC for rootfs, SX8200Pro 512GB NVMe for /home, HDMI video & sound, Bluetooth keyboard & mouse. Arch (6.2 kernel, Openbox desktop) for general purpose daily PC.
  • PinePhone Pro Explorer Edition, daily driver, rk2aw & U-boot on SPI, Arch/SXMO & Arch/phosh on eMMC
  • PinePhone BraveHeart now v1.2b 3/32Gb, Tow-boot with Arch/SXMO on eMMC
  Reply
(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?
  Reply
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.
  Reply
(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/Pi...m-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.
  Reply
system freezes during large downloads like firefox attachments or pacman syu
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Updating Arch Linux _radv_ 8 561 02-20-2024, 09:35 AM
Last Post: _radv_
  PinePhone AND/OR PinePhone Pro Arch Complete Install and Setup mikehenson 2 2,051 01-14-2024, 08:43 AM
Last Post: shifras
  How to install arch with FDE user641 3 638 01-11-2024, 10:18 PM
Last Post: Kevin Kofler
  How to find software app, on Arch Phosh? general_lee 5 1,796 10-15-2023, 10:12 PM
Last Post: Kevin Kofler
  Arch auto mount usb example Lazy_one 2 2,764 10-06-2023, 09:36 AM
Last Post: luppivega
  Arch with FDE user641 1 838 07-29-2023, 08:27 AM
Last Post: alpineduck
  No keyboard on Arch Plasma when entering password on document Chief 0 798 12-03-2022, 08:35 PM
Last Post: Chief
  Curious About Arch Ferriah 2 2,062 11-07-2022, 04:38 PM
Last Post: Ferriah
  Latest version Arch Plasma looks good. Chief 5 2,310 10-23-2022, 01:53 PM
Last Post: Chief
  Evolution no longer runs on Arch Phosh. Chief 2 1,310 10-17-2022, 07:22 AM
Last Post: Chief

Forum Jump:


Users browsing this thread: 2 Guest(s)