Skip to contentSkip to conversation

Integrator/CP keyboard layout

Qemu-devel Jakub Jermar 2 participants 5 messages Mar 21, 2011 – Mar 22, 2011

lore
Share & tools
lore
#0 lore raw

Hello,

I noticed that the layout of the PL050 keyboard used on Integrator/CP incompatibly changed sometime between Qemu 0.10.5 and Qemu 0.11.1. The current layout used in Qemu's model of Integrator/CP is the standard PC layout. What puzzles me is whether this was a fix or a regression. Does anybody know what was the motivation for that change?

Thanks,
Jakub

#1 lore raw
Quoted 5 lines · Jakub Jermar

I noticed that the layout of the PL050 keyboard used on Integrator/CP incompatibly changed sometime between Qemu 0.10.5 and Qemu 0.11.1. The current layout used in Qemu's model of Integrator/CP is the standard PC layout. What puzzles me is whether this was a fix or a regression. Does anybody know what was the motivation for that change?

The PL050 is just a PS/2 keyboard (or mouse) interface -- so it doesn't have any control over the keyboard layout (either in hardware or in qemu's model); I guess you're seeing the effects of a non-ARM-specific change to PS/2 keyboard handling.

-- PMM

#2 lore raw

Quoting Peter Maydell <[email protected]>:

Quoted 11 lines · Jakub Jermar
Quoted 5 lines

I noticed that the layout of the PL050 keyboard used on Integrator/CP incompatibly changed sometime between Qemu 0.10.5 and Qemu 0.11.1. The current layout used in Qemu's model of Integrator/CP is the standard PC layout. What puzzles me is whether this was a fix or a regression. Does anybody know what was the motivation for that change?

The PL050 is just a PS/2 keyboard (or mouse) interface -- so it doesn't have any control over the keyboard layout (either in hardware or in qemu's model); I guess you're seeing the effects of a non-ARM-specific change to PS/2 keyboard handling.

Hi Peter,

I would tend to think that there is only one correct set of key codes that the keyboard on Integrator/CP may generate. And the question is whether the current behavior is the correct one.

We can observe this with HelenOS/arm32/icp. We captured the key codes of the layout from the old Qemu and programmed our driver to work with, but with the new Qemu, the key codes / the layout changed and the driver sends wrong codes.

Jakub

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

#3 lore raw
Quoted 8 lines · On 22 March 2011 15:19, <[email protected]> wrote:

Quoting Peter Maydell <[email protected]>:

Quoted 7 lines · Jakub Jermar
Quoted 5 lines

I noticed that the layout of the PL050 keyboard used on Integrator/CP incompatibly changed sometime between Qemu 0.10.5 and Qemu 0.11.1. The current layout used in Qemu's model of Integrator/CP is the standard PC layout. What puzzles me is whether this was a fix or a regression. Does anybody know what was the motivation for that change?

Quoted 7 lines
Quoted 4 lines

The PL050 is just a PS/2 keyboard (or mouse) interface -- so it doesn't have any control over the keyboard layout (either in hardware or in qemu's model); I guess you're seeing the effects of a non-ARM-specific change to PS/2 keyboard handling.

I would tend to think that there is only one correct set of key codes that the keyboard on Integrator/CP may generate.

Why do you think this? The keyboard isn't built in to the hardware, so the set of keycodes you get depends on the keyboard, not the Integrator/CP. (Conversely, you should get the same set of keycodes for an Integrator/CP as you would for a PC model, so if there was a difference in 0.10.5 this is a progression, not a regression.)

-- PMM

#4 lore raw

Quoting Peter Maydell <[email protected]>:

Quoted 8 lines
Quoted 2 lines

I would tend to think that there is only one correct set of key codes that the keyboard on Integrator/CP may generate.

Why do you think this? The keyboard isn't built in to the hardware, so the set of keycodes you get depends on the keyboard, not the Integrator/CP. (Conversely, you should get the same set of keycodes for an Integrator/CP as you would for a PC model, so if there was a difference in 0.10.5 this is a progression, not a regression.)

It was just a guess. The problem is that I never saw a real Integrator/CP and don't know whether the keyboard is fixed or not. The key map which we originally used was reverse engineered from the old Qemu. Now it looks like we will simply dump it and use the PC keyboard for it.

Thanks for making this clear.

Jakub

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.