[OpenIndiana-discuss] OI new user questions - 2

Gary Mills gary_mills at fastmail.fm
Sun Dec 13 19:19:01 UTC 2020


On Thu, Dec 10, 2020 at 10:56:42PM +0000, Kalle Anka via openindiana-discuss wrote:
> [   137.882] (EE) Error compiling keymap (server-0) executing '"/usr/bin/xkbcomp" -w 1 "-R/usr/share/X11/xkb" -xkm "-" -em1 "The XKEYBOARD keymap compiler (xkbcomp) reports:" -emp "> " -eml "Errors from xkbcomp are not fatal to the X server" "/var/run/xkb/server-0.xkm"'
> [   137.882] (EE) XKB: Couldn't compile keymap
> [   137.882] (EE) XKB: Failed to load keymap. Loading default keymap instead.
> [   137.903] (EE) Error compiling keymap (server-0) executing '"/usr/bin/xkbcomp" -w 1 "-R/usr/share/X11/xkb" -xkm "-" -em1 "The XKEYBOARD keymap compiler (xkbcomp) reports:" -emp "> " -eml "Errors from xkbcomp are not fatal to the X server" "/var/run/xkb/server-0.xkm"'
> [   137.904] (EE) XKB: Couldn't compile keymap
> [   137.904] XKB: Failed to compile keymap
> [   137.904] Keyboard initialization failed. This could be a missing or incorrect setup of xkeyboard-config.
> [   137.904] (EE) 
> Fatal server error:
> [   137.904] (EE) Failed to activate virtual core keyboard: 2(EE) 
> [   137.904] (EE) 
> Please consult the Project OpenIndiana support 
>      at http://openindiana.org
>  for help. 
> [   137.904] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
> [   137.904] (EE) 
> [   141.548] (EE) Server terminated with error (1). Closing log file.

I did some testing with the OI-hipster-gui-20201031.usb USB image on
one of my systems.  It uses an Intel CPU with built-in Intel graphics.
It booted the image's copy of OI to produce the usual desktop with a
few additional icons.  The portion of the /var/log/Xorg.0.log file
that shows the keyboard configuration was like this:

[   141.103] (II) config/hal: Adding input device hotkey
[   141.104] (II) LoadModule: "hotkey"
[   141.104] (II) Loading /usr/lib/xorg/modules/input/amd64/hotkey_drv.so
[   141.108] (II) Module hotkey: vendor="X.Org Foundation"
[   141.108]    compiled for 1.19.5, module version = 1.0.0
[   141.108]    Module class: X.Org XInput Driver
[   141.108]    ABI class: X.Org XInput driver, version 24.1
[   141.108] (II) Using input driver 'hotkey' for 'hotkey'
[   141.108] (**) hotkey: always reports core events
[   141.108] (II) XINPUT: Adding extended input device "hotkey" (type: KEYBOARD, id 6)
[   141.109] (**) hotkey_events_init and pipe open succeeded
[   141.110] (II) config/hal: Adding input device keyboard
[   141.111] (II) LoadModule: "kbd"
[   141.111] (II) Loading /usr/lib/xorg/modules/input/amd64/kbd_drv.so
[   141.111] (II) Module kbd: vendor="X.Org Foundation"
[   141.111]    compiled for 1.19.5, module version = 1.9.0
[   141.111]    Module class: X.Org XInput Driver
[   141.111]    ABI class: X.Org XInput driver, version 24.1
[   141.111] (II) Using input driver 'kbd' for 'keyboard'
[   141.112] (**) keyboard: always reports core events
[   141.112] (**) keyboard: always reports core events
[   141.112] (**) Option "Device" "/dev/usb/hid1"
[   141.112] (II) keyboard: Opened device "/dev/usb/hid1"
[   141.112] (**) Option "XkbRules" "base"
[   141.112] (**) Option "XkbModel" "sun_type6_usb"
[   141.112] (**) Option "XkbLayout" "us"
[   141.112] (WW) Option "XkbVariant" requires a string value
[   141.112] (**) Option "config_info" "hal:/org/freedesktop/Hal/devices/pci_0_0/pci1043_8694_14/device_8/keyboard_0_if0_1_logicaldev_input"
[   141.112] (II) XINPUT: Adding extended input device "keyboard" (type: KEYBOARD, id 7)
[   141.112] (**) Option "StreamsModule" "usbkbm"
[   141.112] (--) keyboard: Keyboard type: USB (6)
[   141.112] (--) keyboard: Keyboard layout: 0

Note that hal is used to obtain the keyboard device in my case.  I
wonder if the hal service has failed in your case.  Here's how it
looks to me:

jack at openindiana:/jack$ svcs -l svc:/system/hal:default
fmri         svc:/system/hal:default
name         Hardware Abstraction Layer daemon
enabled      true
state        online
next_state   none
state_time   Sun Dec 13 10:38:42 2020
logfile      /var/svc/log/system-hal:default.log
restarter    svc:/system/svc/restarter:default
contract_id  41 
dependency   require_all/none svc:/system/filesystem/minimal (online)
dependency   require_all/none svc:/system/device/local (online)
dependency   require_all/none svc:/system/dbus (online)
dependency   require_all/none svc:/system/sysevent (online)
dependency   optional_all/none svc:/system/keymap (online)



-- 
-Gary Mills-		-refurb-		-Winnipeg, Manitoba, Canada-



More information about the openindiana-discuss mailing list