[codex] Fix Pi audio, DHD detection, and WiFi setup#128
Draft
matelv-x wants to merge 2 commits into
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem observed after installing the Raspberry Pi image
On an original SG-1 gate running on a Raspberry Pi 3 B+, a fresh image installation can leave three hardware setup problems:
/boot/config.txt, while newer images use/boot/firmware/config.txt. This can prevent the onboard audio adapter from being disabled and interfere with USB audio output./dev/serial/by-id/usb-SparkFun_SparkFun_Pro_Micro_HIDPC-if00. Users can therefore end up in keyboard fallback mode even though the DHD is connected.iwwith an invalid command path and syntax, while the installer does not installiw. The boot-time command should never prevent startup or make WiFi unavailable after installation.What changed
/boot/config.txtor/boot/firmware/config.txt/dev/serial/by-id/usb-SparkFun_SparkFun_Pro_Micro_HIDPC-if00as the default DHD path/dev/ttyACM*fallbacksiwand disable only WiFi power saving with a non-blockingrc.localcommand; WiFi itself remains enabledValidation
bash -n install/functions.sh install/install.sh install/bootstrap.shpython3 -m py_compile classes/StargateMilkyWay/dialers.py classes/stargate_audio.pypython3 -m json.tool config/defaults-milkyway/config.json.distgit diff --check/etc/rc.localmigration from the old WiFi commanddefaults.ctl.cardanddefaults.pcm.cardreplacement