You are not logged in.

#1 2010-02-25 03:06:55

vesz
Member
Registered: 2009-02-16
Posts: 10

HAL policy - disabling touchpad [SOLVED]

Hi, I'm trying to disable the touchpad on my Thinkpad SL300. However, hal doesn't seem to respond to my policy even after I restart it.

/etc/hal/fdi/policy/11-x11-synaptics.fdi:

<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
  <device>
    <match key="info.product" contains="AlpsPS/2 ALPS Dualpoint 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.TouchpadOff" type="string">1</merge>
    </match>
  </device>
</deviceinfo>

Excerpt from /proc/bus/input/devices:

I: Bus=0011 Vendor=0002 Product=0008 Version=7301
N: Name="AlpsPS/2 ALPS DualPoint TouchPad"
P: Phys=isa0060/serio4/input0
S: Sysfs=/devices/platform/i8042/serio4/input/input7
U: Uniq=
H: Handlers=mouse2 event7 
B: EV=f
B: KEY=420 70000 0 0 0 0
B: REL=3
B: ABS=1000003

It works fine if I run "synclient TouchpadOff=1".

To be honest I think it's something wrong with the my policy HAL configuration. Cause none of the touchpad or keymap options work when I set them in the .fdi files. Although, I have no idea what it could be! Any ideas?

Last edited by vesz (2010-02-25 03:21:05)

Offline

#2 2010-02-25 03:20:45

vesz
Member
Registered: 2009-02-16
Posts: 10

Re: HAL policy - disabling touchpad [SOLVED]

Nevermind, it seemed to work after a reboot. Strangely enough restarting HAL didn't do the trick =/

Offline

Board footer

Powered by FluxBB