Debug state for PS/2 real hardware testing with logs#870
Debug state for PS/2 real hardware testing with logs#870hecatia-elegua wants to merge 1 commit intotheseus-os:theseus_mainfrom
Conversation
|
thanks! I have left comments and log files on discord. In short, it works on my real hw and in QEMU normally! However, it doesn't work in QEMU with KVM enabled ( |
|
I'd love to have automatic test runs on different emulators for making changes to something like this. |
|
yeah, that'd be great. We could do a qemu test easily, but everything else would be difficult, even kvm. Not sure about other emulators like VirtualBox or VMware. |
|
Shall we close this now that #884 has been merged in? Or did you want to keep it around for future usage? |
|
I would like to keep it around, especially for others to test real hardware as well. |
Please try this as is and type some stuff, then update
keyboard.keyboard_scancode_set(ScancodeSet::Set1)?;to use Set2 and maybe Set 3 as well. Some of these might print bogus scancode errors, I'm interested in seeing "ps2_keyboard_handler" logs.Then also try putting an infinite loop in device_manager after the ps2 setup (I mean after all the ps2 setup is done, not just the controller), so I can see the debug logs of the setup.
(Of course this is just for testing, the real PR will come later)