Skip to contentSkip to conversation

kvm, hal, and evdev

DISCUSSION Alan Kennedy 2 participants 4 messages May 26, 2008 – Jun 3, 2008 KVM

lore
Share & tools
lore
#0 lore raw

Hi,

When using hal to autoload the mouse and keyboard with evdev. The evdev keyboard model does not work correctly with kvm (qemu) hosts. The arrow, home, end, insert & delete keys are mapped incorrectly or do not work at all.

This is not unique to kvm (qemu), and also occurs with vmware. See url below for vmware work around. Found this on the net.

http://communities.vmware.com/message/498632

I suspect the problem is with evdev, but not sure. Is there any work around like used in vmware or other solutions?

My solution was stop using hal input autoloading with evdev, and everything is working fine now. However, I would like to start using evdev if possible because that is the only driver that fully supports my mouse.

Thanks for any help with this matter.

Alan

System details:

Kernel 2.6.25.4
QEMU PC emulator version 0.9.1 (kvm-69)

#1 lore raw
Quoted 6 lines · Alan Kennedy

Hi,

When using hal to autoload the mouse and keyboard with evdev. The evdev keyboard model does not work correctly with kvm (qemu) hosts. The arrow, home, end, insert & delete keys are mapped incorrectly or do not work at all.

How are you interacting with the guest? via SDL? If so, do other SDL applications work correctly? Are you using evdev in the host or in the guest?

Regards,

Anthony Liguori

Quoted 28 lines

This is not unique to kvm (qemu), and also occurs with vmware. See url below for vmware work around. Found this on the net.

http://communities.vmware.com/message/498632

I suspect the problem is with evdev, but not sure. Is there any work around like used in vmware or other solutions?

My solution was stop using hal input autoloading with evdev, and everything is working fine now. However, I would like to start using evdev if possible because that is the only driver that fully supports my mouse.

Thanks for any help with this matter.

Alan

System details:

Kernel 2.6.25.4
QEMU PC emulator version 0.9.1 (kvm-69)

--
To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
Quoted 9 lines · Anthony Liguori <anthony <at> codemonkey.ws> writes:

How are you interacting with the guest? via SDL? If so, do other SDL applications work correctly? Are you using evdev in the host or in the guest?

Regards,

Anthony Liguori

Thanks for the response.

I'm using SDL. I have no other SDL applications. If you know of a easy to install SDL application to use as a test please let me know.

The host is running evdev, and the guest is Windows XP.

Thanks again,

Alan

#3 lore raw
Quoted 11 lines · Alan Kennedy
Quoted 7 lines · Anthony Liguori <anthony <at> codemonkey.ws> writes:

How are you interacting with the guest? via SDL? If so, do other SDL applications work correctly? Are you using evdev in the host or in the guest?

Regards,

Anthony Liguori

Quoted 7 lines

Thanks for the response.

I'm using SDL. I have no other SDL applications. If you know of a easy to install SDL application to use as a test please let me know.

The host is running evdev, and the guest is Windows XP.

Historically, SDL has had some trouble processing input events. I wouldn't be surprised if it's evdev support was buggy. See if you see have problems using -vnc and connecting with a vnc client (preferrably, vinagre or gvncviewer).

Regards,

Anthony Liguori

Quoted 10 lines

Thanks again,

Alan

--
To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html