Replies: 1 comment 1 reply
-
Well the error is right there [WARNING] Display returned invalid or unsupported ID, try again in 1 second The display is returning an ID, but it's not one that the turing-smart-screen-python software recognizes or supports Out of interest how did you get it to work outside a container and remain persistent? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
So, I seem to have gotten the script to work, and that's after days of trying to figure out permissions with Bazzite (kind of a Linux n00b). I bought this screen specifically: https://www.amazon.com/dp/B0BJ9MQVBG?ref_=ppx_hzsearch_conn_dt_b_fed_asin_title_1.
I don't know if you consider this screen the "Turing Smart Screen" or the "USBPCMonitor". I have the com port set to /dev/serial/by-id/usb-Turing_UsbMonitor_CT21INCH-if00.
I have a udev rule:
File name: 99-usb-serial.rules
Content: KERNEL=="ttyACM[0-9]*",MODE="0666"
I'll post my config.py file per error I get:
config:
COM_PORT: /dev/serial/by-id/usb-Turing_UsbMonitor_CT21INCH-if00
THEME: PurpleTheme
HW_SENSORS: AUTO
ETH: '' # Ethernet Card
WLO: '' # Wi-Fi Card
CPU_FAN: AUTO
PING: 8.8.8.8
WEATHER_API_KEY: ''
WEATHER_LATITUDE: 45.75
WEATHER_LONGITUDE: 4.85
WEATHER_UNITS: metric
WEATHER_LANGUAGE: en
display:
REVISION: A
BRIGHTNESS: 20
DISPLAY_REVERSE: false
Result:
07/28/2025 11:22:05 PM [INFO] Loading theme PurpleTheme from res/themes/PurpleTheme/theme.yaml
07/28/2025 11:22:05 PM [DEBUG] HW revision: C
07/28/2025 11:22:05 PM [DEBUG] Static COM port: /dev/serial/by-id/usb-Turing_UsbMonitor_CT21INCH-if00
07/28/2025 11:22:05 PM [DEBUG] Using Python 3.13.5 (main, Jun 12 2025, 00:00:00) [GCC 15.1.1 20250521 (Red Hat 15.1.1-2)]
07/28/2025 11:22:06 PM [INFO] Tray icon has been displayed
07/28/2025 11:22:06 PM [INFO] Initialize display
07/28/2025 11:22:06 PM [INFO] Display reset (COM port may change)...
07/28/2025 11:22:21 PM [DEBUG] Static COM port: /dev/serial/by-id/usb-Turing_UsbMonitor_CT21INCH-if00
07/28/2025 11:22:22 PM [DEBUG] Display ID returned:
07/28/2025 11:22:22 PM [WARNING] Display returned invalid or unsupported ID, try again in 1 second
07/28/2025 11:22:24 PM [DEBUG] Display ID returned:
07/28/2025 11:22:24 PM [WARNING] Display returned invalid or unsupported ID, try again in 1 second
^C07/28/2025 11:22:25 PM [INFO] Caught signal 2, exiting
07/28/2025 11:22:25 PM [INFO] Waiting for all pending request to be sent to display (5s max)...
07/28/2025 11:22:30 PM [DEBUG] (Waited 5.1s)
Nothing happens on screen.
config:
COM_PORT: /dev/serial/by-id/usb-Turing_UsbMonitor_CT21INCH-if00
THEME: PurpleTheme
HW_SENSORS: AUTO
ETH: '' # Ethernet Card
WLO: '' # Wi-Fi Card
CPU_FAN: AUTO
PING: 8.8.8.8
WEATHER_API_KEY: ''
WEATHER_LATITUDE: 45.75
WEATHER_LONGITUDE: 4.85
WEATHER_UNITS: metric
WEATHER_LANGUAGE: en
display:
REVISION: C
BRIGHTNESS: 20
DISPLAY_REVERSE: false
07/28/2025 11:26:28 PM [INFO] Loading theme PurpleTheme from res/themes/PurpleTheme/theme.yaml
07/28/2025 11:26:28 PM [DEBUG] HW revision: C
07/28/2025 11:26:28 PM [DEBUG] Static COM port: /dev/serial/by-id/usb-Turing_UsbMonitor_CT21INCH-if00
07/28/2025 11:26:28 PM [DEBUG] Using Python 3.13.5 (main, Jun 12 2025, 00:00:00) [GCC 15.1.1 20250521 (Red Hat 15.1.1-2)]
07/28/2025 11:26:28 PM [INFO] Tray icon has been displayed
07/28/2025 11:26:28 PM [INFO] Initialize display
07/28/2025 11:26:28 PM [INFO] Display reset (COM port may change)...
07/28/2025 11:26:43 PM [DEBUG] Static COM port: /dev/serial/by-id/usb-Turing_UsbMonitor_CT21INCH-if00
07/28/2025 11:26:44 PM [DEBUG] Display ID returned:
07/28/2025 11:26:44 PM [WARNING] Display returned invalid or unsupported ID, try again in 1 second
07/28/2025 11:26:46 PM [DEBUG] Display ID returned:
07/28/2025 11:26:46 PM [WARNING] Display returned invalid or unsupported ID, try again in 1 second
07/28/2025 11:26:48 PM [DEBUG] Display ID returned:
07/28/2025 11:26:48 PM [WARNING] Display returned invalid or unsupported ID, try again in 1 second
07/28/2025 11:26:50 PM [DEBUG] Display ID returned:
07/28/2025 11:26:50 PM [WARNING] Display returned invalid or unsupported ID, try again in 1 second
07/28/2025 11:26:52 PM [DEBUG] Display ID returned:
07/28/2025 11:26:52 PM [WARNING] Display returned invalid or unsupported ID, try again in 1 second
07/28/2025 11:26:54 PM [DEBUG] Display ID returned:
07/28/2025 11:26:54 PM [WARNING] Display returned invalid or unsupported ID, try again in 1 second
07/28/2025 11:26:56 PM [DEBUG] Display ID returned:
07/28/2025 11:26:56 PM [WARNING] Display returned invalid or unsupported ID, try again in 1 second
^C07/28/2025 11:26:57 PM [INFO] Caught signal 2, exiting
07/28/2025 11:26:57 PM [INFO] Waiting for all pending request to be sent to display (5s max)...
Nothing happens on screen.
I've had other configs or themes that'll flash the screen and it'll go black. Some themes give a read out of failing to draw objects within the lines. I've been able to connect to the screen in Windows to confirm it's working and everything works as it should with TURZX.exe. Just so I'd have something better to look at, I was able to save a video file to it with TURZX.exe to play by default. As far as Bazzite, she's a no go.
It seems to have a hard time figuring out it's a 5" screen and not a 3.5" screen in some attempts. Can't remember the exact set up for it right now. That's when themes will draw outside the lines.
Noticed too, when I ran it in a container, I'd get the icon and accept it, still didn't work. Now that I'm not using a container, there is no icon despite what the log says.
07/29/2025 01:20:39 AM [INFO] Tray icon has been displayed
Beta Was this translation helpful? Give feedback.
All reactions