Add Wormhole auto-kill so Interface 5 can be claimed

Cable autorun holds IF5; kill on launch/connect and via GUI button/CLI.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
joyharam
2026-07-15 10:58:35 +09:00
parent 2035c0b4fe
commit d9c0b8078c
9 changed files with 398 additions and 6 deletions
+4 -1
View File
@@ -13,7 +13,10 @@ USB interface 5 점유 실패: [Errno 13] Access denied (insufficient permission
### 1. 공식 앱 종료/제거
- `Wormhole`, `SmartDataLink`, `j5create` 관련 프로세스 종료
이 앱은 실행·연결 시 Wormhole를 **자동 종료**합니다. 그래도 Access denied면:
- GUI 상단 **Wormhole 종료** 버튼, 또는 `python -m juc500_xfer kill-wormhole`
- 작업 관리자에서 `Wormhole` / `SmartDataLink` / `j5create` 수동 종료
- 설정 → 앱에서 j5create Wormhole 제거 (가능하면)
### 2. Zadig로 Interface 5만 WinUSB 변경
+2 -2
View File
@@ -9,7 +9,7 @@ USB interface 5 점유 실패: [Errno 13] Access denied
→ 케이블은 보이지만 Interface 5가 WinUSB가 아닙니다.
자세한 단계: [`WINDOWS-ACCESS-DENIED.md`](WINDOWS-ACCESS-DENIED.md)
요약: Zadig → **List All Devices** → **Smart Data Link (Interface 5) / MI_05** → **WinUSB** → Replace Driver → 케이블 재연결.
요약: GUI **Wormhole 종료** → Zadig → **List All Devices** → **Smart Data Link (Interface 5) / MI_05** → **WinUSB** → Replace Driver → 케이블 재연결.
## 소스에서 실행 (오프라인 wheel 포함)
@@ -48,7 +48,7 @@ Mac에서 빌드 산출물 받기:
5. 마찬가지로 **Interface 1** (CDC Data) 권장
6. Interface 2(Mass Storage), 3·4(HID) 는 그대로 두세요.
공식 Wormhole가 설치돼 있으면 제거하거나 프로세스를 종료한 뒤 Zadig를 실행하세요.
공식 Wormhole가 설치돼 있으면 GUI의 **Wormhole 종료** 또는 `python -m juc500_xfer kill-wormhole` 후 Zadig를 실행하세요.
## 2. libusb DLL