Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

[SOLVED]Doubt with resolution, keyborard mouse config in xo

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
daschapa
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 80
Joined: Fri Sep 01, 2006 7:32 pm

[SOLVED]Doubt with resolution, keyborard mouse config in xo

  • Quote

Post by daschapa » Thu May 13, 2010 2:47 am

After a few years without working with Gentoo, I found myself in a complication when xorg appears to guess my monitor resolution, when it isn't specified in xorg.conf.
BTW, I can't make work keyboard and mouse in it.
This is what I have in xorg.conf

Code: Select all

#Section "ServerLayout"
#	Identifier     "X.org Configured"
#	Screen      0  "Screen0" 0 0
#	InputDevice    "Mouse0" "CorePointer"
#	InputDevice    "Keyboard0" "CoreKeyboard"
#EndSection

Section "Files"
	ModulePath   "/usr/lib64/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  "dri"
	Load  "dbe"
	Load  "record"
	Load  "dri2"
	Load  "glx"
	Load  "extmod"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
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     "SWcursor"           	# [<bool>]
        #Option     "HWcursor"           	# [<bool>]
        #Option     "NoAccel"            	# [<bool>]
        #Option     "ShadowFB"           	# [<bool>]
        #Option     "UseFBDev"           	# [<bool>]
        #Option     "Rotate"             	# [<str>]
        #Option     "VideoKey"           	# <i>
        #Option     "FlatPanel"          	# [<bool>]
        #Option     "FPDither"           	# [<bool>]
        #Option     "CrtcNumber"         	# <i>
        #Option     "FPScale"            	# [<bool>]
        #Option     "FPTweak"            	# <i>
        #Option     "DualHead"           	# [<bool>]
	Identifier  "Card0"
	Driver      "nv"
	VendorName  "nVidia Corporation"
	BoardName   "C77 [GeForce 8100 / nForce 720a]"
	BusID       "PCI:2:0:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	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

Section "ServerLayout"
	Identifier	"lay0"
	Screen		"Screen0" 0 0
	InputDevice	"Mouse0" "CorePointer"
	InputDevice	"Keyboard0" "CoreKeyboard"
EndSection
Can anyone help me?
Last edited by daschapa on Tue Jun 08, 2010 11:54 am, edited 2 times in total.
======================
Top
DONAHUE
Watchman
Watchman
User avatar
Posts: 7651
Joined: Sat Dec 09, 2006 4:27 pm
Location: Goose Creek SC

  • Quote

Post by DONAHUE » Thu May 13, 2010 3:47 am

Have you recently updated xorg-server? What version are you on?

From: xorg-server-1.5-upgrade-guide
If you don't want to use HAL, you can either build xorg-server with USE="-hal" or you can turn AutoAddDevices option off in the ServerFlags section of your xorg.conf.

Code Listing 2.2: Turning AutoAddDevices off

Code: Select all

Option      "AutoAddDevices"    "false"
Both options will allow the X server to use the legacy mouse and kbd drivers.
Worth reading to find out where X has gone:
configuring xorg then
xorg-server-1.8-upgrade-guide
openrc-migration
xorg-server-1.5-upgrade-guide
xorg-server-1.6-upgrade-guide
libxcb-1.4-upgrade-guide
Top
daschapa
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 80
Joined: Fri Sep 01, 2006 7:32 pm

  • Quote

Post by daschapa » Sat May 15, 2010 8:06 pm

Hello.
xorg-server version is 1.7.xx.
How do I know it is using HAL o udev for detecting & picking up devices?
Thanks in advance
======================
Top
DONAHUE
Watchman
Watchman
User avatar
Posts: 7651
Joined: Sat Dec 09, 2006 4:27 pm
Location: Goose Creek SC

  • Quote

Post by DONAHUE » Sat May 15, 2010 9:29 pm

if you haven't prevented hal as above, then an attempt to use dbus, hal, and udev will be made. This will fail if you have not emerged and started dbus and hal.
recommend:

Code: Select all

nano /etc/make.conf
add to USE=" consolekit dbus devicekit hal udev policykit

Code: Select all

nano /etc/conf.d/xdm
edit DISPLAYMANAGER="xdm" to your choice

Code: Select all

nano /etc/rc.conf
edit XSESSION="Gnome" to your choice
make sure you have emerge the display manager/window manager/desktop of your choice

Code: Select all

echo 'XSESSION="Xfce4"' >> /etc/env.d/90xsession # use your choice instead of Xfce4

Code: Select all

emerge --sync 
emerge consolekit dbus devicekit hal udev policykit xorg-server $(qlist -IC x11-drivers)
emerge -uND world
rc-update add dbus default
rc-update add hald default
rc-update add consolekit default
rc-update add udev-postmount default
reboot
upon reboot try

Code: Select all

X -retro
if you get a black and white stipple pattern and mouse cursor moves, x is running,
Top
daschapa
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 80
Joined: Fri Sep 01, 2006 7:32 pm

[SOLVED]Doubt with resolution, keyboard & mouse config i

  • Quote

Post by daschapa » Tue May 25, 2010 8:00 pm

Sorry for not answering earlier.
It was a system-wide messup...
I've emerge -uDN system before having this problem and I was having some package breakages.
I've repaired it now.
Thanks
======================
Top
Post Reply

5 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic