LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-29-2008, 07:50 AM   #1
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
T42 emulate 3 buttons doesn't work


Can't get any joy with this, nor trackpoint scrolling. Found a few things on google but nothing works. Xev doesn't show any input when I press the middle blue button at all (or I wouldn't need emulation). Some sites mention using the synaptics driver but it doesn't come with standard X11 slackware packages.

Code:
 Section "InputDevice"
     Identifier  "Mouse0"
     Driver      "mouse"
     Option      "Protocol" "auto"
     Option      "Emulate3Buttons"   "true"
     Option      "EmulateWheel"  "True"
     Option      "EmulateWheelButton"    "2"
     Option      "SendCoreEvents" "true"
     Option      "Device" "/dev/psaux"
     Option      "HorizEdgeScroll" "0"
 EndSection
*Edit: I've discovered that emulate3buttons is working if I press the buttons fast enough. I've tried adding EmulateWheelTimeout option but it seems to be ignored.

Last edited by dive; 10-29-2008 at 08:02 AM.
 
Old 10-29-2008, 09:22 AM   #2
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309

Rep: Reputation: 234Reputation: 234Reputation: 234
In my T41 works such configuration:

Code:
Section "InputDevice"
    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol"    "Auto"
    Option "Device"      "/dev/input/mice"
    Option "Emulate3Buttons" "on"
    Option "EmulateWheel" "on"
    Option "EmulateWheelButton" "2"
    Option "ZAxisMapping"   "4 5 6 7"
EndSection
 
Old 10-29-2008, 09:22 AM   #3
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
I think you'll have better luck with the xf86-input-synaptics module. I've got a package on my site (and sources if you'd prefer to build it yourself - it's a fast compile). Just be sure to read the docs on it, but once it's set up, it's pretty darn sweet :-)
 
Old 10-29-2008, 09:44 AM   #4
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309

Rep: Reputation: 234Reputation: 234Reputation: 234
I just tested it and it works without that option too:

Quote:
Option "Emulate3Buttons" "on"
With the above configuration I can paste text in X Window using alternatively middle button (2) as well as third button emulation (buttons 1 and 3).

By the way: I don't use TouchPad but TrackPoint only. TouchPad is disabled in my BIOS. TrackPoint is more precise than TouchPad. For example: in GIMP I can point areas with TrackPoint exact to 1 pixel. Standard layout of the keyboard and TrackPoint were two reasons for which I bought ThinkPad.

Last edited by w1k0; 10-29-2008 at 09:50 AM.
 
Old 10-29-2008, 09:48 AM   #5
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309

Rep: Reputation: 234Reputation: 234Reputation: 234
If you don't use TrackPoint try to disable it in BIOS.

As I said I use TrackPoint. I was forced to disable TouchPad because when it was enabled I couldn't scroll text with TrackPoint.
 
Old 10-29-2008, 01:46 PM   #6
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Original Poster
Rep: Reputation: Disabled
Robby I'm trying your synaptics driver and the emulation works much better now. Unfortunately I can't seem to get tap-to-click to work or my usb mouse.

For the tap problem I've tried various settings with synclient but from what I've read so far the default settings should work.

I've tried switching touchpad off with synclient to try to get the usb mouse to work but that's also not working.

Code:
 
Section "ServerLayout"
     Identifier     "X.org Configured"
     Screen      0  "Screen0" 0 0
     InputDevice    "Mouse0" "CorePointer"
     InputDevice    "USBMouse" "AlwaysCore"
     InputDevice    "Keyboard0" "CoreKeyboard"
 EndSection


Section "InputDevice"
     Identifier  "Mouse0"
     Driver      "synaptics"
     Option      "SHMConfig" "on"
     Option      "Protocol" "auto-dev"
     Option      "MaxTapTime" "180"
     Option      "EmulateMidButtonTime" "75"
     Option      "Emulate3Buttons"   "true"
     Option      "EmulateWheel"  "True"
     Option      "EmulateWheelTimeout"   "1000"
     Option      "EmulateWheelButton"    "2"
     Option      "SendCoreEvents" 
     Option      "Device" "/dev/psaux"
     Option      "HorizEdgeScroll" "1"
 EndSection

Section "InputDevice"
     Identifier  "USBMouse"
     Driver      "mouse"
     Option      "Protocol" "IMPS/2"
     Option      "Device" "/dev/input/mouse1"
     Option      "Emulate3Buttons"   "False"
     Option      "SendCoreEvents" 
     Option      "CorePointer"   "true"
 EndSection
 
Old 10-29-2008, 03:10 PM   #7
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
I'm not sure about the tap-to-click (it works here), but you might find some clues about making two mice work at http://rlworkman.net/conf/misc/xorg.conf -- see the "Added - RW" lines for what I changed to make synaptics work.

Also note that in that particular config, I've got the touchpad completely disabled, so don't blindly copy it :-)
 
Old 10-29-2008, 05:59 PM   #8
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Original Poster
Rep: Reputation: Disabled
Nope still no joy. Pity because edge scrolling is really nice.
 
Old 10-29-2008, 09:13 PM   #9
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
See this thread -- I think it may solve your problem. In short: you must use the kernel defaults for the psmouse module and NOT proto=imps (which is the default option in Slackware -- so you must change it manually to get it working).
 
Old 10-30-2008, 01:10 AM   #10
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Original Poster
Rep: Reputation: Disabled
The slackware package with tap-to-click enabled is no longer on the site in that thread. I have changed psmouse options to not have proto=imps but still no joy.

Basicially synaptics driver works on its own, or usb mouse works on its own, but I cannot get both to work at same time. I can still get mouse output if I 'cat /dev/input/mice' when I move the mouse but for some reason X isn't seeing it. Same with evdev driver.

Using mouse driver for touchpad enables touchpad, trackpoint and mouse at same time so it looks like I will have to stick with that.

Last edited by dive; 10-30-2008 at 01:11 AM.
 
Old 10-30-2008, 11:56 AM   #11
bl0tt0
Member
 
Registered: Aug 2005
Location: The Glorious People's Republic of Austin
Posts: 178

Rep: Reputation: 62
dive, I have the same computer, and it took some searching to get everything working right. The relevant portion of my xorg.conf goes like so:
Code:
Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ExplorerPS/2"
        Option          "EmulateWheel"          "on"
        Option          "EmulateWheelTimeout"   "200"
        Option          "EmulateWheelButton"    "2"
        Option          "YAxisMapping"          "4 5"
        Option          "XAxisMapping"          "6 7"
EndSection

Section "InputDevice"
        Identifier      "Synaptics Touchpad"
        Driver          "synaptics"
        Option          "SendCoreEvents"        "true"
        Option          "Device"                "/dev/psaux"
        Option          "Protocol"              "auto-dev"
        Option          "MaxTapTime"            "0"
        Option          "SHMConfig"             "off"
EndSection
It should be noted that I followed the guidelines for configuring the trackpoint at http://slackwiki.org/ThinkPad_X61s, and I installed the synaptics driver by using the script at slackbuilds.org. The setup I've got right now works fine whether I'm using an external usb mouse or not. Give it a try and see if this helps. Also, note that my synaptics driver is configured not to recieve a tap-to-click event on the trackpad. If you want that feature, comment out the "MaxTapTime" line.
 
Old 10-30-2008, 01:35 PM   #12
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Original Poster
Rep: Reputation: Disabled
Thanks bl0tt0 that gets them both working together. The only thing that doesn't seem to work is tap-to-click.

I'm using

Option "MaxTapTime" "180"

which I think is the default. I have read while googling that the latest versions of synaptics have tap-to-click written out so I will need to look at this.

Can you just confirm if turning tap-to-click on in works on your laptop and which version synaptics you have?

Cheers

*Edit: tap-to-click is now working after playing with SingleTapTimeout settings. Just need to tune it. Thanks for you help bl0tt0

Last edited by dive; 10-30-2008 at 01:53 PM.
 
Old 10-30-2008, 02:43 PM   #13
bl0tt0
Member
 
Registered: Aug 2005
Location: The Glorious People's Republic of Austin
Posts: 178

Rep: Reputation: 62
I'm using the old 0.14.6 synaptics driver. Apparently the new one requires some configuration to enable tap-to-click. There was some discussion of this on the forum here: http://www.linuxquestions.org/questi...ight=synaptics
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mute/volume buttons to work? microsoft/linux Linux - Laptop and Netbook 7 08-20-2005 02:35 PM
Mouse buttons (any) don't work gmlion Linux - Hardware 3 06-15-2005 12:55 PM
emulate 3 buttons? (logitech ps/2 wheel mouse) spuzzzzzzz Linux - Hardware 6 01-03-2004 05:35 AM
Mozilla buttons do not work markopolox Linux - Software 2 09-25-2003 12:17 PM
so how do you get the other buttons to work DigiCrime Linux - Hardware 3 12-13-2002 07:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration