A true mainline Linux Kernel for the Pinebook Pro
#21
(11-09-2019, 11:47 AM)tsys Wrote: Just installed the M.2 adapter (after some mechanical optimization) and PCIe works with PCIe 2.0 speed and full 4 lanes.

Nice! Keep in mind, a revised adapter is being sent out to all who received the first version.
#22
(11-09-2019, 12:03 PM)hmuller Wrote:
(11-09-2019, 11:47 AM)tsys Wrote: Just installed the M.2 adapter (after some mechanical optimization) and PCIe works with PCIe 2.0 speed and full 4 lanes.

Nice! Keep in mind, a revised adapter is being sent out to all who received the first version.

Yep. That's why I cut away about a third of the adapter so is does not longer interfere with the tochpad. I'll of course install the revised adapter since the NVMe SSD is now mounted using tape rather than the proper screw.
Manjaro ARM

Kernel dev
Buy me a coffee
#23
Full system powerdown is now working, too. Previously the device would hang in a state where the power led and most voltage rails were still on when shut down.
Manjaro ARM

Kernel dev
Buy me a coffee
#24
Awesome! Looks like a very busy day on your side.

BTW you mentioned some issues with the WiFi and I'm certainly seeing very lumpy packet reception (even simple ping test are asymmetric with pings from the PBP working normally but pings to he PBP can take up to 1500ms to reply). Is that the same issue you were worried about? For me that definitely comes and goes with dynamic changes to WiFi power management.
PineTime: wasp-os and MicroPython, Pinebook Pro:  Debian Bullseye
#25
(11-09-2019, 04:22 PM)danielt Wrote: Awesome! Looks like a very busy day on your side.

BTW you mentioned some issues with the WiFi and I'm certainly seeing very lumpy packet reception (even simple ping test are asymmetric with pings from the PBP working normally but pings to he PBP can take up to 1500ms to reply). Is that the same issue you were worried about? For me that definitely comes and goes with dynamic changes to WiFi power management.

No. Unfortunately it is a crash of the firmware in the ap6255 wifi module. However, I've found another firmware binary in my firmware collection that seems to work a lot more stable. Haven't seen it crash in the past 5 hours or so. I'll keep it running over night  and see if it is indeed stable.

Regarding your experience I'd guess on aggressive power saving, too. I see the same behaviour with most modern smartphones and there I know for a fact that it is power management.
Manjaro ARM

Kernel dev
Buy me a coffee
#26
@tsys first of all, awesome work. Second of all, suspend is always a pain on mainline; what is your gut feeling re. getting suspend to work for the PBP?
You can find me on IRC, Discord and Twitter


#27
(11-09-2019, 06:16 PM)Luke Wrote: @tsys first of all, awesome work.

Thanks  Blush


(11-09-2019, 06:16 PM)Luke Wrote: Second of all, suspend is always a pain on mainline; what is your gut feeling re. getting suspend to work for the PBP?

I feared something along those lines might be the case. I've not looked into the component support enough to give an educated guess yet. I think there is at least some supend support in the rk808 driver so we should be pretty much covered as far as power management goes. I'm not sure about the actual soc though. I'd immagine it does work for chromebooks based on the rk3399 so support will probably not be too bad on that end either.
I'll just try and see what I can do.
Manjaro ARM

Kernel dev
Buy me a coffee
#28
@tsys thanks for the response. Yes, I think that looking into RK3399-based Chromebooks for a suspend fix is certainly worthwhile. Again, great job.
You can find me on IRC, Discord and Twitter


#29
(11-09-2019, 05:36 PM)tsys Wrote: No. Unfortunately it is a crash of the firmware in the ap6255 wifi module. However, I've found another firmware binary in my firmware collection that seems to work a lot more stable. Haven't seen it crash in the past 5 hours or so. I'll keep it running over night  and see if it is indeed stable.

Interesting. In that case WiFi has been fully stable for me :-). Which firmwares have you tried? I have been working with the firmware and nvram.txt that I copied from the mrfixit Debian Stretch image that shipped by default.

[quote pid='52275' dateline='1573342608']
Regarding your experience I'd guess on aggressive power saving, too. I see the same behaviour with most modern smartphones and there I know for a fact that it is power management.
[/quote]

Agree. To be honest I was just relieved that the standard kernel interfaces are sufficient to work around it (I've worked on platforms where that isn't the case).
PineTime: wasp-os and MicroPython, Pinebook Pro:  Debian Bullseye
#30
(11-09-2019, 06:16 PM)Luke Wrote: Second of all, suspend is always a pain on mainline; what is your gut feeling re. getting suspend to work for the PBP?

suspend-to-idle works and does save a little power. Using the built in battery monitor (which happily takes quite a long time to observe changes so I can peek just after a wake up) then the system is consuming 0.5A whilst suspended to idle versus somewhere between 0.7A and 0.8A with just the backlight disabled. This is enough to be useful to conserve battery life in long meetings but I wouldn't want to leave it sleeping in my bag.

So far I have not been able to wake the machine after suspending-to-ram. Thus enabling suspend to idle (echo s2idle | sudo tee /sys/power/mem_sleep or the tmpfiles.d equivalent) is a good idea for the time being since that way you can leave all the suspend machinary in your desktop environment in the default settings.
PineTime: wasp-os and MicroPython, Pinebook Pro:  Debian Bullseye


Possibly Related Threads…
Thread Author Replies Views Last Post
  Debian on Pinebook Pro u974615 7 1,502 03-31-2024, 10:11 AM
Last Post: u974615
  Pinebook Pro upgrading from the factory image yamsoup 12 2,015 02-22-2024, 04:02 PM
Last Post: tllim
  Attempting to install Void Linux, boots into a black screen 9a3eedi 0 442 02-18-2024, 08:54 AM
Last Post: 9a3eedi
  Help installing Manjaro on eMMC of Pinebook Pro pine4546464 4 2,308 12-13-2023, 07:22 PM
Last Post: trillobite
  Need Help Recovering Manjaro /boot Contents on Pinebook Pro calinb 6 2,418 12-11-2023, 03:47 AM
Last Post: calinb
  Gentoo on Pinebook Pro RELEASE jannik2099 54 90,724 12-08-2023, 11:25 PM
Last Post: tllim
  Boot Order in Pinebook Pro food 8 1,468 11-23-2023, 07:37 AM
Last Post: KC9UDX
  How to mainline kernel on daniel thompson's debian installer? hellojack 14 7,753 09-07-2023, 09:38 PM
Last Post: Der Geist der Maschine
  PineBook Pro seems to go to deep sleep, but doesn't wake up pogo 11 5,621 08-31-2023, 04:20 PM
Last Post: TRS-80
  Would a Pinebook Pro be good for a Linux newbie? cassado10 6 1,631 08-08-2023, 04:58 AM
Last Post: moobythegoldensock

Forum Jump:


Users browsing this thread: 3 Guest(s)