Linux: selecting tty device fails | auto open does work
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 64/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- python
调研方向
从 configure.py 开始,重现选择 ttyACM0 与自动检测之间的差异,后者返回 /dev/ttyACM0。跟踪所选值直到打开串行端口,并验证保存所选设备后能够保留正确的路径且可以启动 screen。
由索引模型根据 Issue 内容生成。
描述
Describe the bug
Selecting a specific tty device fails to open. Auto-open does work
To Reproduce
Steps to reproduce the behavior:
- run
python3 configure.py - selct the tty device
- save and run
Expected behavior
Open the tty device with the correct path.
Logs
(.venv)user@host turing-smart-screen-python][(HEAD 3.9.6)]$ 08.11.2025 19:48:06 [INFO] Loading theme Digital_CPU_0.96Inch from res/themes/Digital_CPU_0.96Inch/theme.yaml
08.11.2025 19:48:06 [DEBUG] Static COM port: ttyACM0
08.11.2025 19:48:06 [ERROR] Cannot open COM port ttyACM0: [Errno 2] could not open port ttyACM0
^C
(.venv)user@host turing-smart-screen-python][(HEAD 3.9.6)]$ python3 configure.py
(.venv)user@host turing-smart-screen-python][(HEAD 3.9.6)]$ 08.11.2025 19:48:26 [INFO] Loading theme Digital_CPU_0.96Inch from res/themes/Digital_CPU_0.96Inch/theme.yaml
08.11.2025 19:48:26 [DEBUG] Auto detected COM port: /dev/ttyACM0
Environment:
- Smart screen model [e.g. Turing 5", XuanFang 3.5”]
- Revision of this project: 3.9.6
- OS with version: Archlinux
- Python version [e.g. Python 3.10]
- Hardware: x86
Additional context
The path handling is not correct. The drop down menu misses the /dev/ path in front.
- 主要语言
- Rich Text Format
- 星标
- 2.3k
- 派生
- 422
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
mathoudebine/turing-smart-screen-python 的其他 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 62/100
-
enhancement
难度 2/5 1-3 小时 新手友好度 78/100
-
enhancement
难度 1/5 1-3 小时 新手友好度 72/100
mathoudebine/turing-smart-screen-python#557 · 2 条评论 · 3 个 reaction ·
-
enhancement
难度 5/5 一周以上 新手友好度 42/100
-
bug
难度 3/5 1-2 天 新手友好度 55/100
mathoudebine/turing-smart-screen-python#1090 · 2 条评论 ·
查看 mathoudebine/turing-smart-screen-python 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
Host test failure in core/direct_io.zig on Linux kernel 6.17: O_DIRECT open succeeds on procfs, so the test's 'plain' fd is not plain可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
ashhart/TensorFold#536 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
dragonflyoss/nydus#2135 ·
维护者通常 1 天内回复
-
难度 2/5 半天 新手友好度 68/100
godotengine/godot#124296 ·
维护者通常 1 天内回复