xorg.conf disabling keyboard
tongke xue
tongkexue at gmail.com
Thu Aug 28 01:09:24 PDT 2008
This works _almost_ perfectly
here's what I havbe:
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "evdev"
Option "Device" "/dev/input/by-id/usb-05f3_0007-event-kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
my laptop's built in keyboard is ignored; only input from the kinesis is
taken into account
there's one slight problem -- my keyboard now ignore left/right/up/down
arrow keys and pageup/page down keys
i'm guessing i have the wrong XkbModel value of pc105? but i'm not sure what
to replace it with
i tried to find xkb files related to pc105, but 'locate pc105' brings up
nothing on my computer
thanks
On Thu, Aug 28, 2008 at 12:13 AM, Peter Hutterer
<peter.hutterer at who-t.net>wrote:
> On Wed, Aug 27, 2008 at 10:14:13PM -0700, tongke xue wrote:
> > So I have a laptop and akinesis ergo keyboard; and I want to put the
> > kinesis keyboard right on the laptop keyboard, and code away. Problem
> > is that sometimes, my kinesis keyboard accidently hits keys on the
> > underlying keyboard. Using xinput list, I can see that X knows that
> > these are two separate sources;
>
> actually, it doesn't.
>
> > "Virtual core keyboard" id=0 [XKeyboard]
>
> this keyboard is server-internal and does not represent a physical
> keyboard.
>
> > "Generic Keyboard" id=2 [XExtensionKeyboard]
>
> this keyboard represents both physical devices.
>
> > how can in in xorg.conf tell xorg to only listen to my kinesis keyboard
> and
> > ignore my laptop's bilt in keyboard?
>
> use HAL to configure the actual keyboard devices, or configure them
> manually
> in your xorg.conf using the evdev driver. then you can enable/disable them
> at
> runtime with XChangeDeviceControl.
>
> as long as you are using kbd, all physical devices will appear as one
> device
> to the server.
>
> Cheers,
> Peter
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20080828/03956cfe/attachment.html>
More information about the xorg
mailing list