You are not logged in.

#1 2010-04-14 22:46:01

archman-cro
Member
From: Croatia
Registered: 2010-04-04
Posts: 943
Website

[SOLVED] Touchpad scrollbar area on compaq nx6310

Ok, so I got a wm (openbox) working without even configuring xorg. It works nicely without xorg.conf.
Is it possible to enable the vertical scroll area on this laptop without creating and using xorg.conf? xf86-input-synaptics 1.2.1-1 is installed. smile

Last edited by archman-cro (2010-04-17 07:55:01)

Offline

#2 2010-04-16 03:46:04

empthollow
Member
Registered: 2009-09-26
Posts: 168

Re: [SOLVED] Touchpad scrollbar area on compaq nx6310

Yes, you can control the same options with hal policies now.  Check out this archwiki
http://wiki.archlinux.org/index.php/Touchpad_Synaptics


--empthollow
Check out my Arch based live distro http://fluxcapacity.99k.org

Offline

#3 2010-04-16 07:52:51

archman-cro
Member
From: Croatia
Registered: 2010-04-04
Posts: 943
Website

Re: [SOLVED] Touchpad scrollbar area on compaq nx6310

Should have seen this article sooner. Will try that method.
Thanks, empthollow! smile

Update: I've tried the hal options, copied the xml file from /usr/share/hal/fdi/policy/10osvendor/11-x11-synaptics.fdi to /etc/hal/fdi/policy/, tried changing the "<match key="info.product" contains="ETPS/2 Elantech Touchpad">" to "<match key="info.product" contains="Synaptics TouchPad">" or SynPS/2 Synaptics TouchPad, but still won't work. I've tried restarting the HAL, and rebooting after every edit, but it didn't grab the option "<merge key="input.x11_options.VertEdgeScroll" type="string">true</merge>" it seems.

Btw, two-finger vertical scroll works, so I guess that it doesn't really read that file I've tried to edit. Any thoughts?

Here's the xml file from /etc/hal/fdi/policy/:

<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
  <device>
    <match key="info.product" contains="Synaptics TouchPad">
        <append key="info.capabilities" type="strlist">input.touchpad</append>
    </match> 
    <match key="info.capabilities" contains="input.touchpad">
        <merge key="input.x11_driver" type="string">synaptics</merge>
    <merge key="input.x11_options.TapButton1" type="string">1</merge>
    <merge key="input.x11_options.TapButton2" type="string">2</merge>
    <merge key="input.x11_options.TapButton3" type="string">3</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">false</merge>

    Enable horizontal scrolling when dragging with two fingers anywhere on the touchpad
    <merge key="input.x11_options.HorizTwoFingerScroll" type="string">false</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
        -->
    </match>
  </device>
</deviceinfo>

Last edited by archman-cro (2010-04-16 08:44:41)

Offline

#4 2010-04-16 08:49:43

archman-cro
Member
From: Croatia
Registered: 2010-04-04
Posts: 943
Website

Re: [SOLVED] Touchpad scrollbar area on compaq nx6310

Update 2: It works after a reboot (?). Although two finger scrolls are uncommented, they are still working. Any idea why?

Thanks for the help, empthollow!

Offline

#5 2010-04-17 00:14:34

empthollow
Member
Registered: 2009-09-26
Posts: 168

Re: [SOLVED] Touchpad scrollbar area on compaq nx6310

It makes sense that it works after reboot, dbus or hal or both need to be restarted.  I found this line is uncommented and should be.  It may be affecting how hal reads the file.

    Enable vertical scrolling when dragging along the right edge

If that doesn't fix it uncomment the 2 finger scroll line and set it to false.


--empthollow
Check out my Arch based live distro http://fluxcapacity.99k.org

Offline

#6 2010-04-17 07:45:02

archman-cro
Member
From: Croatia
Registered: 2010-04-04
Posts: 943
Website

Re: [SOLVED] Touchpad scrollbar area on compaq nx6310

Ok, testing!

Update: Magnificent, this worked!

So here's the updated version:

<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
  <device>
    <match key="info.product" contains="SynPS/2 Synaptics TouchPad">
        <append key="info.capabilities" type="strlist">input.touchpad</append>
    </match> 
    <match key="info.capabilities" contains="input.touchpad">
        <merge key="input.x11_driver" type="string">synaptics</merge>
    <merge key="input.x11_options.TapButton1" type="string">1</merge>
    <merge key="input.x11_options.TapButton2" type="string">2</merge>
    <merge key="input.x11_options.TapButton3" type="string">3</merge>
    <merge key="input.x11_options.VertEdgeScroll" type="string">true</merge>
    <merge key="input.x11_options.VertTwoFingerScroll" type="string">false</merge>    
    </match>
  </device>
</deviceinfo>

Thanks for the fast and efficient help, empthollow! Marking as solved.

Last edited by archman-cro (2010-04-17 07:55:22)

Offline

#7 2010-04-18 03:51:30

empthollow
Member
Registered: 2009-09-26
Posts: 168

Re: [SOLVED] Touchpad scrollbar area on compaq nx6310

sweet big_smile


--empthollow
Check out my Arch based live distro http://fluxcapacity.99k.org

Offline

Board footer

Powered by FluxBB