Page 1 of 1
problem with usb mouse
Posted: Sat Jan 12, 2008 7:22 am
by Jef
Hi there,
I have a problem in my OS with the mouse.
The mouse is microsoft USB (on USB port) and i have put at bios "mouse usb support = enabled".
When i am running my OS in VMWare, it runs OK.
When i run in the real pc, the mouse works but goes whenever it wants
Goes to different directions with a lot of speed.
The same problem exists if i put the mouse to a PS2USB adapter.
Any idea?
Posted: Sat Jan 12, 2008 9:09 am
by Craze Frog
I tested your OS in vmware, and it's actually the same problem as you describe on a real computer. The mouse goes in every direction at once.
Posted: Sat Jan 12, 2008 9:24 am
by Jef
Craze Frog wrote:I tested your OS in vmware, and it's actually the same problem as you describe on a real computer. The mouse goes in every direction at once.
in VMWare v.6.0 works ok. In older versions (like 5.5.1 i have tested) works like real pc.
Posted: Sat Jan 12, 2008 9:37 am
by crazygray1
This is all I got when I tested it in qemu. It doesn't go past this.
Posted: Sat Jan 12, 2008 4:24 pm
by Jef
crazygray1 wrote:This is all I got when I tested it in qemu. It doesn't go past this.
This happens when you press a key before keyboard driver inits. (it's a known bug).
Except if you don't press any key while loading OS.
I don't have qemu to test it.
EDIT: But this is not a reason to stop booting.
Just reports the irq (to remind me to fix some things
)
Posted: Sun Jan 13, 2008 12:40 am
by Jef
I put at my website the debug version.
If you want, download it and run it to see where is crash.
Thanx
Posted: Sun Jan 13, 2008 2:12 pm
by crazygray1
No matter how long I wait it doesn't go any further even when I don't press a key, it just stops.
Posted: Sun Jan 13, 2008 2:49 pm
by bluecode
qemu is often so fast that the interrupt on key release occurs while the OS is already running. That has happened to me many times with my OS before...
Posted: Sun Jan 13, 2008 4:26 pm
by Jef
crazygray1 wrote:No matter how long I wait it doesn't go any further even when I don't press a key, it just stops.
did you run the debug version that i told you?
just to know what happens
if you don't want, forget it
thanx for the info anyway
Posted: Wed Jan 16, 2008 6:21 am
by crazygray1
the debug v starts up, writes a bunch more info to the screen, then stops
Posted: Wed Jan 16, 2008 4:32 pm
by Jef
crazygray1 wrote:the debug v starts up, writes a bunch more info to the screen, then stops
of course.
can i have a screenshot to understand here the system hangs ?
Posted: Wed Jan 16, 2008 7:30 pm
by crazygray1
Here
Posted: Wed Jan 16, 2008 8:03 pm
by Jef
crazygray1 wrote:Here
thanks
well,...
I repeat the problem in bochs.
The problem is that the interrupt flow for the FDC does not continue after seeking to next sector.
Strange because in normal pc works fine.