* [gentoo-user] Deactivate keyboard
@ 2007-05-29 22:34 "Lutz Schönemann"
2007-05-30 7:07 ` Sven Braun
2007-06-02 16:34 ` Dan Farrell
0 siblings, 2 replies; 8+ messages in thread
From: "Lutz Schönemann" @ 2007-05-29 22:34 UTC (permalink / raw
To: gentoo-user
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
--
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Deactivate keyboard
2007-05-29 22:34 [gentoo-user] Deactivate keyboard "Lutz Schönemann"
@ 2007-05-30 7:07 ` Sven Braun
2007-05-30 8:02 ` "Lutz Schönemann"
2007-06-02 16:34 ` Dan Farrell
1 sibling, 1 reply; 8+ messages in thread
From: Sven Braun @ 2007-05-30 7:07 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 665 bytes --]
On 5/30/07, "Lutz Schönemann" <Lutz.Schoenemann@gmx.net> 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
[-- Attachment #2: Type: text/html, Size: 1121 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Deactivate keyboard
2007-05-30 7:07 ` Sven Braun
@ 2007-05-30 8:02 ` "Lutz Schönemann"
2007-05-30 8:29 ` Sven Braun
0 siblings, 1 reply; 8+ messages in thread
From: "Lutz Schönemann" @ 2007-05-30 8:02 UTC (permalink / raw
To: gentoo-user
> > 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
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
* [gentoo-user] Deactivate keyboard
2007-05-30 8:02 ` "Lutz Schönemann"
@ 2007-05-30 8:29 ` Sven Braun
2007-05-30 10:30 ` "Lutz Schönemann"
0 siblings, 1 reply; 8+ messages in thread
From: Sven Braun @ 2007-05-30 8:29 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 984 bytes --]
On 5/30/07, "Lutz Schönemann" <Lutz.Schoenemann@gmx.net> 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
[-- Attachment #2: Type: text/html, Size: 1402 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Deactivate keyboard
2007-05-30 8:29 ` Sven Braun
@ 2007-05-30 10:30 ` "Lutz Schönemann"
2007-05-30 11:49 ` Randy Barlow
0 siblings, 1 reply; 8+ messages in thread
From: "Lutz Schönemann" @ 2007-05-30 10:30 UTC (permalink / raw
To: gentoo-user
> > > > 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
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Deactivate keyboard
2007-05-30 10:30 ` "Lutz Schönemann"
@ 2007-05-30 11:49 ` Randy Barlow
2007-05-30 22:21 ` "Lutz Schönemann"
0 siblings, 1 reply; 8+ messages in thread
From: Randy Barlow @ 2007-05-30 11:49 UTC (permalink / raw
To: gentoo-user
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
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Deactivate keyboard
2007-05-30 11:49 ` Randy Barlow
@ 2007-05-30 22:21 ` "Lutz Schönemann"
0 siblings, 0 replies; 8+ messages in thread
From: "Lutz Schönemann" @ 2007-05-30 22:21 UTC (permalink / raw
To: gentoo-user
> >>>>> 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
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Deactivate keyboard
2007-05-29 22:34 [gentoo-user] Deactivate keyboard "Lutz Schönemann"
2007-05-30 7:07 ` Sven Braun
@ 2007-06-02 16:34 ` Dan Farrell
1 sibling, 0 replies; 8+ messages in thread
From: Dan Farrell @ 2007-06-02 16:34 UTC (permalink / raw
To: gentoo-user
On Wed, 30 May 2007 00:34:00 +0200
"Lutz Schönemann" <Lutz.Schoenemann@gmx.net> 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
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2007-06-02 16:39 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-29 22:34 [gentoo-user] Deactivate keyboard "Lutz Schönemann"
2007-05-30 7:07 ` Sven Braun
2007-05-30 8:02 ` "Lutz Schönemann"
2007-05-30 8:29 ` Sven Braun
2007-05-30 10:30 ` "Lutz Schönemann"
2007-05-30 11:49 ` Randy Barlow
2007-05-30 22:21 ` "Lutz Schönemann"
2007-06-02 16:34 ` Dan Farrell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox