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.)
- Plasma Mobile Site:
- 2016 Thread on using Ubuntu Mate image as base
- Sept 2018 Wiki w/ how-to's and troubleshooting
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.
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.
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.
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?
Ah... kscreen-doctor is a thing!
damnit... my monitor name has a space in it. I FUCKING HATE SPACES!!!!
This is gonna shit over everything isn't it...?
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
@ng0 - I haven't! But I'll check it out!!!
I've basically got a 5inch tablet that can run telephone apps over wifi right now: https://www.tinker.sh/project-synopsis-raspberry-pi-smart-phone/
May the Debian upgrade gods be on your side!
xrandr? thats brave
@tinker I thought xrandr didn’t work on pi? And display rotate only works over hdmi, I think.
@ajroach42 - yeah.... I dunno. it's not working right now... so maybe you're right.
The KDE GUI settings allows monitor control, but it's not allowing me to rotate the screen. Giving me an error.
The config.txt rotate setting isn't affecting the actual output.
The touchscreen is over HDMI. The monitor is HDMI, and the touch overlay acts as a USB device.
I'm trying to give the GPU more memory to see if that helps.
@tinker I was only able to get mine to rotate on reboot, and that was done via the config you mentioned.
@ajroach42 - Yeah, I've gotten that to work on basic raspian... it's not working now after I've installed all the KDE plasma stuff.
Maybe I need to try again....
@tinker which screen? Does it really support a higher resolution?
@j_angliss - No, the screen only supports 800x480 (or 480x800). And that's what it's set to. It is working in landscape mode right now. Just trying to get it to flip to portrait.
@tinker gotcha. Read it as you were expecting more. Odd it's not picking up rotation settings.
OK, so maybe more of a footshot?
@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?
Brain hurting now.
Ok... opened a console locally (using my tiny little 5inch screen!) and it does appear that ssh'ing into it opens a different "desktop environment" insofar as using kscreen-doctor doesn't affect the local settings.
Maybe. I'm learning this shit by doing... don't see much documentation. But that's probably my inability to use internet search engines.
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
@tinker Um, it's "some coke". Coke, like sand or snow, are uncountable :-)
@m4iler - lol! A "soda" or a "pop" or a "soda pop" or a "carbonated beverage" then :P
@tinker love that station when I need to focus and work
@woland - Same. Mostly non-lyrics, plays and moves into the background. Never distracts. Kampf and the other DJs do a damned good job.
@tinker let us know if you get something on thinkering with Ubuntu Touch, we are always very happy when somebody tries our OS! 🙂
@Ubports - This is a goal of mine! I’ve been following your project for a while! Having Ubuntu Touch on a Pi with a working LTE/4G baseband is my ideal!
What’s the best way to coordinate with your project?
So far I’ve only been lurking and watching and reading your blogs/audiocaste,Q&A.
@tinker great, hope to here from you soon!
@tinker I'm not sure whether you already noticed it, but I moved the debian-pm repository to repo.kaidan.im/debpm. If you need any help using it, feel free to contact me.
@Jbb - No, I didn’t notice that! Thanks! I’ll play around with it, thanks!
@Jbb - I appreciate the offer for help! I only had one issue with loading plasma mobile and that was rotating the screen. I’ll mess with your new repo and see if I can get it working. If that doesn’t work, I’ll reach out with more details and see if it’s something you can help with. I don’t want to burden you with my problems though! 😜
A Mastodon instance for info/cyber security-minded people.