You are not logged in.
Hello everyone,
since last upgrade (including, let's say, about one week changes) or trying to add users to tty group the input devices (mouse and keyboard) stopped working under X. I mean I run kdm and pointer and keyboard are frozen. The problem lies in hal, because when I add to /etc/X11/xorg.conf.d/10-evdev.conf:
Section "ServerLayout"
Identifier "Configured"
Option "AutoAddDevices" "false"
EndSectionthe devices work, but it isn't the solution (for example special keyboard keys don't work).
All /etc/hal/fdi/ directories are empty. I tried to remove /var/cache/hald/fdi-cache, but with no success.
Xorg.0.log:
[ 2647.121]
X.Org X Server 1.10.1
Release Date: 2011-04-15
[ 2647.121] X Protocol Version 11, Revision 0
[ 2647.121] Build Operating System: Linux 2.6.38-ARCH i686
[ 2647.121] Current Operating System: Linux zielony 2.6.38-ARCH #1 SMP PREEMPT Fri Apr 22 17:48:36 UTC 2011 i686
[ 2647.121] Kernel command line: rootfstype=ext4 root=/dev/disk/by-uuid/f411ac84-e2f1-4e1a-84ec-1083a7f7a165 ro
[ 2647.121] Build Date: 16 April 2011 12:05:35PM
[ 2647.121]
[ 2647.121] Current version of pixman: 0.20.2
[ 2647.121] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 2647.121] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 2647.121] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Apr 28 21:01:34 2011
[ 2647.121] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 2647.121] (==) ServerLayout "Configured"
[ 2647.121] (**) |-->Screen "Screen 1" (0)
[ 2647.121] (**) | |-->Monitor "<default monitor>"
[ 2647.121] (==) No device specified for screen "Screen 1".
Using the first device section listed.
[ 2647.121] (**) | |-->Device "Default nvidia Device"
[ 2647.121] (==) No monitor specified for screen "Screen 1".
Using a default monitor configuration.
[ 2647.121] (==) Automatically adding devices
[ 2647.121] (==) Automatically enabling devices
[ 2647.122] (==) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/OTF/,
/usr/share/fonts/Type1/,
/usr/share/fonts/100dpi/,
/usr/share/fonts/75dpi/
[ 2647.122] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 2647.122] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 2647.122] (II) Loader magic: 0x81f4ee0
[ 2647.122] (II) Module ABI versions:
[ 2647.122] X.Org ANSI C Emulation: 0.4
[ 2647.122] X.Org Video Driver: 10.0
[ 2647.122] X.Org XInput driver : 12.2
[ 2647.122] X.Org Server Extension : 5.0
[ 2647.122] (--) PCI:*(0:1:0:0) 10de:06e4:107d:2707 rev 161, Mem @ 0xfa000000/16777216, 0xd0000000/268435456, 0xf8000000/33554432, I/O @ 0x0000bc00/128, BIOS @ 0x????????/131072
[ 2647.122] (II) Open ACPI successful (/var/run/acpid.socket)
[ 2647.122] (II) LoadModule: "extmod"
[ 2647.122] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[ 2647.122] (II) Module extmod: vendor="X.Org Foundation"
[ 2647.122] compiled for 1.10.1, module version = 1.0.0
[ 2647.122] Module class: X.Org Server Extension
[ 2647.123] ABI class: X.Org Server Extension, version 5.0
[ 2647.123] (II) Loading extension MIT-SCREEN-SAVER
[ 2647.123] (II) Loading extension XFree86-VidModeExtension
[ 2647.123] (II) Loading extension XFree86-DGA
[ 2647.123] (II) Loading extension DPMS
[ 2647.123] (II) Loading extension XVideo
[ 2647.123] (II) Loading extension XVideo-MotionCompensation
[ 2647.123] (II) Loading extension X-Resource
[ 2647.123] (II) LoadModule: "dbe"
[ 2647.123] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[ 2647.123] (II) Module dbe: vendor="X.Org Foundation"
[ 2647.123] compiled for 1.10.1, module version = 1.0.0
[ 2647.123] Module class: X.Org Server Extension
[ 2647.123] ABI class: X.Org Server Extension, version 5.0
[ 2647.123] (II) Loading extension DOUBLE-BUFFER
[ 2647.123] (II) LoadModule: "glx"
[ 2647.123] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 2647.135] (II) Module glx: vendor="NVIDIA Corporation"
[ 2647.135] compiled for 4.0.2, module version = 1.0.0
[ 2647.135] Module class: X.Org Server Extension
[ 2647.135] (II) NVIDIA GLX Module 270.41.06 Mon Apr 18 15:11:28 PDT 2011
[ 2647.135] (II) Loading extension GLX
[ 2647.135] (II) LoadModule: "record"
[ 2647.135] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[ 2647.136] (II) Module record: vendor="X.Org Foundation"
[ 2647.136] compiled for 1.10.1, module version = 1.13.0
[ 2647.136] Module class: X.Org Server Extension
[ 2647.136] ABI class: X.Org Server Extension, version 5.0
[ 2647.136] (II) Loading extension RECORD
[ 2647.136] (II) LoadModule: "dri"
[ 2647.136] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[ 2647.136] (II) Module dri: vendor="X.Org Foundation"
[ 2647.136] compiled for 1.10.1, module version = 1.0.0
[ 2647.136] ABI class: X.Org Server Extension, version 5.0
[ 2647.136] (II) Loading extension XFree86-DRI
[ 2647.136] (II) LoadModule: "dri2"
[ 2647.136] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[ 2647.136] (II) Module dri2: vendor="X.Org Foundation"
[ 2647.136] compiled for 1.10.1, module version = 1.2.0
[ 2647.136] ABI class: X.Org Server Extension, version 5.0
[ 2647.136] (II) Loading extension DRI2
[ 2647.136] (II) LoadModule: "nvidia"
[ 2647.136] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 2647.136] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 2647.136] compiled for 4.0.2, module version = 1.0.0
[ 2647.136] Module class: X.Org Video Driver
[ 2647.136] (II) NVIDIA dlloader X Driver 270.41.06 Mon Apr 18 14:55:51 PDT 2011
[ 2647.136] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 2647.136] (++) using VT number 8[ 2647.139] (II) Loading sub module "fb"
[ 2647.139] (II) LoadModule: "fb"
[ 2647.139] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 2647.139] (II) Module fb: vendor="X.Org Foundation"
[ 2647.139] compiled for 1.10.1, module version = 1.0.0
[ 2647.139] ABI class: X.Org ANSI C Emulation, version 0.4
[ 2647.139] (II) Loading sub module "wfb"
[ 2647.139] (II) LoadModule: "wfb"
[ 2647.139] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 2647.139] (II) Module wfb: vendor="X.Org Foundation"
[ 2647.139] compiled for 1.10.1, module version = 1.0.0
[ 2647.139] ABI class: X.Org ANSI C Emulation, version 0.4
[ 2647.139] (II) Loading sub module "ramdac"
[ 2647.139] (II) LoadModule: "ramdac"
[ 2647.139] (II) Module "ramdac" already built-in
[ 2647.139] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 2647.139] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 2647.139] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 2647.139] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[ 2647.139] (==) NVIDIA(0): RGB weight 888
[ 2647.139] (==) NVIDIA(0): Default visual is TrueColor
[ 2647.139] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 2647.139] (**) NVIDIA(0): Option "NoLogo" "True"
[ 2647.485] (II) NVIDIA(GPU-0): Display (Sony SDM-HS95P (DFP-0)) does not support NVIDIA 3D
[ 2647.485] (II) NVIDIA(GPU-0): Vision stereo.
[ 2647.485] (II) NVIDIA(0): NVIDIA GPU GeForce 8400 GS (G98) at PCI:1:0:0 (GPU-0)
[ 2647.485] (--) NVIDIA(0): Memory: 524288 kBytes
[ 2647.485] (--) NVIDIA(0): VideoBIOS: 62.98.29.00.38
[ 2647.485] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[ 2647.485] (--) NVIDIA(0): Interlaced video modes are supported on this GPU
[ 2647.485] (--) NVIDIA(0): Connected display device(s) on GeForce 8400 GS at PCI:1:0:0
[ 2647.485] (--) NVIDIA(0): Sony SDM-HS95P (DFP-0)
[ 2647.485] (--) NVIDIA(0): Sony SDM-HS95P (DFP-0): 330.0 MHz maximum pixel clock
[ 2647.485] (--) NVIDIA(0): Sony SDM-HS95P (DFP-0): Internal Dual Link TMDS
[ 2647.554] (II) NVIDIA(0): Assigned Display Device: DFP-0
[ 2647.554] (II) NVIDIA(0): Validated modes:
[ 2647.554] (II) NVIDIA(0): "1024x768"
[ 2647.554] (II) NVIDIA(0): "800x600"
[ 2647.554] (II) NVIDIA(0): "640x480"
[ 2647.554] (II) NVIDIA(0): Virtual screen size determined to be 1024 x 768
[ 2647.590] (--) NVIDIA(0): DPI set to (68, 65); computed from "UseEdidDpi" X config
[ 2647.590] (--) NVIDIA(0): option
[ 2647.590] (--) Depth 24 pixmap format is 32 bpp
[ 2647.591] (II) NVIDIA: Using 768.00 MB of virtual memory for indirect memory access.
[ 2647.597] (II) NVIDIA(0): Setting mode "1024x768"
[ 2647.619] (II) Loading extension NV-GLX
[ 2647.651] (==) NVIDIA(0): Disabling shared memory pixmaps
[ 2647.651] (==) NVIDIA(0): Backing store disabled
[ 2647.651] (==) NVIDIA(0): Silken mouse enabled
[ 2647.652] (==) NVIDIA(0): DPMS enabled
[ 2647.652] (II) Loading extension NV-CONTROL
[ 2647.652] (II) Loading extension XINERAMA
[ 2647.652] (II) Loading sub module "dri2"
[ 2647.652] (II) LoadModule: "dri2"
[ 2647.652] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[ 2647.652] (II) Module dri2: vendor="X.Org Foundation"
[ 2647.652] compiled for 1.10.1, module version = 1.2.0
[ 2647.652] ABI class: X.Org Server Extension, version 5.0
[ 2647.652] (II) NVIDIA(0): [DRI2] Setup complete
[ 2647.652] (==) RandR enabled
[ 2647.652] (II) Initializing built-in extension Generic Event Extension
[ 2647.652] (II) Initializing built-in extension SHAPE
[ 2647.652] (II) Initializing built-in extension MIT-SHM
[ 2647.652] (II) Initializing built-in extension XInputExtension
[ 2647.652] (II) Initializing built-in extension XTEST
[ 2647.652] (II) Initializing built-in extension BIG-REQUESTS
[ 2647.652] (II) Initializing built-in extension SYNC
[ 2647.652] (II) Initializing built-in extension XKEYBOARD
[ 2647.652] (II) Initializing built-in extension XC-MISC
[ 2647.652] (II) Initializing built-in extension SECURITY
[ 2647.652] (II) Initializing built-in extension XINERAMA
[ 2647.652] (II) Initializing built-in extension XFIXES
[ 2647.652] (II) Initializing built-in extension RENDER
[ 2647.652] (II) Initializing built-in extension RANDR
[ 2647.652] (II) Initializing built-in extension COMPOSITE
[ 2647.652] (II) Initializing built-in extension DAMAGE
[ 2647.654] (II) Initializing extension GLX
Interesting fragment from this:
[ 2647.122] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
Of course users aren't longer added to tty group.
lshal fragment:
udi = '/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port_logicaldev_input'
info.addons.singleton = {'hald-addon-input'} (string list)
info.capabilities = {'input', 'input.keyboard', 'input.keypad', 'input.keys', 'button'} (
string list)
info.category = 'input' (string)
info.parent = '/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port' (string)
info.product = 'AT Translated Set 2 keyboard' (string)
info.subsystem = 'input' (string)
info.udi = '/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port_logicaldev_input'
(string)
input.device = '/dev/input/event0' (string)
input.originating_device = '/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port'
(string)
input.product = 'AT Translated Set 2 keyboard' (string)
input.x11_driver = 'evdev' (string)
input.xkb.layout = 'us' (string)
input.xkb.model = 'evdev' (string)
input.xkb.rules = 'base' (string)
input.xkb.variant = '' (string)
linux.device_file = '/dev/input/event0' (string)
linux.hotplug_type = 2 (0x2) (int)
linux.subsystem = 'input' (string)
linux.sysfs_path = '/sys/devices/platform/i8042/serio0/input/input0/event0' (string)
I'd be really grateful for helping me with reparing hal input devices recognition.
Last edited by Zielony (2011-04-28 22:35:24)
Offline
hal is no longer used by X
Offline
Ok, so what is responsible for hotplugging devices? Both dbus and hal are working. Or what can I do with udev maybe?
root:/dev/input# ls -l
razem 0
drwxr-xr-x 2 root root 160 04-28 20:17 by-id
drwxr-xr-x 2 root root 160 04-28 20:17 by-path
crw-r----- 1 root root 13, 64 04-28 20:17 event0
crw-r----- 1 root root 13, 65 04-28 20:17 event1
crw-r----- 1 root root 13, 66 04-28 20:17 event2
crw-r----- 1 root root 13, 67 04-28 20:17 event3
crw-r----- 1 root root 13, 68 04-28 20:17 event4
crw-r----- 1 root root 13, 69 04-28 20:17 event5
crw-r--r-- 1 root root 13, 0 04-28 20:17 js0
crw-r----- 1 root root 13, 63 04-28 20:17 mice
crw-r----- 1 root root 13, 32 04-28 20:17 mouse0
root:~# dmesg | grep input
[ 1.480793] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
[ 7.090301] input: PC Speaker as /devices/platform/pcspkr/input/input1
[ 7.112971] input: Power Button as /devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input2
[ 7.113077] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input3
[ 8.670104] input: A4Tech USB Full Speed as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.0/input/input4
[ 8.670199] generic-usb 0003:09DA:8090.0001: input,hidraw0: USB HID v1.11 Mouse [A4Tech USB Full Speed] on usb-0000:00:1d.0-1.5/input0
[ 8.725148] input: A4Tech USB Full Speed as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.1/input/input5
[ 8.725294] generic-usb 0003:09DA:8090.0002: input,hiddev0,hidraw1: USB HID v1.11 Keyboard [A4Tech USB Full Speed] on usb-0000:00:1d.0-1.5/input1
Last edited by Zielony (2011-04-28 19:41:23)
Offline
Offline
So I have standard configuration files:
root:~# ls /etc/X11/xorg.conf.d/
10-evdev.conf 10-monitor.conf 10-quirks.conf 20-nvidia.conf
And all hapilly worked until yesterday. The changes could be caused only by tty group user adding or recent updates:
[2011-04-27 18:10] Running 'pacman -Syu'
[2011-04-27 18:10] synchronizing package lists
[2011-04-27 18:10] starting full system upgrade
[2011-04-27 18:17] upgraded git (1.7.4.4-1 -> 1.7.5-1)
[2011-04-27 18:17] upgraded ilmbase (1.0.1-1 -> 1.0.2-1)
[2011-04-27 18:17] >>>
[2011-04-27 18:17] >>> If you use the LILO bootloader, you should run 'lilo' before rebooting.
[2011-04-27 18:17] >>>
[2011-04-27 18:17] >>> Updating module dependencies. Please wait ...
[2011-04-27 18:17] >>> MKINITCPIO SETUP
[2011-04-27 18:17] >>> ----------------
[2011-04-27 18:17] >>> If you use LVM2, Encrypted root or software RAID,
[2011-04-27 18:17] >>> Ensure you enable support in /etc/mkinitcpio.conf .
[2011-04-27 18:17] >>> More information about mkinitcpio setup can be found here:
[2011-04-27 18:17] >>> http://wiki.archlinux.org/index.php/Mkinitcpio
[2011-04-27 18:17]
[2011-04-27 18:17] >>> Generating initial ramdisk, using mkinitcpio. Please wait...
[2011-04-27 18:17] ==> Building image "default"
[2011-04-27 18:17] ==> Running command: /sbin/mkinitcpio -k 2.6.38-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26.img
[2011-04-27 18:17] :: Begin build
[2011-04-27 18:17] :: Parsing hook [base]
[2011-04-27 18:17] :: Parsing hook [udev]
[2011-04-27 18:17] :: Parsing hook [autodetect]
[2011-04-27 18:17] :: Parsing hook [pata]
[2011-04-27 18:17] :: Parsing hook [scsi]
[2011-04-27 18:17] :: Parsing hook [sata]
[2011-04-27 18:17] :: Parsing hook [filesystems]
[2011-04-27 18:17] :: Generating module dependencies
[2011-04-27 18:17] :: Generating image '/boot/kernel26.img'...SUCCESS
[2011-04-27 18:17] ==> SUCCESS
[2011-04-27 18:17] ==> Building image "fallback"
[2011-04-27 18:17] ==> Running command: /sbin/mkinitcpio -k 2.6.38-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26-fallback.img -S autodetect
[2011-04-27 18:17] :: Begin build
[2011-04-27 18:17] :: Parsing hook [base]
[2011-04-27 18:17] :: Parsing hook [udev]
[2011-04-27 18:17] :: Parsing hook [pata]
[2011-04-27 18:17] :: Parsing hook [scsi]
[2011-04-27 18:17] :: Parsing hook [sata]
[2011-04-27 18:17] :: Parsing hook [filesystems]
[2011-04-27 18:17] :: Generating module dependencies
[2011-04-27 18:17] :: Generating image '/boot/kernel26-fallback.img'...SUCCESS
[2011-04-27 18:17] ==> SUCCESS
[2011-04-27 18:17] upgraded kernel26 (2.6.38.3-1 -> 2.6.38.4-1)
[2011-04-27 18:18] upgraded kernel26-headers (2.6.38.3-1 -> 2.6.38.4-1)
[2011-04-27 18:18] upgraded libmad (0.15.1b-4 -> 0.15.1b-5)
[2011-04-27 18:18] upgraded mdadm (3.2.1-1 -> 3.2.1-3)
[2011-04-27 18:18] upgraded mpg123 (1.13.2-1 -> 1.13.3-1)
[2011-04-27 18:18] upgraded yajl (1.0.11-3 -> 2.0.0-2)
[2011-04-27 18:18] upgraded package-query (0.7-1 -> 0.8-1)
Previously to use input devices I didn't have to have installed xf86-input-{mouse,keyboard}. Only now, when I use Option "AutoAddDevices" "false", it's needed.
Last edited by Zielony (2011-04-28 20:23:49)
Offline
Is there any way to force Xorg to use evdev for keyboard, not kbd driver?
SOLVED
I removed /etc/X11/xorg.conf.d/10-evdev.conf.
Input devices xorg.conf section:
Section "InputDevice"
Identifier "Keyboard0"
Option "Device" "/dev/input/by-path/platform-i8042-serio-0-event-kbd"
Driver "evdev"
EndSectionSection "InputDevice"
Identifier "Mouse0"
Driver "evdev"
Option "Protocol" "auto"
Option "Device" "/dev/input/event4"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Works fine.
Last edited by Zielony (2011-04-28 22:34:57)
Offline