Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Linux: selecting tty device fails | auto open does work

オープン 初心者向け
#896 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
64/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python

調査の方向性

configure.py から始め、ttyACM0 を選択した場合と、/dev/ttyACM0 を返す自動検出との違いを再現します。選択した値をシリアルポートのオープン処理まで追跡し、選択したデバイスを保存すると正しいパスが保持され、screen を開始できることを確認します。

索引モデルが issue の本文から書いたものです。

説明

bug

Describe the bug
Selecting a specific tty device fails to open. Auto-open does work

To Reproduce
Steps to reproduce the behavior:

  1. run python3 configure.py
  2. selct the tty device
  3. 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 はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

mathoudebine/turing-smart-screen-python のほかの issue

mathoudebine/turing-smart-screen-python の issue をすべて見る

似ている issue

Operating Systems の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。