Люди помогите чайнику!!! Проблемма в следующем: При загрузке компа, идет сразу загрузка KDE, в окне для ввода имени пользователя ввести что - либо не представляется возможным. Клавиатура не пашет, переключиться на консоль не получается. Приходится выбирать мышью, которая работает, Console Login и перезагружать X-ы. В консоли в это время клава работает нормально. После перезагрузки X-ов клава работает нормально.
xorg.config в студию!
xorg.config в студию!
Xorg. в студии
Section "Files"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/75dpi"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/share/fonts/cyrillic"
FontPath "/usr/share/fonts/corefonts"
FontPath "/usr/share/fonts/terminus"
FontPath "/usr/share/fonts/ttf-bitstream-vera"
EndSection
Section "Module"
Load "dbe"
Load "glx"
Load "dri"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Load "type1"
Load "freetype"
EndSection
Section "ServerFlags"
# Uncomment this to cause a core dump at the spot where a signal is
# received. This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging
# Option "NoTrapSignals"
# Uncomment this to disable the VT switch sequence
# (where n is 1 through 12). This allows clients to receive these key
# events.
# Option "DontVTSwitch"
# Uncomment this to disable the server abort sequence
# This allows clients to receive this key event.
# Option "DontZap"
# Uncomment this to disable the/ mode switching
# sequences. This allows clients to receive these key events.
# Option "DontZoom"
# Uncomment this to disable tuning with the xvidtune client. With
# it the client can still run and fetch card and monitor attributes,
# but it will not be allowed to change them. If it tries it will
# receive a protocol error.
# Option "DisableVidModeExtension"
# Uncomment this to enable the use of a non-local xvidtune client.
# Option "AllowNonLocalXvidtune"
# Uncomment this to disable dynamically modifying the input device
# (mouse and keyboard) settings.
# Option "DisableModInDev"
# Uncomment this to enable the use of a non-local client to
# change the keyboard or mouse settings (currently only xset).
# Option "AllowNonLocalModInDev"
# Set the basic blanking screen saver timeout.
Option "blank time" "10" # 10 minutes
# Set the DPMS timeouts. These are set here because they are global
# rather than screen-specific. These settings alone don't enable DPMS.
# It is enabled per-screen (or per-monitor), and even then only when
# the driver supports it.
Option "standby time" "20"
Option "suspend time" "30"
Option "off time" "60"
# On some platform the server needs to estimate the sizes of PCI
# memory and pio ranges. This is done by assuming that PCI ranges
# don't overlap. Some broken BIOSes tend to set ranges of inactive
# devices wrong. Here one can adjust how aggressive the assumptions
# should be. Default is 0.
# Option "EstimateSizesAggresively" "0"
EndSection
# **********************************************************************
# Input devices
# **********************************************************************
# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************
Section "InputDevice"
Identifier "Keyboard1"
Driver "keyboard"
# Option "AutoRepeat" "500 5"
Option "Xleds" "3"
Option "XkbModel" "pc104"
Option "XkbLayout" "us,ru"
Option "XkbRules" "xorg"
Option "XkbVariant" "winkeys"
Option "XkbOptions" "grp:ctrl_shift_toggle,grp_led:scrol"
EndSection
# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************
Section "InputDevice"
# Identifier and driver
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "Auto"
Option "Emulate3Buttons"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
# **********************************************************************
# Monitor section
# **********************************************************************
# Any number of monitor sections may be present
Section "Monitor"
# The identifier line must be present.
Identifier "Monitor0"
Option "dpms"
EndSection
# **********************************************************************
# Graphics device section
# **********************************************************************
# Any number of graphics device sections may be present
Section "Device": float, : "True"/"False",: "String", : " Hz/kHz/MHz"]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
### Available Driver options are:-
### Values: : integer,
###
### [arg]: arg optional
Option "Accel" "True" # [
#Option "AccelMethod" #
#Option "TurboQueue" # [
#Option "FastVram" # [
#Option "HostBus" # [
Option "RenderAcceleration" "True" # [
#Option "ForceCRT1Type" #
#Option "ForceCRT2Type" #
#Option "ShadowFB" # [
Option "DRI" "True" # [
#Option "AGPSize" #
#Option "GARTSize" #
#Option "Vesa" # [
#Option "MaxXFBMem" #
#Option "EnableSiSCtrl" # [
#Option "SWCursor" # [
Option "HWCursor" "True" # [
#Option "UseColorHWCursor" # [
#Option "Rotate" #
#Option "Reflect" #
#Option "Xvideo" # [
#Option "InternalModes" # [
#Option "OverruleFrequencyRanges" # [
#Option "RestoreBySetMode" # [
#Option "ForceCRT1" # [
#Option "XvOnCRT2" # [
#Option "PanelDelayCompensation" #
#Option "PDC" #
#Option "PanelDelayCompensation2" #
#Option "PDC2" #
#Option "PanelDelayCompensation1" #
#Option "PDC1" #
#Option "EMI" #
#Option "LVDSHL" #
#Option "ForcePanelRGB" #
#Option "SpecialTiming" #
#Option "TVStandard" #
#Option "UseROMData" # [
#Option "UseOEMData" # [
#Option "YV12" # [
#Option "CHTVType" # [
#Option "CHTVOverscan" # [
#Option "CHTVSuperOverscan" # [
#Option "CHTVLumaBandwidthCVBS" #
#Option "CHTVLumaBandwidthSVIDEO" #
#Option "CHTVLumaFlickerFilter" #
#Option "CHTVChromaBandwidth" #
#Option "CHTVChromaFlickerFilter" #
#Option "CHTVCVBSColor" # [
#Option "CHTVTextEnhance" #
#Option "CHTVContrast" #
#Option "SISTVEdgeEnhance" #
#Option "SISTVAntiFlicker" #
#Option "SISTVSaturation" #
#Option "SISTVCFilter" # [
#Option "SISTVYFilter" #
#Option "SISTVColorCalibFine" #
#Option "SISTVColorCalibCoarse" #
#Option "SISTVXScale" #
#Option "SISTVYScale" #
#Option "TVXPosOffset" #
#Option "TVYPosOffset" #
#Option "SIS6326TVAntiFlicker" #
#Option "SIS6326TVEnableYFilter" # [
#Option "SIS6326TVYFilterStrong" # [
#Option "SIS6326TVForcePlug" #
#Option "SIS6326FSCAdjust" #
#Option "YPbPrAspectRatio" #
#Option "TVBlueWorkAround" # [
#Option "ColorHWCursorBlending" # [
#Option "ColorHWCursorBlendThreshold" #
#Option "CRT2Detection" # [
#Option "ForceCRT2ReDetection" # [
#Option "SenseYPbPr" # [
#Option "CRT1Gamma" # [
#Option "CRT2Gamma" # [
#Option "GammaBrightness" #
#Option "GammaBrightnessCRT2" #
#Option "CRT2GammaBrightness" #
#Option "Brightness" #
#Option "NewGammaBrightness" #
#Option "CRT2Brightness" #
#Option "CRT2NewGammaBrightness" #
#Option "Contrast" #
#Option "NewGammaContrast" #
#Option "CRT2Contrast" #
#Option "CRT2NewGammaContrast" #
#Option "CRT1Saturation" #
#Option "XvGamma" # [
#Option "XvDefaultContrast" #
#Option "XvDefaultBrightness" #
#Option "XvDefaultHue" #
#Option "XvDefaultSaturation" #
#Option "XvDefaultDisableGfx" # [
#Option "XvDefaultDisableGfxLR" # [
#Option "XvChromaMin" #
#Option "XvChromaMax" #
#Option "XvUseChromaKey" # [
#Option "XvInsideChromaKey" # [
#Option "XvYUVChromaKey" # [
#Option "XvDisableColorKey" # [
#Option "XvUseMemcpy" # [
#Option "BenchmarkMemcpy" # [
#Option "XvDefaultAdaptor" #
#Option "ScaleLCD" # [
#Option "CenterLCD" # [
#Option "EnableHotkey" # [
#Option "ForceCRT1VGAAspect" #
#Option "ForceCRT2VGAAspect" #
#Option "MergedFB" # [
#Option "TwinView" # [
#Option "MergedFBAuto" # [
#Option "CRT2HSync" #
#Option "SecondMonitorHorizSync" #
#Option "CRT2VRefresh" #
#Option "SecondMonitorVertRefresh" #
#Option "CRT2Position" #
#Option "TwinViewOrientation" #
#Option "MetaModes" #
#Option "MergedDPI" #
#Option "MergedXinerama" # [
#Option "TwinviewXineramaInfo" # [
#Option "MergedXineramaCRT2IsScreen0" # [
#Option "MergedNonRectangular" # [
#Option "MergedMouseRestriction" # [
Identifier "Card0"
Driver "sis"
VendorName "Silicon Integrated Systems [SiS]"
BoardName "65x/M650/740 PCI/AGP VGA Display Adapter"
BusID "PCI:1:0:0"
EndSection
# **********************************************************************
# Screen sections.
# **********************************************************************
# Any number of screen sections may be present. Each describes
# the configuration of a single screen. A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768"
EndSubSection
EndSection
# **********************************************************************
# ServerLayout sections.
# **********************************************************************
# Any number of ServerLayout sections may be present. Each describes
# the way multiple screens are organised. A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option. In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.
Section "ServerLayout"
Identifier "Main Layout"
Screen "Screen 0"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
А теперь в студию...
emerge -pv xorg-x11В INPUT_DEVICES есть keyboard? Если нет, то пересобирать иксы вместе с этим флагом.
_________________
From Siberia with Love!
Не грусти, товарищ! Всё хорошо, beautiful good!
В INPUT_DEVICES
В INPUT_DEVICES ничего не прописано. Этой строчки вообще нет в make.conf. Правда при запросе emerge -pv xorg-server, в input_devices keyboard попадает. А почему тогда после перезапуска X-ов все работает?
На какой
На какой виртуальной консоли запускаются X'ы при первом запуске? Была подобная проблема - почему то запускались на второй консоли и tty блокировала клавиатуру, при повторных запусках стартовали на 7й, как обычно. Если так, надо закомментировать соответствующую строку в /etc/inittab, например эту: c2:2345:respawn:/sbin/agetty 38400 tty2 linux
И вправду.
И вправду. Запускается на пятой консоли. Кстати почему так? Закоментировал как и посоветоввали. Все заработало. Но теперь подскажите как переместить X-ы на 7 консоль.
У меня эта
У меня эта проблема пропала после обновления. Как я понимаю, иксы запускаются до agetty и пытаются занять первую свободную консоль.
Ну тогда надо
Ну тогда надо просто перенести их на другой runlevel. Или в run скрипте посавить зависимость от скрипта, запускающего agetty.
Объясните
Объясните чайнику как это сделать?