[РЕШЕНО] udev клавиатура и мышь
bagas 30 мая, 2020 - 21:14
Добрый вечер.
Перевожу компьютер на использование udev клавиатуры и мышки.
Не хочет запускаться через udev.
Удалил пакеты
x11-drivers/xf86-input-keyboard x11-drivers/xf86-input-mouse
Установил пакет
x11-drivers/xf86-input-evdev
Мир пересобран emerge -auvDN world
qlist -IU | grep input acct-group/input dev-libs/libinput dev-qt/qtgui gif libinput png udev x11-base/xorg-drivers input_devices_evdev video_cards_nvidia x11-drivers/xf86-input-evdev
/etc/portage/make.conf
CFLAGS="-march=core2 -O2 -pipe"
CXXFLAGS="${CFLAGS}"
FFLAGS="${CFLAGS}"
CHOST="x86_64-pc-linux-gnu"
CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3"
MAKEOPTS="-j9"
FEATURES="parallel-fetch"
DISTDIR="/mnt/old/home/distfiles"
PORTAGE_TMPDIR="/mnt/tmp"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles"
VIDEO_CARDS="nvidia"
INPUT_DEVICES="evdev"
LINGUAS="ru en"
L10N="ru"
ENABLE_USE="elogind policykit udev dbus"
DISABLE_USE="-kde -gnome -samba -cups -joystick -consolekit -systemd -arts -ipv6 -sudo -multilib"
USE="${ENABLE_USE} ${DISABLE_USE}"
ACCEPT_LICENSE="AdobeFlash-11.x Nero-EULA-US dlj-1.1 google-chrome OPERA-2014 bh-luxi linux-firmware NVIDIA-r2 Skype-TOS MSttfEULA unRAR myspell-ru_RU-AlexanderLebedev"
EMERGE_DEFAULT_OPTS="--autounmask=n"
PHP_INI_VERSION=production
cat /etc/X11/xorg.conf
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
EndSection
Section "Files"
FontPath "/usr/share/fonts/corefonts/"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/100dri/"
FontPath "/usr/share/fonts/75dri/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/default/ghostscript"
FontPath "/usr/share/fonts/encodings/"
FontPath "/usr/share/fonts/ttf-bitstream-vera/"
FontPath "/usr/share/fonts/util/"
FontPath "/usr/share/fonts/cyrillic/"
EndSection
Section "Module"
Load "freetype"
Load "extmod"
Load "glx"
Load "dbe"
Load "record"
Load "type1"
EndSection
Section "Monitor"
Identifier "Monitor0"
HorizSync 31.5 - 64.3
VertRefresh 50.0 - 70.0
EndSection
Section "Device"
Identifier "Card0"
Driver "nvidia"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1680x1050" "1152x864" "1024x768"
EndSubSection
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
Section "ServerFlags"
Option "AllowEmptyInput" "False"
Option "AutoAddDevices" "False"
EndSectioncat /etc/X11/xorg.conf.d/10-keyboard.conf
Section "InputClass"
Identifier "Keyboard0"
Driver "evdev"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us,ru(winkeys)"
Option "XkbVariant" "nodeadkeys"
Option "XkbOptions" "grp:ctrl_shift_toggle,grp_led:scroll,ctrl:nocaps"
EndSectioncat /etc/X11/xorg.conf.d/30-mouse.conf
Section "InputClass"
Identifier "mouse-all"
Driver "evdev"
Option "AutoServerLayout" "on"
MatchIsPointer "on"
Option "Name" "Logitech M310"
MatchDevicePath "/dev/input/event20"
EndSection
»
- Для комментирования войдите или зарегистрируйтесь

разобрался. Не помню для чего
разобрался.
Не помню для чего я добавлял параметр что бы автоматические не добавлялись устройства.
Закоментил и все заработало.
Что бы ты не делал , жизнь слишком коротка!
Блог о BSD системах.