-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mouse not working on 486, is working on Pentium 3 #52
Comments
Which OS or mouse driver are you using on the 486? Whats the mainboard model number? |
Hi, thanks for responding :) OS: MS-Dos 6.22, Win 3.11, DR DOS 6.0 I am quite sure OS and Drivers are not the issue, as the BIOS upon init already tells me "No pointing device" and when I have a PS/2 mouse connected "Pointing device installed". |
pre-1.3.zip |
Hi. On the 486;
Bios reports "point device none", driver says, no mouse, 100% like before. On the Pentium 3;
followed by a lot of
|
hm, thats odd, has to do with timings 😟 |
I made the output clock slower by 50%, just a shot in the dark. |
[ Edited; my first response had contaminated response due to KB port connected as well, new response is mouse only ] Unfortunately, the outcome is the same;
|
I had a similar issue here: #46 (comment) |
I see five things of note in that topic;
To confirm; I hope to keep the information here as on-topic as possible, but the 386 has been tested in each case as well and responds the same as the 486, so no need to duplicate all that data, but just know that the 486 is not the only one I test :) |
Oh, just remembered, I should also have a 486 laptop somewhere, I haven't tested on that one, I'll have to dig it out, will do so if you need the 4th test-case ;) |
Sorry, don't know whats wrong here :( Could you create some scope traces? Maybe I can see something. |
I'm sorry, I tried, but unfortunately, I can't. I havent had my scope for that long, I don't know how to operate those functions. My scope skills are practically non-existent. I've also dug through the code, added more debug output, but all I can say is that the 486 is not sending the same commands as the P3 seems to do. Could the 486 use an older variant ps/2 protocol? Is there a way to fake the handshake and just go ;) i tried faking receipt of 0xFF and 0xF4, but that doesn't help. I haven't found out yet how to fake the entire sequence I see on the p3, being 0xF5 0xF2 0xEE 0xFF the reason I tried F4 is because the code then should "Enable data reporting" according to the comments, but maybe I don't know what that means ;) ( Is "data reporting" mouse movement, or config data...) I also tried to use commands to the ps/2 port using debug to try and get the mouse to respond, but the instructions I get from ChatGPT don't work well (instead of mouse being disabled and reenabled, my keyboard gets disabled, with, well, unhelpful results ;) I haven't found a bios upgrade for my computer (not the 486 and also not the 386). If only I was more skilled in assembly, perhaps I could debug the BIOS to find out why the initialisation sequence isn't running. (I assume, even a 486 will want to know what mouse is present, so it should send F5 F2 at least...) I appreciate the time and effort you have put into this and I'm sorry I'm not of much help. |
As far as I know there are no protocol variants. The only thing which comes to mind is that I pushed the clock to the upper limit to achieve 200Hz polling under WinXP and up. F4 Enable data reporting means mouse movement, right. You can search for 8 channel logic analyzer, you can get one for under 10 euros. |
Aight, I have a plan, but it will take some time Step 1; I ordered this one Thanks again! To be continued. |
Ah you have nice breakout boards, I just cut PS/2 extension cords 😂 |
Yeah, I got them to create dummy ISA card. The idea was (and still is) to expose 2 USB and 2 PS/2 ports at the back of the 486, allowing plugin in USB KB and Mouse and short PS/2 cables from the ports to the mainboard (maybe in future, if I feel brave enough, connect the PS/2 signalling directly to the mainboard.). |
maybe found something. I think I interpreted the wiring diagram wrong pins 2 and 6 are Mouse ... ON DUALPORT and normally not, I guess... |
Confirmed. My own stupidity was causing the problems. Turns out, the pentium 3 listens for mouse signals on both the normal and the alternate pins ... I will have to check, but it's probably a dualport without advertising it. The 486 now has a USB keyboard and Mouse ;) Very sorry for all the time wasted. |
Ha, thats cool, I never thought that normal motherboards are wired for that. Only saw the dualport on notebooks and embedded systems. Hope you'll find the logic analyzer useful anyway! |
Hi. First off; fantastic project!
I have a question though; I don't seem to get the mouse working on my 486 computer.
It is working perfectly on my Pentium 3 laptop, however, the intended use case is on my 486 and 386 computers. On both, the mouse is not recognised.
Keyboard works perfectly.
I checked the wiring, it is all correct (of course, as it works on the P3 computer), I also tried the two alternate firmwares with fixed polling rates.
Tested with 4 mice, the mouse in the debug log below is a Dell branded Logitech mouse, and I also tested a Commodore Tank Mouse imitation (The one intended for the "The C64"), a Logitech MX something or other wireless and my Razor Viper Ultimate.
I have not used the serial debugging with the latter 3, but they respond the same on both computers as the Logitech. (they all work on the P3, none of them on the 486)
Debugging output on the 486 (dedicated mouse port, according to the case labeling);
And on the pentium 3 (combined mouse/keyboard port);
The only difference is the line;
at the end.
In both cases, there is no further output. I don't know if it should, but there is no indication of mouse movement or button clicking in the serial log.
Unfortunately, this knowledge doesn't help me solve the problem, so I hope you can give some pointers.
Thank you in advance :)
Remon.
The text was updated successfully, but these errors were encountered: