Jak wystartowac system bez podlaczonej myszki - edycja xorg

Ogólne pytania dotyczące systemu
menteith
Posty: 41
Rejestracja: 16 października 2006, 02:21

Jak wystartowac system bez podlaczonej myszki - edycja xorg

Post autor: menteith »

Witam!

Gdy nie mam podlaczonej myszki do portu USB, a dokladniej odbiornika ktory sie z nia komunikuje, X sie nie laduja i moga pracowac tylko w konsoli. Po jej podpieciu mozliwe jest zaladowanie X i praca w trybie graficznym. Co nalezy zrobic aby moc pracowac w srodowisku graficznym bez myszki (mam laptopa z touchpadem). Moj xorg:

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"
	# path to defoma fonts
    FontPath 	"/usr/share/fonts/X11/misc"
    FontPath 	"/usr/share/fonts/X11/100dpi:unscaled"
    FontPath 	"/usr/share/fonts/X11/75dpi:unscaled"
    FontPath 	"/usr/share/fonts/X11/Type1"
    FontPath 	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
    FontPath 	"/usr/local/share/fonts"
EndSection

Section "Module"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
Load "dbe"
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"
	#Identifier "Logitech"
	Driver	"evdev"	
	Option	"CorePointer"
	Option	"Name" "Logitech USB Receiver" #this should be the name of the device which I made bold here.
	Option	"ZAxisMapping" "4 5"
	Option	"Resolution" "800"
	Option	"Buttons" "9"
EndSection

Section "InputDevice"
	Identifier	"Synaptics Touchpad"
	Driver		"synaptics"
	Option		"SendCoreEvents"	"true"
	Option		"Device"		"/dev/psaux"
	Option		"Protocol"		"auto-dev"
	Option		"HorizScrollDelta"	"0"
EndSection

Section "Device"
	Identifier	"Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller"
	Driver		"i810"
	BusID		"PCI:0:2:0"
	Option		"XAANoOffscreenPixmaps"   "true"
	Option		"AllowGLXWithComposite" "true"
	Option		"RenderAccel" "true"
EndSection

Section "Monitor"
	Identifier	"Generic Monitor"
	Option		"DPMS"
EndSection


Section "Screen"
	Identifier	"Default Screen"
	Device		"Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller"
	Monitor		"Generic Monitor"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1280x800"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1280x800"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1280x800"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1280x800"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1280x800"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1280x800"
	EndSubSection
Option		"TripleBuffer" "true"
Option		"no GLXFBConfig for depth 32"
Option		"AddARGBVisuals" "True"
Option		"AddARGBGLXVisuals" "True"
Option		"DisableGLXRootClipping" "true"
Option		"XAANoOffscreenPixmaps"
Option		"AddARGBGLXVisuals" "true"
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	#InputDevice	"Configured Mouse"
	InputDevice	"Synaptics Touchpad"
	Option		"AIGLX" "on"
EndSection

Section "DRI"
	Mode	0666
EndSection

Section "Extensions"
    Option         "Composite" "Enable"
EndSection
Awatar użytkownika
Yampress
Administrator
Posty: 6423
Rejestracja: 09 sierpnia 2007, 21:41
Lokalizacja: PL

Post autor: Yampress »

zrób kopie tego pliku , następnie usuń wpis (albo lepiej zahaszuj)

Kod: Zaznacz cały

Section "InputDevice" 
    Identifier "Configured Mouse" 
    #Identifier "Logitech" 
    Driver    "evdev"    
    Option    "CorePointer" 
    Option    "Name" "Logitech USB Receiver" #this should be the name of the device which I made bold here. 
    Option    "ZAxisMapping" "4 5" 
    Option    "Resolution" "800" 
    Option    "Buttons" "9" 
EndSection
menteith
Posty: 41
Rejestracja: 16 października 2006, 02:21

Post autor: menteith »

Ale wtedy strace konfiguracje myszki
Awatar użytkownika
Yampress
Administrator
Posty: 6423
Rejestracja: 09 sierpnia 2007, 21:41
Lokalizacja: PL

Post autor: Yampress »

menteith pisze:Ale wtedy strace konfiguracje myszki
zrób kopie pliku albo zahaszuj konfiguracje myszki. chyba nie czytasz uwaznie

Kod: Zaznacz cały

# Section "InputDevice"
# itp.
Bodzio
Junior Member
Posty: 599
Rejestracja: 26 grudnia 2007, 18:35

Post autor: Bodzio »

Jak przyjdę do domu to zapodam mojego configa. X-y naLaptopie z działającym touchpadem MUSZ¡ się odpalić bez mysiora. Nie ma zmiłuj.
Zwróciłem jeszcze uwagę na ten wpis
menteith pisze:Option "Resolution" "800"
Option "Buttons" "9"
to powstało domyślnie podczas instalacji systemu, czy instalowałeś specjalne drivery dla myszy ?
menteith
Posty: 41
Rejestracja: 16 października 2006, 02:21

Post autor: menteith »

Te wszystkie wpisy zostaly dodane przeze mnie - umozliwiaja korzystanie z wszystkich przyciskow myszki.

Kod: Zaznacz cały

Bodzio napisał/a:
X-y naLaptopie z działającym touchpadem MUSZ¡ się odpalić bez mysiora. Nie ma zmiłuj.
Tak, rekonfiguracja xorga bez podlaczonej myszki i uzyskanie w ten sposob nowego xorg.conf, rzeczywiscie umozliwia odpalenie x.
Yampress pisze:
menteith pisze:Ale wtedy strace konfiguracje myszki
zrób kopie pliku albo zahaszuj konfiguracje myszki. chyba nie czytasz uwaznie

Kod: Zaznacz cały

# Section "InputDevice"
# itp.
Czytam. Zahaszowanie konfiguracji myszki pozbawi mnie mozliwosci korzystania z dodatkowych przyciskow. ;-)
Bodzio
Junior Member
Posty: 599
Rejestracja: 26 grudnia 2007, 18:35

Post autor: Bodzio »

Kod: Zaznacz cały

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ExplorerPS/2"
        Option          "Emulate3Buttons"       "true"
EndSection

Section "InputDevice"
        Identifier      "Synaptics Touchpad"
        Driver          "synaptics"
        Option          "SendCoreEvents"        "true"
        Option          "Device"                "/dev/psaux"
        Option          "Protocol"              "auto-dev"
        Option          "HorizScrollDelta"      "0"
EndSection
takie są moje ustawienia
a takie Twoje

Kod: Zaznacz cały

Section "InputDevice"
    Identifier "Configured Mouse"
    #Identifier "Logitech"
    Driver    "evdev"   
    Option    "CorePointer"
    Option    "Name" "Logitech USB Receiver" #this should be the name of the device which I made bold here.
    Option    "ZAxisMapping" "4 5"
    Option    "Resolution" "800"
    Option    "Buttons" "9"
EndSection
- widzę różnicę w Driver -> mouse i evdev
- nie masz funkcji "Device"
- nie masz funkcji Option "Protocol" "ExplorerPS/2"
Poeksperymentuj ze zmianami.
Zgadzam się że masz mysz wielofunkcyjną, ale te małe różnice w konfiguracji mają wpływ na odpalenie xserwera
menteith
Posty: 41
Rejestracja: 16 października 2006, 02:21

Post autor: menteith »

A moglbys wkleic swojego xorga? Opcja Drievr jest odpowiedzialna za obslyge dodatkowych przyciskow, funkcja jest zbedna, a OPtion Protocol, taki jak u Ciebie, zapewne nie bedzie dzialal u mnie - mam mysz USB, a Ty chyba PS/2.
Bodzio
Junior Member
Posty: 599
Rejestracja: 26 grudnia 2007, 18:35

Post autor: Bodzio »

całego xorga ? - proszę

Kod: Zaznacz cały

Section "Files"
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"              "ExplorerPS/2"
        Option          "Emulate3Buttons"       "true"
EndSection

Section "InputDevice"
        Identifier      "Synaptics Touchpad"
        Driver          "synaptics"
        Option          "SendCoreEvents"        "true"
        Option          "Device"                "/dev/psaux"
        Option          "Protocol"              "auto-dev"
        Option          "HorizScrollDelta"      "0"
EndSection

Section "Device"
        Identifier      "nVidia Corporation MCP51 PCI-X GeForce Go 6100"
        Driver          "nvidia"
        BusID           "PCI:0:5:0"
EndSection

Section "Monitor"
        Identifier      "Generic Monitor"
        Option          "DPMS"
        HorizSync       28-64
        VertRefresh     43-60
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Device          "nVidia Corporation MCP51 PCI-X GeForce Go 6100"
        Monitor         "Generic Monitor"
        DefaultDepth    24
        SubSection "Display"
                Modes           "1280x1024" "1280x960" "1280x854" "1280x800"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Default Screen"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
        InputDevice     "Synaptics Touchpad"
EndSection
mysz mam na USB oczywiście
Zwróć uwagę, że w /dev/input/by-id/USB-Logitech-mouse... ble..ble jest linkowane do /dev/input/event1 i do mouse0
tu działa jądro
menteith
Posty: 41
Rejestracja: 16 października 2006, 02:21

Post autor: menteith »

Dzieki, jeszcze poeksperymentuje :-)
ODPOWIEDZ