Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Xorg problems
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
geenux
n00b
n00b


Joined: 15 Mar 2008
Posts: 40

PostPosted: Sat May 02, 2009 8:08 am    Post subject: [Solved] Xorg problems Reply with quote

Hi,
I'm trying to install gentoo, the kernel is built, Xorg too. But I have troubles, there is only my synaptic touchpad which works, keyboard and mouse don't do anything! In command line, everything is fine, even the mouse (when I do cat /dev/input/mouse1), so it comes from my Xorg configuration.
Code:
Section "ServerLayout"           
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0     
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"   
        InputDevice    "Synaptics Touchpad"     
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  "dbe"
        Load  "xtrap"
        Load  "glx" 
        Load  "wfb" 
        Load  "dri" 
        Load  "record"
        Load  "extmod"
        Load "vbe"   
        Load "i2c"   
EndSection             

# Do nothing!!!
Section "InputDevice"
        Identifier      "Keyboard0"
        Driver          "kbd"     
#        Option          "CoreKeyboard"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"     "fr"   
        Option          "XkbVariant"    "latin9"
EndSection                                     

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        #Driver       "evdev"
        Option "CorePointer"
        #Option "SendCoreEvent" "true"
        Option     "Protocol" "auto"
        Option      "Device" "/dev/input/mouse1"
        Option      "ZAxisMapping" "4 5 6 7"   
EndSection                                     

# OK, works
Section "InputDevice"
        Identifier      "Synaptics Touchpad"
        Driver          "synaptics"         
        Option          "SendCoreEvents"        "true"
        Option          "Device"        "/dev/psaux" 
        Option          "Protocol"      "auto-dev"   
        Option          "HorizEdgeScroll"       "0"   
EndSection                                           

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection                           

#OK
Section "Device"
        Identifier  "Card0"
        Driver      "nvidia"
        VendorName  "nVidia Corporation"
        BoardName   "GeForce 8400M GS" 
        BusID       "PCI:1:0:0"         
EndSection                             

#OK
Section "Screen"
        Identifier "Screen0"
        Device     "Card0" 
        Monitor    "Monitor0"
        DefaultDepth 24     
        SubSection "Display"
                Depth    24 
                Modes "1280x800"
        EndSubSection           
EndSection

Section "Extensions"
        Option "Composite" "Enable"
EndSection


I didn't know what module to put in the Module section, so I merged some Xorg.

Here is my lspci:
Code:
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 03)
00:01.0 PCI bridge: Intel Corporation Mobile PM965/GM965/GL960 PCI Express Root Port (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)     
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)         
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)         
00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 03)         
00:1c.5 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 6 (rev 03)         
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)                         
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 03)       
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03) 
00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)                     
01:00.0 VGA compatible controller: nVidia Corporation GeForce 8400M GS (rev a1)                     
02:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
04:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8055 PCI-E Gigabit Ethernet Controller (rev 13) 
0b:09.0 CardBus bridge: Texas Instruments PCIxx12 Cardbus Controller                                           
0b:09.1 FireWire (IEEE 1394): Texas Instruments PCIxx12 OHCI Compliant IEEE 1394 Host Controller               
0b:09.2 Mass storage controller: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD)         
0b:09.3 SD Host controller: Texas Instruments PCIxx12 SDA Standard Compliant SD Host Controller


Last edited by geenux on Sat May 02, 2009 4:11 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54308
Location: 56N 3W

PostPosted: Sat May 02, 2009 10:37 am    Post subject: Reply with quote

geenux,

Xorg no longer uses /dev/input/mice and friends, it expects to use /dev/input/event interfaces for your mouse and keyboard.
You need to check out this guide
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Sat May 02, 2009 2:37 pm    Post subject: Reply with quote

And if you have any questions, you should double check this thread : https://forums.gentoo.org/viewtopic-t-722498.html
Back to top
View user's profile Send private message
geenux
n00b
n00b


Joined: 15 Mar 2008
Posts: 40

PostPosted: Sat May 02, 2009 4:10 pm    Post subject: Reply with quote

Thanks!
I managed to get it working, here is the details:
I took my Xorg.conf from Ubuntu:
Code:
Section "Monitor"
        Identifier      "Configured Monitor"
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Monitor         "Configured Monitor"
        Device          "Configured Video Device"
EndSection

Section "Device"
        Identifier      "Configured Video Device"
    Driver  "nv"
    Option  "NoLogo"        "True"

EndSection

Section "ServerFlags"
        Option  "DontZap"       "False"
EndSection


I put: hald, dbus in USE, and
Code:
INPUT_DEVICES="evdev keyboard mouse synaptics"


and then
Code:
emerge dbus hald
rc-update add hald default
c-update add dbus default

Then I configured the keyboard layout to match my french keyboard: put in /etc/hal/fdi/policy/x11-input.fdi
Code:

<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
  <device>
    <match key="info.capabilities" contains="input.keyboard">
      <merge key="input.xkb.layout" type="string">fr</merge>
    </match>
  </device>
</deviceinfo>

Now, everything seems fine.
I'm building gnome-light :D

Thanks again.
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Sun May 03, 2009 3:03 pm    Post subject: Reply with quote

No problem :P
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum