qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] New usb tablet and numlock
@ 2006-04-21  2:02 Chris Bagwell
  2006-04-21  2:24 ` Anthony Liguori
  0 siblings, 1 reply; 3+ messages in thread
From: Chris Bagwell @ 2006-04-21  2:02 UTC (permalink / raw)
  To: qemu-devel

Hi all,

I'm enjoying the new usb tablet device under windows 98.  When the 
"grabless" mode is enabled, I notice that the numlock keys can get out 
of sync.  Anyone else seeing this?

For instance, if I have numlock enabled and then start qemu with tablet 
support, my win98 thinks numlock is off when I move the mouse into the 
window (even though numlock LED is on).  I have to toggle numlock off 
(LED off) to get the win98 host to think numlock is on.

Unrelated, I also have a general USB issue which makes me almost not use 
it.  If I run qemu without -usb option then an idle win98 guest with 
linux host puts a load of about 5% on my 800Mhz processor.  When I run 
with -usb the idle is 60% minimum.  Anyone have some suggestions of were 
code could be optimized for idle periods?

Thanks for th great program!
Chris

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] New usb tablet and numlock
  2006-04-21  2:02 [Qemu-devel] New usb tablet and numlock Chris Bagwell
@ 2006-04-21  2:24 ` Anthony Liguori
  2006-04-21 14:05   ` Sylvain Petreolle
  0 siblings, 1 reply; 3+ messages in thread
From: Anthony Liguori @ 2006-04-21  2:24 UTC (permalink / raw)
  To: qemu-devel

Chris Bagwell wrote:
> Hi all,
>
> I'm enjoying the new usb tablet device under windows 98.  When the 
> "grabless" mode is enabled, I notice that the numlock keys can get out 
> of sync.  Anyone else seeing this?
>
> For instance, if I have numlock enabled and then start qemu with 
> tablet support, my win98 thinks numlock is off when I move the mouse 
> into the window (even though numlock LED is on).  I have to toggle 
> numlock off (LED off) to get the win98 host to think numlock is on.

This is probably because numlock is not sent to the guest unless you are 
in grab mode.  You can still get into that mode by using ctrl-alt.

There's an interesting usability question here.  What keys should be 
passed to the guest?  Should alt-tab be passed?  Should 
num-lock/caps-lock be passed?  It would be pretty easy to hack up a 
patch that grabbed the keyboard on mouse in and released it on mouse out 
in grabless mode.  The only question in my mind is would this be 
acceptable from the users perspective?

Regards,

Anthony Liguori

> Unrelated, I also have a general USB issue which makes me almost not 
> use it.  If I run qemu without -usb option then an idle win98 guest 
> with linux host puts a load of about 5% on my 800Mhz processor.  When 
> I run with -usb the idle is 60% minimum.  Anyone have some suggestions 
> of were code could be optimized for idle periods?
>
> Thanks for th great program!
> Chris
>
>
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] New usb tablet and numlock
  2006-04-21  2:24 ` Anthony Liguori
@ 2006-04-21 14:05   ` Sylvain Petreolle
  0 siblings, 0 replies; 3+ messages in thread
From: Sylvain Petreolle @ 2006-04-21 14:05 UTC (permalink / raw)
  To: qemu-devel

There's another point here.
When switching from the qemu monitor to the virtual machine window,
we enter ctrl-alt-1 and it seems these keys are passed too.

--- Anthony Liguori <aliguori@us.ibm.com> a écrit :

> This is probably because numlock is not sent to the guest unless you are 
> in grab mode.  You can still get into that mode by using ctrl-alt.
> 
> There's an interesting usability question here.  What keys should be 
> passed to the guest?  Should alt-tab be passed?  Should 
> num-lock/caps-lock be passed?  It would be pretty easy to hack up a 
> patch that grabbed the keyboard on mouse in and released it on mouse out 
> in grabless mode.  The only question in my mind is would this be 
> acceptable from the users perspective?
> 
> Regards,
> 
> Anthony Liguori


Kind regards,
Sylvain Petreolle (aka Usurp)
--- --- --- --- --- --- --- --- --- --- --- --- ---
Listen to free Music: http://www.jamendo.com
Windows is proprietary, use free ReactOS instead : http://www.reactos.org

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-04-21 14:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-21  2:02 [Qemu-devel] New usb tablet and numlock Chris Bagwell
2006-04-21  2:24 ` Anthony Liguori
2006-04-21 14:05   ` Sylvain Petreolle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).