Page 7 of 10

Right-click support for clickpad

Posted: Mon 27 May 2013, 22:19
by npierce
Hi DaveS,

Oh good, I was hoping someone else with a clickpad would come along. I would be very happy if you would try out the following to add right-click support.

First, hide your .flSynclient file:

Code: Select all

mv /root/.flSynclient /root/.flSynclient.hid
(If you didn't have that file, just ignore the "No such file or directory" message.)

Then make a backup of your /etc/X11/xorg.conf file, and edit the original as follows:

Look for a section that begins like this:

Code: Select all

Section "InputDevice"
   Identifier "Synaptics Mouse"
   Driver "synaptics"
There may or may not already be some options listed there.

Add this option before the EndSection line:

Code: Select all

   Option "SoftButtonAreas"  "50% 0 82% 0 0 0 0 0"
Then restart the X server.

I don't have a clickpad and can't test it myself, so I'm hoping that you will be able to try this out.

Thanks.

Posted: Tue 28 May 2013, 00:37
by don570
I made a driver so that wacom bamboo tablet can use slacko 5.5

http://murga-linux.com/puppy/viewtopic. ... 815#705815


Image

____________________________________[/url]

Re: Right-click support for clickpad

Posted: Tue 28 May 2013, 06:23
by DaveS
npierce wrote:Hi DaveS,

Oh good, I was hoping someone else with a clickpad would come along. I would be very happy if you would try out the following to add right-click support.

First, hide your .flSynclient file:

Code: Select all

mv /root/.flSynclient /root/.flSynclient.hid
(If you didn't have that file, just ignore the "No such file or directory" message.)

Then make a backup of your /etc/X11/xorg.conf file, and edit the original as follows:

Look for a section that begins like this:

Code: Select all

Section "InputDevice"
   Identifier "Synaptics Mouse"
   Driver "synaptics"
There may or may not already be some options listed there.

Add this option before the EndSection line:

Code: Select all

   Option "SoftButtonAreas"  "50% 0 82% 0 0 0 0 0"
Then restart the X server.

I don't have a clickpad and can't test it myself, so I'm hoping that you will be able to try this out.

Thanks.
Thanks. If there is actually some hope I will persue this further. It seems that a fairly recent version of synaptics is reqd though. It also seems like it should be possible to activate via synclient "Clickpad=1"

Posted: Tue 28 May 2013, 06:55
by DaveS
Updating a 5.4 save file to 5.5 seems to break cups "internal server error"

sfs-load

Posted: Tue 28 May 2013, 08:59
by watchdog
Unloading a qt4 sfs by sfs-load I messed up my slackosave. From backup I then used bootmanager and I had success. This bug could be related with:

http://www.murga-linux.com/puppy/viewtopic.php?t=86068

I use frugal install lightencrypted. The problem could be hardware-related but I haven't tested sfs-load on other laptops.

EDIT: I am not able to reproduce the malfunction.

Re: Right-click support for clickpad

Posted: Tue 28 May 2013, 13:16
by npierce
DaveS wrote:It seems that a fairly recent version of synaptics is reqd though.
Yes. It requires version 1.6 of the synaptics module for X (synaptics_drv.so), which is now about a year old. It also requires version 1.12 of the X server, although the 1.11 version that was shipped with Ubuntu 12.04 was modified to include support for clickpads -- so Puppy Precise 5.5 does support clickpads.

I think Slacko 5.5 has version 1.12.3 of the X server, so that's good. I'm not sure what version of the synaptics module it has, but since that is newer than the X server shipped with Ubuntu over a year ago I am assuming that it is 1.6 or newer. If you want to know what versions you actually have, this command will give you a lot of information about the synaptics module loaded in your X server:

Code: Select all

grep -A 1 -i synaptics /var/log/Xorg.0.log | less
You may also see a line that contains the phrase "found clickpad property". That would be a good sign.
DaveS wrote:It also seems like it should be possible to activate via synclient "Clickpad=1"
Although "Clickpad" does have to be set to 1, it is my hope that this is done automatically when the driver detects the clickpad property. But the soft button area is not set automatically by the driver, and until you set it manually, or include it in xorg.conf, your clickpad will just be one giant left button.
DaveS wrote:If there is actually some hope I will persue this further.
There is hope.

For a description of how markreaves got his clickpad working using Puppy Precise, see this thread:

Synaptics Touchpad no right click (FIXED)

If you decide to pursue this, please try the suggestion I posted above yesterday before trying the suggestions I made in the other thread. (And the part about hiding your .flSynclient file, if you have one, is important -- if you have one it probably has the soft button area properties all set to zero. One of the problems that markreaves encountered was that after restarting the X server the right button would work briefly, then the delayedrun script would launch /root/Startup/load-touchpad-settings, which zeroed-out the soft button area.)

The reason I ask you to try this without setting Clickpad=1 is that I am trying to determine a method for Puppy to have clickpad support right out of the box. Having Puppy execute synclient "Clickpad=1", or include that option in xorg.conf would break non-clickpad touchpads. I think that the driver will set it automatically when it detects a clickpad, but so far that is untested, as I have no clickpad.

If you decide to try this and would prefer to move this conversation out of this general bugs thread and into the other thread, that would be OK.

Anyway, thanks for taking the time to read through this long post.

Posted: Tue 28 May 2013, 17:58
by DaveS
Sadly no success. At the bottom of .flsynclient there is the following option:

Code: Select all

Clickpad = 0
Setting the interger to 1 has enabled the left click button to work correctly, allowing things like drag and drop which I previously had to do by a fast double tap then drag.

Will research further

Posted: Tue 28 May 2013, 19:00
by DaveS
I have it working now, by setting the bottom of .flsynclient to look like this:

Code: Select all

    ClickPad                = 1
   RightButtonAreaLeft     = 1600
	RightButtonAreaRight    = 0
	RightButtonAreaTop      = 500
	RightButtonAreaBottom   = 0 

Re: Right-click support for clickpad

Posted: Wed 29 May 2013, 02:39
by npierce
Hi DaveS,

I am glad to see you got it working, The only thing I don't understand why there was anything at all in an .flSynclient file if you renamed it to .flSynclient.hid to prevent the load-touchpad-settings script from finding it and loading the old, obsolete values.

Anyway, as long as you eventually got it working, that's what counts. :)

Re: Right-click support for clickpad

Posted: Wed 29 May 2013, 04:21
by DaveS
npierce wrote:Hi DaveS,

I am glad to see you got it working, The only thing I don't understand why there was anything at all in an .flSynclient file if you renamed it to .flSynclient.hid to prevent the load-touchpad-settings script from finding it and loading the old, obsolete values.

Anyway, as long as you eventually got it working, that's what counts. :)
Changing xorg.conf had no effect so I reinstated .flsynclient and added the extra lines myself.

Posted: Wed 29 May 2013, 05:22
by DaveS
npierce I found the problem. In your original post in this thread you left out this piece of code needed for xorg.conf

Code: Select all

 Option "ClickPad"         "true" 
When I added that it worked without .flsynclient

Posted: Wed 29 May 2013, 11:32
by npierce
DaveS,

Thanks for looking into this further.
DaveS wrote:Changing xorg.conf had no effect so I reinstated .flsynclient and added the extra lines myself.
OK. That explains it.

So it seems that the driver does not automatically set the "ClickPad" option when it finds that a clickpad is installed. That means that to get a clickpad working for Puppy without the need for the user to edit xorg.conf (or .flSynclient) it will be necessary for xorgwizard to detect the clickpad and add the required lines to xorg.conf. I had hoped that would not be necessary. Anyway, now I know.

Thanks for taking the time check this out.

alsawizard

Posted: Wed 05 Jun 2013, 10:26
by watchdog
Running alsawizard for multiple sound cards corrupts my lightencrypted slackosave in my install. I checked it on two different laptops.

EDIT: after running alsawizard I must delete /etc/asound.conf and run retrovol to repair the install. Alsawizard for multiple sound cards doesn't work in my install.

Re: Right-click support for clickpad

Posted: Fri 07 Jun 2013, 17:11
by npierce
DaveS,

I may have found a way for Puppy to easily detect a PC that has a clickpad installed, which is a step along the road towards getting a clickpad to work with Puppy without the need for the user to edit a configuration file.

If your little Acer with the clickpad is running, and if you have the time, could you please post the output of these two commands:

Code: Select all

cat /sys/class/input/mouse*/device/name
cat /sys/class/input/mouse*/device/properties
This would allow me to verify how the properties data is formatted.

Posted: Fri 07 Jun 2013, 19:12
by greengeek
01micko wrote:but the corruption problems on Ibiblio have been ongoing for way too long!
Are you suggesting that a file on ibiblio was "corrupted" and that it's corresponding md5 was also "corrupted"?

Should we have confidence in ibiblio? I've always thought it would be a great place for a hacker to work. (or am I just way too paranoid?)

Re: Time Zone Trouble

Posted: Sun 09 Jun 2013, 17:19
by jon4t2
duck@japan wrote:npierce,

Thank you very much! It was fixed!

I don't know what I had done in May 4, 2013.
As for the Tokyo file. I saved it but I cannot read that and this forum denies uploading of it.

Anyway, I'm happy now. Thank you, again!
I had the same problem with Slacko 5.5 and the /America/New_York time zone. The fix was the same as for duck, replacing the /America/New_York file on the HD with the original from the CD. (The files from the Slacko 5.5 CD are dated 17 Sep 2012.)

As to the origin of my problem, I ran "Updates Manager -latest from Slackware" on the Setup menu and updated tzdata.

Since the binary tzdata files from Slackware appear to be incompatible with Slacko 5.5, perhaps a Puppy specific tzdata set is needed. This matter I leave to the Puppy experts, with appreciation and thanks for all their contributions.

Posted: Mon 10 Jun 2013, 18:17
by DaveS
I have run into a problem. I am using an Acer V5 intel core i3 with a clickpad. I get random system hangs when clicking the trackpad. Only way out is a hard reset. I have lost data and custom settings during these crashes. No particular program is responsible. Its totally random. Must be clickpad related. Dont really have any idea how I might proceed in curing it. Here is my .flsynclient, but tinkering with the settings seems to make no difference.

Code: Select all

Parameter settings:
    LeftEdge                = 110
    RightEdge               = 2662
    TopEdge                 = 78
    BottomEdge              = 1374
    FingerLow               = 1
    FingerHigh              = 20
    FingerPress             = 256
    MaxTapTime              = 180
    MaxTapMove              = 137
    MaxDoubleTapTime        = 180
    SingleTapTimeout        = 180
    ClickTime               = 100
    FastTaps                = 0
    EmulateMidButtonTime    = 75
    EmulateTwoFingerMinZ    = 282
    EmulateTwoFingerMinW    = 7
    VertScrollDelta         = 62
    HorizScrollDelta        = 62
    VertEdgeScroll          = 1
    HorizEdgeScroll         = 0
    CornerCoasting          = 0
    VertTwoFingerScroll     = 1
    HorizTwoFingerScroll    = 0
    MinSpeed                = 1
    MaxSpeed                = 1.75
    AccelFactor             = 0.063918
    TrackstickSpeed         = 40
    EdgeMotionMinZ          = 30
    EdgeMotionMaxZ          = 160
    EdgeMotionMinSpeed      = 1
    EdgeMotionMaxSpeed      = 250
    EdgeMotionUseAlways     = 0
    TouchpadOff             = 0
    LockedDrags             = 0
    LockedDragTimeout       = 5000
    RTCornerButton          = 2
    RBCornerButton          = 3
    LTCornerButton          = 0
    LBCornerButton          = 0
    TapButton1              = 0
    TapButton2              = 0
    TapButton3              = 0
    ClickFinger1            = 1
    ClickFinger2            = 1
    ClickFinger3            = 0
    CircularScrolling       = 0
    CircScrollDelta         = 0.1
    CircScrollTrigger       = 0
    CircularPad             = 0
    PalmDetect              = 0
    PalmMinWidth            = 10
    PalmMinZ                = 200
    CoastingSpeed           = 20
    CoastingFriction        = 50
    PressureMotionMinZ      = 30
    PressureMotionMaxZ      = 160
    PressureMotionMinFactor = 1
    PressureMotionMaxFactor = 1
    ResolutionDetect        = 1
    GrabEventDevice         = 1
    TapAndDragGesture       = 1
    AreaLeftEdge            = 0
    AreaRightEdge           = 0
    AreaTopEdge             = 0
    AreaBottomEdge          = 0
    HorizHysteresis         = 15
    VertHysteresis          = 15
    ClickPad                = 1
    RightButtonAreaLeft     = 2000
    RightButtonAreaRight    = 0
    RightButtonAreaTop      = 1000
    RightButtonAreaBottom   = 0
    MiddleButtonAreaLeft    = 0
    MiddleButtonAreaRight   = 0
    MiddleButtonAreaTop     = 0
    MiddleButtonAreaBottom  = 0

Any suggestions anyone?

Slack hung up

Posted: Sat 15 Jun 2013, 13:00
by ashtu43
my computer has hung up
this is the screen of death
pl help[/img]

Posted: Mon 17 Jun 2013, 07:09
by Smithy
DaveS wrote:I have run into a problem. I am using an Acer V5 intel core i3 with a clickpad. I get random system hangs when clicking the trackpad. Only way out is a hard reset. I have lost data and custom settings during these crashes. No particular program is responsible. Its totally random. Must be clickpad related. Dont really have any idea how I might proceed in curing it. Here is my .flsynclient, but tinkering with the settings seems to make no difference.

Code: Select all

Parameter settings:
    LeftEdge                = 110
    RightEdge               = 2662
    TopEdge                 = 78
    BottomEdge              = 1374
    FingerLow               = 1
    FingerHigh              = 20
    FingerPress             = 256
    MaxTapTime              = 180
    MaxTapMove              = 137
    MaxDoubleTapTime        = 180
    SingleTapTimeout        = 180
    ClickTime               = 100
    FastTaps                = 0
    EmulateMidButtonTime    = 75
    EmulateTwoFingerMinZ    = 282
    EmulateTwoFingerMinW    = 7
    VertScrollDelta         = 62
    HorizScrollDelta        = 62
    VertEdgeScroll          = 1
    HorizEdgeScroll         = 0
    CornerCoasting          = 0
    VertTwoFingerScroll     = 1
    HorizTwoFingerScroll    = 0
    MinSpeed                = 1
    MaxSpeed                = 1.75
    AccelFactor             = 0.063918
    TrackstickSpeed         = 40
    EdgeMotionMinZ          = 30
    EdgeMotionMaxZ          = 160
    EdgeMotionMinSpeed      = 1
    EdgeMotionMaxSpeed      = 250
    EdgeMotionUseAlways     = 0
    TouchpadOff             = 0
    LockedDrags             = 0
    LockedDragTimeout       = 5000
    RTCornerButton          = 2
    RBCornerButton          = 3
    LTCornerButton          = 0
    LBCornerButton          = 0
    TapButton1              = 0
    TapButton2              = 0
    TapButton3              = 0
    ClickFinger1            = 1
    ClickFinger2            = 1
    ClickFinger3            = 0
    CircularScrolling       = 0
    CircScrollDelta         = 0.1
    CircScrollTrigger       = 0
    CircularPad             = 0
    PalmDetect              = 0
    PalmMinWidth            = 10
    PalmMinZ                = 200
    CoastingSpeed           = 20
    CoastingFriction        = 50
    PressureMotionMinZ      = 30
    PressureMotionMaxZ      = 160
    PressureMotionMinFactor = 1
    PressureMotionMaxFactor = 1
    ResolutionDetect        = 1
    GrabEventDevice         = 1
    TapAndDragGesture       = 1
    AreaLeftEdge            = 0
    AreaRightEdge           = 0
    AreaTopEdge             = 0
    AreaBottomEdge          = 0
    HorizHysteresis         = 15
    VertHysteresis          = 15
    ClickPad                = 1
    RightButtonAreaLeft     = 2000
    RightButtonAreaRight    = 0
    RightButtonAreaTop      = 1000
    RightButtonAreaBottom   = 0
    MiddleButtonAreaLeft    = 0
    MiddleButtonAreaRight   = 0
    MiddleButtonAreaTop     = 0
    MiddleButtonAreaBottom  = 0

Any suggestions anyone?
Hi DaveS, I couldn't even get synaptics touchpad ever working in any recent distribution until I figured out that I had to throw the file Flsynclient in root before remastering.
Never had any lockups with the touchpad, might be worth comparing the code, this is on a netbook tho'. Don't know if you get hardware conflicts in the newer laptops any more? Irq Sharing conflicts etc. Hope not :wink:

Code: Select all

Parameter settings:
    LeftEdge                = 1287
    RightEdge               = 5924
    TopEdge                 = 981
    BottomEdge              = 5009
    FingerLow               = 20
    FingerHigh              = 20
    FingerPress             = 255
    MaxTapTime              = 180
    MaxTapMove              = 220
    MaxDoubleTapTime        = 180
    SingleTapTimeout        = 180
    ClickTime               = 100
    FastTaps                = 0
    EmulateMidButtonTime    = 75
    EmulateTwoFingerMinZ    = 280
    EmulateTwoFingerMinW    = 6
    VertScrollDelta         = 100
    HorizScrollDelta        = 116
    VertEdgeScroll          = 1
    HorizEdgeScroll         = 0
    CornerCoasting          = 0
    VertTwoFingerScroll     = 0
    HorizTwoFingerScroll    = 0
    MinSpeed                = 2.25
    MaxSpeed                = 3
    AccelFactor             = 0.003
    TrackstickSpeed         = 40
    EdgeMotionMinZ          = 29
    EdgeMotionMaxZ          = 159
    EdgeMotionMinSpeed      = 1
    EdgeMotionMaxSpeed      = 466
    EdgeMotionUseAlways     = 0
    TouchpadOff             = 0
    LockedDrags             = 0
    LockedDragTimeout       = 5000
    RTCornerButton          = 2
    RBCornerButton          = 3
    LTCornerButton          = 0
    LBCornerButton          = 0
    TapButton1              = 1
    TapButton2              = 3
    TapButton3              = 2
    ClickFinger1            = 1
    ClickFinger2            = 1
    ClickFinger3            = 2
    CircularScrolling       = 0
    CircScrollDelta         = 0.1
    CircScrollTrigger       = 0
    CircularPad             = 0
    PalmDetect              = 0
    PalmMinWidth            = 9
    PalmMinZ                = 199
    CoastingSpeed           = 0
    CoastingFriction        = 50
    PressureMotionMinZ      = 29
    PressureMotionMaxZ      = 159
    PressureMotionMinFactor = 1
    PressureMotionMaxFactor = 1
    GrabEventDevice         = 1
    TapAndDragGesture       = 1
    AreaLeftEdge            = 0
    AreaRightEdge           = 0
    AreaTopEdge             = 0
    AreaBottomEdge          = 0
    HorizHysteresis         = 29
    VertHysteresis          = 29
    ClickPad                = 0
[/code]

Posted: Mon 17 Jun 2013, 08:37
by 01micko
DaveS,

I reckon it is probably a kernel driver issue. PHAT or Thin Slacko have later kernels based on 3.8x, or there is one of Pemasu's upups which are pretty stable.

I've been a bit too busy lately but hopefully I'll get some time in a few days.

---------
my computer has hung up
this is the screen of death
pl help
I'm afraid that doesn't tell us much at all. Try and be more descriptive, check your download checksum, if the cd (if booting from one) works in another machine, your machine specs in case some body has the same issue and fixed it.. etc.