Bug 18597 - xf86-input-synaptics (0.15.2 and 0.99.1) and HAL ignores all settings in .fdi
Summary: xf86-input-synaptics (0.15.2 and 0.99.1) and HAL ignores all settings in .fdi
Status: RESOLVED NOTABUG
Alias: None
Product: xorg
Classification: Unclassified
Component: Input/other (show other bugs)
Version: 7.2 (2007.02)
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-18 08:10 UTC by Matija “hook” Šuklje
Modified: 2008-11-20 16:07 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Xorg.0.log (40.11 KB, text/plain)
2008-11-18 08:11 UTC, Matija “hook” Šuklje
no flags Details
xorg.conf (6.40 KB, text/plain)
2008-11-18 08:11 UTC, Matija “hook” Šuklje
no flags Details
'hal-device' output (99.66 KB, text/plain)
2008-11-18 08:12 UTC, Matija “hook” Šuklje
no flags Details
synaptics.fdi (1.01 KB, text/plain)
2008-11-18 08:12 UTC, Matija “hook” Šuklje
no flags Details
'evtest' output of the synaptics touchpad (37.62 KB, text/plain)
2008-11-18 08:13 UTC, Matija “hook” Šuklje
no flags Details
Xorg.0.log (40.88 KB, text/x-log)
2008-11-20 11:55 UTC, Matija “hook” Šuklje
no flags Details
synaptics.fdi (1.02 KB, text/plain)
2008-11-20 11:56 UTC, Matija “hook” Šuklje
no flags Details
'hal-device' output (116.29 KB, text/plain)
2008-11-20 11:57 UTC, Matija “hook” Šuklje
no flags Details

Description Matija “hook” Šuklje 2008-11-18 08:10:52 UTC
Using HAL and xf86-input-synaptics doesn't use the 'input.x11_options.*' settings in the device's .fdi file — not even the settings that used to work using 'xorg.conf' and 'UseSHM'

To me it seems like HAL ignores synaptics setting in its .fdi file, but IANAC (IAAL)

Steps of reproduction:
1) Have a synaptics touchpad with more then two buttons (in my case 'SynPS/2 Synaptics TouchPad' with two buttons and a 4-direction button that is meant to be a replacement for H and V scroll wheels) on a Acer Aspire 5022)
2) Install x11-input-synaptics (tested on 0.15.2 and 0.99.1)
3) Remove settings from 'xorg.conf' (, uninstall outdated 'synaptics' driver, 'libsynaptics' and 'ksynaptics')
4) Write a .fdi file for the device taking into account 'man synaptics' and the exemplary .fdi file
5) Restart HAL
6) Restart X

Results:
* All settings are ignored (including button mapping, multi-finger tapping, two-finger scrolling, etc.)

Expected results:
* All options that are supported by the 'xf86-input-synaptics' driver to work
Comment 1 Matija “hook” Šuklje 2008-11-18 08:11:34 UTC
Created attachment 20415 [details]
Xorg.0.log
Comment 2 Matija “hook” Šuklje 2008-11-18 08:11:57 UTC
Created attachment 20416 [details]
xorg.conf
Comment 3 Matija “hook” Šuklje 2008-11-18 08:12:19 UTC
Created attachment 20417 [details]
'hal-device' output
Comment 4 Matija “hook” Šuklje 2008-11-18 08:12:40 UTC
Created attachment 20418 [details]
synaptics.fdi
Comment 5 Matija “hook” Šuklje 2008-11-18 08:13:19 UTC
Created attachment 20419 [details]
'evtest' output of the synaptics touchpad
Comment 6 Matija “hook” Šuklje 2008-11-18 08:16:18 UTC
'xev' reports the button mapping as:
* left button: 1
* right button: 3
* 4-way scroll button up: 1
* 4-way scroll button down: 3
* 4-way scroll button left: 2
* 4-way scroll button right: 8
Comment 7 Peter Hutterer 2008-11-18 15:26:28 UTC
You have AutoAddDevices off - this causes the server to ignore all HAL devices. The reason why the touchpad still works is because it's feeding into /dev/input/mice, which gets set up automatically in this case.

That's problem 1. Problem 2 is a wrong match line in the fdi file, you need to match for input.touchpad, not input.mouse.

Fixing those two should get your synaptics up and running again.
Comment 8 Matija “hook” Šuklje 2008-11-20 11:53:58 UTC
My bad. OK, fixing this does solve some thing, but some bugs still persist.

Fixed (i.e. by my error):
* button mapping now works as I'd like it

Still persisting:
* no (other) option is introduced by HAL

E.g. although I now disabled the two finger scrolling from the .fdi and I restarted both HAL and X it still uses that. On the other hand, neither the TapFinger? nor ClickFinger? settings seem to work and 'hal-device' still doesn't show any options enabled for Synaptics.
Comment 9 Matija “hook” Šuklje 2008-11-20 11:55:21 UTC
Created attachment 20473 [details]
Xorg.0.log

X log after the (first) edit.
Comment 10 Matija “hook” Šuklje 2008-11-20 11:56:44 UTC
Created attachment 20474 [details]
synaptics.fdi

synaptics.fdi after the (first) change and some playing around
Comment 11 Matija “hook” Šuklje 2008-11-20 11:57:48 UTC
Created attachment 20475 [details]
'hal-device' output

'hal-device' output after the (first) changes of 'synaptics.fdi'
Comment 12 Peter Hutterer 2008-11-20 15:48:10 UTC
On Thu, Nov 20, 2008 at 11:56:45AM -0800, bugzilla-daemon@freedesktop.org wrote:
> --- Comment #10 from Matija Šuklje <matija.suklje@rutka.net>  2008-11-20 11:56:44 PST ---
> Created an attachment (id=20474)
>  --> (http://bugs.freedesktop.org/attachment.cgi?id=20474)
> synaptics.fdi
> 
> synaptics.fdi after the (first) change and some playing around

use type "string" for all of them.
Comment 13 Matija “hook” Šuklje 2008-11-20 16:07:17 UTC
(In reply to comment #12)
> use type "string" for all of them.

Thanks, that did the trick :]

Closing as due to my own stupidity. 



Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.