Re: [gentoo-user] Deactivate keyboard

2007-06-02 Thread Dan Farrell
On Wed, 30 May 2007 00:34:00 +0200
Lutz Schönemann [EMAIL PROTECTED] wrote:

 Hi,
 
 I have set up Gentoo on a system that I would like to use as a video,
 music player and sometimes to check my emails. There is a remote
 control connected to it and is detected as a serial keyboard. Now I
 want the xorg-server not to process events coming from this
 keyboard. I also have a bluetooth keyboard that I want to connect
 to that system and events coming from this keyboard should be
 processed.
 
 So, is it possible to deactivate one keyboard?
 
 Thanks for help
You're on the right track, having found the relevant part of
xorg.conf.  Next, you must use the 'evdev' input driver rather than
keyboard and then you can specify the keyboard(s) via event numbers, as
listed in /proc/bus/input/devices.  If your keyboard appears twice use
only the first eventX listing.  You'll need one entry per keyboard.

If you need more information on how you can specify keyboards
precisely, look into configuraitons for 'Multi-Seat' X.  

Good luck, 
Dan Farrell
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Deactivate keyboard

2007-05-30 Thread Sven Braun

On 5/30/07, Lutz Schönemann [EMAIL PROTECTED] wrote:


Hi,




Hi!

I have set up Gentoo on a system that I would like to use as a video, music

player and sometimes to check my emails. There is a remote control connected
to it and is detected as a serial keyboard. Now I want the xorg-server not
to process events coming from this keyboard. I also have a bluetooth
keyboard that I want to connect to that system and events coming from this
keyboard should be processed.

So, is it possible to deactivate one keyboard?




I think so, what about deactivating the one you do not want to use in your
xorg.conf?


Sven


Re: [gentoo-user] Deactivate keyboard

2007-05-30 Thread Lutz Schönemann
  Hi,
 
 
 
 Hi!
 
 I have set up Gentoo on a system that I would like to use as a video,
 music
  player and sometimes to check my emails. There is a remote control
 connected
  to it and is detected as a serial keyboard. Now I want the xorg-server
 not
  to process events coming from this keyboard. I also have a bluetooth
  keyboard that I want to connect to that system and events coming from
 this
  keyboard should be processed.
 
  So, is it possible to deactivate one keyboard?
 
 
 
 I think so, what about deactivating the one you do not want to use in your
 xorg.conf?
 

Thats exactly what I'm trying to do: deactivate the keyboard in my xorg.conf. 
But how can I do it?

 
 Sven

Lutz

-- 
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Deactivate keyboard

2007-05-30 Thread Lutz Schönemann
Hi,
  
  
  
   Hi!
  
   I have set up Gentoo on a system that I would like to use as a video,
   music
player and sometimes to check my emails. There is a remote control
   connected
to it and is detected as a serial keyboard. Now I want the
 xorg-server
   not
to process events coming from this keyboard. I also have a
 bluetooth
keyboard that I want to connect to that system and events coming
 from
   this
keyboard should be processed.
   
So, is it possible to deactivate one keyboard?
  
  
  
   I think so, what about deactivating the one you do not want to use in
  your
   xorg.conf?
  
 
  Thats exactly what I'm trying to do: deactivate the keyboard in my
  xorg.conf. But how can I do it?
 
 
 
 Removing the part in your conifg, I suppose. A question: Don't you want to
 use the keyboard anymore with X?
 
 Sven

I suppose you meant the part:

Section InputDevice
Identifier  Standard Keyboard
Driver  kbd
Option  AutoRepeat 500 30
Option  XkbRules xorg
Option  XkbModel pc105
Option  XkbLayout de
Option  XkbVariant nodeadkeys
EndSection

If I remove this part from my config X would use a standard configuration for 
keyboads connected to that computer.
My goal is that only one keyboard will not work. This way I can use a daemon to 
process events coming from this device.
-- 
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Deactivate keyboard

2007-05-30 Thread Randy Barlow

Lutz Schönemann wrote:

Hi,



Hi!

I have set up Gentoo on a system that I would like to use as a video,
music

player and sometimes to check my emails. There is a remote control

connected

to it and is detected as a serial keyboard. Now I want the

xorg-server

not

to process events coming from this keyboard. I also have a

bluetooth

keyboard that I want to connect to that system and events coming

from

this

keyboard should be processed.

So, is it possible to deactivate one keyboard?



I think so, what about deactivating the one you do not want to use in

your

xorg.conf?


Thats exactly what I'm trying to do: deactivate the keyboard in my
xorg.conf. But how can I do it?



Removing the part in your conifg, I suppose. A question: Don't you want to
use the keyboard anymore with X?

Sven


I suppose you meant the part:

Section InputDevice
Identifier  Standard Keyboard
Driver  kbd
Option  AutoRepeat 500 30
Option  XkbRules xorg
Option  XkbModel pc105
Option  XkbLayout de
Option  XkbVariant nodeadkeys
EndSection

If I remove this part from my config X would use a standard configuration for 
keyboads connected to that computer.
My goal is that only one keyboard will not work. This way I can use a daemon to 
process events coming from this device.


I haven't ever tried this, but have you looked into using a keyboard 
section with an option similar to:


Option  Device /dev/input/mice

but replacing /dev/input/mice with the path to the keyboard you *do* 
want to use (I have no idea what that path would be...)?


--
R
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Deactivate keyboard

2007-05-30 Thread Lutz Schönemann
  Hi,
 
 
  Hi!
 
  I have set up Gentoo on a system that I would like to use as a video,
  music
  player and sometimes to check my emails. There is a remote control
  connected
  to it and is detected as a serial keyboard. Now I want the
  xorg-server
  not
  to process events coming from this keyboard. I also have a
  bluetooth
  keyboard that I want to connect to that system and events coming
  from
  this
  keyboard should be processed.
 
  So, is it possible to deactivate one keyboard?
 
 
  I think so, what about deactivating the one you do not want to use in
  your
  xorg.conf?
 
  Thats exactly what I'm trying to do: deactivate the keyboard in my
  xorg.conf. But how can I do it?
 
 
  Removing the part in your conifg, I suppose. A question: Don't you want
 to
  use the keyboard anymore with X?
 
  Sven
  
  I suppose you meant the part:
  
  Section InputDevice
  Identifier  Standard Keyboard
  Driver  kbd
  Option  AutoRepeat 500 30
  Option  XkbRules xorg
  Option  XkbModel pc105
  Option  XkbLayout de
  Option  XkbVariant nodeadkeys
  EndSection
  
  If I remove this part from my config X would use a standard
 configuration for keyboads connected to that computer.
  My goal is that only one keyboard will not work. This way I can use a
 daemon to process events coming from this device.
 
 I haven't ever tried this, but have you looked into using a keyboard 
 section with an option similar to:
 
 Option  Device /dev/input/mice
 
 but replacing /dev/input/mice with the path to the keyboard you *do* 
 want to use (I have no idea what that path would be...)?
 

Nice idea but after a short test I found out that this configuration doesn't 
work. The path to a keyboard-event ist for example /dev/input/event5 or 
/dev/input/by-id/kbd-id. The problem is that this device nodes create 
key-press-events, key-release-events and so on.

I think I'll leave the special buttons on the remote control alone and only use 
the arrow and ok keys.
-- 
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
-- 
[EMAIL PROTECTED] mailing list