Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jun 2014 14:29:20 +0200
From:      Claude Buisson <clbuisson@orange.fr>
To:        jau789@gmail.com
Cc:        x11@freebsd.org
Subject:   keyboard problem with vt + Xorg
Message-ID:  <53A96F20.1010900@orange.fr>

next in thread | raw e-mail | index | archive | help
Hi,

Your keyboard problem looks like mine.

To make the story short: I made a number of tests with i386 and amd64, with
FreeBSD stable/9 and FreeBSD stable/10, with syscons + TEKEN_UTF8 and vt, to
get the following:

the keyboard cannot be initialized under Xorg when:

  a) the system is an amd64.
  b) a (console) keyboard map specifying unicode values > 255 is loaded
(typically the euro symbol with value 8364, which is the only change compared to
fr.iso.acc).

It works OK on i386 systems with any keyboard map, and on amd64 systems
with a "standard" keyboard map. But on amd64 + "unicode" keyboard map:

  - if xorg.conf does not have a Device option, the server segfaults.

  - if xorg.conf has a Device option:

[  43.677] (EE) Keyboard0: cannot open "/dev/kbd0" (Device busy)
[  43.677] (EE) PreInit returned 8 for "Keyboard0"
[  43.677] (II) UnloadModule: "kbd"

when /dev/kbd0 may be replaced by /dev/kbdmux0 according to xorg.conf.

Note that I applied your patch to xf86-input-keyboard to print the errno.

This problem is not limited to vt. It appears the same way on amd64 systems
(stable/9 and stable/10) with syscons + TEKEN_UTF8.

FWIW, I do not use HAL nor DEVD.

Hoping this may be useful,

Claude Buisson



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53A96F20.1010900>