Commit Graph
3 Commits
Author SHA1 Message Date
Claude a2136226b4 Fix Bluetooth scanning bailing after device discovery
The script was exiting immediately after showing "Devices found: 14" because
the timeout command returns exit code 124, which caused the script to bail
due to 'set -euo pipefail'. Added '|| true' to wait and bluetoothctl scan off
commands to allow the script to continue executing and display the device list.

install_kiosk_0.9.6-2.sh:7185-7186
2025-11-23 04:11:56 +00:00
Claude 035950df48 Fix addons menu numbering and improve bluetooth device scanning
Fixes:
1. Addons menu: Remove duplicate menu items (1,2 appeared twice)
   - Fixed numbering: Remote Access is now option 5 instead of 6

2. Bluetooth scanning improvements:
   - Make controller pairable/discoverable before scanning
   - Capture scan output to show DISCOVERED devices (not just paired)
   - Real-time progress indicator during 30-second scan
   - Separate display of discovered vs already-paired devices
   - Better error handling for pairing failures
   - Proper cleanup of scan process with 'scan off'
   - Helpful hints when pairing fails (e.g., AuthenticationFailed)

The bluetooth scan previously only showed paired devices after scanning,
which made it appear that no devices were found even when they were
broadcasting. Now it properly captures and displays discovered devices.
2025-11-23 03:53:51 +00:00
Claude 80fd5d5d10 Fix talkkonnect terminal initialization error in systemd service
PROBLEM:
- talkkonnect fails with "Cannot Initialize Terminal" error
- Service shows "Talkkonnect Terminated Abnormally" in logs
- Root cause: talkkonnect uses termbox-go which requires a TTY
- Systemd services don't provide TTY by default

SOLUTION:
- Added Environment="TERM=dumb" to systemd service
- Added StandardInput=null to prevent terminal initialization
- Both changes allow talkkonnect to run headless as a service

CHANGES:
- Updated install_kiosk_0.9.6-1.sh with the fix
- Created install_kiosk_0.9.6-2.sh (new version with fix)
- Added fix_talkkonnect_terminal.sh for quick patching of existing installations
2025-11-23 03:16:54 +00:00