Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED][XORG] Mouse & Touchpad problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Belliash
Advocate
Advocate


Joined: 24 Nov 2004
Posts: 2452
Location: Wroclaw, Poland

PostPosted: Tue Jun 29, 2010 12:35 pm    Post subject: [SOLVED][XORG] Mouse & Touchpad problem Reply with quote

Hello,

I got a small problem with my XOrg and pointing devices. I know that newer version of XOrg get rid of hal, so i have disabled it using -hal use flag and actually if i got no input section in xorg.conf, then both mouse and touchpad are working, however scrolling and tapping is not working (on touchpad ofc). When i write additional mouse and synaptics configuration then only touchpad is working and i cannot use mouse. When i try to specyfy device, Xorg is not starting up...

/etc/X11/xorg.conf wrote:
Section "Device"
Identifier "Device[0]"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "GeForce GTS 360M"
Option "AddARGBVisuals" "true"
Option "AddARGBGLXVisuals" "true"
Option "AllowGLXWithComposite" "true"
Option "DisableGLXRootClipping" "true"
Option "DynamicTwinView" "false"
Option "Mobile" "1"
Option "NoFlip" "true"
Option "NoLogo" "true"
Option "RenderAccel" "on"
Option "TrippleBuffer" "false"
Option "UseEdidFreqs" "false"
Option "UseEvents" "false"
Option "XAANoOffscreenPixmaps" "true"
EndSection


Section "DRI"
Group "video"
Mode 0666
EndSection


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


Section "Module"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Load "dbe"
Load "ddc"
Load "extmod"
Load "freetype"
Load "glx"
Load "i2c"
Load "type1"
Load "vbe"
EndSection


Section "Monitor"
Identifier "Monitor[0]"
VendorName "Samsung"
ModelName "Seiko"
HorizSync 30.0 - 75.0
VertRefresh 60.0
Option "DPMS"
EndSection


Section "Screen"
Identifier "Screen[0]"
Device "Device[0]"
Monitor "Monitor[0]"
DefaultDepth 24
Option "AddARGBVisuals" "true"
Option "AddARGBGLXVisuals" "true"
Option "DisableGLXRootClipping" "true"
Option "TwinView" "0"
Option "metamodes" "nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection


Section "InputDevice"
Identifier "Keyboard[0]"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "pl"
Option "AutoServerLayout" "on"
EndSection


#Section "InputDevice"
# Identifier "TouchPad[0]"
# Driver "synaptics"
# Device "/dev/input/mouse0"
# Option "RTCornerButton" "2"
# Option "HorizEdgeScroll" "true"
# Option "TapButton1" "1"
# Option "AutoServerLayout" "on"
#EndSection


#Section "InputDevice"
# Identifier "Mouse[0]"
# Driver "evdev"
# Device "/dev/input/mouse1"
# Option "AutoServerLayout" "on"
#EndSection


Section "ServerLayout"
Identifier "Layout[0]"
Screen 0 "Screen[0]" 0 0
Option "AIGLX" "true"
EndSection


Section "ServerFlags"
Option "AllowMouseOpenFail" "true"
Option "DontZap" "off"
Option "Xinerama" "0"
EndSection


As You can see above, InputDevice sections for mouse and touchpad are commented out - only then i can use both devices, but i cannot use scrolling and tapping on touchpad. Also KSynaptics (KDE4 module) does not recognize touchpad. When i uncomment them, XOrg will not start up due to "Device" option, and when i comment it out, the mouse is not working and only touchpad can be used.


I also noticed that ctrl+alt+bksp does not work, so i cannot kill X using this key combination. Is there anything else i have to do exclugind setting "DotZap"option to off in "ServerFlags" section?


Thanks for all replies and help!
_________________
Asio Software Technologies
Belliash IT Weblog


Last edited by Belliash on Wed Jun 30, 2010 9:36 pm; edited 1 time in total
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7553
Location: Goose Creek SC

PostPosted: Tue Jun 29, 2010 6:31 pm    Post subject: Reply with quote

what xorg-server version are you using?
what base-layout version are you using?
What are the manufacturer and model of your video card?
What are the manufacturer and model of your touchpad?
What is in /etc/make.conf for
INPUT_DEVICES="
VIDEO_CARDS="
have you gone through the following in order and with care:
http://www.gentoo.org/proj/en/desktop/x/x11/xorg-server-1.5-upgrade-guide.xml
http://www.gentoo.org/proj/en/desktop/x/x11/xorg-server-1.6-upgrade-guide.xml
http://www.gentoo.org/doc/en/xorg-config.xml
http://www.gentoo.org/proj/en/desktop/x/x11/libxcb-1.4-upgrade-guide.xml
If using xorg-server-1.8 or newer
http://dev.gentoo.org/~scarabeus/xorg-server-1.8-upgrade-guide.xml
If using openrc and baselayout2:
http://www.gentoo.org/doc/en/openrc-migration.xml
Back to top
View user's profile Send private message
Belliash
Advocate
Advocate


Joined: 24 Nov 2004
Posts: 2452
Location: Wroclaw, Poland

PostPosted: Tue Jun 29, 2010 8:28 pm    Post subject: Reply with quote

Code:
belliash@LAPEK / $ epm -qa | grep xorg
xorg-x11-7.4-r1
xorg-drivers-1.8
xorg-server-1.7.7
belliash@LAPEK / $ epm -qa | grep openrc
openrc-0.6.0


Code:
INPUT_DEVICES="evdev mouse keyboard synaptics"


Look, the problem is that both devices does not work together correctly. I can have working mouse and touchpad w/o ability to scroll, or i can have only fully working touchpad...
What else i can say? Your questions are at least stupid: First of all what does graphics card has to do with input devices? And finally i have written everything - if you read whole post carefully, You would know its geforce gts 360m.

Anyone else?
_________________
Asio Software Technologies
Belliash IT Weblog
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7553
Location: Goose Creek SC

PostPosted: Tue Jun 29, 2010 8:46 pm    Post subject: Reply with quote

xorg-server-1.7.7 still wants hal for automatic device selection
manual selection is in the guides
your card should support udev use flag and xorg-server 1.8 version with nvidia-drivers
ctrl-alt-backspace is discussed in the guides
Back to top
View user's profile Send private message
Belliash
Advocate
Advocate


Joined: 24 Nov 2004
Posts: 2452
Location: Wroclaw, Poland

PostPosted: Tue Jun 29, 2010 9:12 pm    Post subject: Reply with quote

First of all, show me where im writing about automatic device selection? I have written that i dont use hal, all configuration is done via xorg.conf file.
Secondly, as i have written before both devices are working - just not together. And from links You have specified - i have not found any information about having both touchpad and mouse connected.

Thats a notebook, if mobile model of graphics card hasn't told You that, so it has to have a touchpad installed, but i prefer using mouse. However i cannot use it in same cases, so i need both devices working correctly. If You haven't understood me correctly, i'll repeat one more time. Actually i can achieve two situations:

1) The mouse is working, the touchpad is also working, but SCROLLING & TAPPING does not work.
2) Touchpad works (including scrolling & tapping) but mouse does not work - cursor even does not move.
_________________
Asio Software Technologies
Belliash IT Weblog
Back to top
View user's profile Send private message
paulusbrand
Tux's lil' helper
Tux's lil' helper


Joined: 20 May 2009
Posts: 111

PostPosted: Wed Jun 30, 2010 8:36 am    Post subject: Reply with quote

What happens if you use the event interface of the mouse device in your xorg.conf.
/dev/input/event# instead of /dev/input/mouse
Have you tried enableling hal?
Is upgrading to Xorg 1.8 an option?
Back to top
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Wed Jun 30, 2010 10:47 am    Post subject: Reply with quote

heh

ignoring DontZap and other settings is exactly what one expects if settings are in fact not being taken exclusively from xorg.conf
(for a hal-enabled setup - which, you have said do not have - only the input sections are used AFAIK, and DontZap is ignored...hmmm)

I am a bit surprised also to not see this for a no-hal setup

Code:

Section "ServerFlags"
    Option "AutoAddDevices" "False"
    Option "AllowEmptyInput" "False"
EndSection


For killing X, if you've built your kernel accordingly, Alt+SysRq+K will do the job in lieu of DontZap functioning. For hal users - which supposedly you are not - this is set in a hal .fdi policy, which is why for them DontZap is ignored. Of course, we don't know what profile you're using, so we dont know what default USE might override/affect what you've merged. We don't know if your video card (or well, we didn't until you reluctantly posted it) is one that rewrites large portions of X (e.g. nvidia) that would make things like DontZap change behaviour. And with absolutely nothing configured for input in xorg.conf, not sure where you expect Solid to get its information (protip: not all touchpads require synaptics, and most everything out there can use only evdev). Oh right, it gets it from the xorg.conf where you've commented everything out yet input still works. Yes, that makes sense. Must be magic!

There are things people may be able to suggest, but I am not about to begin. If you yell at people trying to help you, and call them stupid - because you yourself stupidly assume they have advanced knowledge of who you are, your own level of expertise, and what sort of steps you have already taken - people are going to be less likely to help because they don't want to get their heads bitten off.

Good luck.
Back to top
View user's profile Send private message
Belliash
Advocate
Advocate


Joined: 24 Nov 2004
Posts: 2452
Location: Wroclaw, Poland

PostPosted: Wed Jun 30, 2010 9:41 pm    Post subject: Reply with quote

paulusbrand wrote:
What happens if you use the event interface of the mouse device in your xorg.conf.
/dev/input/event# instead of /dev/input/mouse



No difference, however i managed to solve that. My actual xorg.conf:
Code:
Section "Device"
        Identifier              "Device[0]"
        Driver                  "nvidia"
        VendorName              "nVidia Corporation"
        BoardName               "GeForce GTS 360M"
        Option                  "AddARGBVisuals"                        "true"
        Option                  "AddARGBGLXVisuals"                     "true"
        Option                  "AllowGLXWithComposite"         "true"
        Option                  "DisableGLXRootClipping"        "true"
        Option                  "DynamicTwinView"                       "false"
        Option                  "Mobile"                                        "1"
        Option                  "NoFlip"                                        "true"
        Option                  "NoLogo"                                        "true"
        Option                  "RenderAccel"                           "on"
        Option                  "TrippleBuffer"                         "false"
        Option                  "UseEdidFreqs"                          "false"
        Option                  "UseEvents"                                     "false"
        Option                  "XAANoOffscreenPixmaps"         "true"
EndSection


Section "DRI"
        Group                   "video"
        Mode                    0666
EndSection
                                                                                                                                                                                                                   
                                                                                                                                                                                                                   
Section "Extensions"                                                                                                                                                                                               
        Option                  "Composite"                                     "Enable"                                                                                                                           
        Option                  "RENDER"                                        "Enable"                                                                                                                           
EndSection


Section "Module"
        SubSection              "extmod"
                Option          "omit xfree86-dga"
        EndSubSection
        Load                    "dbe"
        Load                    "ddc"
        Load                    "extmod"
        Load                    "freetype"
        Load                    "glx"
        Load                    "i2c"
        Load                    "type1"
        Load                    "vbe"
EndSection


Section "Monitor"
        Identifier              "Monitor[0]"
        VendorName              "Samsung"
        ModelName               "Seiko"
        HorizSync               30.0 - 75.0
        VertRefresh     60.0
        Option                  "DPMS"
EndSection


Section "Screen"
        Identifier              "Screen[0]"
        Device                  "Device[0]"
        Monitor                 "Monitor[0]"
        DefaultDepth    24
        Option                  "AddARGBVisuals"                        "true"
        Option                  "AddARGBGLXVisuals"                     "true"
        Option                  "DisableGLXRootClipping"        "true"
        Option                  "TwinView"                                      "0"
        Option                  "metamodes"                                     "nvidia-auto-select +0+0"
        SubSection              "Display"
                Depth           24
        EndSubSection
EndSection


Section "InputDevice"
        Identifier              "Keyboard[0]"
        Driver                  "keyboard"
        Option                  "CoreKeyboard"
        Option                  "XkbRules"                                      "xorg"
        Option                  "XkbModel"                                      "pc105"
        Option                  "XkbLayout"                                     "pl"
        Option                  "XkbOptions"                            "terminate:ctrl_alt_bksp"
EndSection


Section "InputDevice"
        Identifier              "TouchPad[0]"
        Driver                  "synaptics"
        Option                  "RTCornerButton"                        "2"
        Option                  "HorizEdgeScroll"                       "true"
        Option                  "TapButton1"                            "1"
        Option                  "Protocol"                                      "PS/2"
        Option                  "Device"                                        "/dev/psaux"
EndSection


Section "InputDevice"
        Identifier              "Mouse[0]"
        Driver                  "mouse"
        Option                  "Device"                                        "/dev/input/mice"
        Option                  "Protocol"                                      "ImPS/2"
        Option                  "ZAxisMapping"                          "4 5"
EndSection


Section "ServerLayout"
        Identifier              "Layout[0]"
        Screen                  0                                                       "Screen[0]"                                             0               0
        InputDevice             "Mouse[0]"                                      "CorePointer"
        InputDevice             "Keyboard[0]"                           "CoreKeyboard"
        InputDevice             "TouchPad[0]"                           "SendCoreEvents"
        Option                  "AIGLX"                                         "true"
EndSection


Section "ServerFlags"
        Option                  "AllowEmptyInput"                       "false"
        Option                  "AllowMouseOpenFail"            "true"
        Option                  "AutoAddDevices"                        "false"
        Option                  "DontZap"                                       "off"
        Option                  "Xinerama"                                      "0"
EndSection

_________________
Asio Software Technologies
Belliash IT Weblog
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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