Re: _at_188498: u3g works, Xorg does not

From: Max Laier <max_at_love2party.net>
Date: Thu, 12 Feb 2009 11:18:03 +0100
On Thursday 12 February 2009 10:38:24 Poul-Henning Kamp wrote:
> I just tried _at_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_at_freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier_at_EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News
Received on Thu Feb 12 2009 - 09:18:05 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:42 UTC