OSDev.org

The Place to Start for Operating System Developers
It is currently Mon Aug 03, 2020 8:26 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: [Solved] Issues with PS/2 mouse interrupts
PostPosted: Wed May 27, 2020 2:52 pm 
Offline
Member
Member

Joined: Sun Apr 21, 2019 7:39 am
Posts: 41
[Solved]

Solved, as always. I am a sloppy coder sometimes too, it turns out that I was not ACKing an RTC interrupt for the slave (just acking the master)

Here's the question at hand, so you can submit feedback on the code.
Source Code: https://gist.github.com/iProgramMC/6b4e ... 2634cddfc8

Problem description:
I can initialize mouse just fine, I even get devID 0 in QEMU, however, when grabbing mouse input inside of qemu, I can't see any mouse movement. Sending 0xEB (Read Data) packet also won't work, it just stalls without any interrupt. Not even an ACK.

How would I go about making it work?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot] and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group