[РЕШЕНО] Не работает скролл на мыше. Проблемы с разрешением экрана
Иди Воруй 17 февраля, 2010 - 19:54
Приветствую Всех!
Мой xorg.conf, подскажите что подкрутить, что бы на мыше скролл заработал и разрешение 1024 на 768 поднять.
office ~ # cat /etc/X11/xorg.conf
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "AutoAddDevices" "False"
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 "dbe"
Load "dri2"
Load "dri"
Load "record"
Load "extmod"
Load "glx"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbOptions" "grp:ctrl_shift_toggle"
Option "XkbLayout" "us,ru(winkeys)"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mouse0"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "ViewSonic"
ModelName "ViewSonic E710b"
HorizSync 30.0-82.0
VertRefresh 50.0-85.0
DisplaySize 360 290
Option "DPMS"
EndSection
Section "Device"
Identifier "Card0"
Driver "intel"
VendorName "Intel Corporation"
BoardName "82G33/G31 Express Integrated Graphics Controller"
BusID "PCI:0:2:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024" "1024x768"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1280x1024" "1024x768"
EndSubSection
EndSection
»
- Для комментирования войдите или зарегистрируйтесь

hal тебе в помощь
HOWTO hal и устройства ввода
Просто удали все секции Section "InputDevice", не забудь удалить InputDevice из server layout.
Запусти hal
/etc/init.d/hald restart
rc-update add hald default
Перезапусти X.
Разрещение можно менять несколькими спосбоами, вообще иксы автоматом определяют оптимальное разрещение.
Можеш например в kde в параметрах системы.
С мышью понятно спасибо,
С мышью понятно спасибо, заюзаю HAL. А с разрешением иксы не справились автоматом, в параметрах системы 800х600 максимум. На эту машину ставил убунту, мандриву и все они 800x600 ставили, больше не определяли. Gentoo же с livecd загрузились с разрешением 1024x768, вот систему поставил, не могу теперь больше разрешение поставить.
lspci -k
Для начал определись какой модуль нормально работает с твоей видео картой.
Загрузись с live cd и попробуй
lspci -k
покажет перечень устройств, плюс вывдет какой модулю за какое устройство отвечате.
Так узнаеш какой видео драйвер подходит.
Далее нужно подправить
VIDEO_CARDS=""
в /etc/make.conf
И вообще попрошу его в студию.
Ну и возможно включить в ядро нужный драйвер.
Далее
emerge --deep --update --newuse world
P.S. Откуда получил свой xorg.conf?
Правильно ли там указана видео карта?
office ~ # lspci -k
office ~ # lspci -k 00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller (rev 02) Subsystem: ASUSTeK Computer Inc. Device 8276 Kernel driver in use: agpgart-intel Kernel modules: intel-agp 00:02.0 VGA compatible controller: Intel Corporation 82G33/G31 Express Integrated Graphics Controller (rev 02) Subsystem: ASUSTeK Computer Inc. Device 8276 Kernel driver in use: i915 Kernel modules: i915 00:02.1 Display controller: Intel Corporation 82G33/G31 Express Integrated Graphics Controller (rev 02) Subsystem: ASUSTeK Computer Inc. Device 8276 00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02) Subsystem: ASUSTeK Computer Inc. Device 8277 Kernel driver in use: uhci_hcd Kernel modules: uhci-hcd 00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 02) Subsystem: ASUSTeK Computer Inc. Device 8277 Kernel driver in use: uhci_hcd Kernel modules: uhci-hcd 00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 02) Subsystem: ASUSTeK Computer Inc. Device 8277 Kernel driver in use: uhci_hcd Kernel modules: uhci-hcd 00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 02) Subsystem: ASUSTeK Computer Inc. Device 8277 Kernel driver in use: ehci_hcd Kernel modules: ehci-hcd 00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 02) Subsystem: ASUSTeK Computer Inc. Device 8277 Kernel driver in use: HDA Intel Kernel modules: snd-hda-intel 00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 02) Kernel driver in use: pcieport-driver 00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 02) Kernel driver in use: pcieport-driver 00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 (rev 02) Kernel driver in use: pcieport-driver 00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02) Subsystem: ASUSTeK Computer Inc. Device 8277 Kernel driver in use: uhci_hcd Kernel modules: uhci-hcd 00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02) Subsystem: ASUSTeK Computer Inc. Device 8277 Kernel driver in use: uhci_hcd Kernel modules: uhci-hcd 00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02) Subsystem: ASUSTeK Computer Inc. Device 8277 Kernel driver in use: uhci_hcd Kernel modules: uhci-hcd 00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02) Subsystem: ASUSTeK Computer Inc. Device 8277 Kernel driver in use: ehci_hcd Kernel modules: ehci-hcd 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92) 00:1f.0 ISA bridge: Intel Corporation 82801IB (ICH9) LPC Interface Controller (rev 02) Subsystem: ASUSTeK Computer Inc. Device 8277 00:1f.2 IDE interface: Intel Corporation 82801IB (ICH9) 2 port SATA IDE Controller (rev 02) Subsystem: ASUSTeK Computer Inc. Device 8277 Kernel driver in use: ata_piix Kernel modules: ata_piix 00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 02) Subsystem: ASUSTeK Computer Inc. Device 8277 00:1f.5 IDE interface: Intel Corporation 82801I (ICH9 Family) 2 port SATA IDE Controller (rev 02) Subsystem: ASUSTeK Computer Inc. Device 8277 Kernel driver in use: ata_piix Kernel modules: ata_piix 01:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8056 PCI-E Gigabit Ethernet Controller (rev 12) Subsystem: ASUSTeK Computer Inc. Device 81f8 Kernel driver in use: sky2 Kernel modules: sky2 02:00.0 IDE interface: JMicron Technology Corp. JMB368 IDE controller Subsystem: ASUSTeK Computer Inc. Device 827e Kernel driver in use: JMicron IDE Kernel modules: pata_jmicron 04:02.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306 Fire II IEEE 1394 OHCI Link Layer Controller (rev c0) Subsystem: ASUSTeK Computer Inc. Device 81fe Kernel driver in use: ohci1394 Kernel modules: ohci1394xorg.conf получил X -configure
greenif спаибо за совет с livcd так и сделаю!:) завтра только получится
Приветствую Всех!Загрузился
Приветствую Всех!
Загрузился с livcd:
lspci -k 00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller (rev 02) Subsystem: ASUSTeK Computer Inc. Device 8276 00:02.0 VGA compatible controller: Intel Corporation 82G33/G31 Express Integrated Graphics Controller (rev 02) Subsystem: ASUSTeK Computer Inc. Device 8276 00:02.1 Display controller: Intel Corporation 82G33/G31 Express Integrated Graphics Controller (rev 02) Subsystem: ASUSTeK Computer Inc. Device 8276Не показывает какой модуль он юзает
Иди Воруй написал(а): С мышью
а что у вас за машинка? и как определили, что gentoo livecd был в разрешении 1024х768?
Инфу на мониторе посмотрел
Инфу на мониторе посмотрел (меню в мониторе), да и визуально видно было. Мать ASUS p5k-vm. Через мониор потому что livecd котрый с консоли установка.
В параметрах системы 2 VGА, юзается только VGA 2
office sashula # cat /etc/make.conf # These settings were set by the catalyst build script that automatically # built this stage. # Please consult /usr/share/portage/config/make.conf.example for a more # detailed example. CFLAGS="-O2 -march=prescott -mtune=prescott -pipe -mmmx -msse -msse2 -msse3 -mssse3 -mfpmath=sse -fomit-frame-pointer" 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="i486-pc-linux-gnu" CHOST="i686-pc-linux-gnu" USE="acpi eselect X xorg hal dbus dri dri2 xcomposite opengl kde alsa userlocales unicode utf8 nptl nptlonly -ipv6 -gnome -gtk -java -doc -ldap" MAKEOPTS="-j3" LINGUAS="ru" INPUT_DEVICES="evdev keyboard mouse" VIDEO_CARDS="intel" ALSA_CARDS="hda-intel"Приветствую Всех! Выкладываю
Приветствую Всех!
Выкладываю конфиг с которым у меня заработал скролл и нужное мне разрешение, всем спасибо!!! Закрываю тему.
office sashula # cat /etc/X11/xorg.conf Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" Option "AutoAddDevices" "False" EndSection Section "ServerFlags" Option "AIGLX" "True" 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 "dbe" Load "dri2" Load "dri" Load "record" Load "extmod" Load "glx" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "XkbOptions" "grp:ctrl_shift_toggle" Option "XkbLayout" "us,ru(winkeys)" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "ImPS/2" Option "CorePointer" Option "Device" "/dev/input/mouse0" Option "ZAxisMapping" "4 5" EndSection Section "Monitor" Identifier "Monitor0" VendorName "ViewSonic" ModelName "ViewSonic E710b" HorizSync 30.0-82.0 VertRefresh 50.0-85.0 #DisplaySize 360 290 Modeline "1280x768_60.00" 80.14 1280 1344 1480 1680 768 769 772 795 -HSync +Vsync Modeline "1280x768_70.00" 94.98 1280 1352 1488 1696 768 769 772 800 -HSync +Vsync EndSection Section "Device" ### Available Driver options are:- ### Values: <i>: integer, <f>: float, <bool>: "True"/"False", ### <string>: "String", <freq>: "<f> Hz/kHz/MHz" ### [arg]: arg optional #Option "NoAccel" # [<bool>] #Option "SWcursor" # [<bool>] #Option "ColorKey" # <i> #Option "CacheLines" # <i> #Option "Dac6Bit" # [<bool>] Option "DRI" "true" # [<bool>] Option "DRI2" "true" #Option "NoDDC" # [<bool>] #Option "ShowCache" # [<bool>] #Option "XvMCSurfaces" # <i> #Option "PageFlip" # [<bool>] Identifier "Card0" Driver "intel" VendorName "Intel Corporation" BoardName "82G33/G31 Express Integrated Graphics Controller" BusID "PCI:0:2:0" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" SubSection "Display" Depth 16 Modes "1280x1024" "1024x768" EndSubSection EndSection Section "Extensions" Option "Composite" "Enable" Option "RENDER" "Enable" EndSection Section "DRI" Mode 0666 EndSectionsomeone even made a
someone even made a Unofficial LiveCD, so i started with that. after partitioning with cfdisk /dev/sda and formatting the harddisk (mkfs.ext3 /dev/sda1), unfortunately grub refused to install. it turned out grub could not read the partition at all. also another other grub version from an external ubuntu boot could not read the filesystem and would fail with
Start to your career with the world accredited 646-363. For a guaranteed up to date set of questions for cissp.