qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug 1888663] [NEW] msmouse not recognized in guest


From: Lorenzo Gatti
Subject: [Bug 1888663] [NEW] msmouse not recognized in guest
Date: Thu, 23 Jul 2020 12:50:57 -0000

Public bug reported:

The msmouse option for emulating a serial mouse does not seem to work in
a DOS guest.

I'm on Windows 10 X64, I have tried launching qemu (commit 
d0cc248164961a7ba9d43806feffd76f9f6d7f41 but also way older) with:
./qemu-system-i386 -serial msmouse -fda mousetest.img
./qemu-system-i386 -chardev msmouse,id=msmouse -device 
isa-serial,chardev=msmouse -fda mousetest.img
./qemu-system-i386 -chardev msmouse,id=msmouse -device 
pci-serial,chardev=msmouse -chardev msmouse,id=msmouse -fda mousetest.img

Then I boot FreeDOS (but regular DOS shows same behavior), start the CuteMouse 
driver and force the scan of a serial mouse with CTM /S.
The mouse is never found. With other drivers (in the attachment), the mouse is 
probably not found but the driver is installed anyway, but it does not work 
(there's a MOUSETST in the same floppy; it works iwth CTM and PS/2 mouse 
emulation).

Using a serial port sniffer inside the guest, it would seem that data is
indeed transmitted. Setting a few printf in msmouse.c also confirms that
the mouse gets initilized and starts transmitting data. However, it does
not work...

** Affects: qemu
     Importance: Undecided
         Status: New


** Tags: mouse msmouse serial

** Attachment added: "FreeDOS image with multiple mouse drivers and mouse test 
program"
   
https://bugs.launchpad.net/bugs/1888663/+attachment/5395214/+files/mousetest.img

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1888663

Title:
  msmouse not recognized in guest

Status in QEMU:
  New

Bug description:
  The msmouse option for emulating a serial mouse does not seem to work
  in a DOS guest.

  I'm on Windows 10 X64, I have tried launching qemu (commit 
d0cc248164961a7ba9d43806feffd76f9f6d7f41 but also way older) with:
  ./qemu-system-i386 -serial msmouse -fda mousetest.img
  ./qemu-system-i386 -chardev msmouse,id=msmouse -device 
isa-serial,chardev=msmouse -fda mousetest.img
  ./qemu-system-i386 -chardev msmouse,id=msmouse -device 
pci-serial,chardev=msmouse -chardev msmouse,id=msmouse -fda mousetest.img

  Then I boot FreeDOS (but regular DOS shows same behavior), start the 
CuteMouse driver and force the scan of a serial mouse with CTM /S.
  The mouse is never found. With other drivers (in the attachment), the mouse 
is probably not found but the driver is installed anyway, but it does not work 
(there's a MOUSETST in the same floppy; it works iwth CTM and PS/2 mouse 
emulation).

  Using a serial port sniffer inside the guest, it would seem that data
  is indeed transmitted. Setting a few printf in msmouse.c also confirms
  that the mouse gets initilized and starts transmitting data. However,
  it does not work...

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1888663/+subscriptions



reply via email to

[Prev in Thread] Current Thread [Next in Thread]