Tiny Core Base > CorePlus
Can the recent Xorg detect a serial mouse?
Juanito:
Check which driver extensions are loaded using:
--- Code: ---tce-status -i | grep xf86
--- End code ---
I suggest you try with xf86-input-evdev loaded, but not xf86-input-libinput or xf86-input-mouse and see what happens.
(I assume 01-mouse.conf is placed in /usr/local/share/X11/xorg.conf.d)
Also, it would be good to check which input your mouse is using with this:
--- Code: ---dmesg | grep ttyS
--- End code ---
t18:
--- Quote from: Juanito on December 22, 2024, 05:44:42 AM ---Check which driver extensions are loaded using:
--- Code: ---tce-status -i | grep xf86
--- End code ---
I suggest you try with xf86-input-evdev loaded, but not xf86-input-libinput or xf86-input-mouse and see what happens.
--- End quote ---
xf86-input-mouse removed fron onboot.lst, xorg.0.log attached.
--- Code: ---libXxf86dga
libXxf86vm
xf86-input-evdev
xf86-video-fbdev
xf86-video-vesa
--- End code ---
--- Quote ---(I assume 01-mouse.conf is placed in /usr/local/share/X11/xorg.conf.d)
--- End quote ---
Yes, it is.
--- Quote ---Also, it would be good to check which input your mouse is using with this:
--- Code: ---dmesg | grep ttyS
--- End code ---
--- End quote ---
Mouse plugged in to COM1.
--- Code: ---00:0c: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:0d: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
--- End code ---
Juanito:
So your keyboard is ttyS0?
Sorry, but I've run out of ideas - I don't have the hardware to test.
t18:
AFAIK the serial port 1 is ttyS0 and the mouse is usually plugged in to it.
While the serial port 2 is ttyS1, used for modems or digitizer.
On my pc the keyboard is plugged in to the AT port.
Anyway thank you so much for the time you have devoted to me, I'll keep it like that.
CNK:
I guess by disabling hotplugging you're trying to stop this in the Xorg log:
--- Code: ---Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
--- End code ---
The 'mouse' driver accesses the mouse directly from the serial devices like in Juanitos configuration, but it's being disabled.
The other drivers rely on the Linux kernel having detected/configured the serial mouse correctly as described here. But that page doesn't mention serial mice.
I wonder if the Linux kernel's serial mouse driver ("sermouse" - built into the kernel according to the "CONFIG_MOUSE_SERIAL=y" settings in the build configuration) isn't working, so the only way is to force Xorg to access the serial port directly via its 'mouse' driver (maybe by not loading either xf86-input-libinput or xf86-input-evdev but just xf86-input-mouse)?
It sounds like if the sermouse driver is working you should have a /dev/input/mice device that can be used like a PS/2 mouse by X.
I gather you can also check the Linux serial mouse device by loading libinput.tcz and running:
--- Code: ---sudo libinput list-devices
--- End code ---
And see if it lists a /dev/input/event* device that matches your serial mouse.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version