Bug 1963764 - inputattach breaks with kernel 5.12.5-300.fc34.x86_64
Summary: inputattach breaks with kernel 5.12.5-300.fc34.x86_64
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: linuxconsoletools
Version: 34
Hardware: x86_64
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Vasiliy Glazov
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-23 23:50 UTC by Sato Ichi
Modified: 2022-06-08 01:01 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-06-08 01:01:35 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Sato Ichi 2021-05-23 23:50:32 UTC
Description of problem: inputattach no longer works properly with kernel 5.12.5-300.fc34.x86_64 in Fedora 34.


Version-Release number of selected component (if applicable):1.7.1-1.fc34.x86_64


How reproducible: Run this command with a MouseSystems-compatible mouse on /dev/ttyS0:

/usr/bin/inputattach -msc /dev/ttyS0


Steps to Reproduce:
1. /usr/bin/inputattach -msc /dev/ttyS0


Actual results: Get error message:
inputattach: can't set line discipline

This causes the serial mouse on /dev/ttyS0 to not work.

Expected results: The inputattach command executes without error, causing the serial mouse to work.


Additional info: The above inputattach command worked in all earlier versions of fedora and the kernel, including in Fedora 34 with kernel 5.11.21-300.fc34.x86_64. It was only with the upgrade to kernel 5.12.5-300.fc34.x86_64 that the command stopped working.

Comment 1 Vasiliy Glazov 2021-05-25 07:14:15 UTC
Can you report it to the linuxconsoletools upstream?

Comment 2 Sato Ichi 2021-05-28 13:20:10 UTC
It has been reported to linuxconsoletools upstream:
https://sourceforge.net/p/linuxconsole/discussion/8991/thread/836b1c8ff5/

Comment 3 Sato Ichi 2021-06-17 17:28:24 UTC
The same problem occurs for kernel 5.12.10-300, so I looked to see which kernels include the required sermouse module for using serial mice:

$ find /lib/modules/ -name "*sermouse*"
/lib/modules/5.11.21-300.fc34.x86_64/kernel/drivers/input/mouse/sermouse.ko.xz

So that's why inputattach no longer works in the 5.12.x kernels: the sermouse module was removed.

I looked in the kernel-modules-extra and kernel-modules-internal packages for the sermouse module, they did not have the sermouse module for the 5.12.x kernels.

So this is not a linuxconsoletools problem, it is a problem with Fedora's kernel 5.12.x packages not shipping the sermouse module any more. Please restore the sermouse module to the kernel-core package, or add it to the kernel-modules-extra package for the 5.12.x kernels. This will allow anyone using a serial mouse to keep using it in Fedora. Thanks.

Comment 4 Ben Cotton 2022-05-12 16:40:15 UTC
This message is a reminder that Fedora Linux 34 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 34 on 2022-06-07.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '34'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 34 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 5 Ben Cotton 2022-06-08 01:01:35 UTC
Fedora Linux 34 entered end-of-life (EOL) status on 2022-06-07.

Fedora Linux 34 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.