Приветствую, товарищи гентушники! Появилась проблема с иксами: мышь и клава не пашут при startx. Ядро (2.6.38) собрано с нужными опциями. Всё должно пахать через evdev, но я решил сделать через hal. Делал по этой инструкции - http://www.gentoo.ru/content/ne-rabotaet-klaviatura-i-mysh-v-xorg-15 , поставил hal, вправил xorg.conf, запустил hal - нет результата. Как можно решить проблему? Как пересобрать - x11-base/server с поддержкой hal?
Xorg: не пашет мышь и клава (снова)
santic, прежде всего вопрос — включение hal принципиально?
Покажите /var/log/Xorg.0.log и /etc/make.conf
santic, прежде всего вопрос — включение hal принципиально?
Покажите /var/log/Xorg.0.log и /etc/make.conf
Судя по ссылке, да.
Вод длиннющий лог:
Показать
[console](chroot) Desktop-computer / # cat /var/log/Xorg.0.log
[ 46.679]
X.Org X Server 1.9.5
Release Date: 2011-03-17
[ 46.679] X Protocol Version 11, Revision 0
[ 46.680] Build Operating System: Linux 2.6.37my i686 Gentoo
[ 46.680] Current Operating System: Linux Your-PC 2.6.38-gentoo-r6 #1 SMP Sun Jun 26 18:59:04 MSD 2011 i686
[ 46.680] Kernel command line: real root=/dev/sdb6
[ 46.681] Build Date: 26 June 2011 04:07:07PM
[ 46.681]
[ 46.681] Current version of pixman: 0.20.2
[ 46.681] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 46.682] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 46.683] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Jun 26 19:47:46 2011
[ 46.727] (==) Using config file: "/etc/X11/xorg.conf"
[ 46.727] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 46.762] (==) ServerLayout "X.org Configured"
[ 46.762] (**) |-->Screen "Screen0" (0)
[ 46.762] (**) | |-->Monitor "Monitor0"
[ 46.762] (**) | |-->Device "Card0"
[ 46.762] (**) Option "AllowEmptyInput" "True"
[ 46.762] (==) Automatically adding devices
[ 46.762] (==) Automatically enabling devices
[ 46.833] (**) 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/,
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/OTF/,
/usr/share/fonts/Type1/,
/usr/share/fonts/100dpi/,
/usr/share/fonts/75dpi/
[ 46.833] (**) ModulePath set to "/usr/lib/xorg/modules"
[ 46.833] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 46.833] (II) Loader magic: 0x81f4de0
[ 46.833] (II) Module ABI versions:
[ 46.833] X.Org ANSI C Emulation: 0.4
[ 46.833] X.Org Video Driver: 8.0
[ 46.833] X.Org XInput driver : 11.0
[ 46.834] X.Org Server Extension : 4.0
[ 46.834] (--) PCI:*(0:1:0:0) 10de:06e4:1462:2060 rev 161, Mem @ 0xfd000000/16777216, 0xe0000000/268435456, 0xfa000000/33554432, I/O @ 0x0000dc00/128, BIOS @ 0x????????/131072
[ 46.834] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 46.834] (II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
[ 46.834] (II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
[ 46.834] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[ 46.834] (II) "record" will be loaded. This was enabled by default and also specified in the config file.
[ 46.834] (II) "dri" will be loaded. This was enabled by default and also specified in the config file.
[ 46.834] (II) "dri2" will be loaded. This was enabled by default and also specified in the config file.
[ 46.834] (II) LoadModule: "glx"
[ 46.916] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 47.974] (II) Module glx: vendor="NVIDIA Corporation"
[ 47.974] compiled for 4.0.2, module version = 1.0.0
[ 47.974] Module class: X.Org Server Extension
[ 47.974] (II) NVIDIA GLX Module 260.19.29 Wed Dec 8 12:25:40 PST 2010
[ 47.974] (II) Loading extension GLX
[ 47.974] (II) LoadModule: "dbe"
[ 47.974] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[ 47.982] (II) Module dbe: vendor="X.Org Foundation"
[ 47.982] compiled for 1.9.5, module version = 1.0.0
[ 47.982] Module class: X.Org Server Extension
[ 47.982] ABI class: X.Org Server Extension, version 4.0
[ 47.982] (II) Loading extension DOUBLE-BUFFER
[ 47.982] (II) LoadModule: "extmod"
[ 47.984] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[ 47.993] (II) Module extmod: vendor="X.Org Foundation"
[ 47.993] compiled for 1.9.5, module version = 1.0.0
[ 47.993] Module class: X.Org Server Extension
[ 47.993] ABI class: X.Org Server Extension, version 4.0
[ 47.993] (II) Loading extension MIT-SCREEN-SAVER
[ 47.993] (II) Loading extension XFree86-VidModeExtension
[ 47.993] (II) Loading extension XFree86-DGA
[ 47.993] (II) Loading extension DPMS
[ 47.993] (II) Loading extension XVideo
[ 47.993] (II) Loading extension XVideo-MotionCompensation
[ 47.993] (II) Loading extension X-Resource
[ 47.993] (II) LoadModule: "dri"
[ 48.026] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[ 48.053] (II) Module dri: vendor="X.Org Foundation"
[ 48.053] compiled for 1.9.5, module version = 1.0.0
[ 48.053] ABI class: X.Org Server Extension, version 4.0
[ 48.053] (II) Loading extension XFree86-DRI
[ 48.053] (II) LoadModule: "record"
[ 48.053] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[ 48.064] (II) Module record: vendor="X.Org Foundation"
[ 48.064] compiled for 1.9.5, module version = 1.13.0
[ 48.064] Module class: X.Org Server Extension
[ 48.064] ABI class: X.Org Server Extension, version 4.0
[ 48.064] (II) Loading extension RECORD
[ 48.064] (II) LoadModule: "dri2"
[ 48.065] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[ 48.070] (II) Module dri2: vendor="X.Org Foundation"
[ 48.070] compiled for 1.9.5, module version = 1.2.0
[ 48.070] ABI class: X.Org Server Extension, version 4.0
[ 48.070] (II) Loading extension DRI2
[ 48.070] (II) LoadModule: "nvidia"
[ 48.070] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 48.124] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 48.135] compiled for 4.0.2, module version = 1.0.0
[ 48.135] Module class: X.Org Video Driver
[ 48.154] (II) NVIDIA dlloader X Driver 260.19.29 Wed Dec 8 12:10:28 PST 2010
[ 48.163] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 48.163] (--) using VT number 7
[ 48.177] (II) Loading sub module "fb"
[ 48.177] (II) LoadModule: "fb"
[ 48.177] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 48.190] (II) Module fb: vendor="X.Org Foundation"
[ 48.190] compiled for 1.9.5, module version = 1.0.0
[ 48.190] ABI class: X.Org ANSI C Emulation, version 0.4
[ 48.190] (II) Loading sub module "wfb"
[ 48.190] (II) LoadModule: "wfb"
[ 48.190] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 48.197] (II) Module wfb: vendor="X.Org Foundation"
[ 48.197] compiled for 1.9.5, module version = 1.0.0
[ 48.197] ABI class: X.Org ANSI C Emulation, version 0.4
[ 48.197] (II) Loading sub module "ramdac"
[ 48.197] (II) LoadModule: "ramdac"
[ 48.197] (II) Module "ramdac" already built-in
[ 48.241] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[ 48.241] (==) NVIDIA(0): RGB weight 888
[ 48.241] (==) NVIDIA(0): Default visual is TrueColor
[ 48.241] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 48.252] (**) NVIDIA(0): Enabling RENDER acceleration
[ 48.252] (II) NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
[ 48.252] (II) NVIDIA(0): enabled.
[ 54.161] (II) NVIDIA(0): NVIDIA GPU GeForce 8400 GS (G98) at PCI:1:0:0 (GPU-0)
[ 54.161] (--) NVIDIA(0): Memory: 524288 kBytes
[ 54.161] (--) NVIDIA(0): VideoBIOS: 62.98.71.00.05
[ 54.161] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[ 54.161] (--) NVIDIA(0): Interlaced video modes are supported on this GPU
[ 54.161] (--) NVIDIA(0): Connected display device(s) on GeForce 8400 GS at PCI:1:0:0
[ 54.161] (--) NVIDIA(0): Acer V203W (CRT-1)
[ 54.161] (--) NVIDIA(0): Acer V203W (CRT-1): 400.0 MHz maximum pixel clock
[ 54.216] (II) NVIDIA(0): Assigned Display Device: CRT-1
[ 54.216] (==) NVIDIA(0):
[ 54.216] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[ 54.216] (==) NVIDIA(0): will be used as the requested mode.
[ 54.216] (==) NVIDIA(0):
[ 54.216] (II) NVIDIA(0): Validated modes:
[ 54.216] (II) NVIDIA(0): "nvidia-auto-select"
[ 54.216] (II) NVIDIA(0): Virtual screen size determined to be 1680 x 1050
[ 54.244] (--) NVIDIA(0): DPI set to (99, 98); computed from "UseEdidDpi" X config
[ 54.244] (--) NVIDIA(0): option
[ 54.256] (==) NVIDIA(0): Enabling 32-bit ARGB GLX visuals.
[ 54.256] (--) Depth 24 pixmap format is 32 bpp
[ 54.256] (II) NVIDIA: Using 768.00 MB of virtual memory for indirect memory access.
[ 54.257] (II) NVIDIA(0): Initialized GPU GART.
[ 54.259] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[ 54.259] (II) NVIDIA(0): may not be running or the "AcpidSocketPath" X
[ 54.259] (II) NVIDIA(0): configuration option may not be set correctly. When the
[ 54.259] (II) NVIDIA(0): ACPI event daemon is available, the NVIDIA X driver will
[ 54.259] (II) NVIDIA(0): try to use it to receive ACPI event notifications. For
[ 54.259] (II) NVIDIA(0): details, please see the "ConnectToAcpid" and
[ 54.259] (II) NVIDIA(0): "AcpidSocketPath" X configuration options in Appendix B: X
[ 54.259] (II) NVIDIA(0): Config Options in the README.
[ 54.261] (II) NVIDIA(0): Setting mode "nvidia-auto-select"
[ 54.328] (II) Loading extension NV-GLX
[ 54.345] (II) NVIDIA(0): Initialized OpenGL Acceleration
[ 54.371] (==) NVIDIA(0): Disabling shared memory pixmaps
[ 54.371] (II) NVIDIA(0): Initialized X Rendering Acceleration
[ 54.371] (==) NVIDIA(0): Backing store disabled
[ 54.371] (==) NVIDIA(0): Silken mouse enabled
[ 54.380] (==) NVIDIA(0): DPMS enabled
[ 54.380] (II) Loading extension NV-CONTROL
[ 54.381] (II) Loading extension XINERAMA
[ 54.381] (II) Loading sub module "dri2"
[ 54.381] (II) LoadModule: "dri2"
[ 54.381] (II) Reloading /usr/lib/xorg/modules/extensions/libdri2.so
[ 54.381] (II) NVIDIA(0): [DRI2] Setup complete
[ 54.381] (==) RandR enabled
[ 54.381] (II) Initializing built-in extension Generic Event Extension
[ 54.381] (II) Initializing built-in extension SHAPE
[ 54.381] (II) Initializing built-in extension MIT-SHM
[ 54.381] (II) Initializing built-in extension XInputExtension
[ 54.381] (II) Initializing built-in extension XTEST
[ 54.381] (II) Initializing built-in extension BIG-REQUESTS
[ 54.381] (II) Initializing built-in extension SYNC
[ 54.381] (II) Initializing built-in extension XKEYBOARD
[ 54.381] (II) Initializing built-in extension XC-MISC
[ 54.381] (II) Initializing built-in extension XINERAMA
[ 54.381] (II) Initializing built-in extension XFIXES
[ 54.381] (II) Initializing built-in extension RENDER
[ 54.381] (II) Initializing built-in extension RANDR
[ 54.381] (II) Initializing built-in extension COMPOSITE
[ 54.381] (II) Initializing built-in extension DAMAGE
[ 54.381] (II) Initializing extension GLX
[ 55.001] (II) config/udev: Adding input device Power Button (/dev/input/event4)
[ 55.001] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[ 55.001] (II) LoadModule: "evdev"
[ 55.001] (WW) Warning, couldn't open module evdev
[ 55.001] (II) UnloadModule: "evdev"
[ 55.001] (EE) Failed to load module "evdev" (module does not exist, 0)
[ 55.001] (EE) No input driver matching `evdev'
[ 55.003] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[ 55.003] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[ 55.003] (II) LoadModule: "evdev"
[ 55.004] (WW) Warning, couldn't open module evdev
[ 55.004] (II) UnloadModule: "evdev"
[ 55.004] (EE) Failed to load module "evdev" (module does not exist, 0)
[ 55.004] (EE) No input driver matching `evdev'
[ 55.005] (II) config/udev: Adding input device HDA Intel Headphone (/dev/input/event5)
[ 55.005] (II) No input driver/identifier specified (ignoring)
[ 55.006] (II) config/udev: Adding input device USB Mouse (/dev/input/event2)
[ 55.006] (**) USB Mouse: Applying InputClass "evdev pointer catchall"
[ 55.006] (II) LoadModule: "evdev"
[ 55.006] (WW) Warning, couldn't open module evdev
[ 55.006] (II) UnloadModule: "evdev"
[ 55.006] (EE) Failed to load module "evdev" (module does not exist, 0)
[ 55.006] (EE) No input driver matching `evdev'
[ 55.007] (II) config/udev: Adding input device USB Mouse (/dev/input/mouse1)
[ 55.007] (II) No input driver/identifier specified (ignoring)
[ 55.010] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
[ 55.010] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[ 55.010] (II) LoadModule: "evdev"
[ 55.011] (WW) Warning, couldn't open module evdev
[ 55.011] (II) UnloadModule: "evdev"
[ 55.011] (EE) Failed to load module "evdev" (module does not exist, 0)
[ 55.011] (EE) No input driver matching `evdev'
[ 55.011] (II) config/udev: Adding input device ImPS/2 Generic Wheel Mouse (/dev/input/event1)
[ 55.011] (**) ImPS/2 Generic Wheel Mouse: Applying InputClass "evdev pointer catchall"
[ 55.011] (II) LoadModule: "evdev"
[ 55.011] (WW) Warning, couldn't open module evdev
[ 55.011] (II) UnloadModule: "evdev"
[ 55.011] (EE) Failed to load module "evdev" (module does not exist, 0)
[ 55.011] (EE) No input driver matching `evdev'
[ 55.011] (II) config/udev: Adding input device ImPS/2 Generic Wheel Mouse (/dev/input/mouse0)
[ 55.011] (II) No input driver/identifier specified (ignoring)
[/console]
[console]CFLAGS="-O2 -march=i686 -pipe"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="i686-pc-linux-gnu"
USE="-gtk -gnome qt4 kde -dvd alsa -cdr unicode"
VIDEO_CARDS="nvidia"
LINGUAS="ru en"
INPUT_DEVICES="evdev"
[/console]
Судя по ссылке, да.
Вы на дату той ссылки гляньте и на версию xorg-server'а. wink
Попробуйте
[console]
emerge -av app-portage/portage-utils
emerge -1 $(qlist -I -C x11-drivers/)
[/console]
[quote=santic]Судя по ссылке, да.
Вы на дату той ссылки гляньте и на версию xorg-server'а. wink
Попробуйте
[console]
emerge -av app-portage/portage-utils
emerge -1 $(qlist -I -C x11-drivers/)
[/console][/quote]
а xorg.conf новый сгенерировать?
а xorg.conf новый сгенерировать?
«Старый» бы глянуть wink
[quote=santic]Судя по ссылке, да.
Вы на дату той ссылки гляньте и на версию xorg-server'а. wink
Попробуйте
[console]
emerge -av app-portage/portage-utils
emerge -1 $(qlist -I -C x11-drivers/)
[/console][/quote]
Показать
Не прокатило:
[console][ 120.622] (II) config/udev: Adding input device Power Button (/dev/input/event4)
[ 120.622] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[ 120.622] (II) LoadModule: "evdev"
[ 120.623] (WW) Warning, couldn't open module evdev
[ 120.623] (II) UnloadModule: "evdev"
[ 120.623] (EE) Failed to load module "evdev" (module does not exist, 0)
[ 120.623] (EE) No input driver matching `evdev'
[ 120.625] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[ 120.625] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[ 120.625] (II) LoadModule: "evdev"
[ 120.625] (WW) Warning, couldn't open module evdev
[ 120.625] (II) UnloadModule: "evdev"
[ 120.625] (EE) Failed to load module "evdev" (module does not exist, 0)
[ 120.625] (EE) No input driver matching `evdev'
[ 120.626] (II) config/udev: Adding input device HDA Intel Headphone (/dev/input/event5)
[ 120.626] (II) No input driver/identifier specified (ignoring)
[ 120.628] (II) config/udev: Adding input device USB Mouse (/dev/input/event2)
[ 120.628] (**) USB Mouse: Applying InputClass "evdev pointer catchall"
[ 120.628] (II) LoadModule: "evdev"
[ 120.628] (WW) Warning, couldn't open module evdev
[ 120.628] (II) UnloadModule: "evdev"
[ 120.628] (EE) Failed to load module "evdev" (module does not exist, 0)
[ 120.628] (EE) No input driver matching `evdev'
[ 120.628] (II) config/udev: Adding input device USB Mouse (/dev/input/mouse1)
[ 120.628] (II) No input driver/identifier specified (ignoring)
[ 120.632] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
[ 120.632] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[ 120.632] (II) LoadModule: "evdev"
[ 120.632] (WW) Warning, couldn't open module evdev
[ 120.632] (II) UnloadModule: "evdev"
[ 120.632] (EE) Failed to load module "evdev" (module does not exist, 0)
[ 120.632] (EE) No input driver matching `evdev'
[ 120.632] (II) config/udev: Adding input device ImPS/2 Generic Wheel Mouse (/dev/input/event1)
[ 120.632] (**) ImPS/2 Generic Wheel Mouse: Applying InputClass "evdev pointer catchall"
[ 120.632] (II) LoadModule: "evdev"
[ 120.633] (WW) Warning, couldn't open module evdev
[ 120.633] (II) UnloadModule: "evdev"
[ 120.633] (EE) Failed to load module "evdev" (module does not exist, 0)
[ 120.633] (EE) No input driver matching `evdev'
[ 120.633] (II) config/udev: Adding input device ImPS/2 Generic Wheel Mouse (/dev/input/mouse0)
[ 120.633] (II) No input driver/identifier specified (ignoring)
[/console]
По ходу снова с ядро лохонулся >_<
>«Старый» бы глянуть :
Показать
[console]Section "ServerLayout"
# InputDevice "Mouse0" "CorePointer"
# InputDevice "Keyboard0" "CoreKeyboard"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/OTF/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/75dpi/"
EndSection
Section "Module"
Load "glx"
Load "dbe"
Load "extmod"
Load "record"
Load "dri2"
EndSection
Section "ServerFlags"
Option "AllowEmptyInput" "True"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "keyboard"
EndSection
Section "InputDevice"
# generated from data in "/etc/conf.d/gpm"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
Identifier "Card0"
Driver "nvidia"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
[/console]
santic, убедитесь, что в ядре включена опция CONFIG_INPUT_EVDEV=y
Пересоберите x11-base/xorg-server. Кстати, покажите вывод команды
[console]emerge -pv xorg-server[/console]
Проверьте, «вытянулся» ли по зависимостям пакет x11-drivers/xf86-input-evdev
Вот примеры моих конфигурационных файлов, возникнут вопросы, спрашивайте:
Показать
#Section "Extensions"
# Option "Composite" "Disable"
#EndSection
#
Section "Files"
ModulePath "/usr/lib64/xorg/modules"
ModulePath "/usr/lib64/opengl/nvidia"
ModulePath "/usr/lib64/opengl/xorg-x11/extensions"
#
FontPath "/usr/share/fonts/liberation-fonts/"
# FontPath "/usr/share/fonts/ttf-bitstream-vera/"
# FontPath "/usr/share/fonts/urw-fonts/"
# FontPath "/usr/share/fonts/intlfonts/"
FontPath "/usr/share/fonts/corefonts/"
FontPath "/usr/share/fonts/droid/"
FontPath "/usr/share/fonts/dejavu/"
# FontPath "/usr/share/fonts/cyrillic/"
FontPath "/usr/share/fonts/misc/:unscaled"
# FontPath "/usr/share/fonts/100dpi/:unscaled"
# FontPath "/usr/share/fonts/75dpi/:unscaled"
# FontPath "/usr/share/fonts/default/ghostscript/"
# FontPath "/usr/share/fonts/Speedo/"
EndSection
Section "InputClass"
Identifier "keyboard-all"
Driver "evdev"
Option "XkbLayout" "us,ru(winkeys)"
# Option "XkbVariant" ",qwerty"
Option "XkbOptions" "grp:lwin_toggle,grp:switch,grp_led:caps,compose:ralt,terminate:ctrl_alt_bksp"
MatchIsKeyboard "on"
EndSection
Section "InputClass"
Identifier "mouse-all"
Driver "evdev"
MatchIsPointer "on"
EndSection
Section "InputClass"
Identifier "lirc-all"
Driver "evdev"
MatchProduct "cx88 IR (TeVii S460 DVB-S/S2)"
Option "Ignore" "on"
EndSection
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
EndSection
Section "ServerFlags"
Option "AllowEmptyInput" "True"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Samsung"
ModelName "HD"
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
Option "UseEDIDDpi" "FALSE"
BoardName "GeForce GT 220"
Option "NvAGP" "1"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
# Option "DynamicTwinView" "False"
# Option "FlatPanelProperties" "Scaling = Native"
EndSection
Показать
Section "Module"
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
EndSection
Section "Extensions"
Option "RENDER" "Enable" # http://www.gentoo.ru/node/9071
Option "Composite" "Enable"
EndSection
Section "Files"
FontPath "/usr/share/fonts/liberation-fonts/"
FontPath "/usr/share/fonts/ttf-bitstream-vera/"
FontPath "/usr/share/fonts/urw-fonts/"
FontPath "/usr/share/fonts/intlfonts/"
FontPath "/usr/share/fonts/corefonts/"
FontPath "/usr/share/fonts/droid/"
FontPath "/usr/share/fonts/cyrillic/"
FontPath "/usr/share/fonts/misc/:unscaled"
FontPath "/usr/share/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/default/ghostscript/"
FontPath "/usr/share/fonts/Speedo/"
EndSection
Section "ServerFlags"
# Option "AllowEmptyInput" "True"
Option "AutoAddDevices" "True"
Option "DPMS" "True" ####
# Option "DRI2" "True"
EndSection
######################
Section "InputClass"
Identifier "all-synaptics"
Driver "synaptics"
Option "EdgeMotionMinSpeed" "200"
Option "MaxSpeed" "1.00"
Option "MinSpeed" "0.8"
Option "BottomEdge" "650"
Option "EdgeMotionMaxSpeed" "200"
Option "CircScrollTrigger" "2"
Option "UpDownScrolling" "0"
Option "SHMConfig" "on"
Option "LeftEdge" "120"
Option "FingerLow" "14"
Option "HorizScrollDelta" "20"
Option "MaxTapMove" "110"
Option "FingerHigh" "15"
Option "VertScrollDelta" "20"
Option "CircularScrolling" "1"
Option "AccelFactor" "0.015"
Option "TopEdge" "120"
Option "RightEdge" "830"
MatchIsTouchpad "on"
EndSection
#####################
Section "InputClass"
Identifier "keyboard-all"
Driver "evdev"
Option "XkbLayout" "us,ru(winkeys)"
Option "XkbOptions" "grp:lwin_toggle,grp:switch,grp_led:caps,compose:ralt,terminate:ctrl_alt_bksp"
MatchIsKeyboard "on"
EndSection
Section "InputClass"
Identifier "mouse-all"
Driver "evdev"
MatchIsPointer "on"
EndSection
Section "Monitor"
Identifier "Monitor1"
VendorName "Toshiba"
ModelName "Flat Panel 1280x800"
Option "ReducedBlanking"
EndSection
Section "Device"
Identifier "Card1"
VendorName "Intel Corp."
BoardName "Intel 945"
Driver "intel"
BusID "PCI:0:2:0"
Option "XvMC" "True"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card1"
Monitor "Monitor1"
EndSection
У меня CONFIG_INPUT_EVDEV=m X_x
[ebuild N ] x11-drivers/xf86-input-evdev-2.6.0 0 kB
Пересобираю xorg-server, потом ведро пересоберу.
[ebuild N ] x11-drivers/xf86-input-evdev-2.6.0 0 kB
А должен бы «вытянуться» по зависимостям.
[quote=santic][ebuild N ] x11-drivers/xf86-input-evdev-2.6.0 0 kB
А должен бы «вытянуться» по зависимостям.[/quote]
Сейчас ядро пересоберу, драйвер nvidia установлю вручную и в путь =)
X_X Мышь и клава заработали, чудеса X_X Даже не знаю, что именно заставило заработать устройства. Спасибо Вам, Lupo Alberto!
И еще просьба будет: поделитесь, пожалуйста, своим /etc/make.conf
И еще просьба будет: поделитесь, пожалуйста, своим /etc/make.conf
Ноутбук, преимущественно стабильная x86-ветка, в качестве менеджера окон — awesome
Показать
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -O2 -pipe"
CXXFLAGS=${CFLAGS}
LINGUAS="ru"
FEATURES="collision-protect fixlafiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --keep-going"
MAKEOPTS="-j2"
#ALSA_CARDS="hda-intel usb-audio"
VIDEO_CARDS="intel"
DISTDIR="/home/users/portage/distfiles"
#PORTAGE_TMPDIR="/tmp"
PORTAGE_TMPDIR="/home/users/tmp"
PKGDIR="/home/users/portage/packages"
INPUT_DEVICES="synaptics evdev"
#INPUT_DEVICES="synaptics mouse keyboard"
USE="caps djvu ffmpeg imagemagick java jpeg2k ladspa lame latex lua lzo mmx
musepack musicbrainz pch slp sox sse sse2 taglib threads vhosts wavpack
wifi zsh-completion -3dnow -3dnowext -handbook -ldap -plasma"
PORTDIR_OVERLAY="/usr/local/portage/local/"
source /var/lib/layman/make.conf
# Использовал при установке Enlightenment
#USE_EXPAND="${USE_EXPAND} ENLIGHTENMENT_MODULES ENLIGHTENMENT_CONF ENLIGHTENMENT_EVERYTHING"
#ACCEPT_LICENSE="*"
LIRC_DEVICES="devinput"
#FETCHCOMMAND="/usr/bin/getdelta.sh \${URI}"
##FETCHCOMMAND="/usr/bin/getdelta.sh \${DISTDIR}/\${FILE}"
#LANG="ru_RU.UTF-8"
#LC_ALL="ru_RU.UTF-8"
PATCH_OVERLAY=/etc/portage/autopatch
###
PORTAGE_IONICE_COMMAND="ionice -c 3 -p \${PID}"
PORTAGE_NICENESS="10"
Домашний «медиа-центр», тестовая ~amd64-ветка, KDE-4.6.4
Показать
CFLAGS="-march=native -mtune=native -O2 -pipe"
CXXFLAGS=${CFLAGS}
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
ACCEPT_KEYWORDS="~amd64"
MAKEOPTS="-j3"
FEATURES="collision-protect fixlafiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --keep-going"
LINGUAS="ru"
ALSA_CARDS="hda-intel usb-audio"
#VIDEO_CARDS="intel"
VIDEO_CARDS="nvidia"
INPUT_DEVICES="evdev joystick"
#INPUT_DEVICES="keyboard mouse joystick"
PORTAGE_TMPDIR="/tmp"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
USE="X bash-completion caps cddb dga djvu dvb exif ffmpeg fftw gnutls gphoto2
gstreamer ieee1394 joystick lame lzma lzo maildir mmx modplug pch
quicktime sql sqlite sse sse2 theora threads v4l v4l2 webkit
zsh-completion -3dnow -3dnowext -bluetooth -cups -gnome -handbook -ipv6
-ldap -old-hd-rules -semantic-desktop -xinerama"
#LIRC_DEVICES="*"
CAMERAS="*"
LIRC_DEVICES="devinput"
DVB_CARDS="usb-dw2104"
#
source /var/lib/layman/make.conf
#PORTDIR_OVERLAY="/usr/local/portage/local/"
# 2011-06-25
# Вызвано необходимостью пропатчить cairo, чтобы включилось сглаживание шрифтов.
PATCH_OVERLAY=/etc/portage/autopatch
Правда, прошу учесть, что все локальные USE-флаги вынесены в /etc/portage/package.use/