Hi Gabe, I wasn't around when we implemented the original device model. I suspect the reasoning was that a touch screens are more reliable when using VNC since they use absolute coordinates. IIRC, most virtualisation solution nowadays default to touch screen emulation for this reason.
I started refactoring PS/2 support in gem5 a while back. The intention was to decouple PS/2 host controllers from the PS/2 device models. This would make it possible to wire a generic mouse to the ARM KMI controller or a touch screen to the X86 controller. I haven't had time to finish this yet though due to other commitments. Cheers, Andreas On 10/06/2017 00:53, Gabe Black wrote:
Hi folks. I noticed that the mouse device used on ARM systems when hooked up through VNC acts like a touchkit branch/model/whatever touchpad hooked up over PS/2, as opposed to a normal PS/2 mouse. If the particular driver for that touchpad isn't installed, then linux will apparently assume it's a regular mouse and will try to use a standard PS/2 mouse driver on it. The gem5 model waits for the linux driver to probe it in the way the touchkit driver does before it will start sending mouse events, so it looks like the mouse isn't working. Is/was there a particular reason the emulated mouse device is a touchkit/touchpad device instead of being a more generic PS/2 mouse? I'd imagine it's more likely for an ARM device to be hooked up to a touchpad than a normal mouse, but it's still a little more esoteric as far as driver support. Gabe _______________________________________________ gem5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/gem5-dev
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you. _______________________________________________ gem5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/gem5-dev
