Document release a1029 features, new NeoUI plugins, and CLI utilities
This commit is contained in:
1 parent
35d90fb6f7
commit
1ef9064169
5 files changed
+145
-26
No files matched your search
@@ -88,20 +88,20 @@ sudo dd if=./images/bananarchy-nokia-argon.img of=/dev/sdX bs=4M status=progress
|
||||
|
||||
| Physical key | Linux keysym / event | Action |
|
||||
| :--- | :--- | :--- |
|
||||
| **Left softkey (`Menu`)** | `XF86KbdLcdMenu1` (`KEY_MENU`) | Open **System menu**, close open menu, or wake and unlock when locked |
|
||||
| **Left softkey (`Menu`)** | `XF86KbdLcdMenu1` (`KEY_MENU`) | Open **System menu**, close open menu, or wake screen (if locked, opens **Passcode Locker** `xlocker`) |
|
||||
| **Right softkey (`Names` / `Back`)** | `XF86KbdLcdMenu2` / `BackSpace` (`KEY_BACK`) | On empty desktop: open **Contacts (`Names`)**; inside apps: open **App context menu** (or close menu if open); in T9 preedit: `BackSpace` |
|
||||
| **Both softkeys together** | `KEY_MENU` + `KEY_BACK` | Toggle **XDrawer** (`xdrawer`) global phone controls overlay from anywhere |
|
||||
| **Both softkeys together** | `KEY_MENU` + `KEY_BACK` | Toggle **XDrawer** (`xdrawer`) global phone controls overlay from anywhere (disabled while passcode-locked) |
|
||||
| **`*` + `#` together** | `KEY_NUMERIC_STAR` + `KEY_NUMERIC_POUND` | Capture a `240x320` screenshot (`scrot` via `bananarchy-screenshot`) to `~/Pictures/screenshot-YYYYMMDD-HHMMSS.png` |
|
||||
| **Digits `0`–`9`, `*`, `#` (on idle desktop)** | `0`–`9`, `asterisk`, `numbersign` | Open **Dialer** (`xdialer`) and immediately insert the pressed digit, `*`, or `#` |
|
||||
| **Call (green)** | `XF86PickupPhone` / `XF86Phone` (`KEY_SEND`) | Answer incoming call when ringing; on empty desktop: open **Call Log** (`xcalllog`); when locked: wake and unlock; in menus: confirm (`Return`); in apps: **2x** focus next window, **3x** cycle tiling layout |
|
||||
| **End / Power (red)** | `XF86PowerOff` | Wake and unlock when locked, close open plugin/menu, or: **1x** open **Power menu**, **2x** cycle screen state, **3x** (or hold `400ms`) launch a new terminal |
|
||||
| **Call (green)** | `XF86PickupPhone` / `XF86Phone` (`KEY_SEND`) | Answer incoming call when ringing; on empty desktop: open **Call Log** (`xcalllog`); in menus: confirm (`Return`); in apps: **2x** focus next window, **3x** cycle tiling layout |
|
||||
| **End / Power (red)** | `XF86PowerOff` | Wake or blank screen while passcode-locked, close open plugin/menu, or: **1x** open **Power menu**, **2x** lock phone with passcode (`xlocker`), **3x** (or hold `400ms`) launch a new terminal |
|
||||
| **D-Pad up / down** | `Up` / `Down` | Navigate menus and apps; in `st`: `Shift+Up`/`Shift+Down` (or `ScrlUp`/`ScrlDn` in `Ctl` mode) scrolls terminal history; in T9 preedit: toggle letter case (`a` <-> `A`) or jump `+4` / `-4` candidates |
|
||||
| **D-Pad left / right** | `Left` / `Right` | On empty desktop: switch workspace tags (`-1` / `+1`); in T9 preedit: step back 1 candidate (`Left`) or commit candidate (`Right`); in idle `Ctl` mode: `Home` / `End` |
|
||||
| **Center OK** | `Return` (`KEY_OK`) | Confirm / Enter, or commit active T9 preedit candidate immediately |
|
||||
| **Slider close / open** | `SW_LID` (`lid:on` / `lid:off`) | **Close**: close open menu, turn off keypad backlight, and lock/turn screen off; **Open**: restore keypad backlight, unlock, and turn screen on |
|
||||
| **Slider close / open** | `SW_LID` (`lid:on` / `lid:off`) | **Close**: close open menu, turn off keypad backlight, and lock phone with passcode (`xlocker`); **Open**: restore screen and keypad backlight and show passcode lock screen |
|
||||
|
||||
> **Screen blanking, locking, waking, and brightness persistence**:
|
||||
> X11 screensaver/DPMS blanking and deep system suspend are disabled so screen state is controlled cleanly and the phone always wakes immediately. The phone only locks or blanks the screen when you explicitly ask it to (`Power -> Lock`, `Power -> Lock (Screen off)`, `2x End / Power`, or closing the physical slider). Screen and keypad brightness levels configured in **XDrawer** or **Config -> Brightness** are persisted in `~/.config/sxmo/brightness` and `/tmp/sxmo_saved_brightness` and restored on every wake or unlock. When the screen is off or locked, wake and unlock in a single action by opening the slider or pressing **any key on the keypad** or **End / Power**.
|
||||
> **Screen blanking, passcode locking (`xlocker`), waking, and brightness persistence**:
|
||||
> X11 screensaver/DPMS blanking and deep system suspend are disabled so screen state is controlled cleanly and the phone always wakes immediately. Locking the phone (`Power -> Lock`, `Power -> Lock (Screen off)`, `2x End / Power`, or closing the physical slider) activates the fullscreen `240x320` **Passcode Locker (`xlocker` / `locker.so`)**, which verifies your numeric system password (`147147` by default, checked against `/etc/shadow` via `/usr/bin/bananarchy-verify-passcode`). While locked, there is no keypad, softkey, slider, or power-button bypass (`dmenu`, `xdrawer`, terminal spawning, and desktop shortcuts are blocked, and only incoming calls can temporarily overlay `xcallscreen`). Screen and keypad brightness levels configured in **XDrawer** or **Config -> Brightness** are persisted in `~/.config/sxmo/brightness` and `/tmp/sxmo_saved_brightness` and restored on every wake.
|
||||
|
||||
#### 3.1.1 Window tiling modes and switching combos
|
||||
By default, `dwm` uses the **vertical bottom-stack (`bstack`, `TTT`)** layout so multiple `st` terminals stack **vertically (one under another)** to preserve full line width on the `240x320` portrait screen.
|
||||
@@ -122,16 +122,16 @@ You can switch layouts, focus, and workspaces using the **Window management menu
|
||||
- `Mod4+Shift+q`: close the focused window.
|
||||
|
||||
#### 3.1.2 Preloaded native DWM applications
|
||||
All fifteen phone applications are compiled as shared-object plugins (`/usr/lib/dwm/plugins/*.so`), preloaded at `dwm` startup, and awakened over `/tmp/dwm_plugin_<name>.fifo` in `< 2 ms`:
|
||||
All twenty-two phone applications are compiled as shared-object plugins (`/usr/lib/dwm/plugins/*.so`), preloaded at `dwm` startup, and awakened over `/tmp/dwm_plugin_<name>.fifo` in `< 2 ms`:
|
||||
|
||||
1. **System and context menus (`dmenu.so` / `dmenu` / `xdmenu`)**:
|
||||
- **Open / close**: press **Left softkey (`Menu`)** for the **System menu** or **Right softkey (`Back`)** inside an application for its **Context menu**; press the same softkey or `Escape` to close.
|
||||
- **Built-in submenus and instant toggles**: renders `sys`, `applications`, `scripts`, `modem`, `config`, `power` (including **Logout**, **Reboot**, **Reboot to loader**, **Reboot to EDL**, and **Poweroff**), `audio`, `notifications`, `wm`, `timezone`, `games`, `st`, and `nano` menus in place in `< 0.5 ms` without spawning external processes.
|
||||
- **Built-in submenus and instant toggles**: renders `sys`, `applications`, `scripts`, `modem`, `config`, `sdcard`, `power` (including **Lock**, **Lock (Screen off)**, **Logout**, **Reboot**, **Reboot to loader**, **Reboot to EDL**, and **Poweroff**), `audio` (with linear volume steps and **Output: Speaker**, **Output: Earpiece**, and **Output: Headphones** routing), `notifications`, `wm`, `timezone`, `games`, `st`, and `nano` menus in place in `< 0.5 ms` without spawning external processes.
|
||||
- **Script compatibility**: any script piping items into `/usr/bin/dmenu` or `sxmo_dmenu.sh` communicates with the resident daemon over `/tmp/dwm_plugin_dmenu.sock`.
|
||||
|
||||
2. **Global phone controls (`xdrawer.so` / `xdrawer`)**:
|
||||
- **Open / close**: press **both softkeys simultaneously** (`KEY_MENU` + `KEY_BACK`) from anywhere, or select **XDrawer** from the System menu.
|
||||
- **Controls**: use `Up`/`Down` (or `1`–`9`/`0`) to select **Speaker**, **Earpiece**, **Ring Vol**, **Ringer** (`Ring+Vib` / `Vibrate` / `Silent` / `DND`), **Vibration** (`Light` / `Medium` / `Strong` with instant tactile feedback), **Flashlight**, **Sound**, **Microphone**, **Screen**, or **Keypad**; use `Left`/`Right` or `Return` to adjust or toggle.
|
||||
- **Controls**: use `Up`/`Down` (or `1`–`9`/`0`) to select linear (`1%`–`100%`) **Speaker**, **Earpiece**, **Ring Vol**, **Ringer** (`Ring+Vib` / `Vibrate` / `Silent` / `DND`), **Vibration** (`Light` / `Medium` / `Strong` with instant tactile feedback), **Flashlight**, **Sound**, **Microphone**, **Screen**, or **Keypad**; use `Left`/`Right` or `Return` to adjust or toggle.
|
||||
|
||||
3. **Phone dialer (`dialer.so` / `xdialer`)**:
|
||||
- **Open**: press any **`0`–`9`, `*`, or `#` key** on the empty desktop, or open **Dialer** from the System menu or Call Log.
|
||||
@@ -180,6 +180,7 @@ All fifteen phone applications are compiled as shared-object plugins (`/usr/lib/
|
||||
- **Game Boy / Game Boy Color ROM launching**: pressing `Return` on any `.gb` or `.gbc` file (or selecting **Play in Game Boy Emulator** from the **Left softkey (`Actions`)** menu) opens it directly in the **Gambatte (`gambatte`)** emulator.
|
||||
- **Image preview and wallpaper installation**: pressing `Return` on any image file (`.jpg`, `.png`, `.bmp`, `.gif`, `.webp`, `.ppm`, `.tif`, `.ico`, `.svg`) opens the built-in image viewer (`*` toggles full-screen preview; **Left softkey (`Set Wall`)** installs the image into `~/Pictures/Wallpapers/`, applies it via `feh`, and refreshes Conky). You can also select **Preview Image** or **Set as Wallpaper** directly from the **Left softkey (`Actions`)** menu.
|
||||
- **Audio playback and ringtone installation**: pressing `Return` on any audio or tracker module file opens it immediately in **Music (`xmusic`)**. From the **Left softkey (`Actions`)** menu on any audio/tracker file, select **Play in Music Player** to play it in `xmusic`, or **Set as Ringtone** to copy it to `~/Ringtones/` and set it as the active phone ringtone.
|
||||
- **MicroSD card (`/media/sdcard`) integration**: when a microSD card (`/dev/mmcblk1`) is inserted, `udev` and `/usr/bin/sxmo_sdcard.sh` automatically mount it at `/media/sdcard`. From the **Left softkey (`Actions`)** menu inside `xfiles` (or **System menu -> SD Card**), select **Open SD Card (/media/sdcard)** to jump straight to the card (mounting it on demand if needed) or **Mount / Unmount SD Card** to safely flush and unmount the card before removal.
|
||||
- **File management actions**: the **Left softkey (`Actions`)** menu also provides **Edit in Text Editor**, **View Text**, **Edit in nano**, **New Folder**, **New File**, **Rename**, **Copy**, **Cut / Move**, **Paste Here**, **Properties**, **Open Terminal Here**, and **Delete**.
|
||||
|
||||
9. **Camera (`camera.so` / `xcamera`)**:
|
||||
@@ -221,6 +222,63 @@ All fifteen phone applications are compiled as shared-object plugins (`/usr/lib/
|
||||
- **`2:Queue`**: browse the active playlist queue, filter with `0`–`9`, press `Return` to jump to a track, `*` to remove a track, `#` to shuffle, or **Left softkey (`Actions`)** to set the selected track as ringtone or clear the queue.
|
||||
- **`3:Files`**: browse the filesystem (`~/Music`, `/usr/share/sxmo/music`, `/usr/share/sxmo/ringtones`, or any folder), press `Return` to play a file and load its folder into the queue, `*` to append a file or folder to the queue, or `#` to play the entire current folder.
|
||||
|
||||
16. **SIP VoIP client (`sip.so` / `xsip`)**:
|
||||
- **Open**: select **SIP VoIP** from the System or Applications menu, or run `xsip`.
|
||||
- **Three tabs (`1:Dialer`, `2:Accounts`, `3:History` — switch with `Left`/`Right`)**:
|
||||
- **`1:Dialer`**: enter a SIP URI (`user@domain`) or extension (`1001`) using multi-tap input (`*` cycles input mode) or select a recent peer with `Up`/`Down`, and press **Call (green)** or **Center `OK`** to place an outgoing SIP call.
|
||||
- **`2:Accounts`**: add or edit SIP accounts (`~/.config/sxmo/sip_accounts.tsv`: Label, Username, Password, Domain, Port, UDP/TCP/TLS transport, Enabled). Enabled accounts maintain RFC 3261 `REGISTER` keepalives with Digest MD5 authentication in the background even when `xsip` is closed.
|
||||
- **`3:History`**: browse incoming, outgoing, and missed SIP calls (`~/.local/share/sxmo/sip_history.tsv`) and press **Call (green)** or **Center `OK`** to redial.
|
||||
- **CallScreen (`xcallscreen`) and RTP audio integration**: incoming `INVITE` requests wake the phone, trigger the ringtone/vibrator, and open `xcallscreen` with a `[SIP]` badge; answering streams bidirectional 8 kHz G.711 (`PCMU`/`PCMA`) RTP audio and RFC 2833 DTMF tones.
|
||||
|
||||
17. **Email client (`email.so` / `xemail` / `xmail`)**:
|
||||
- **Open**: select **Email** from the System or Applications menu, or run `xemail` / `xmail`.
|
||||
- **Three tabs (`1:Inbox`, `2:Compose`, `3:Accounts` — switch with `Left`/`Right`)**:
|
||||
- **`1:Inbox`**: fetches headers and message bodies via `IMAP4rev1` or `POP3` over implicit TLS (`993`/`995`), `STARTTLS` (`143`/`110`), or plain TCP (`~/.local/share/sxmo/email/`), decoding RFC 2047 encoded-word subjects/senders, Base64/Quoted-Printable MIME parts, and HTML-only bodies. Press **Center `OK`** to open the full-screen message reader (`Up`/`Down` scrolls, **Center `OK`** replies), or **Call (green)** to sync the active account.
|
||||
- **`2:Compose`**: enter `To`, `Subject`, and `Body` with multi-tap input (`*` cycles mode) and press **Call (green)** or **Left softkey (`Menu -> Send Email Now`)** to send via `SMTP` (`465` TLS or `587` `STARTTLS` with `AUTH PLAIN` / `AUTH LOGIN`).
|
||||
- **`3:Accounts`**: add or edit multiple email accounts (`~/.config/sxmo/email_accounts.tsv`).
|
||||
|
||||
18. **IRCv3 client (`irc.so` / `xirc`)**:
|
||||
- **Open**: select **IRC Chat** from the System or Applications menu, or run `xirc`.
|
||||
- **Three tabs (`1:Buffers`, `2:Chat`, `3:Servers` — switch with `Left`/`Right`)**:
|
||||
- **`1:Buffers`**: lists server status buffers, joined `#channels`, and private query buffers with unread (`[N]`) and highlight (`[!]`) badges.
|
||||
- **`2:Chat`**: displays scrollable message history (`Up`/`Down`) and multi-tap input bar (`*` cycles mode, **Center `OK`** sends message or executes `/join`, `/part`, `/msg`, `/nick`, `/me`, `/topic`, `/raw`, `/quit`).
|
||||
- **`3:Servers`**: manage multiple IRC servers (`~/.config/sxmo/irc_servers.tsv`, preconfigured with Libera.Chat and OFTC over TLS `6697`), supporting OpenSSL TLS, IRCv3 capability negotiation (`CAP LS 302`: `sasl`, `server-time`, `message-tags`, `multi-prefix`, `away-notify`, `account-notify`, `chghost`, `cap-notify`), and `SASL PLAIN` authentication.
|
||||
- **Background mode (`BG_STAY`)**: when `Stay Connected in Background` is enabled in the **Left softkey (`Menu`)**, closing `xirc` keeps all active IRC socket connections alive in the resident daemon and vibrates on nick highlights or private messages.
|
||||
|
||||
19. **Tox / Trifa P2P messenger and audio call client (`tox.so` / `xtox`)**:
|
||||
- **Open**: select **Tox (Trifa)** from the System or Applications menu, or run `xtox`.
|
||||
- **Three tabs (`1:Friends`, `2:Chat`, `3:My Tox ID` — switch with `Left`/`Right`)**:
|
||||
- **`1:Friends`**: lists pending friend requests (press **Center `OK`** to accept) and saved friends with live status (`ONLINE (UDP)`, `ONLINE (TCP)`, `OFFLINE`). Press **Center `OK`** to open encrypted chat or **Call (green)** to start a `ToxAV` voice call.
|
||||
- **`2:Chat`**: end-to-end encrypted P2P messaging (`~/.local/share/sxmo/tox/logs/`) with multi-tap input (`*` cycles mode, **Center `OK`** sends, **Call (green)** initiates a voice call).
|
||||
- **`3:My Tox ID`**: displays your 76-character hexadecimal Tox ID (also exported to `/tmp/tox_id.txt` for easy copying over SSH) and DHT connection state (`DHT(UDP)` / `DHT(TCP)`).
|
||||
- **Standby `ToxAV` voice calls**: incoming 48 kHz Opus `ToxAV` calls wake the display and open `xcallscreen` with a `[TOX]` badge.
|
||||
|
||||
20. **Kopher SmallWeb browser (`smallweb.so` / `xkopher` / `kopher` / `xsmallweb`)**:
|
||||
- **Open**: select **SmallWeb (Kopher)** from the System or Applications menu, or run `xkopher [url]` / `kopher [url]`.
|
||||
- **Supported protocols**: **Gopher** (`gopher://`, plus optional TLS `gophers://` or the in-menu `Gopher over TLS` toggle), **Gemini** (`gemini://` over TLS with text/gemini rendering and input prompts), **Spartan** (`spartan://`), and **Nex** (`nex://`), plus built-in `about:kopher` and `about:help` pages.
|
||||
- **Default WAP-style keypad controls (from [Kopher](https://code.luxferre.top/luxferre/kopher.git), customizable in `~/.config/sxmo/smallweb_controls.tsv` via `Menu -> Customize Controls`)**:
|
||||
- **`2` / `Up` and `8` / `Down`**: scroll up / down 1 line
|
||||
- **`4` / `Left` and `6` / `Right`**: jump to previous / next link
|
||||
- **`5` / `Center OK`**: open highlighted link or submit input prompt
|
||||
- **`1` and `7`**: scroll left / right (`4` columns when line wrapping is off)
|
||||
- **`3` and `9`**: jump to top / bottom of page
|
||||
- **`*`**: toggle line wrapping (`WRAP` / `NOWRAP`)
|
||||
- **`#`**: toggle light / dark reader theme
|
||||
- **`0`**: reload current page
|
||||
- **`Call (green)`**: open URL address bar (`*` cycles input mode; `Call` inside the address bar toggles `Gopher TLS`)
|
||||
- **`Right softkey` / `BackSpace`**: navigate back in history (or close when at root)
|
||||
|
||||
21. **GPS test utility and OpenStreetMap navigator (`gps.so` / `xgps` / `xmaps` / `xnav`)**:
|
||||
- **Open**: select **GPS & Maps** from the System or Applications menu, or run `xgps` / `xmaps` / `xnav`.
|
||||
- **Three tabs (`1:GPS Status`, `2:OSM Map`, `3:Nav/Search` — switch with `1`–`3` or `Left`/`Right` in Tabs 1 and 3)**:
|
||||
- **`1:GPS Status`**: live GNSS reception test screen displaying Fix Status (`3D/2D FIX` vs `SEARCHING`), Latitude, Longitude, Altitude, Speed (`km/h`), Heading (`deg`), Satellites (`used/view`), HDOP, UTC timestamp, 3GPP cellular tower location (`MCC`/`MNC`/`TAC`/`CID`), and recent NMEA sentences (`$GPGGA`, `$GPRMC`, `$GPGSV`). Press **Center `OK`** to refresh immediately or `5` to center the map on the current GPS fix.
|
||||
- **`2:OSM Map`**: interactive `240x212` OpenStreetMap slippy-map tile viewer with offline PNG tile caching (`~/.cache/sxmo/osm_tiles/<z>/<x>/<y>.png`), crosshair, GPS position marker, saved waypoint pins, and active route polyline overlay. Pan with `D-Pad` (`Up`/`Down`/`Left`/`Right`) or `2`/`8`/`4`/`6`, zoom in/out (`z=2..18`) with `*` / `#` (or `Center OK` / `0`), re-center on GPS (`FOLLOW`) with `5`, or press **Call (green)** to search places.
|
||||
- **`3:Nav/Search`**: displays the active turn-by-turn route summary (total distance and next maneuver) and saved waypoints (`~/.config/sxmo/gps_waypoints.tsv`). Press **Call (green)** (or `Menu -> Search Place (Nominatim)`) to geocode any address or POI via OpenStreetMap Nominatim, or highlight any waypoint and press **Center `OK`** to compute a turn-by-turn road route from your current position via OSRM.
|
||||
|
||||
22. **Passcode phone locker (`locker.so` / `xlocker`)**:
|
||||
- **Activate**: select **Power -> Lock** or **Power -> Lock (Screen off)**, double-press **End / Power**, close the physical slider, or run `xlocker [lock|screenoff|wake|status]`.
|
||||
- **Controls and verification**: renders a fullscreen `240x320` (`X=0, Y=0`) lock screen showing the live clock, date, battery percentage, and unread SMS/notification count. Enter your numeric system password (`147147` by default) using `0`–`9`; when 4 or more digits are entered and match the user's `/etc/shadow` password hash (verified via `/usr/bin/bananarchy-verify-passcode`), the phone unlocks immediately. Press `BackSpace`, `Left`, or **Right softkey (`Clear`)** to delete a digit; press **End / Power** (or **Right softkey (`Sleep`)** when the input field is empty) to blank the display while staying locked. Repeated wrong attempts enforce a 5-second lockout cooldown.
|
||||
|
||||
#### 3.1.3 Standalone keypad games (`Snake`, `Tetris`), Game Boy emulator (`Gambatte`), and J2ME emulator (`ReMEdy`)
|
||||
Two classic X11 games (`/usr/bin/snake` and `/usr/bin/tetris`), the **Gambatte (`gambatte` / `gbemu`)** Game Boy / Game Boy Color emulator, and the **ReMEdy (`remedy` / `j2me`)** J2ME (MIDP 2.0 / CLDC 1.1) emulator are accessible from **System menu -> Games** (and **System menu -> Applications** for ReMEdy, or by opening `.gb`/`.gbc` and `.jar`/`.jad` files directly in **Files (`xfiles`)**):
|
||||
- **Snake (`snake`)**: steer with `2`/`8`/`4`/`6` or D-Pad; pause or restart with `5`/`Return`/`#`/`*`; quit with `Right softkey`/`BackSpace`/`Escape`.
|
||||
@@ -372,7 +430,7 @@ The `msm8905-cam` kernel module drives the rear 2MP GalaxyCore `GC2395` (TA-1048
|
||||
|
||||
### 5.2 Audio routing, music playback, and microphone recording
|
||||
|
||||
Both the rear loudspeaker (`Speaker`, with boosted `RX3 Digital Volume` for loud, clear ringtones and media) and the front earpiece speaker (`Earpiece`, boosted by +6 dB), as well as the internal MEMS microphone (`Mic1`) and 3.5mm headset microphone (`Mic2`), are managed through PipeWire/WirePlumber and `sxmo_audio.sh`:
|
||||
Both the rear loudspeaker (`Speaker`, with boosted `RX3 Digital Volume` for loud, clear ringtones and media), the front earpiece speaker (`Earpiece`, boosted by +6 dB and selectable as a standard output device for any audio stream), and wired 3.5mm headphones (`Headphones`, automatically detected and routed on plug-in and restored to `Speaker` on unplug by `sxmo_soundmonitor.sh`), as well as the internal MEMS microphone (`Mic1`) and 3.5mm headset microphone (`Mic2`), are managed through PipeWire/WirePlumber and `sxmo_audio.sh` with linear `1%`–`100%` volume controls across all channels:
|
||||
|
||||
- **Open an audio file, tracker module (`.mod`, `.xm`, `.it`, `.s3m`), or folder in the native music player (`xmusic`)**:
|
||||
```bash
|
||||
@@ -454,3 +512,19 @@ The **Xlibre** display server (`modesetting_drv.so`) uses **Glamor + DRI3 + GLX
|
||||
```bash
|
||||
doas cat /sys/kernel/debug/dri/1/gpu
|
||||
```
|
||||
|
||||
### 5.6 MicroSD card management (`sxmo_sdcard.sh`) and GNSS / GPS CLI (`bananarchy-gps`)
|
||||
|
||||
- **Check microSD card (`/dev/mmcblk1`) status, mount, or unmount from the CLI**:
|
||||
```bash
|
||||
sxmo_sdcard.sh status
|
||||
sxmo_sdcard.sh mount # mounts at /media/sdcard
|
||||
sxmo_sdcard.sh unmount # flushes buffers and unmounts /media/sdcard
|
||||
```
|
||||
- **Test GNSS / GPS reception and inspect NMEA / 3GPP location from the CLI (`bananarchy-gps`)**:
|
||||
```bash
|
||||
bananarchy-gps status # enable GNSS if needed and print 3GPP + GPS coordinates and NMEA
|
||||
bananarchy-gps nmea # print raw NMEA sentences from ModemManager / QMI PDS
|
||||
bananarchy-gps watch 2 # continuously poll GPS fix and satellite telemetry every 2s
|
||||
bananarchy-gps disable # stop standalone GNSS engine to save power
|
||||
```
|
||||
Reference in new issue
Block a user