Standardowa mysz PS/2 nie dzia
Standardowa mysz PS/2 nie działa
Witam,
po uruchomieniu systemu standardowa mysz na PS/2 nie jest widziana. Tym dziwniejsze, że bezprzewodową mysz (na USB) wykryło od razu. Klawiatura także chodzi bez zarzutu. Co mam zrobić, aby ją uruchomić (bardzo ją potrzebuję)?
po uruchomieniu systemu standardowa mysz na PS/2 nie jest widziana. Tym dziwniejsze, że bezprzewodową mysz (na USB) wykryło od razu. Klawiatura także chodzi bez zarzutu. Co mam zrobić, aby ją uruchomić (bardzo ją potrzebuję)?
wklej zawartość
zamiast gedit możesz użyć innego edytora
Kod: Zaznacz cały
gedit /etc/X11/xorg.conf
Tak, bo w nim są ustawienia i wybór myszy (w sumie wystarczy ten cały wpis z sekcji device)
iSection "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection
Oto cały ten plik:
Czegoś brakuje?
Kod: Zaznacz cały
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "Files"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "pl"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
EndSection
Section "Device"
Identifier "Generic Video Card"
Driver "vesa"
BusID "PCI:0:13:0"
EndSection
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 28-51
VertRefresh 43-60
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection
Section "DRI"
Mode 0666
EndSection
Wszystko jest, tylko ewentualnie należy wprowadzić korekty:
Przerób to tak jak wyżej --- podłącz mysz i najlepiej zrestartuj system (linie ze znakiem # są pomijane przez system).
Zamiast <<Option "Protocol" "Auto">> możesz użyć <<Option "Protocol" "PS/2">>
Wpis ,,Auto'' --- pozwoli jednak na zamienne stosowanie obydwu myszek USB --- PS/2, bez zmiany wpisów w ,,xorg.conf''.
Dla myszki z kółkiem należy dopisać linijkę:
<<Option "ZAxisMapping" "4 5" >> (usuń #)
Gdyby dalej był brak działania zamień <<Option "Device" "/dev/input/mice">>
na <<Option "Device" "/dev/input/mouse0">>
A tak nawiasem mówiąc, wszystkie te opcje, można wybrać konfigurując od nowa xserver:
Ciekawi mnie czy twoja karta graficzna pracuje poprawnie.
Kod: Zaznacz cały
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
# Option "Device" "/dev/input/mouse0"
# Option "Protocol" "ImPS/2"
Option "Protocol" "Auto"
Option "Emulate3Buttons" "true"
# Option "ZAxisMapping" "4 5"
EndSection
Zamiast <<Option "Protocol" "Auto">> możesz użyć <<Option "Protocol" "PS/2">>
Wpis ,,Auto'' --- pozwoli jednak na zamienne stosowanie obydwu myszek USB --- PS/2, bez zmiany wpisów w ,,xorg.conf''.
Dla myszki z kółkiem należy dopisać linijkę:
<<Option "ZAxisMapping" "4 5" >> (usuń #)
Gdyby dalej był brak działania zamień <<Option "Device" "/dev/input/mice">>
na <<Option "Device" "/dev/input/mouse0">>
A tak nawiasem mówiąc, wszystkie te opcje, można wybrać konfigurując od nowa xserver:
Kod: Zaznacz cały
dpkg-reconfigure xserver-xorg
Czy masz załadowany moduł jądra psmouse.ko.
W zamierzchłych czasach woody'ego należało ten moduł ładować z /etc/modules, aby działały X-y z myszką ps2.
Może to ci pomoże.
Kod: Zaznacz cały
# lsmod |grep psmouse
Może to ci pomoże.