💾 Archived View for yaky.dev › notes › grouper captured on 2024-08-31 at 12:28:29. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2024-05-10)
-=-=-=-=-=-=-
Codename: grouper
Hardware rev: E1565
Following the wiki, Installed postmarketOS with i3wm
Additional packages: micro,iwd,iio-sensor-proxy
Wiki page recommends using iwd for wireless connections
rc-update del wpa_supplicant rc-update add iwd rc-service iwd start iwctl station wlan0 get-networks iwctl --passphrase <passphrase> station wlan0 connect <SSID>
It seems that wireless disconnects often, and gets IP reassigned on subsequent connection, so I set static IP to address this:
micro /var/lib/iwd/<SSID>.type
[IPv4] Address=192.168.1.10 Netmask=255.255.255.0 Gateway=192.168.1.1 Broadcast=192.168.1.255 DNS=192.168.1.1
I ran into issues with DNS, which was fixed by adding a public DNS server
"echo 'nameserver 1.1.1.1' > /etc/resolv.conf"
apk add openssh
Now I could SSH into the tablet to configure everything else
To execute keystrokes, mouse movements and clicks on the tablet through SSH (to reload i3 config, for example), use xdotool
apk add xdotool
xdotool
Nexus has a 1280x800 backlit LCD
By default, i3 does not have any scaling set, so everything looks very small
micro .Xresources
Xft.dpi: 192
Some GTK apps use environment variables and not the .Xresources settings, so add them to the init script
TODO GDK scaling
By default, the screen is vertical. If you want to set it to horizontal:
mkdir /etc/X11/xorg.conf.d micro /etc/X11/xorg.conf.d/00-fbdev-rotate.conf
Section "Device" Identifier "LCD" Driver "fbdev" Option "Rotate" "CW" EndSection
TODO rotate touchscreen
postmarketOS wiki on battery monitoring
micro ~/.config/i3status/config
TODO
TODO
The built-in GPS does not work yet (it did not work with SlimKat either), but I have a USB GPS receiver
apk add gpsd
TODO
apk add bluez service bluetooth start bluetoothctl power on scan on
Great keyboard control
Shows as offline. This is due to it using a connectivity check that is absent when using iwd. Bypass by running with a parameter:
gnome-maps --force-online
StackExchange question about GNOME Maps detecting online state
apk add spot
USB OTG charging - I could not get it to work
Configure kernel using pmbootstrap tool
pmbootstrap kconfig edit postmarketos-grate
How to edit kernel before pmbootstrap (Reddit)
export ARCH=arm export CARCH=armv7 export CROSS_COMPILE=armv7-alpine-linux-musleabihf- export CC=armv7-alpine-linux-musleabihf-gcc
(C) 2024 CC BY yaky.dev