Skip to contentSkip to conversation

Cursor keys not working?

Qemu-devel Rob Landley 6 participants 10 messages Feb 13, 2009 – Feb 14, 2009

lore
Share & tools
lore
#0 lore raw

Has anybody else noticed this? Building current svn on an ubuntu 8.10 host, the cursor keys don't work. (Fire up a bootable cdrom image and try to cursor up and down at the grub menu: nothing.) The normal letter keys work, but not the cursor keys.

0.9.1 works fine, svn does not.

Rob

#1 lore raw
Quoted 8 lines · Rob Landley

Has anybody else noticed this? Building current svn on an ubuntu 8.10 host, the cursor keys don't work. (Fire up a bootable cdrom image and try to cursor up and down at the grub menu: nothing.) The normal letter keys work, but not the cursor keys.

0.9.1 works fine, svn does not.

Rob

yeah, I also noticed this a couple weeks back.

I don't have a link, but yesterday there was an email with a patch ... subject something about qemu sdl window weirdness - I think....

#2 lore raw

Here is the original message from Erik.
----- Message transféré ----

Quoted 45 lines

De : Erik de Castro Lopo <[email protected]> À : [email protected]
Envoyé le : Jeudi, 12 Février 2009, 22h20mn 04s Objet : [Qemu-devel] Keymap weirdness in qemu SDL window

There seems to be a mention of this in the Redhat bugtracker:

https://bugzilla.redhat.com/show_bug.cgi?id=478976

which also includes a patch:

https://bugzilla.redhat.com/attachment.cgi?id=328839

I applied this patch to svn 6617 and for me it fixed all problems.

Anybody else having similar key binding problems? Anybody looked at the above patch for inclusion in Qemu?

Cheers,
Erik

Signature · 9 lines
-----------------------------------------------------------------
Erik de Castro Lopo
-----------------------------------------------------------------
Think of XML as Lisp for COBOL programmers.
    -- Tony-A (some guy on /.)----- Message d'origine ----
De : Rick Vernam <[email protected]>
À : [email protected]
Envoyé le : Vendredi, 13 Février 2009, 16h24mn 44s
Objet : Re: [Qemu-devel] Cursor keys not working?
Quoted 8 lines · Rob Landley

Has anybody else noticed this? Building current svn on an ubuntu 8.10 host, the cursor keys don't work. (Fire up a bootable cdrom image and try to cursor up and down at the grub menu: nothing.) The normal letter keys work, but not the cursor keys.

0.9.1 works fine, svn does not.

Rob

yeah, I also noticed this a couple weeks back.

I don't have a link, but yesterday there was an email with a patch ... subject something about qemu sdl window weirdness - I think....

#3 lore raw
Quoted 20 lines · Sylvain Petreolle

Here is the original message from Erik.
----- Message transféré ----

Quoted 18 lines

De : Erik de Castro Lopo <[email protected]> À : [email protected]
Envoyé le : Jeudi, 12 Février 2009, 22h20mn 04s Objet : [Qemu-devel] Keymap weirdness in qemu SDL window

There seems to be a mention of this in the Redhat bugtracker:

https://bugzilla.redhat.com/show_bug.cgi?id=478976

which also includes a patch:

https://bugzilla.redhat.com/attachment.cgi?id=328839

I applied this patch to svn 6617 and for me it fixed all problems.

Anybody else having similar key binding problems? Anybody looked at the above patch for inclusion in Qemu?

Yes, someone already submitted this patch. They have been some comments, but no one has addressed them so far.

Signature · 2 lines
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
[email protected]                 http://www.aurel32.net
#4 lore raw
Quoted 16 lines · Aurelien Jarno
Quoted 15 lines · Sylvain Petreolle

Here is the original message from Erik.
----- Message transféré ----

Quoted 13 lines

De : Erik de Castro Lopo <[email protected]> À : [email protected]
Envoyé le : Jeudi, 12 Février 2009, 22h20mn 04s Objet : [Qemu-devel] Keymap weirdness in qemu SDL window

There seems to be a mention of this in the Redhat bugtracker:

https://bugzilla.redhat.com/show_bug.cgi?id=478976

which also includes a patch:

https://bugzilla.redhat.com/attachment.cgi?id=328839

Quoted 8 lines
Quoted 5 lines
Quoted 5 lines

I applied this patch to svn 6617 and for me it fixed all problems.

Anybody else having similar key binding problems? Anybody looked at the above patch for inclusion in Qemu?

Yes, someone already submitted this patch. They have been some comments, but no one has addressed them so far.

If someone can point me to the issues raised, I can see if I can address them.

Cheers,
Erik

Signature · 8 lines
-----------------------------------------------------------------
Erik de Castro Lopo
-----------------------------------------------------------------
"The beauty of religious mania is that it has the power to
explain everything. Once God (or Satan) is accepted as the first
cause of everything which happens in the mortal world, nothing
is left to chance...logic can be happily tossed out the window."
- Stephen King
#5 lore raw
Quoted 20 lines · On Friday 13 February 2009 18:24:35 Erik de Castro Lopo wrote:
Quoted 19 lines · Aurelien Jarno
Quoted 18 lines · Sylvain Petreolle

Here is the original message from Erik.
----- Message transféré ----

Quoted 15 lines

De : Erik de Castro Lopo <[email protected]> À : [email protected]
Envoyé le : Jeudi, 12 Février 2009, 22h20mn 04s Objet : [Qemu-devel] Keymap weirdness in qemu SDL window

There seems to be a mention of this in the Redhat bugtracker:

https://bugzilla.redhat.com/show_bug.cgi?id=478976

which also includes a patch:

https://bugzilla.redhat.com/attachment.cgi?id=328839

I applied this patch to svn 6617 and for me it fixed all problems.

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines
Quoted 2 lines

Anybody else having similar key binding problems? Anybody looked at the above patch for inclusion in Qemu?

Yes, someone already submitted this patch. They have been some comments, but no one has addressed them so far.

If someone can point me to the issues raised, I can see if I can address them.

The above patch does indeed fix the issue for me.

Rob

#6 lore raw
In reply to Erik de Castro Lopo
Quoted 6 lines · Erik de Castro Lopo
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

which also includes a patch:

https://bugzilla.redhat.com/attachment.cgi?id=328839

I applied this patch to svn 6617 and for me it fixed all problems.

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines
Quoted 2 lines

Anybody else having similar key binding problems? Anybody looked at the above patch for inclusion in Qemu?

Yes, someone already submitted this patch. They have been some comments, but no one has addressed them so far.

If someone can point me to the issues raised, I can see if I can address them.

Here:

http://lists.gnu.org/archive/html/qemu-devel/2008-12/msg00469.html

The main issue is the lack of portability of the patch, the secondary issue is inefficiency. Neither should be hard to fix, the main work goes into just testing.

Signature · 1 line
"rm -rf" only sounds scary if you don't have backups
#7 lore raw
Quoted 7 lines · Riku Voipio

Here:

http://lists.gnu.org/archive/html/qemu-devel/2008-12/msg00469.html

The main issue is the lack of portability of the patch, the secondary issue is inefficiency. Neither should be hard to fix, the main work goes into just testing.

Ok, two issues portability and efficiency.

However, the efficiency problem is already fixed in the second version of the patch in the Redhat bugtracker:

    https://bugzilla.redhat.com/attachment.cgi?id=328839

Obviously the portability problem shouldn't be too hard to fix either. I'll have a look at it.

Of course not fixing the problem leaves qemu's SDL window pretty much useless under X.

Erik

Signature · 6 lines
-----------------------------------------------------------------
Erik de Castro Lopo
-----------------------------------------------------------------
"It seems you are presuming a Waterfall model of development here. We're not
doing the Waterfall, we're doing the Whirlpool." -- Larry Wall on Perl6
"Perl is circling the drain, that's for sure..." --  llimllibon reddit
#8 lore raw
Quoted 15 lines · Erik de Castro Lopo
Quoted 7 lines · Riku Voipio

Here:

http://lists.gnu.org/archive/html/qemu-devel/2008-12/msg00469.html

The main issue is the lack of portability of the patch, the secondary issue is inefficiency. Neither should be hard to fix, the main work goes into just testing.

Ok, two issues portability and efficiency.

However, the efficiency problem is already fixed in the second version of the patch in the Redhat bugtracker:

Quoted 8 lines
    https://bugzilla.redhat.com/attachment.cgi?id=328839

Obviously the portability problem shouldn't be too hard to fix either. I'll have a look at it.

Of course not fixing the problem leaves qemu's SDL window pretty much useless under X.

Only if you are using the evdev driver.

Signature · 2 lines
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
[email protected]                 http://www.aurel32.net
#9 lore raw
Quoted 7 lines · Aurelien Jarno
Quoted 3 lines · Erik de Castro Lopo

Of course not fixing the problem leaves qemu's SDL window pretty much useless under X.

Only if you are using the evdev driver.

Is there some way of disabling it?

Erik

Signature · 5 lines
-----------------------------------------------------------------
Erik de Castro Lopo
-----------------------------------------------------------------
"XML is not a language in the sense of a programming language any
more than sketches on a napkin are a language." -- Charles Simonyi