xorg (evdev + hal) and vmware

Christian Schmidt schmidt at digadd.de
Wed Mar 19 14:23:04 PDT 2008


Christian Schmidt wrote:
> Hi all,
>
> I'm having a minor problem with vmware on a fully evdev + hal enabled
> system: vmware doesn't see any cursor, page up/down, and so on keys.
>
> The reason is quite simple: xev shows different keycodes (not keysyms).
>
> With hald, vmware not working:
>     state 0x0, keycode 110 (keysym 0xff50, Home), same_screen YES,
>     state 0x0, keycode 111 (keysym 0xff52, Up), same_screen YES,
>     state 0x0, keycode 112 (keysym 0xff55, Prior), same_screen YES,
>     state 0x0, keycode 113 (keysym 0xff51, Left), same_screen YES,
>     state 0x0, keycode 114 (keysym 0xff53, Right), same_screen YES,
>     state 0x0, keycode 115 (keysym 0xff57, End), same_screen YES,
>     state 0x0, keycode 116 (keysym 0xff54, Down), same_screen YES,
>     state 0x0, keycode 117 (keysym 0xff56, Next), same_screen YES,
>     state 0x0, keycode 118 (keysym 0xff63, Insert), same_screen YES,
>     state 0x0, keycode 119 (keysym 0xffff, Delete), same_screen YES,
>
> Without hald, vmware working:
>     state 0x0, keycode 97 (keysym 0xff50, Home), same_screen YES,
>     state 0x0, keycode 98 (keysym 0xff52, Up), same_screen YES,
>     state 0x0, keycode 99 (keysym 0xff55, Prior), same_screen YES,
>     state 0x0, keycode 100 (keysym 0xff51, Left), same_screen YES,
>     state 0x0, keycode 102 (keysym 0xff53, Right), same_screen YES,
>     state 0x0, keycode 103 (keysym 0xff57, End), same_screen YES,
>     state 0x0, keycode 104 (keysym 0xff54, Down), same_screen YES,
>     state 0x0, keycode 105 (keysym 0xff56, Next), same_screen YES,
>     state 0x0, keycode 106 (keysym 0xff63, Insert), same_screen YES,
>     state 0x0, keycode 107 (keysym 0xffff, Delete), same_screen YES,
>
> I'd think that vmware does not read the keysyms. So to get it to work
> again it looks like I have to change the keycodes.
>
> My problem is that I can't find all of the translations that happen to
> the keycodes. I see that the xkb maps translate the keycodes to keysyms,
> but where do the keycodes come from?
>
> The table in the kernel does not seem to match those mappings either.
>
> Regards,
> Christian
>
>   




More information about the xorg mailing list