debian+phosh running on PinePhone
To start the week with a smile, a new release is available Smile

No major news today, except for one (seemingly) simple feature which required a lot of kernel work and pulseaudio hacking to make sure everything runs fine: automatic jack insertion/removal detection!
From now on, you can just plug in your headphones/headset and audio will automatically routed to it, including for voice calls!

Don't expect any other fix or improvement (aside from a few software updates) as I didn't have time to work on anything else in the past 10 days or so...
I might revert to the old wifi driver (meaning more stable connections, but no hotspot feature in the foreseeable future) during the week, please tell me how you feel about that.
btw, @fpb4 @buffer I'm still in need of some debug info to know how to fix your proximity sensor issues.
(04-06-2020, 12:12 PM)a-wai Wrote: To start the week with a smile, a new release is available Smile
Thank you for amazing progress Wink Still the distro I have on my eMMC - occasionally play with others on an SDcard and quickly return here.

(04-06-2020, 12:12 PM)a-wai Wrote: I might revert to the old wifi driver (meaning more stable connections, but no hotspot feature in the foreseeable future) during the week, please tell me how you feel about that.

I am not having noticeable problems with wifi but do not use it too much. For sure hotspot is still problematic at

Code:
$ uname -a
Linux Duklapp 5.5-pinephone #5.5.0+pinephone17 SMP Mon Apr 6 19:11:29 CEST 2020 aarch64 GNU/Linux
as in it can be started but within 30 seconds it is disabled by networkmanager scanning available wifi networks and normal wifi mode resumes.

So I have no reason to support reverting to the old wifi driver.

Hopefully everyone is setting their wifi up correctly for their country?
Code:
sudo apt install wireless-regdb
sudo iw reg set GB
change GB to your territory as appropriate.
  • 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
(04-06-2020, 12:12 PM)a-wai Wrote: To start the week with a smile, a new release is available Smile

No major news today, except for one (seemingly) simple feature which required a lot of kernel work and pulseaudio hacking to make sure everything runs fine: automatic jack insertion/removal detection!
From now on, you can just plug in your headphones/headset and audio will automatically routed to it, including for voice calls!

Don't expect any other fix or improvement (aside from a few software updates) as I didn't have time to work on anything else in the past 10 days or so...
I might revert to the old wifi driver (meaning more stable connections, but no hotspot feature in the foreseeable future) during the week, please tell me how you feel about that.
btw, @fpb4 @buffer I'm still in need of some debug info to know how to fix your proximity sensor issues.

I don't use the hotspot feature except once in a blue moon, so it's no problem if it's unavailable for a while

I was busy but I wanted to get back to you on this -- so basically I tried accessing /sys/ by way of both JumpDrive and mounting the SD card. But, there is nothing in /sys/ folder ($ sudo ls -a /media/user/rootfs/sys/ ). I think that's because the operating system needs to be running.
*.*.* PinePhone BraveHeart edition w/ distro: Debian + Phosh // GuixOS, Debian, Arch // pocket linux enthusiast // washed up sysadmin *.*.*
I recorded a little video of the issue: https://gfycat.com/gargantuanbravebluemorphobutterfly
*.*.* PinePhone BraveHeart edition w/ distro: Debian + Phosh // GuixOS, Debian, Arch // pocket linux enthusiast // washed up sysadmin *.*.*
(04-06-2020, 06:24 PM)buffer Wrote: I was busy but I wanted to get back to you on this -- so basically I tried accessing /sys/ by way of both JumpDrive and mounting the SD card. But, there is nothing in /sys/ folder ($ sudo ls -a /media/user/rootfs/sys/ ). I think that's because the operating system needs to be running.
@buffer yes, sysfs is a virtual filesystem, populated by the kernel only at runtime.
You have to remove /etc/udev/rules.d/10-proximity.rules (workaround to your issue) first, THEN run the system, and only then check the proximity sensor values in sysfs.
Thanks a-wai for your work, going to try the latest release and will report back.
(04-07-2020, 01:22 AM)a-wai Wrote:
(04-06-2020, 06:24 PM)buffer Wrote: I was busy but I wanted to get back to you on this -- so basically I tried accessing /sys/ by way of both JumpDrive and mounting the SD card. But, there is nothing in /sys/ folder ($ sudo ls -a /media/user/rootfs/sys/ ). I think that's because the operating system needs to be running.
@buffer yes, sysfs is a virtual filesystem, populated by the kernel only at runtime.
You have to remove /etc/udev/rules.d/10-proximity.rules (workaround to your issue) first, THEN run the system, and only then check the proximity sensor values in sysfs.

Oh, I see! Yes, I can interact with the screen now that I removed that file.

I didn't use a ruler (I can get one if necessary) but the readings are:

0cm: over 3000
1cm: 2500-2700
2cm: ~2400-2450
3cm: 2400
5cm: ~2375-2380
10cm: ~2360-2365
No hand, phone comfortable distance from my face (~30cm?) while looking at it: 2360
Phone on flat surface, nothing near it: 2300-2400
*.*.* PinePhone BraveHeart edition w/ distro: Debian + Phosh // GuixOS, Debian, Arch // pocket linux enthusiast // washed up sysadmin *.*.*
So first findings, and what I do recommend:
1) apt-get install openssh-server
- to be able to connect to pinphone e.g from PC, transfer files etc.
- can this be installed and enabled by default?
2) systemctl enable ssh
- for ssh server to be started when system is started/restarted
3) iw dev wlan0 set power_save off
- thanks for this hint ! yes it does solve the problems with wifi stability /functionality
- does this mean we know where the problem is ?
- is phone going to draw even more power with this ? Sad
4) for apps not scaling properly, temporarily you can :
change /usr/share/phosh/rootston.ini
[outputBig GrinSI-1]
scale = 2
- change the scale to 1 or 1.5 and reboot (or maybe there's another way not requiring reboot)
- found in pmOS thread (thanks!)
5) can Vim be installed by default ?
6) one of my aims is to use Jami with pinephone
- it doesn't scale properly at all (even when changing scale in /usr/share/phosh/rootston.ini, can we fix it or do I need to fire up issue in Jami's git ?
- the keyboard with Jami is not working properly. All of the keys do nothing, I have noticed that pressing backspace key it outputs '=' meaning that I cannot login at all, again can we fix it or do I need to fire up issue in Jami's git ?
7) (again) can we have another keyboard ? the one there currently is not really usable e.g when working in terminal. I've seen better, not sure if in UBports or pmOS/plasma
8) browser - FF works, but I really hate the zoom in/out.
- yes I know it's FF's fault, but is there any alternative to FF which is mobile friendly without sacrificing usability/security at all/too much ?
(04-07-2020, 12:45 PM)buffer Wrote: No hand, phone comfortable distance from my face (~30cm?) while looking at it: 2360
Phone on flat surface, nothing near it: 2300-2400

OK thanks, what about the other in_proximity_* files? (distance doesn't matter here, don't bother checking the values multiple times, once will be enough)
(04-07-2020, 01:08 PM)p1trson Wrote: 1) apt-get install openssh-server
- to be able to connect to pinphone e.g from PC, transfer files etc.
- can this be installed and enabled by default?

Isn't that a security risk? People may not be aware that a ssh-server is installed and that in combination with a default user/password.

Don't get me wrong, I've installed openssh-server myself, but I've altered /etc/ssh/sshd_config so I can only log in with key-based authentication.  

TIP, you can install https://gitlab.com/a-wai/debos-pinephone on your PC and add the extra packages you want to image.yaml and create an image yourself. That's what I do, works great.


Possibly Related Threads…
Thread Author Replies Views Last Post
  bookworm vs trixie discussion for mobian in pinephone regular. zetabeta 15 1,514 03-25-2024, 09:07 AM
Last Post: anonymous
  unofficial kali linux for pinephone help needed pinesmell 5 3,449 01-08-2024, 02:50 PM
Last Post: ERPlegend
  Auto start application on Phosh login Zebulon Walton 8 3,106 10-14-2023, 06:29 AM
Last Post: alaraajavamma
  Problem with updates: Repository 'Debian bookworm' changed its 'non-free component' Anna 7 1,908 08-31-2023, 12:38 PM
Last Post: vusra
  Has anyone got briar-desktop running on mobian? vusra 5 2,862 06-19-2023, 03:02 PM
Last Post: vusra
  Using sway along phosh fdlamotte 2 3,214 05-11-2023, 04:24 PM
Last Post: kabouik
  Axolotl on PinePhone / Mobian arno_nuehm 219 160,324 03-26-2023, 01:49 AM
Last Post: shulamy
  PinePhone won't boot after software update jb2000 2 1,248 03-17-2023, 07:26 AM
Last Post: Zebulon Walton
Wink Pinephone lost graphic during mobian system upgrade cmpin 4 2,057 03-01-2023, 04:45 PM
Last Post: anonymous
  Mobian + phosh firefox ublock and other overlays display bugs tuxcall 3 1,675 02-24-2023, 12:11 AM
Last Post: nexion

Forum Jump:


Users browsing this thread: 12 Guest(s)