Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Two keyboards, two layouts: evdev and hal works for Xorg 1.5.3



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Josh Glover wrote:
> 2009/4/28 Stu Bouyer <stubouyer@example.com>:
> 
>> Would evdev and hal along with xorg 1.5.3 be of any use here?
> 
> Potentially, and I use evdev, HAL, and xorg 1.5.x, so all of this
> should work for me.
> 

Changed the  file to read:

<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
   <match key="info.capabilities" contains="input.keys">
     <match key="info.product" string="AT Translated Set 2 keyboard">
      <merge key="input.x11_driver" type="string">evdev</merge>
      <merge key="input.x11_options.XkbRules" type="string">evdev</merge>
      <merge key="input.x11_XkbModel" type="string">jp106</merge>
      <merge key="input.x11_options.XkbLayout" type="string">jp</merge>
      <merge key="input.x11_options.XkbModel" type="string">jp106</merge>
     </match>
     <match key="info.product" string="Chicony Compaq Internet Keyboard">
      <merge key="input.x11_driver" type="string">evdev</merge>
      <merge key="input.x11_options.XkbRules" type="string">evdev</merge>
      <merge key="input.x11_options.XkbLayout" type="string">gb</merge>
     </match>
   </match>
</deviceinfo>

and now I get the following in Xorg.0.log

(II) config/hal: Adding input device Chicony Compaq Internet Keyboard
(**) Chicony Compaq Internet Keyboard: always reports core events
(**) Chicony Compaq Internet Keyboard: Device: "/dev/input/event4"
(II) Chicony Compaq Internet Keyboard: Found keys
(II) Chicony Compaq Internet Keyboard: Configuring as keyboard
(II) XINPUT: Adding extended input device "Chicony Compaq Internet
Keyboard" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "gb"

and shift-3 gives "£"

Cheers

Stu



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkn27jwACgkQ7gEZPRYH5/eAMgCg4OzTEZKJAhn0WVKyglKjMqLf
bIIAoN9SNR56DGthOmvGpsmb4rQ47f13
=aUNL
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links