Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Presario Laptop + Xorg + Synaptic = Me getting MAD!!!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Coume
Guru
Guru


Joined: 11 Jun 2004
Posts: 306

PostPosted: Tue Sep 21, 2004 1:50 pm    Post subject: Presario Laptop + Xorg + Synaptic = Me getting MAD!!! Reply with quote

Hello there,

I'm stuck at getting my synaptic touchpad to work with my Xorg...
I am able to move the cursor, but when pressing on the touchpad to click nothing happens...
I followed threads to get Synaptic working but since they were all aimed at Xfree, I wonder if there is not something tricky with Xorg that I cannot find out :(

Here is my xorg.conf
Quote:
Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "type1"
Load "freetype"
Load "synaptics"
EndSection

# Touchpad - Synaptics driver
Section "InputDevice"
Driver "synaptics"
Identifier "Mouse [touchpad]"
Option "Device" "/dev/input/event1"
Option "Protocol" "event"
Option "LeftEdge" "1900"
Option "RightEdge" "5400"
Option "BottomEdge" "1800"
Option "TopEdge" "3900"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxTapTime" "180"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
Option "MinSpeed" "0.02"
Option "MaxSpeed" "0.18"
Option "AccelFactor" "0.0010"
EndSection

Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen 1"
InputDevice "Touchpad" "CorePointer"
InputDevice "Mouse [touchpad]" "SendCoreEvents"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection



Ok, here are the problems...
If I have the xorg.conf like that, the keyboard is not responding, like a dead keyboard...
I do have the synaptics driver installed and I double checked that the synaptic uses /dev/input/event1
Any idea? how to solve that? I have been playing for more than a week with synaptics, but can't see a damned issue for this problem 8O :cry: :evil:

Ludo
_________________
MythTVtalk.com - The MythTV Community forum
Back to top
View user's profile Send private message
dtor
Guru
Guru


Joined: 19 Jan 2004
Posts: 461
Location: Indiana, USA

PostPosted: Tue Sep 21, 2004 2:21 pm    Post subject: Reply with quote

I see the following in your config:

InputDevice "Touchpad" "CorePointer"
InputDevice "Mouse [touchpad]" "SendCoreEvents"

My guess that "Touchpad" is driven by regular X "mouse" driver and that's where you get your movement from and synaptics is not initialized at all. Look in XOrg startup log and check why Synaptics driver fails to initialize ...

And, just in case, could you please post output of 'cat /proc/bus/input/devices'?
_________________
Dmitry
Back to top
View user's profile Send private message
Coume
Guru
Guru


Joined: 11 Jun 2004
Posts: 306

PostPosted: Tue Sep 21, 2004 9:09 pm    Post subject: Reply with quote

I do not get an error in my xorg log...

but here is my cat if it can give hints on my situation :(
Quote:
cat /proc/bus/input/devices
I: Bus=0010 Vendor=001f Product=0001 Version=0100
N: Name="PC Speaker"
P: Phys=isa0061/input0
H: Handlers=event0 kbd
B: EV=40001
B: SND=6

I: Bus=0011 Vendor=0002 Product=0007 Version=0000
N: Name="SynPS/2 Synaptics TouchPad"
P: Phys=isa0060/serio1/input0
H: Handlers=mouse0 event1
B: EV=b
B: KEY=6420 0 7000f 0 0 0 0 0 0 0 0
B: ABS=11000003

I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
H: Handlers=event2 kbd
B: EV=120003
B: KEY=4 2000000 3802078 f840d001 f2ffffdf ffefffff ffffffff fffffffe
B: LED=7


Is there something striking you in this cat?

Thxs Ludo
_________________
MythTVtalk.com - The MythTV Community forum
Back to top
View user's profile Send private message
gmichels
Guru
Guru


Joined: 20 Jun 2003
Posts: 480
Location: Brazil

PostPosted: Tue Sep 21, 2004 9:27 pm    Post subject: Reply with quote

Well, if it's for any help, here's my xorg.conf. Mine has the extended features such as side scrolling, forward and back gestures, eveything working. It is also working with an external usb mouse.

My computer is an hp pavilion.
Code:
Section "ServerFlags"
        Option "AllowMouseOpenFail"     "true"
EndSection

Section "ServerLayout"
        Identifier     "XFree86 Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Touchpad"
        InputDevice    "USB Mouse" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        ModulePath   "/usr/X11R6/lib/modules"
        FontPath     "/usr/share/fonts/misc/"
        FontPath     "/usr/share/fonts/Speedo/"
        FontPath     "/usr/share/fonts/Type1/"
        FontPath     "/usr/share/fonts/CID/"
        FontPath     "/usr/share/fonts/75dpi/"
        FontPath     "/usr/share/fonts/100dpi/"
        FontPath     "/usr/share/fonts/corefonts"
EndSection

Section "Module"
        Load  "vbe"
        Load  "record"
        Load  "extmod"
        Load  "dbe"
        Load  "dri"
        Load  "glx"
        Load  "xtrap"
        Load  "type1"
        Load  "speedo"
        Load  "freetype"
        Load  "synaptics"
        SubSection "extmod"
                Option "omit xfree-dga"
        EndSubSection
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option      "XkbRules" "xfree86"
        Option      "XkbModel" "hpxe4xxxx"
        Option      "XkbLayout" "us-intl"
        Option      "XkbOptions" "altwin:left_meta_win"
EndSection

Section "InputDevice"
        Identifier  "USB Mouse"
        Driver      "mouse"
        Option      "Protocol" "ExplorerPS/2"
        Option      "Device" "/dev/input/mice"
        Option      "Buttons" "7"
        Option      "ZAxisMapping" "6 7"
EndSection

Section "InputDevice"
        Identifier      "Touchpad"
        Driver          "synaptics"
        Option          "Device"        "/dev/psaux"
        Option          "SendCoreEvents"
        Option          "Protocol"      "auto-dev"
        Option          "LeftEdge"      "1900"
        Option          "RightEdge"     "5400"
        Option          "TopEdge"       "1900"
        Option          "BottomEdge"    "4000"
        Option          "FingerLow"     "25"
        Option          "FingerHigh"    "30"
        Option          "MaxTapTime"    "180"
        Option          "MaxTapMove"    "220"
        Option          "VertScrollDelta" "100"
        Option          "MinSpeed"      "0.02"
        Option          "MaxSpeed"      "0.18"
        Option          "AccelFactor"   "0.0010"
        Option          "UpDownScrolling" "on"
        Option          "SHMConfig"     "on"
EndSection


Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
        DisplaySize  347 260
        Option       "DPMS"
        Gamma   1.40  1.40  1.40  # created by KGamma
EndSection

Section "Device"
        Identifier  "Card0"
#       Driver      "vesa"
        Driver      "radeon"
        VendorName  "ATI Technologies Inc"
        BoardName   "Radeon Mobility U1"
        BusID       "PCI:1:5:0"
        Option          "AGPMode" "4"
        Option          "EnablePageFlip" "on"
        Option          "AGPFastWrite" "on"
        Option     "DDCMode"    "yes"
        #Option         "UseFBDev" "on"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth    16
        SubSection "Display"
                Depth     16
                Modes   "1024x768 800x600"
        EndSubSection
EndSection

Section "DRI"
        Mode 0666
EndSection
Back to top
View user's profile Send private message
Coume
Guru
Guru


Joined: 11 Jun 2004
Posts: 306

PostPosted: Tue Sep 21, 2004 10:12 pm    Post subject: Reply with quote

Thank you very much!!!!!!!!!!!!!!!!!!!!!!!

I have the touchpad working as well as the scrolling working :) That's great!
So here are the things, which made the thingie works...
Quote:
InputDevice "Touchpad"
InputDevice "Mouse" "CorePointer"

The CorePointer definition needs to be used only once... when I was trying to use it for the Touchpad and for the classical mouse definition...

And the very interesting point is the Option "SendCoreEvents" that needs to be inserted in the Touchpad parameters and not in the ServerLayout!!!

So thanks again, cos' I never found somewherelse a working Xorg.conf with touchpad working!

HTH someone else too :D
Ludo
_________________
MythTVtalk.com - The MythTV Community forum
Back to top
View user's profile Send private message
Scytale
n00b
n00b


Joined: 01 May 2003
Posts: 70
Location: Mannheim, BW, Germany

PostPosted: Tue Dec 14, 2004 5:06 pm    Post subject: Reply with quote

MythTVtalk.com wrote:
HTH someone else too :D

Yep, had the same problem. Added the solution to the wiki. Thanks a lot.
_________________
Never stop using your brain.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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