Bug 2407298

Summary: No communication with the device
Product: [Fedora] Fedora Reporter: daniel.nespoulous
Component: gtktermAssignee: Dan Horák <dan>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 43CC: dan, hans, hpa
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: gtkterm-1.3.1-4.fc44 gtkterm-1.3.1-4.fc43 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-11-02 09:57:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description daniel.nespoulous 2025-10-30 05:18:31 UTC
I regularly use gtkterm to send commands to a serial device. On the latest version of Fedora, there's no communication. I don't know if the command is being sent or if the response isn't.

I recreated the gtkterm profile, and the problem persists.

Reproducible: Always

Comment 1 Dan Horák 2025-10-30 10:45:31 UTC
It could be related to the termios related changes in glibc 2.42 that went into F-43. Did everything work OK in Fedora 42?

What kind of serial connection do you have - a real serial port, an USB-to-RS232 adapter?

Comment 2 daniel.nespoulous 2025-10-31 06:25:16 UTC
Yes, it works on version 42 and old others.
It's a CH340 adapter.

Comment 3 Dan Horák 2025-10-31 08:42:42 UTC
Then I believe it's the result of the new glibc. The termios related changed are listed in their release page (https://sourceware.org/glibc/wiki/Release/2.42) and there were patches posted to various projects to get them updated like for example https://github.com/sigrokproject/libserialport/pull/24. Could you open an upstream ticket for this at https://github.com/wvdakker/gtkterm?

Comment 4 H. Peter Anvin 2025-11-01 02:13:00 UTC
https://github.com/wvdakker/gtkterm/issues/81

Comment 5 H. Peter Anvin 2025-11-02 04:56:28 UTC
I got inspired this weekend and hacked up a fairly elaborate fix for this.
It should also avoid the problem on older Linux platforms that it "poisons" the 38400 baud rate.

https://github.com/wvdakker/gtkterm/pull/82

Comment 6 Fedora Update System 2025-11-02 09:55:01 UTC
FEDORA-2025-bb51aebc6e (gtkterm-1.3.1-4.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-bb51aebc6e

Comment 7 Fedora Update System 2025-11-02 09:57:41 UTC
FEDORA-2025-bb51aebc6e (gtkterm-1.3.1-4.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2025-11-02 10:32:10 UTC
FEDORA-2025-0ccf41e880 (gtkterm-1.3.1-4.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-0ccf41e880

Comment 9 Fedora Update System 2025-11-03 01:56:37 UTC
FEDORA-2025-0ccf41e880 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-0ccf41e880`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-0ccf41e880

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2025-11-11 00:49:28 UTC
FEDORA-2025-0ccf41e880 (gtkterm-1.3.1-4.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.