Going to work on my phone project for a bit. Just tool around...

Ordered a baseband from Sixfab, but something got messed up in delivery. Need to sort that out.

In the mean time, I'm going to try to install KDE Plasma Mobile onto a Raspberry Pi 3 B+.

Will post a screenshot if I can get it working.

Will livetoot it in the meantime.

(Understand I may not get anything working... just have some spare time and want to tinker around.)

Let's see if we can get Mobile onto a .

Info Links:
- Plasma Mobile Site:
plasma-mobile.org/

- 2016 Thread on using Ubuntu Mate image as base
forum.kde.org/viewtopic.php?f=

- Sept 2018 Wiki w/ how-to's and troubleshooting
community.kde.org/Raspberry_Pi

Let's get some Soma FM DefCon station playing for some background music.

- Community Supported Online Radio for Hacking!
somafm.com/defcon/

Clean up my workspace real quick...

Updating raspbian, configuring the pi for US localization, setting up SSH, etc.

Changing the Debian repo from 'stretch' to 'buster' within apt.

AHH SHIT!!! WE'RE IN TESTING!!!

apt update && apt full-upgrade

And.... I'm going to go grab a coke while that's going on.

Ok.... that *seemed* to work...

Creating user 'phablet' and deleting the 'pi' user.

Done.

Added Plasma specific repos.

And now installing Plasma specific tools.

Fuck... that's a gig and a half's worth of data.

Glad I'm on ethernet.

Ok!!!

That seemed to work!!!

Everything is working on my monitor...

Let's see if I can get it working on my 5inch touchscreen.

Ok. Touchscreen is working, but layout is landscape.

Need to change it to portrait, but the typical adding "display_rotate = 1" to /boot/config.txt is not working.

Going to try using xrandr to rotate the screen.

k... a couple of things.

Attempting to configure the display via raspbian's /boot/config.txt is overridden by KDE Plasma Mobile settings (I'm not sure where yet.)

You *can* configure things in config.txt, such as GPU memory allocation, just the display settings are changed once KDE Plasma loads.

Using the @kde Plasma Mobile GUI display settings to rotate brings up the error "Sorry, your configuration could not be applied. Common reasons are that overall screen size is too big..." etc.

Screen size is 800x480 on a 5in monitor.

"Enabled more displays than supported by your GPU" doesn't fit it, because I only have one monitor.

Time to duckduckgo this...

@kde

May be an issue with kscreen.

Running kscreen-console via ssh and it's outputing a json file
(~/$ kscreen-console json)

Wonder how I edit that json file... where is it?

damnit... my monitor name has a space in it. I FUCKING HATE SPACES!!!!

This is gonna shit over everything isn't it...?

well....

Running:

kscreen-doctor output."ADA HDMI-A-1-1".rotation.left

*seems* to work. The json rotation is changed from 1 to 2.

But nothing on the screen changes.

A reboot doesn't do anything and the json is changed back to "rotation": 1

Hmmm....

@TheGibson - Yeah. It seems to change the config file... but I'm looking at the screen and not seeing anything different.

Mind you, I'm ssh'ing into it to change the config. Wonder if that's why. Does ssh create a different desktop session than a locally logged in user?

I dunno.

Brain hurting now.

@tinker

It's been a long time since I've needed to differentiate between SSH and desktop user... but I know it uses the same profile on Ubuntu...

@TheGibson - Yeah. This is wonky. Hmm...

that said, the fact that the only real issue I've run into during this whole thing is screen rotation is fine!

Everything else seems to work... if I want to use a phone that's always in landscape mode! :P

Honestly...

It may be looking looking for an accelerometer input!

This *is* meant to be flashed on a fully working phone. My RPi doesn't have an accelerometer...

Interesting. Alright. Setting this aside for another day.

Will post screenshots here shortly of what I've got.

Alright. Some progress!

Got @kde Plasma Mobile successfully installed on a !

Everything works fine except I can’t get the screen to rotate into portrait mode!

Will work on that another day!

@tinker @kde

Hello,

(PlaMo developer here)

Screen rotation largely depends on DRM driver (vc4 in case of raspberry PI I assume?) and also very recent kernel. I did some lookup and it seems to me that weston does support it so should work in theory with kwin_wayland as well ™️

But since this is not case, Can you please send me logs of kwin_wayland, (See wikipage on how to setup debugging) and dmesg?

You can reach out to be on Freenode (bshah), or email bshah@kde.org

@bshah @kde - Absolutely! Would you prefer I posted the logs here or via email/IRC?

@tinker @kde my bouncer stays on, but IRC/email is preferred then Mastodon :)

(It's not I don't like Mastodon, it's just let's keep it social and not spam with debug logs 😜)

Follow

@bshah @kde -

Lol! Fair!

I'm going through and reinstalling everything (and making notes for a build blog). I'm going to use @Jbb moved debian-pm repo at repo.kaidan.im/debpm.

Once I've done all that, I'll try rotating the monitor using the GUI System Tools. I'll send over logs via email if that doesn't work and we'll go from there.

Cheers, again!

· Web · 0 · 0 · 1
Sign in to participate in the conversation
Infosec Exchange

A Mastodon instance for info/cyber security-minded people.