You are not logged in.

#1 2005-07-07 06:39:39

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Touchpad on/off button on HP dv1240

The HP dv1240 laptop has a button to turn on/off the touchpad. I am wondering if there is a way to make it work under Linux.

Thanks.

Offline

#2 2005-07-07 07:22:15

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Touchpad on/off button on HP dv1240

what sort of touchpad?

if it's a synaptics, pacman -S synaptics, modify /etc/X11/xorg.conf appropriately. make sure you enable shmconfig.

and then

synclient TouchpadOff=1
will turn it off

synclient TouchpadOff=0
will turn it on.

and if you want to build a script with that....
synclient -l|grep TouchpadOff|grep -c 1

will return 1 when it is off, and will retun 0 when it is on.

i'm not sure if you need to run those as root.

iphitus

Offline

#3 2005-07-07 20:51:45

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Touchpad on/off button on HP dv1240

I get a

Can't access shared memory area. SHMConfig disabled?

error.  I have

Option        "SHMConfig"     "on"

in my xorg.conf:

Section "InputDevice"
        Identifier  "PS/2 Mouse"
        Driver      "synaptics"
        Option      "Protocol" "auto-dev"
        Option          "ZAxisMapping"          "4 5"
        Option      "Device" "/dev/psaux"
        Option      "Emulate3Buttons" "true"
        Option      "Emulate3Timeout" "70"
        Option      "SendCoreEvents"  "true"
  Option        "LeftEdge"      "1700"
  Option        "RightEdge"     "5300"
  Option        "TopEdge"       "1700"
  Option        "BottomEdge"    "4200"
  Option        "FingerLow"     "25"
  Option        "FingerHigh"    "30"
  Option        "MaxTapTime"    "180"
  Option        "MaxTapMove"    "220"
  Option        "VertScrollDelta" "100"
  Option        "MinSpeed"      "0.06"
  Option        "MaxSpeed"      "0.12"
  Option        "AccelFactor" "0.0010"
  Option        "SHMConfig"     "on"
EndSection

I've tried to google but no solution.

Offline

#4 2005-07-08 01:00:28

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Touchpad on/off button on HP dv1240

Tried as root?

if it has to be done as root, but you want to do it as a user, you could set the binaries setuid root, so they run as root, even if run by a user, with:

chmod u+s /usr/bin/synclient

Offline

#5 2005-07-08 01:40:39

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Touchpad on/off button on HP dv1240

I get the same error as root.  I forgot to mention it in my previous post.  Anyway, it isn't a big deal.

BTW, the "Emulate3Buttons" doesn't work for the touchpad.

Offline

#6 2008-03-16 20:09:05

Kardell
Member
From: London a new Babylon
Registered: 2007-02-20
Posts: 230

Re: Touchpad on/off button on HP dv1240

Hello!
Is there any way to get back the hp touchpad control after its inactivity lost in various reasons? When I press my on/off touchpad button I cannot get back tp control even after using this synclient command (option is included in my xorg.conf). Also during button pressing my Arch is having hiccough - first of all music from Amarok.


"Those who don't know history are doomed to repeat it." Edmund Burke

Offline

#7 2008-03-16 20:20:24

SiD
Member
From: Germany
Registered: 2006-09-21
Posts: 729

Re: Touchpad on/off button on HP dv1240

hmm, on my acer extensa touchpad on/off button works out ofthe box. without any software. Same with display on/off button.
Maybe it's handled by the bios?

Offline

#8 2008-03-16 20:39:15

atasmrk
Member
Registered: 2007-05-07
Posts: 23

Re: Touchpad on/off button on HP dv1240

Hello!
When i use on/off touchpad button i have to restart computer to get the touchpad back.
synclient TouchpadOff=1/0 is working ok.

Offline

#9 2008-03-18 17:53:29

Kardell
Member
From: London a new Babylon
Registered: 2007-02-20
Posts: 230

Re: Touchpad on/off button on HP dv1240

Any tip? roll
Just restart X?


"Those who don't know history are doomed to repeat it." Edmund Burke

Offline

Board footer

Powered by FluxBB