Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Linux: selecting tty device fails | auto open does work

Open Beginner friendly
#896 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 7 days

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
64/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
python

Research direction

Start with configure.py and reproduce the difference between selecting ttyACM0 and auto-detection, which returns /dev/ttyACM0. Trace the selected value into serial-port opening and verify that saving a selected device preserves the correct path and allows the screen to start.

Written by the indexing model from the issue text.

Description

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.

Dominant language
Rich Text Format
Stars
2.3k
Forks
419
Avg merge
4d 35m
Merged PRs (30d)
1

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from mathoudebine/turing-smart-screen-python

All issues in mathoudebine/turing-smart-screen-python

Similar issues

More Operating Systems issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.