Date: Thu, 12 Feb 2009 11:18:03 +0100 From: Max Laier <max@love2party.net> To: freebsd-current@freebsd.org Cc: Poul-Henning Kamp <phk@phk.freebsd.dk> Subject: Re: @188498: u3g works, Xorg does not Message-ID: <200902121118.03599.max@love2party.net> In-Reply-To: <1650.1234431504@critter.freebsd.dk> References: <1650.1234431504@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 12 February 2009 10:38:24 Poul-Henning Kamp wrote: > I just tried @188498 on my laptop. > > The good news is that with USB2 my 3G modem works. > > The bad news is that Xorg does not, it takes no mouse or keyboard > input. > > Interestingly, changing to a different VTY with CTRL-ALT-Fx works. > > VTY switches use SIGUSR1 as far as I remember. > > That could indicate that recent tty/syscons changes are to blame > and that Xorg is simply not getting the events it is waiting for. There have been serious changes in how xorg detects input (see ports/UPDATING 20090123). It now relies on hald to provide keyboard and mouse configuration. For us keyboard layout it's as simple as starting dbus and hald (dbus_enable="YES" hald_enable="YES") for localization you need something like this: $cat /usr/local/etc/hal/fdi/policy/x11-input.fdi <?xml version="1.0" encoding="ISO-8859-1"?> <deviceinfo version="0.2"> <device> <match key="info.capabilities" contains="input.keyboard"> <merge key="input.xkb.layout" type="string">de</merge> </match> </device> </deviceinfo> Ugly, isn't it. Of course you want to change "de" to whatever your layout is called. -- /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902121118.03599.max>