[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Disable touchpad on Dell E6410 (Squeeze)



On Thu, Nov 11, 2010 at 03:33:21PM +0200, Johann Spies wrote:
> Previously I had a Thinkpad and /etc/X11/xorg.conf with a synaptics
> configuration.  I could disable the touchpad with this command:
> 
> /usr/bin/synclient "TouchpadOff=`/usr/bin/synclient -l | sed -ne
> 's/\(TouchpadOff *= *\)\([01]\)/\2/p' | sed -e 'y/01/10/'`"
> 
> 
> Now I have a Dell E6410 with Squeeze (and no xorg.conf) and I get
> 
> $ Couldn't find synaptics properties. No synaptics driver loaded?

I am not sure what is in squeeze just now, but maybe you need to tell
hal about the pad with an fdi file.

This is one I used to use on an Acer Aspire netbook:

-------------------------------------------------------------------
<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
  <device>
    <match key="info.capabilities" contains="input.touchpad">
      <!-- do not use the synaptics driver for devices advertising
	   themselves as keyboards -->
      <match key="info.capabilities" contains_not="input.keyboard">
          <merge key="input.x11_driver" type="string">synaptics</merge>
          <!-- Arbitrary options can be passed to the driver using
               the input.x11_options property since xorg-server-1.5. -->
          <!-- EXAMPLES:
          Switch on shared memory, enables the driver to be configured at runtime
          <merge key="input.x11_options.SHMConfig" type="string">true</merge>

          Maximum movement of the finger for detecting a tap
          <merge key="input.x11_options.MaxTapMove" type="string">2000</merge>

          Enable vertical scrolling when dragging along the right edge
          <merge key="input.x11_options.VertEdgeScroll" type="string">true</merge>

          Enable vertical scrolling when dragging with two fingers anywhere on the touchpad
          <merge key="input.x11_options.VertTwoFingerScroll" type="string">true</merge>

          Enable horizontal scrolling when dragging with two fingers anywhere on the touchpad

          <merge key="input.x11_options.HorizTwoFingerScroll" type="string">true</merge>

          If on, circular scrolling is used
          <merge key="input.x11_options.CircularScrolling" type="string">true</merge>

          For other possible options, check CONFIGURATION DETAILS in synaptics man page
          -->

          <!-- Enable horizontal scrolling when dragging with two fingers anywhere on the touchpad -->


          <merge key="input.x11_options.LeftEdge" type="string">1700</merge>
          <merge key="input.x11_options.RightEdge" type="string">5700</merge>
          <merge key="input.x11_options.TopEdge" type="string">1700</merge>
          <merge key="input.x11_options.BottomEdge" type="string">5100</merge>
          <merge key="input.x11_options.FingerLow" type="string">25</merge>
          <merge key="input.x11_options.FingerHigh" type="string">30</merge>
          <merge key="input.x11_options.MaxTapTime" type="string">180</merge>
          <merge key="input.x11_options.MaxTapMove" type="string">220</merge>
          <merge key="input.x11_options.VertScrollDelta" type="string">100</merge>
          <merge key="input.x11_options.MinSpeed" type="string">0.09</merge>
          <merge key="input.x11_options.MaxSpeed" type="string">0.6</merge>
          <merge key="input.x11_options.HorizEdgeScroll" type="string">true</merge>
          <merge key="input.x11_options.TapButton1" type="string">1</merge>
          <merge key="input.x11_options.SHMConfig" type="string">true</merge>
  </match>
    </match>
  </device>
</deviceinfo>

---------------------------------------------------------------------------

On the other hand, you might need to have a udev rule something along
these lines:
-------------------------------------------------------
ACTION!="add|change", GOTO="xorg_synaptics_end"
KERNEL!="event*", GOTO="xorg_synaptics_end"

ENV{ID_INPUT_TOUCHPAD}!="1", GOTO="xorg_synaptics_end"

#name below might change with kernel? Seems to be ok to omit, but still...
ENV{x11_driver}="synaptics", ATTRS{name}=="SynPS/2 Synaptics TouchPad"

ENV{x11_options.LeftEdge}="1700"
ENV{x11_options.RightEdge}="5700"
ENV{x11_options.TopEdge}="1700"
ENV{x11_options.BottomEdge}="5100"
ENV{x11_options.FingerLow}="25"
ENV{x11_options.FingerHigh}="30"
ENV{x11_options.MaxTapTime}="180"
ENV{x11_options.MaxTapMove}="220"
ENV{x11_options.VertScrollDelta}="100"
ENV{x11_options.MinSpeed}="0.09"
ENV{x11_options.MaxSpeed}="0.6"
ENV{x11_options.HorizEdgeScroll}="true"
ENV{x11_options.TapButton1}="1"
ENV{x11_options.SHMConfig}="true"

LABEL="xorg_synaptics_end"

-----------------------------------------------------------------------
Both of those were used by older versions of xorg for a while.
Either one or the other, not both together. I can't remember the 
details now. Both appear in the debian bug tracker, so I am surprised
that you didn't find them.

ael


Reply to: