|
From: Hugo V. <hvw...@ya...> - 2006-07-07 13:03:49
|
--- Zoltan Boszormenyi <zb...@fr...> wrote:
> Hugo Vanwoerkom �rta:
> >
> >
> > */Zoltan Boszormenyi <zb...@fr...>/*
> wrote:
> >
> > Hi,
> >
> > I just noticed that faketty isn't needed with
> Xorg 7.x.
> > The following section works like a charm for a
> keyboard,
> > nothing else is needed.
> >
> > Section "InputDevice"
> > Identifier "Keyboard0"
> > Driver "evdev"
> > Option "Device" "/dev/input/eventX"
> > Option "XkbLayout" "hu"
> > EndSection
> >
> > The proper eventX device is registered in
> /proc/bus/input/devices
> > and as with the kbd driver, multiple sections
> can be listed
> > and assigned to the same server, e.g. the PS/2
> keyboard
> > and the BTTV remote is assigned to one X
> server,
> > the USB keyboard's two devices (normal
> keyboard and
> > the multimedia keys are separated) are
> assigned to the
> > other server.
> >
> > And what is the vt set at then in gdm.conf for the
> other keyboards?
> >
> > Hugo
>
> Nothing, but "-sharevts" is needed. Same for faketty
> if I don't specify "vtX" on the parameter line and
> use
> Option "Device" "/dev/fttyN" instead.
>
> But some bug may still exist in the X evdev driver
> as hungarian layout doesn't work correctly.
> E.g. Option "XkbModel" "pc105" makes RightAlt
> behave as Enter and without it (e.g. working as
> pc104),
> my i-acute button doesn't work.
>
> So, XOrg is only starting to get there, I switched
> back to faketty for now.
>
>
I just tried this with good success. But I only have 2
monitors/keybds/mice.
The keyboards are both IBM Model M's. Mine is now 13
years old and the other I bought for $57 new.
Also I only need dead keys for us-intl config.
So Faketty is gone and xorg.conf relevant parts
becomes:
...
Section "InputDevice"
Identifier "Keyboard0"
Driver "evdev"
Option "Device"
"/dev/input/event0"
Option "XkbLayout" "us_intl"
EndSection
...
Section "InputDevice"
Identifier "Keyboard1"
Driver "evdev"
Option "Device"
"/dev/input/event1"
Option "XkbLayout" "us_intl"
EndSection
...
And the relevant parts of gdm.conf.1 are:
for the primary video console:
...
command=/usr/bin/X1 :0 -layout X1 -dpi 110
-deferglyphs 16 -isolateDevice \"PCI:0:10:0\" vt7
...
and for the alternate console:
...
command=/usr/bin/X0 :1 -layout X0 -dpi 110
-deferglyphs 16 -isolateDevice \"PCI:1:0:0\" -sharevts
...
but I don't think -sharevts is necessary because there
are none there.
It seems to work well:
xserver-xorg 7.0.22
Debian Sid (unstable)
NVIDIA-Linux-x86-1.0-8762
Regards,
Hugo
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
|