From 93efe0d6075b3f437fcc3eed5277f9706fd09cb4 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 4 Sep 2026 02:48:08 +0000 Subject: [PATCH] wolf: fix cemu-sync-controllers silently finding zero joysticks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit docker exec needs an explicit -i flag to forward stdin into the container process; without it, the heredoc piped into `python3 -` never reached the containerized script, which ran empty and printed nothing. cemu-sync-controllers then misread that empty output as "SDL reported zero joysticks" — a false negative with a working set of 4 controllers already confirmed live in ES-DE, not an actual SDL or GUID problem. Root-caused against the user's own live output: the exact same probe script, run directly (not via the manage.sh command), found real device nodes (js0-js4) present in the same container at the same time cemu-sync-controllers reported zero. Audited every other docker exec call in this file for the same stdin-via-heredoc pattern; this was the only one missing -i. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01VLX1yYKJExGSXmgUhxKQG6 --- services/wolf.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/wolf.sh b/services/wolf.sh index d871ba0..3366b28 100644 --- a/services/wolf.sh +++ b/services/wolf.sh @@ -4178,7 +4178,7 @@ CLONEPY fi echo "Reading live controller GUIDs from $_CSC_CONTAINER..." - _CSC_PROBE=$(docker exec -u retro "$_CSC_CONTAINER" python3 - << 'PROBEPY' + _CSC_PROBE=$(docker exec -i -u retro "$_CSC_CONTAINER" python3 - << 'PROBEPY' import ctypes, ctypes.util, sys libname = ctypes.util.find_library("SDL2") or "libSDL2-2.0.so.0"