Toots for CalcProgrammer1@mastodon.social account

Written by Adam Honse on 2025-01-11 at 01:15

If #MarvelRivals is crashing for you on #Linux after the latest update, add this to your game command line and it should start up fine:

LD_PRELOAD="" SteamDeck=1 %command%

I hope they fix it so that it doesn't require the SteamDeck variable set though, not all Linux is Steam Deck.

=> More informations about this toot | View the thread

Written by Adam Honse on 2024-12-19 at 20:44

Alex Deucher (one of the main amdgpu developers) posted some patches to get the "OEM I2C bus" working, which is the I2C bus used by the board vendors to control their various RGB controllers. I tested it on my Sapphire Nitro RX580 and my ASUS TUF RX7800XT and can control both with #OpenRGB! This is something we've been needing for years!

https://gitlab.freedesktop.org/agd5f/linux/-/commits/oem_i2c

=> View attached media | View attached media

=> More informations about this toot | View the thread

Written by Adam Honse on 2024-12-18 at 20:51

[#]SteamReplay

=> View attached media

=> More informations about this toot | View the thread

Written by Adam Honse on 2024-12-05 at 18:23

It looks fine in xterm. I'm guessing something related to #phosh/#gnome terminal app (Console).

=> View attached media

=> More informations about this toot | View the thread

Written by Adam Honse on 2024-12-05 at 18:20

Do any of you #linux people have any thoughts why htop isn't displaying colors on my #postmarketOS OnePlus 6T running Phosh? AFAIK it is fine on my other pmOS devices. It's the terminal, not htop itself, as if I ssh into other machines and run htop I get the same thing. I'm not getting colors, just weird symbols in the graphs.

=> View attached media

=> More informations about this toot | View the thread

Written by Adam Honse on 2024-11-25 at 08:32

I recently discovered my #GameSir X2S Bluetooth mobile gaming controller also works as a USB controller through its charging port. It shows up as an Xbox/XInput compatible gamepad in #Linux and #Steam. Here it is in lsusb on #postmarketOS plugged into my tablet.

=> View attached media

=> More informations about this toot | View the thread

Written by Adam Honse on 2024-11-22 at 07:46

The main developer of the xiaomi-elish #postmarketOS port, Jianhua Lu, asked me to test a note taking app called rnote with the Xiaomi pen now that it is working. I'm happy to report that yes, the pen works great! I really like this app and will definitely be using it more in the future as a replacement to the note taking Android app the tablet originally shipped with. Only issue is the pen buttons currenty act as page up and page down rather than as pen buttons, but that's how the pen works.

=> View attached media

=> More informations about this toot | View the thread

Written by Adam Honse on 2024-11-21 at 14:58

Also, my custom layouts are available at https://gitlab.com/CalcProgrammer1/squeekboard-layouts

Clone to ./local/share/squeekboard

The us_wide.yaml layout needs some work still. You can delete the emoji folder to stop it overriding the emoji keyboard (I wish squeekboard let you create arbitrarily named layouts to select between, but this was a hack to add a third option).

=> More informations about this toot | View the thread

Written by Adam Honse on 2024-11-21 at 14:50

The up arrow "shift" toggles between lower and upper pages, sadly doesn't appear you can use a layer toggle button also as a modifier so they need to be separate buttons, but I see the reasoning and this gives more flexibility, just had to find space to fit another button which is why I put it on the upper page.

=> More informations about this toot | View the thread

Written by Adam Honse on 2024-11-21 at 14:48

Yay! #phosh #squeekboard added the Shift modifier in the latest release! I updated my custom layout to add a "Sft" button that applies the Shift modifier and now I can Shift+Alt multiline select in #vscode!

[#]postmarketOS #LinuxMobile #mobilelinux

=> View attached media

=> More informations about this toot | View the thread

Written by Adam Honse on 2024-11-21 at 07:14

After a bunch of experiments with the keyboard, I don't see any means to detect whether the keyboard is attached at boot or not. Unfortunately, the keyboard MCU uses an interrupt to indicate when the keyboard state changes, but when the keyboard MCU is powered on it always generates 4 interrupts regardless of whether the keyboard is present. Attaching or removing the keyboard causes it to spew out either an even or odd number depending on whether attached or removed, correcting the state.

=> More informations about this toot | View the thread

Written by Adam Honse on 2024-11-21 at 05:58

When the keyboard is powered off or held in reset, iio-sensor-proxy rotation works as expected and the Phosh is no longer in docked mode. The interrupt GPIO pulses whenever the keyboard case is attached or detached, but only when the keyboard MCU is powered on and not in reset. I'm still trying to figure out how you would detect the keyboard is attached if the keyboard MCU is powered down.

=> More informations about this toot | View the thread

Written by Adam Honse on 2024-11-21 at 05:55

Just did some GPIO investigation related to the Xiaomi Pad 5 Pro's keyboard case. On the mainline sm8250 kernel it is just powered on at boot and this causes the keyboard to show up no matter if the case is attached or not, forcing the tablet into docked mode in Phosh. Looking at the downstream kernel, there are three different GPIOs - power, reset, and interrupt, that govern the keyboard behavior. Using the gpioset utility, I can power off or hold the keyboard in reset...

=> More informations about this toot | View the thread

Written by Adam Honse on 2024-11-20 at 14:28

New #phosh #squeekboard landed in #postmarketOS! Handles fractional scaling significantly better now! The keyboard still gets smaller, but it stretches to fill the available space rather than wasting space with black bars and making the keys even smaller. I hope that fractional scaling eventually will not impact keyboard height at all, but this is already a huge usability upgrade.

This is at 150% scale:

=> View attached media

=> More informations about this toot | View the thread

Written by Adam Honse on 2024-11-18 at 22:33

Thanks to @pan for the sm8150 work I pulled from!

=> More informations about this toot | View the thread

Written by Adam Honse on 2024-11-18 at 20:08

After seeing a #postmarketOS merge request adding the Xiaomi Pad 5 non-Pro (xiaomi-nabu) and seeing they had the pen working, I cherry-picked some commits from the sm8150 kernel tree to the sm8250 kernel tree and got pen working on the Xiaomi Pad 5 Pro (xiaomi-elish)! I created a merge request against the sm8250-mainline project so hopefully it gets pulled into postmarketOS in the next kernel release.

=> View attached media

=> More informations about this toot | View the thread

Written by Adam Honse on 2024-11-15 at 07:46

Added LG Google Nexus 5 as well and tested it works. My Samsung phones need to be reinstalled as the version of postmarketOS on them is ancient, and I have the kernel flashed to recovery with the rootfs on SD card which I don't think is compatible with lk2nd, so I'll investigate those later.

=> More informations about this toot | View the thread

Written by Adam Honse on 2024-11-15 at 06:46

https://gitlab.com/CalcProgrammer1/TouchpadEmulator

It turns your device's touchscreen into a mouse. Toggles between mouse and touchscreen mode using volume keys or slider (on OnePlus 6T) and also toggles onscreen keyboard enabled/disabled.

=> More informations about this toot | View the thread

Written by Adam Honse on 2024-11-15 at 06:44

Got Touchpad Emulator working on my #Xiaomi Pad 5 Pro running #postmarketOS! It is odd in that the volume up and down keys are on two different input devices so I had to do some refactoring to handle that. Also the touchscreen emits different events for some reason and it emits them in a slightly different order than on other devices I've used Touchpad Emulator with, so I had to make a workaround for that. I think that workaround messed with scroll wheel emulation, a problem for tomorrow.

=> More informations about this toot | View the thread

Written by Adam Honse on 2024-11-14 at 21:06

@phosh The only improvement I want now is the ability to lock the Shift key. Being able to Shift select text with arrow keys is the last major hurdle. I use the new dragging feature I'm adding to Touchpad Emulator to select text instead but that means having to toggle into mouse mode, select, toggle back to touchscreen mode, pop up squeekboard, and ctrl+c or whatever.

=> More informations about this toot | View the thread

=> This profile with reblog | Go to CalcProgrammer1@mastodon.social account

Proxy Information
Original URL
gemini://mastogem.picasoft.net/profile/109303606705335000
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
411.351968 milliseconds
Gemini-to-HTML Time
7.508186 milliseconds

This content has been proxied by September (ba2dc).