LINUX.ORG.RU
ФорумAdmin

помогите с настройкой xorg

 


0

1

Установлен X.Org X Server 1.11.2 hal не установлен, ядро собрано без поддержки аудио драйверов. Я так понял что при загрузке xorg берёт настройки для клавиатуры и мышки из файла: /etc/X11/xorg.conf.d/10-evdev.conf

вот он:

Section «InputClass» Identifier «evdev pointer catchall» MatchIsPointer «on» MatchDevicePath «/dev/input/event*» Driver «evdev» Option «XkbModel» «pc105» Option «XkbLayout» «us,ru(winkeys)» Option «XkbOptions» «grp:ctrl_shift_toggle,grp_led:scroll.compose:rwin» EndSection

Section «InputClass» Identifier «evdev keyboard catchall» MatchIsKeyboard «on» MatchDevicePath «/dev/input/event*» Driver «evdev» EndSection

Section «InputClass» Identifier «evdev touchpad catchall» MatchIsTouchpad «on» MatchDevicePath «/dev/input/event*» Driver «evdev» EndSection

Section «InputClass» Identifier «evdev tablet catchall» MatchIsTablet «on» MatchDevicePath «/dev/input/event*» Driver «evdev» EndSection

Section «InputClass» Identifier «evdev touchscreen catchall» MatchIsTouchscreen «on» MatchDevicePath «/dev/input/event*» Driver «evdev» EndSection

Сейчас в папке /dev/input имеется пять файлов устройств event, event0 - event4 и клавиатура и мышка работают нормально, раскладка переключается. Не понятно почему настройки для клавиатуры находятся в первой секции?

После перекомпиляции ядра с поддержкой аудио драйверов в папке /dev/input появилось восемь файлов устройств event, event0-event7 и клавиатура и мышка перестали работать. Не понятно какие секции теперь относятся к клавиатуре и мышке.

Вот вывод grep «config/udev: Adding input device» /usr/var/log/Xorg.0.log при ядре без поддержки аудио драйверов

[ 148.511] (II) config/udev: Adding input device Power Button (/dev/input/event1) [ 148.571] (II) config/udev: Adding input device Power Button (/dev/input/event0) [ 148.576] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event4) [ 148.625] (II) config/udev: Adding input device ImExPS/2 Logitech Wheel Mouse (/dev/input/event3) [ 148.626] (II) config/udev: Adding input device ImExPS/2 Logitech Wheel Mouse (/dev/input/mouse0) [ 148.630] (II) config/udev: Adding input device PC Speaker (/dev/input/event2)

видно что клавиатура [ 148.576] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event4) мышка [ 148.625] (II) config/udev: Adding input device ImExPS/2 Logitech Wheel Mouse (/dev/input/event3)

Вот вывод grep «config/udev: Adding input device» /usr/var/log/Xorg.0.log при ядре с поддержки аудио драйверов

[ 7490.714] (II) config/udev: Adding input device Power Button (/dev/input/event1) [ 7490.763] (II) config/udev: Adding input device Power Button (/dev/input/event0) [ 7490.764] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event4) [ 7490.794] (II) config/udev: Adding input device ImExPS/2 Logitech Wheel Mouse (/dev/input/mouse0) [ 7490.794] (II) config/udev: Adding input device PC Speaker (/dev/input/event2) [ 7490.794] (II) config/udev: Adding input device rc-core loopback device (/dev/input/event3)

видно что нет ни клавиатуры ни мышки.

Что надо прописать в /etc/X11/xorg.conf.d/10-evdev.conf что бы они появились.

За помощь спасибо!

★★

Последнее исправление: cetjs2 (всего исправлений: 1)

Ответ на: комментарий от v4567

Вот /etc/X11/xorg.conf.d/10-evdev.conf

Section "InputClass"
        Identifier "evdev pointer catchall"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "us,ru(winkeys)"
        Option      "XkbOptions" "grp:ctrl_shift_toggle,grp_led:scroll.compose:rwin"
EndSection

Section "InputClass"
        Identifier "evdev keyboard catchall"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection
v4567 ★★
() автор топика
Ответ на: комментарий от v4567

продолжение /etc/X11/xorg.conf.d/10-evdev.conf

Section "InputClass"
        Identifier "evdev tablet catchall"
        MatchIsTablet "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev touchscreen catchall"
        MatchIsTouchscreen "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection
v4567 ★★
() автор топика
Ответ на: комментарий от v4567
$ cat /etc/X11/xorg.conf.d/10-evdev.conf
#
# Catch-all evdev loader for udev-based systems
# We don't simply match on any device since that also adds accelerometers
# and other devices that we don't really want to use. The list below
# matches everything but joysticks.

Section "InputClass"
        Identifier "evdev pointer catchall"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev keyboard catchall"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev tablet catchall"
        MatchIsTablet "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev touchscreen catchall"
        MatchIsTouchscreen "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection
strangeman ★★★★
()
Ответ на: комментарий от v4567

Вот вывод grep «config/udev: Adding input device» /usr/var/log/Xorg.0.log при ядре без поддержки аудио драйверов

[   148.511] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[   148.571] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[   148.576] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event4)
[   148.625] (II) config/udev: Adding input device ImExPS/2 Logitech Wheel Mouse (/dev/input/event3)
[   148.626] (II) config/udev: Adding input device ImExPS/2 Logitech Wheel Mouse (/dev/input/mouse0)
[   148.630] (II) config/udev: Adding input device PC Speaker (/dev/input/event2)

Вот вывод grep «config/udev: Adding input device» /usr/var/log/Xorg.0.log при ядре с поддержки аудио драйверов

[  7490.714] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[  7490.763] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[  7490.764] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event4)
[  7490.794] (II) config/udev: Adding input device ImExPS/2 Logitech Wheel Mouse (/dev/input/mouse0)
[  7490.794] (II) config/udev: Adding input device PC Speaker (/dev/input/event2)
[  7490.794] (II) config/udev: Adding input device rc-core loopback device (/dev/input/event3)
v4567 ★★
() автор топика

Мож с удавом чего? AutoAddDevices пробовал?

gadfly ★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.