You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] Mouse problem – The mouse is not working. #113
Hello, I have an ASUS P8Z68-V LX motherboard with an Intel i5-2500K CPU and a generic 7OG Gaming Mouse with LED lights. My USB mouse does not work in the operating system, and if I unplug it and plug it back in, it still does not work. The same thing happens with the keyboard: if I unplug it and reconnect it, it stops working and does not respond.
Environment
Hello, I have an ASUS P8Z68-V LX motherboard with an Intel i5-2500K CPU and a generic 7OG Gaming Mouse with LED lights. My USB mouse does not work in the operating system, and if I unplug it and plug it back in, it still does not work. The same thing happens with the keyboard: if I unplug it and reconnect it, it stops working and does not respond.
Hello, and thank you for the report — the board and CPU model made the cause clear.
What happened. Your ASUS P8Z68-V LX uses the Intel Z68 chipset. Its USB 2.0 ports are driven by EHCI controllers, and until now OSyx only supported xHCI (the USB 3 controller type). So OSyx never talked to your USB devices directly:
The keyboard only worked through your BIOS, which pretends it is an old PS/2 keyboard. That emulation stops after the keyboard is unplugged and plugged in again.
The BIOS does not emulate a mouse, so the mouse never worked.
The fix is a new EHCI driver in #115. It takes over the USB 2.0 controllers at boot and drives keyboards and mice itself, including unplugging and plugging back in. It also handles the internal hub Intel places behind every USB 2.0 port on this chipset.
It works in a virtual machine, but it has not been tested on real hardware yet. The part your board depends on (keyboards and mice behind Intel's internal hub) cannot be emulated, so your test would help a lot. Once a build with #115 is available:
Boot OSyx and try the mouse and keyboard, including unplugging and plugging them back in.
If something does not work, please attach the boot log from the serial console, or at least the lines that start with ehci and usb.
If the keyboard stops working completely with the new driver, add usb.ehci=off to the kernel command line. This restores the old behaviour, where the BIOS emulates the keyboard.
Until then, a workaround:
Use the PS/2 port on the back of the board for the keyboard (or a PS/2 mouse). OSyx drives PS/2 directly.
If your board's rear USB 3.0 ports (the blue ones) work for you, they use a separate xHCI controller, which OSyx already supported. I could not test that specific ASMedia controller, though.
Thank you for testing. It is good to hear the keyboard now works, including unplugging and plugging it back in.
#120 (now merged into main) changes several things that can keep a mouse from working on your board:
Timing behind Intel's internal hub. Your mouse is a low- or full-speed device behind the hub that the Z68 chipset puts in front of every USB 2.0 port. The driver scheduled every such device in the same slots of each USB frame, so the keyboard could crowd out the mouse. Each device now gets its own slot.
No permanent give-up. One failed transfer used to switch the mouse off for good. The driver now waits briefly and tries again.
Gaming-mouse descriptors. Mice with LEDs or extra buttons often describe vendor-specific controls. The driver used to reject such a mouse completely. It now skips the vendor controls, and it accepts descriptors up to 2 KiB.
Boot protocol. If the mouse refuses the simple "boot" mode, the driver asks the mouse which mode it is in, instead of guessing.
None of this could be tested on real hardware. A virtual machine cannot emulate a mouse behind Intel's internal hub. Could you try a build from the current main?
Boot OSyx with only the keyboard and the mouse plugged in.
Try the mouse. Then unplug it and plug it back in.
Open a terminal and run dmesg usb. Please paste everything it prints here, whether or not the mouse works. Lines with HID mouse, report descriptor rejected or report not understood matter most.
If possible, also say whether the mouse works on a rear USB 3.0 port (blue), and whether it works on another computer under another system.
If it still does not work, that log shows the next step.
Activity
drivers: EHCI host controller driver (USB 2.0 ports of Intel 6-series…
v3nn7 commentedon Nov 10, 2026
Hello, and thank you for the report — the board and CPU model made the cause clear.
What happened. Your ASUS P8Z68-V LX uses the Intel Z68 chipset. Its USB 2.0 ports are driven by EHCI controllers, and until now OSyx only supported xHCI (the USB 3 controller type). So OSyx never talked to your USB devices directly:
The fix is a new EHCI driver in #115. It takes over the USB 2.0 controllers at boot and drives keyboards and mice itself, including unplugging and plugging back in. It also handles the internal hub Intel places behind every USB 2.0 port on this chipset.
It works in a virtual machine, but it has not been tested on real hardware yet. The part your board depends on (keyboards and mice behind Intel's internal hub) cannot be emulated, so your test would help a lot. Once a build with #115 is available:
ehciandusb.usb.ehci=offto the kernel command line. This restores the old behaviour, where the BIOS emulates the keyboard.Until then, a workaround:
Generated by Claude Code
Merge pull request #115 from OSyxSoftware/v3nn7/sweet-archimedes-d75mf2
drcucaracha commentedon Nov 12, 2026
Update: The keyboard now works correctly, even after unplugging and reconnecting it. However, the mouse still doesn't work.
ehci, hid: make mice behind a transaction translator work
v3nn7 commentedon Nov 12, 2026
Thank you for testing. It is good to hear the keyboard now works, including unplugging and plugging it back in.
#120 (now merged into
main) changes several things that can keep a mouse from working on your board:None of this could be tested on real hardware. A virtual machine cannot emulate a mouse behind Intel's internal hub. Could you try a build from the current
main?dmesg usb. Please paste everything it prints here, whether or not the mouse works. Lines withHID mouse,report descriptor rejectedorreport not understoodmatter most.If it still does not work, that log shows the next step.
Generated by Claude Code