John,

There are several reasons this might fail.

Can you post your /etc/X11/xorg.conf file?  What version of xorg are you using?

Did you compile evdev support in the kernel config, or are you specifying the 
drivers?

>From http://www.gentoo.org/doc/en/xorg-config.xml :


Default: Automatic Generation of xorg.conf
Xorg itself is able to guess most parameters for you. In most cases, you
will only have to change some lines to get the resolution you want up and
running. If you are interested in more in-depth tweaking, be sure to check the
resources at the end of this chapter. But first, let us generate a (hopefully
working) Xorg configuration file. 
Code Listing 3.2: Generating an xorg.conf file 
# Xorg -configure
 
Be sure to read the last lines printed on your screen when Xorg has finished
probing your hardware. If it tells you it failed at some point, you're forced to
manually write an xorg.conf file. Assuming that it didn't fail, it
will have told you that it has written /root/xorg.conf.new ready
for you to test. So let's test. :) 
Code Listing 3.3: Testing the xorg.conf.new file 
# X -config /root/xorg.conf.new
 
If all goes well, you should see a simple black and white pattern. Verify if
your mouse works correctly and if the resolution is good. If you received errors
about "/dev/mouse", try changing your mouse device to /dev/input/mice in
the "InputDevice" section of xorg.conf. You might not be able to
deduce the exact resolution, but you should be able to see if it's too low. You
can exit any time by pressing Ctrl-Alt-Backspace. 
Alternative: Semi-Automatic Generation of xorg.conf
Xorg provides a tool called xorgconfig which will ask you for various
information regarding your system (graphical adapter, keyboard, ...). Based on
your input it will create a xorg.conf file. 
Code Listing 3.4: Semi-Automatic Generation of xorg.conf 
# xorgconfig
 
Another tool, also provided by Xorg, is xorgcfg, which will first
attempt to run Xorg -configure and then start the X server for more
final tweaking. 
Code Listing 3.5: Using xorgcfg 
# xorgcfg
(In case X crashes or the configuration fails, try:)
# xorgcfg -textmode
 
Copying over xorg.conf
Let us copy over the xorg.conf.new to /etc/X11/xorg.conf now, so we won't have 
to continuously run X -config -- typing just X or startx is easier. :)  
Code Listing 3.6: Copying over xorg.conf 
# cp /root/xorg.conf.new /etc/X11/xorg.conf
 

Also:



Configuring your Keyboard
To setup X to use an international keyboard, search for the InputDevice section 
that configures the keyboard and add the XkbLayout option to
point to the keyboard layout you want. As an example, we show you how to apply
for the Belgian layout. Just substitute the country-keycode with yours: 
Code Listing 4.2: Changing the keyboard layout 
Section "InputDevice"
  Identifier  "Generic Keyboard"
  Driver    "keyboard"
  Option    "CoreKeyboard"
  Option    "XkbRules"  "xorg"
  Option    "XkbModel"  "pc105"
Option    "XkbLayout" "be"
EndSection
 
Configuring your Mouse
If your mouse isn't working, you will first need to find out if it is detected
by the kernel at all. Mice are (device-wise) seen as /dev/input/mouse0 (or 
/dev/input/mice if you want to
use several mice). In some cases /dev/psaux is used. In either
case you can check if the devices do represent
your mouse by checking the output of those files when you move your mouse. You
will usually see some junk on your screen. To end the session press Ctrl-C. 
Code Listing 4.3: Checking the device files 
# cat /dev/input/mouse0
(Don't forget to press Ctrl-C to end this)
 
If your mouse isn't detected, verify if all the necessary modules are loaded. 
If your mouse is detected, fill in the device in the appropriate InputDevice 
section. In the next example you'll see we also set two other
options: Protocol (which lists the mouse protocol to be used -- most
users will use PS/2 or IMPS/2) and ZAxisMapping (which allows for the
mousewheel (if applicable) to be used).  
Code Listing 4.4: Changing the mouse settings in Xorg 
Section "InputDevice"
  Identifier  "TouchPad Mouse"
  Driver    "mouse"
  Option    "CorePointer"
Option    "Device"    "/dev/input/mouse0"
Option    "Protocol"    "IMPS/2"
Option    "ZAxisMapping"    "4 5"
EndSection
 




________________________________
From: John Rivera <[email protected]>
To: [email protected]
Sent: Tue, November 17, 2009 4:23:04 PM
Subject: [LinuxUsers] Need Help With Gentoo!!!

ok so i installed gentoo a few days ago and all seems well exept, X
turns on, however does not listen to my mouse/keyboard so now i am
stuck in command line using links(a command line browser) for a web
browser.
_______________________________________________
LinuxUsers mailing list
[email protected]
http://socallinux.org/cgi-bin/mailman/listinfo/linuxusers



      
_______________________________________________
LinuxUsers mailing list
[email protected]
http://socallinux.org/cgi-bin/mailman/listinfo/linuxusers

Reply via email to