You are not logged in.

#1 2009-07-06 21:18:57

Westrabua
Member
From: Germany
Registered: 2009-07-02
Posts: 5

Synaptics: /etc/hal/fdi/policy/11-x11-synaptics doesn´t work anymore

Hello everyone!

Three weeks ago I installed Arch one my old "Acer Travelmate 243".
It was my first Laptop-Install, so I was sure to experience some problems especially with the Touchpad.
But hey, no problems at all, Touchpad worked.

One week ago I made a system-update. Also the Kernel was updated to version 2.6.30.
I did a reboot and everything worked ok. Everything, but not the "two-finger-scroll" on the touchpad (which I had enabled when I configured the touchpad and worked before the update).

So I checked /etc/hal/fdi/policy/11-x11-synaptics, but everything looked like before the update.

The problem is that "11-x11-synaptics" apparently isn´t read anymore, cause I can do whatever I like to this file and it simply doesn´t matter (Touchpad works in the standard way). BTW I don´t have a xorg.conf.

So here are some files:

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

<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
  <device>
    <match key="info.product" contains="ETPS/2 Elantech 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">3</merge>
    <merge key="input.x11_options.TapButton3" type="string">2</merge>
    <merge key="input.x11_options.VertTwoFingerScroll" type="string">true</merge>
    </match>
  </device>
</deviceinfo>

Output of "hal-device":

18: udi = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX3_port_logicaldev_input'
  input.device = '/dev/input/event7'  (string)
  input.product = 'PS/2 Synaptics TouchPad'  (string)
  access_control.file = '/dev/input/event7'  (string)
  access_control.type = 'mouse'  (string)
  info.callouts.add = { 'hal-acl-tool --add-device' } (string list)
  input.x11_driver = 'evdev'  (string)
  info.callouts.remove = { 'hal-acl-tool --remove-device' } (string list)
  linux.sysfs_path = '/sys/devices/platform/i8042/serio4/input/input7/event7'  (string)
  info.parent = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX3_port'  (string)
  info.subsystem = 'input'  (string)
  info.product = 'PS/2 Synaptics TouchPad'  (string)
  info.category = 'input'  (string)
  info.capabilities = { 'input', 'input.mouse', 'access_control' } (string list)
  linux.device_file = '/dev/input/event7'  (string)
  info.udi = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX3_port_logicaldev_input'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  input.originating_device = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX3_port'  (string)
  linux.subsystem = 'input'  (string)

Offline

#2 2009-07-07 11:09:08

Svenstaro
Administrator
From: Germany
Registered: 2008-11-19
Posts: 388

Re: Synaptics: /etc/hal/fdi/policy/11-x11-synaptics doesn´t work anymore

Same here. It seems that the wiki suggests the same the Gentoo wiki does which is renaming /etc/hal/fdi/policy/11-x11-synaptics to /etc/hal/fdi/policy/99-x11-synaptics but that doesn't make it work for me.

Is this a bug in upstream? Apparently, searching the freedesktop bug tracker, a bug like this hasn't been filed yet. Is this wrong configuration or an Arch specific problem even? I do have to say that I've recently seen quite a few persons on IRC asking for this exact thing: Why their synaptics configuration didn't work. Bugtracker here: https://bugs.freedesktop.org/buglist.cg … =synaptics

Help highly appreciated.

Offline

#3 2009-07-07 14:43:35

sDoky
Member
From: Brno, Czech Republic
Registered: 2008-09-24
Posts: 183

Re: Synaptics: /etc/hal/fdi/policy/11-x11-synaptics doesn´t work anymore

I have similar problem, I have recently switched from radeon to fglrx driver and in order to do so I had to downgrade kernel to 2.6.29 and xorg-server to 1.5. After that my Alps touchpad stopped working. I also tried this method and it is no good. And there's another weird thing: if I try to read /dev/input/mouse2 vith cat and touch the touchpad I get an output which shows, that I ought to be able to use it via this device pointer. Here's my xorg.conf

#Section "InputDevice"
#    Identifier  "Serial Mouse"
#    Driver      "mouse"
#    Option      "Protocol" "Microsoft"
#    Option      "Device" "/dev/ttyS0"
#    Option      "Emulate3Buttons" "true"
#    Option      "Emulate3Timeout" "70"
#    Option        "SendCoreEvents"  "true"
#EndSection
#Section "InputDevice"
#  Driver        "synaptics"
#  Identifier    "PS/2 Mouse"
#  Option        "Device"                "/dev/psaux"
#  Option        "Protocol"              "auto-dev"
#  Option        "LeftEdge"              "120"
#  Option        "RightEdge"             "830"
#  Option        "TopEdge"               "120"
#  Option        "BottomEdge"            "650"
#  Option        "FingerLow"             "14"
#  Option        "FingerHigh"            "15"
#  Option        "MaxTapTime"            "180"
#  Option        "MaxTapMove"            "110"
#  Option        "EmulateMidButtonTime"  "75"
#  Option        "VertScrollDelta"       "20"
#  Option        "HorizScrollDelta"      "20"
#  Option        "MinSpeed"              "0.3"
#  Option        "MaxSpeed"              "0.75"
#  Option        "AccelFactor"           "0.015"
#  Option        "EdgeMotionMinSpeed"    "200"
#  Option        "EdgeMotionMaxSpeed"    "200"
#  Option        "UpDownScrolling"       "1"
#  Option        "CircularScrolling"     "1"
#  Option        "CircScrollDelta"       "0.1"
#  Option        "CircScrollTrigger"     "2"
#EndSection
#Section "InputDevice"
#    Identifier  "Synaptics"
#    Driver      "synaptics"
#    Option      "Device" "/dev/input/mouse2"
#    Option      "Protocol" "auto-dev"
#    Option      "Emulate3Buttons" "yes"
#    Option      "LeftEdge" "120"
#    Option      "RightEdge" "830"
#    Option      "TopEdge" "120"
#    Option      "BottomEdge" "650"
#    Option      "FingerLow" "14"
#    Option      "FingerHigh" "15"
#    Option      "MaxTapMove" "110"
#    Option      "VertScrollDelta" "20"
#    Option      "HorizScrollDelta" "20"
#    Option      "MinSpeed" "0.5"
#    Option      "MaxSpeed" "1.5"
#    Option      "SHMConfig" "true"
#EndSection
# Auto-generated by Archie mkxcfg
# Auto-generated by Archie mkxcfg

Section "ServerLayout"

    #InputDevice    "USB Mouse" "CorePointer"
    #Option           "AIGLX" "True"
# Serial Mouse not detected
# USB Mouse not detected
    Identifier     "Xorg Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "PS/2 Mouse" "CorePointer"
EndSection

Section "Files"

# Additional fonts: Locale, Gimp, TTF...
#    FontPath     "/usr/share/lib/X11/fonts/latin2/75dpi"
#    FontPath     "/usr/share/lib/X11/fonts/latin2/100dpi"
# True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc:unscaled"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/100dpi"
    FontPath     "/usr/share/fonts/PEX"
    FontPath     "/usr/share/fonts/cyrillic"
    FontPath     "/usr/share/fonts/Type1"
    FontPath     "/usr/share/fonts/ttf/western"
    FontPath     "/usr/share/fonts/ttf/decoratives"
    FontPath     "/usr/share/fonts/truetype"
    FontPath     "/usr/share/fonts/truetype/openoffice"
    FontPath     "/usr/share/fonts/truetype/ttf-bitstream-vera"
    FontPath     "/usr/share/fonts/latex-ttf-fonts"
    FontPath     "/usr/share/fonts/defoma/CID"
    FontPath     "/usr/share/fonts/defoma/TrueType"
EndSection

Section "Module"
    Load  "ddc"  # ddc probing of monitor
    Load  "dbe"
    Load  "dri"
    Load  "extmod"
    Load  "glx"
    Load  "bitmap" # bitmap-fonts
    Load  "type1"
    Load  "freetype"
    Load  "record"
    Load  "synaptics"
EndSection

Section "ServerFlags"
    Option        "AllowMouseOpenFail" "false"
    Option        "AIGLX" "True"
    Option        "AutoAddDevices" "True"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
    Option        "CoreKeyboard"
    Option        "XkbRules" "xorg"
    Option        "XkbModel" "latitude"
    Option        "XkbLayout" "cz"
    Option        "XkbVariant" ""
EndSection

Section "InputDevice"
    Identifier  "PS/2 Mouse"
    Driver      "mouse"
    Option        "Protocol" "Auto"
    Option        "ZAxisMapping" "4 5"
    Option        "Device" "/dev/psaux"
    Option        "Emulate3Buttons" "true"
    Option        "Emulate3Timeout" "70"
    Option        "SendCoreEvents" "true"
EndSection

Section "InputDevice"
    Identifier  "USB Mouse"
    Driver      "mouse"
    Option        "Device" "/dev/input/mouse2"
    Option        "SendCoreEvents" "true"
    Option        "Protocol" "GlidePointPS/2"
    Option        "ZAxisMapping" "4 5"
    Option        "Buttons" "5"
    Option        "Emulate3Buttons"
EndSection

Section "Monitor"

 # Warning: This may fry old Monitors
 # Very conservative. May flicker.
#    VertRefresh  50.0 - 62.0 # Extreme conservative. Will flicker. TFT default.
    #  Default modes distilled from
    #      "VESA and Industry Standards and Guide for Computer Display Monitor
    #       Timing", version 1.0, revision 0.8, adopted September 17, 1998.
    #  $XFree86: xc/programs/Xserver/hw/xfree86/etc/vesamodes,v 1.4 1999/11/18 16:52:17 tsi Exp $
    # 640x350 @ 85Hz (VESA) hsync: 37.9kHz
    Identifier   "Monitor0"
    HorizSync    28.0 - 96.0
    VertRefresh  50.0 - 75.0
    ModeLine     "640x350" 31.5 640 672 736 832 350 382 385 445 +hsync -vsync
    ModeLine     "640x400" 31.5 640 672 736 832 400 401 404 445 -hsync +vsync
    ModeLine     "720x400" 35.5 720 756 828 936 400 401 404 446 -hsync +vsync
    ModeLine     "640x480" 25.2 640 656 752 800 480 490 492 525 -hsync -vsync
    ModeLine     "640x480" 31.5 640 664 704 832 480 489 491 520 -hsync -vsync
    ModeLine     "640x480" 31.5 640 656 720 840 480 481 484 500 -hsync -vsync
    ModeLine     "640x480" 36.0 640 696 752 832 480 481 484 509 -hsync -vsync
    ModeLine     "800x600" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
    ModeLine     "800x600" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
    ModeLine     "800x600" 50.0 800 856 976 1040 600 637 643 666 +hsync +vsync
    ModeLine     "800x600" 49.5 800 816 896 1056 600 601 604 625 +hsync +vsync
    ModeLine     "800x600" 56.3 800 832 896 1048 600 601 604 631 +hsync +vsync
    ModeLine     "1024x768" 44.9 1024 1032 1208 1264 768 768 776 817 +hsync +vsync interlace
    ModeLine     "1024x768" 65.0 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
    ModeLine     "1024x768" 75.0 1024 1048 1184 1328 768 771 777 806 -hsync -vsync
    ModeLine     "1024x768" 78.8 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
    ModeLine     "1024x768" 94.5 1024 1072 1168 1376 768 769 772 808 +hsync +vsync
    ModeLine     "1152x864" 108.0 1152 1216 1344 1600 864 865 868 900 +hsync +vsync
    ModeLine     "1280x960" 108.0 1280 1376 1488 1800 960 961 964 1000 +hsync +vsync
    ModeLine     "1280x960" 148.5 1280 1344 1504 1728 960 961 964 1011 +hsync +vsync
    ModeLine     "1280x1024" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
    ModeLine     "1280x1024" 135.0 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
    ModeLine     "1280x1024" 157.5 1280 1344 1504 1728 1024 1025 1028 1072 +hsync +vsync
    ModeLine     "1600x1200" 162.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
    ModeLine     "1600x1200" 175.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
    ModeLine     "1600x1200" 189.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
    ModeLine     "1600x1200" 202.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
    ModeLine     "1600x1200" 229.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
    ModeLine     "1792x1344" 204.8 1792 1920 2120 2448 1344 1345 1348 1394 -hsync +vsync
    ModeLine     "1792x1344" 261.0 1792 1888 2104 2456 1344 1345 1348 1417 -hsync +vsync
    ModeLine     "1856x1392" 218.3 1856 1952 2176 2528 1392 1393 1396 1439 -hsync +vsync
    ModeLine     "1856x1392" 288.0 1856 1984 2208 2560 1392 1393 1396 1500 -hsync +vsync
    ModeLine     "1920x1440" 234.0 1920 2048 2256 2600 1440 1441 1444 1500 -hsync +vsync
    ModeLine     "1920x1440" 297.0 1920 2064 2288 2640 1440 1441 1444 1500 -hsync +vsync
    ModeLine     "1800x1440" 230.0 1800 1896 2088 2392 1440 1441 1444 1490 +hsync +vsync
    ModeLine     "1800x1440" 250.0 1800 1896 2088 2392 1440 1441 1444 1490 +hsync +vsync
    ModeLine     "640x480" 43.2 640 680 744 848 480 481 484 509 -hsync +vsync
    ModeLine     "768x576" 35.0 768 792 872 976 576 577 580 597 -hsync +vsync
    ModeLine     "768x576" 42.9 768 800 880 992 576 577 580 601 -hsync +vsync
    ModeLine     "768x576" 45.5 768 808 888 1008 576 577 580 602 -hsync +vsync
    ModeLine     "768x576" 51.8 768 808 888 1008 576 577 580 605 -hsync +vsync
    ModeLine     "768x576" 62.6 768 816 896 1024 576 577 580 611 -hsync +vsync
    ModeLine     "800x600" 68.2 800 848 936 1072 600 601 604 636 -hsync +vsync
    ModeLine     "1024x768" 113.3 1024 1096 1208 1392 768 769 772 814 -hsync +vsync
    ModeLine     "1152x864" 81.6 1152 1216 1336 1520 864 865 868 895 -hsync +vsync
    ModeLine     "1152x864" 119.7 1152 1224 1352 1552 864 865 868 907 -hsync +vsync
    ModeLine     "1152x864" 143.5 1152 1232 1360 1568 864 865 868 915 -hsync +vsync
    ModeLine     "1280x960" 124.5 1280 1368 1504 1728 960 961 964 1001 -hsync +vsync
    ModeLine     "1280x960" 129.9 1280 1368 1504 1728 960 961 964 1002 -hsync +vsync
    ModeLine     "1280x960" 179.0 1280 1376 1520 1760 960 961 964 1017 -hsync +vsync
    ModeLine     "1280x1024" 191.0 1280 1376 1520 1760 1024 1025 1028 1085 -hsync +vsync
    ModeLine     "1400x1050" 122.6 1400 1488 1640 1880 1050 1051 1054 1087 -hsync +vsync
    ModeLine     "1400x1050" 149.3 1400 1496 1648 1896 1050 1051 1054 1094 -hsync +vsync
    ModeLine     "1400x1050" 155.8 1400 1496 1648 1896 1050 1051 1054 1096 -hsync +vsync
    ModeLine     "1400x1050" 179.3 1400 1504 1656 1912 1050 1051 1054 1103 -hsync +vsync
    ModeLine     "1400x1050" 214.4 1400 1512 1664 1928 1050 1051 1054 1112 -hsync +vsync
    ModeLine     "1600x1200" 280.6 1600 1728 1904 2208 1200 1201 1204 1271 -hsync +vsync
    Option        "DPMS" "true"
#    HorizSync    28.0 - 78.0 # Warning: This may fry very old Monitors
EndSection

Section "Device"

    #Option      "Capabilities" "0x00000000"
    #Option      "VideoOverlay" "on"
    #Option      "OpenGLOverlay" "off"
    #Option      "FSAAScale" "0"
    Identifier  "Card0"
    Driver      "radeon"
    VendorName  "All"
    BoardName   "All"
    Option        "DRI" "True"
    Option        "NoDDC" "True"
    Option        "XAANoOffscreenPixmaps" "True"
    Option        "EnablePageFlip" "True"
    Option        "RenderAccel" "True"
    Option        "AccelMethod" "EXA"
    #Option      "FSAAEnable" "off"
EndSection

Section "Device"
    Identifier  "Card1"
    Driver      "fglrx"
    VendorName  "All"
    BoardName   "All"
    Option        "NoDDC" "true"
    Option        "Centermode" "off"
    Option        "VideoOverlay" "on"
    Option        "OpenGLOverlay" "off"
    Option        "OverlayOnCRT2" "0"
    Option        "PseudoColorVisuals" "off"
    Option        "UseFastTLS" "off"
    BusID       "PCI:1:0:0"
EndSection

Section "Device"
    Identifier  "Card2"
    Driver      "fglrx"
    VendorName  "All"
    BoardName   "All"
    Option        "DRI" "True"
    Option        "NoDDC" "True"
    Option        "XAANoOffscreenPixmaps" "True"
    Option        "EnablePageFlip" "True"
    Option        "RenderAccel" "True"
    Option        "AccelMethod" "EXA"
    Option        "FSAAEnable" "off"
    Option        "Capabilities" "0x00000000"
    Option        "VideoOverlay" "on"
    Option        "OpenGLOverlay" "off"
    Option        "FSAAScale" "0"
    BusID       "PCI:1:0:0"
EndSection

Section "Screen"

#    SubSection "Display"
#        Depth     16
#        Modes "1024x768" "800x600" "640x480"
#    EndSubSection
    Identifier "Screen0"
    Device     "Card2"
    Monitor    "Monitor0"
    DefaultDepth     24
    Option        "DisableGLXRootClipping" "True"
    Option        "AddARGBGLXVisuals" "True"
    Option        "LIBGL_ALWAYS_INDIRECT" "True"
    SubSection "Display"
        Depth     24
        Modes    "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "DRI"

#    Group 0
    Mode         0666
EndSection

Section "Extensions"

#    Option  "DAMAGE" "True"
    Option        "Composite" "Enable"
EndSection

and here's my /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="Synaptics TouchPad">
        <match key="info.product" contains="AlpsPS/2 ALPS GlidePoint">
                   <merge key="input.x11_driver" type="string">synaptics</merge>
                   <merge key="input.x11_options.AlwaysCore" type="string">true</merge>
                   <merge key="input.x11_options.VertEdgeScroll" type="string">true</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.TapButton2" type="string">2</merge>
                   <merge key="input.x11_options.TapButton3" type="string">3</merge>
                   <merge key="input.x11_options.protocol" type="string">event</merge>
                   <merge key="input.x11_options.touchpadoff" type="string">0</merge>
                   <merge key="input.x11_options.shmconfig" type="string">on</merge>
               </match>
           </device>
       </deviceinfo>

It really bugs me. I can use it only in windows sad

EDIT: my pointing stick works though.

Last edited by sDoky (2009-07-07 17:02:58)


Linux!

Offline

#4 2009-07-07 15:14:53

Brownigan09
Member
Registered: 2008-08-01
Posts: 27

Re: Synaptics: /etc/hal/fdi/policy/11-x11-synaptics doesn´t work anymore

I'm not too good at reading xml, but I think it's not applying settings to your device because the string "info.product" does not contain "ETPS/2 Elantech Touchpad" like your config file specifies. Try changing that line to look like:

<match key="info.product" contains="Synaptics TouchPad">

example file here


Simplicity is the ultimate sophistication
~Leonardo da Vinci

Offline

#5 2009-07-07 15:34:33

sDoky
Member
From: Brno, Czech Republic
Registered: 2008-09-24
Posts: 183

Re: Synaptics: /etc/hal/fdi/policy/11-x11-synaptics doesn´t work anymore

Brownigan09 wrote:

I'm not too good at reading xml, but I think it's not applying settings to your device because the string "info.product" does not contain "ETPS/2 Elantech Touchpad" like your config file specifies. Try changing that line to look like:

<match key="info.product" contains="Synaptics TouchPad">

example file here

Doesn't help (if you are referring to my post)

[minimal@sdoky-laptop ~]$ sudo cat /proc/bus/input/devices
...
I: Bus=0011 Vendor=0002 Product=0008 Version=6337
N: Name="AlpsPS/2 ALPS GlidePoint"
P: Phys=isa0060/serio1/input0
S: Sysfs=/devices/platform/i8042/serio1/input/input8
U: Uniq=
H: Handlers=mouse2 event8 
B: EV=f
B: KEY=420 0 70000 0 0 0 0 0 0 0 0
B: REL=3
B: ABS=1000003

Linux!

Offline

#6 2009-07-07 15:47:49

Westrabua
Member
From: Germany
Registered: 2009-07-02
Posts: 5

Re: Synaptics: /etc/hal/fdi/policy/11-x11-synaptics doesn´t work anymore

Doesn´t work here too.

I still have the feeling that "11-x11-synaptics.fdi" as a configurationfile isn´t recognized at all. (Just a thought)

Offline

#7 2009-07-07 15:50:49

sDoky
Member
From: Brno, Czech Republic
Registered: 2008-09-24
Posts: 183

Re: Synaptics: /etc/hal/fdi/policy/11-x11-synaptics doesn´t work anymore

There's another weird thing. I have the SHMConfig option turned on, nevertheless when I try to start gsynaptics it gives me an error saying that this option is currently off. It looks like this part of xorg.conf is not being read.


Linux!

Offline

#8 2009-07-07 15:58:19

Westrabua
Member
From: Germany
Registered: 2009-07-02
Posts: 5

Re: Synaptics: /etc/hal/fdi/policy/11-x11-synaptics doesn´t work anymore

HA!!! big_smile

I also tried Gsynaptics yesterday and it gave me the same error!
But I did it with "11-x11-synaptics.fdi" (enabling SHMConfig).
So it seems that this is a globally problem, not just like my thought above.

Offline

#9 2009-07-07 16:01:30

Brownigan09
Member
Registered: 2008-08-01
Posts: 27

Re: Synaptics: /etc/hal/fdi/policy/11-x11-synaptics doesn´t work anymore

sDoky wrote:

Doesn't help (if you are referring to my post)

Sorry, I was referring to the OP. It looks like your 11-x11-synaptics.fdi has two <match> lines and only one of them is closed with a </match>. I'd try deleting one based on the output of "hal-device"

Although I doubt this is your problem. More likely is that it's an issue with downgrading to xorg-server 1.5. Try without an xorg.conf file perhaps.


Simplicity is the ultimate sophistication
~Leonardo da Vinci

Offline

#10 2009-07-07 16:08:06

Brownigan09
Member
Registered: 2008-08-01
Posts: 27

Re: Synaptics: /etc/hal/fdi/policy/11-x11-synaptics doesn´t work anymore

According to this, you can try to enable shmconfig by creating a file /etc/hal/fdi/policy/shmconfig.fdi and adding this to it:

<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
  <device>
    <match key="input.x11_driver" string="synaptics">
      <merge key="input.x11_options.SHMConfig" type="string">True</merge>
    </match>
  </device>
</deviceinfo>

Reboot (maybe just restart hal?) and try again

EDIT: Aha! both Westrabua and sDoky have "input.x11_driver = 'evdev'" in hal-device, so you're not even using synaptics at all! I don't know how to fix this though... sad

Edit2: Last post of this thread may provide some help

Last edited by Brownigan09 (2009-07-07 16:29:08)


Simplicity is the ultimate sophistication
~Leonardo da Vinci

Offline

#11 2009-07-07 16:30:37

Westrabua
Member
From: Germany
Registered: 2009-07-02
Posts: 5

Re: Synaptics: /etc/hal/fdi/policy/11-x11-synaptics doesn´t work anymore

@ Brownigan09:

I did it like you said, did a reboot, and then.... my Touchpad doesn´t work, no moving, no nothing.
Then I deleted the shmconfig.fdi and did another reboot.... Still doesn´t work.

So finally my Touchpad is broken. Hmmm
How to fix that?

Last edited by Westrabua (2009-07-07 16:31:12)

Offline

#12 2009-07-07 16:41:38

Brownigan09
Member
Registered: 2008-08-01
Posts: 27

Re: Synaptics: /etc/hal/fdi/policy/11-x11-synaptics doesn´t work anymore

Westrabua wrote:

@ Brownigan09:

I did it like you said, did a reboot, and then.... my Touchpad doesn´t work, no moving, no nothing.
Then I deleted the shmconfig.fdi and did another reboot.... Still doesn´t work.

So finally my Touchpad is broken. Hmmm
How to fix that?

Gah! Sorry! I didn't mean to break it, just trying to help. But what fun would linux be without breakages? tongue

Did you try the suggestion in the second edit of my last post?


Simplicity is the ultimate sophistication
~Leonardo da Vinci

Offline

#13 2009-07-07 16:45:54

sDoky
Member
From: Brno, Czech Republic
Registered: 2008-09-24
Posts: 183

Re: Synaptics: /etc/hal/fdi/policy/11-x11-synaptics doesn´t work anymore

Brownigan09 wrote:
sDoky wrote:

Doesn't help (if you are referring to my post)

Sorry, I was referring to the OP. It looks like your 11-x11-synaptics.fdi has two <match> lines and only one of them is closed with a </match>. I'd try deleting one based on the output of "hal-device"

Although I doubt this is your problem. More likely is that it's an issue with downgrading to xorg-server 1.5. Try without an xorg.conf file perhaps.

one of those <match> lines is commented out with # ...


Linux!

Offline

#14 2009-07-07 16:55:31

Brownigan09
Member
Registered: 2008-08-01
Posts: 27

Re: Synaptics: /etc/hal/fdi/policy/11-x11-synaptics doesn´t work anymore

sDoky wrote:
Brownigan09 wrote:
sDoky wrote:

Doesn't help (if you are referring to my post)

Sorry, I was referring to the OP. It looks like your 11-x11-synaptics.fdi has two <match> lines and only one of them is closed with a </match>. I'd try deleting one based on the output of "hal-device"

Although I doubt this is your problem. More likely is that it's an issue with downgrading to xorg-server 1.5. Try without an xorg.conf file perhaps.

one of those <match> lines is commented out with # ...

Wow, you're right. Now I really feel dumb sad


Simplicity is the ultimate sophistication
~Leonardo da Vinci

Offline

#15 2009-07-07 16:58:26

sDoky
Member
From: Brno, Czech Republic
Registered: 2008-09-24
Posts: 183

Re: Synaptics: /etc/hal/fdi/policy/11-x11-synaptics doesn´t work anymore

Brownigan09 wrote:
sDoky wrote:

Doesn't help (if you are referring to my post)

Sorry, I was referring to the OP. It looks like your 11-x11-synaptics.fdi has two <match> lines and only one of them is closed with a </match>. I'd try deleting one based on the output of "hal-device"

Although I doubt this is your problem. More likely is that it's an issue with downgrading to xorg-server 1.5. Try without an xorg.conf file perhaps.

Two things:
1) The xorg-server package I am using right now is from April 2009 (ARM project - http://arm.kh.nu) which is from time I definetely was using my Alps touchpad so there shouldn't any problem. - shouldnt...
2) How exactly do you mean without xorg.conf? Do you mean just without mouse parts or without xorg.conf at all? Cause this is a state I have very hard time imagining.

And as Brownigan09 said what would linux be without brakeages... I totally agree... smile


Linux!

Offline

#16 2009-07-07 16:59:25

sDoky
Member
From: Brno, Czech Republic
Registered: 2008-09-24
Posts: 183

Re: Synaptics: /etc/hal/fdi/policy/11-x11-synaptics doesn´t work anymore

Brownigan09 wrote:
sDoky wrote:
Brownigan09 wrote:

Sorry, I was referring to the OP. It looks like your 11-x11-synaptics.fdi has two <match> lines and only one of them is closed with a </match>. I'd try deleting one based on the output of "hal-device"

Although I doubt this is your problem. More likely is that it's an issue with downgrading to xorg-server 1.5. Try without an xorg.conf file perhaps.

one of those <match> lines is commented out with # ...

Wow, you're right. Now I really feel dumb sad

Don't worry, it is the smallest thing I can think of right now lol


Linux!

Offline

#17 2009-07-07 17:01:24

sDoky
Member
From: Brno, Czech Republic
Registered: 2008-09-24
Posts: 183

Re: Synaptics: /etc/hal/fdi/policy/11-x11-synaptics doesn´t work anymore

Brownigan09 wrote:

According to this, you can try to enable shmconfig by creating a file /etc/hal/fdi/policy/shmconfig.fdi and adding this to it:

<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
  <device>
    <match key="input.x11_driver" string="synaptics">
      <merge key="input.x11_options.SHMConfig" type="string">True</merge>
    </match>
  </device>
</deviceinfo>

Reboot (maybe just restart hal?) and try again

EDIT: Aha! both Westrabua and sDoky have "input.x11_driver = 'evdev'" in hal-device, so you're not even using synaptics at all! I don't know how to fix this though... sad

Edit2: Last post of this thread may provide some help

I don't. There's synaptics in my 11-x11-synaptics.fdi


Linux!

Offline

#18 2009-07-07 17:16:39

Brownigan09
Member
Registered: 2008-08-01
Posts: 27

Re: Synaptics: /etc/hal/fdi/policy/11-x11-synaptics doesn´t work anymore

sDoky wrote:

2) How exactly do you mean without xorg.conf? Do you mean just without mouse parts or without xorg.conf at all? Cause this is a state I have very hard time imagining.

mv xorg.conf xorg.conf.bak

Then restart xorg. Hal should autodetect everything (this was implemented at 1.5 if my memory serves me right. Make fun of me and/or ignore this post if it wasn't), and you can troubleshoot issues by looking at /var/log/Xorg.0.log


Simplicity is the ultimate sophistication
~Leonardo da Vinci

Offline

#19 2009-07-07 17:26:17

sDoky
Member
From: Brno, Czech Republic
Registered: 2008-09-24
Posts: 183

Re: Synaptics: /etc/hal/fdi/policy/11-x11-synaptics doesn´t work anymore

Brownigan09 wrote:
sDoky wrote:

2) How exactly do you mean without xorg.conf? Do you mean just without mouse parts or without xorg.conf at all? Cause this is a state I have very hard time imagining.

mv xorg.conf xorg.conf.bak

Then restart xorg. Hal should autodetect everything (this was implemented at 1.5 if my memory serves me right. Make fun of me and/or ignore this post if it wasn't), and you can troubleshoot issues by looking at /var/log/Xorg.0.log

Definetely does not, especially the part with fglrx driver makes this solution completely useless. I tried it and xorg-server failed to start.

EDIT: Maybe I am doing something wrong, but I have never been able to use any kind of autodetect.

Last edited by sDoky (2009-07-07 17:28:48)


Linux!

Offline

#20 2009-07-07 17:37:20

Brownigan09
Member
Registered: 2008-08-01
Posts: 27

Re: Synaptics: /etc/hal/fdi/policy/11-x11-synaptics doesn´t work anymore

sDoky wrote:
Brownigan09 wrote:
sDoky wrote:

2) How exactly do you mean without xorg.conf? Do you mean just without mouse parts or without xorg.conf at all? Cause this is a state I have very hard time imagining.

mv xorg.conf xorg.conf.bak

Then restart xorg. Hal should autodetect everything (this was implemented at 1.5 if my memory serves me right. Make fun of me and/or ignore this post if it wasn't), and you can troubleshoot issues by looking at /var/log/Xorg.0.log

Definetely does not, especially the part with fglrx driver makes this solution completely useless. I tried it and xorg-server failed to start.

Sorry, I should have clarified. I didn't mean this as a permanent solution, but rather to see how hal detects your mouse stuff without conflicting xorg entries. Check out what /var/log/Xorg.0.log says about your touchpad. I agree that this would be annoying to use with the fglrx driver.


Simplicity is the ultimate sophistication
~Leonardo da Vinci

Offline

#21 2009-07-07 17:41:40

BurntSushi
Member
From: Massachusetts
Registered: 2009-06-28
Posts: 362
Website

Re: Synaptics: /etc/hal/fdi/policy/11-x11-synaptics doesn´t work anymore

I had a similar problem where it seemed my synaptics fdi file wasn't being read at all. I noticed however, that if I simply restarted acpid, the touchpad would use the settings from my fdi file.


Education is favorable to liberty. Freedom can exist only in a society of knowledge. Without learning, men are incapable of knowing their rights, and where learning is confined to a few people, liberty can be neither equal nor universal.

Tu ne cede malis sed contra audentior ito

Offline

#22 2009-07-07 18:03:27

Brownigan09
Member
Registered: 2008-08-01
Posts: 27

Re: Synaptics: /etc/hal/fdi/policy/11-x11-synaptics doesn´t work anymore

sDoky wrote:

Definetely does not, especially the part with fglrx driver makes this solution completely useless. I tried it and xorg-server failed to start.

EDIT: Maybe I am doing something wrong, but I have never been able to use any kind of autodetect.

This may be a stretch/wrong, but according to the output of "cat /proc/bus/input/devices" the device is located at /dev/input/mouse2, right? But in your xorg.conf it looks like you have it managed with the driver "mouse."

Section "InputDevice"
    Identifier  "USB Mouse"
    Driver      "mouse"
    Option        "Device" "/dev/input/mouse2"
    Option        "SendCoreEvents" "true"
    Option        "Protocol" "GlidePointPS/2"
    Option        "ZAxisMapping" "4 5"
    Option        "Buttons" "5"
    Option        "Emulate3Buttons"
EndSection

Simplicity is the ultimate sophistication
~Leonardo da Vinci

Offline

#23 2009-07-07 18:23:47

sDoky
Member
From: Brno, Czech Republic
Registered: 2008-09-24
Posts: 183

Re: Synaptics: /etc/hal/fdi/policy/11-x11-synaptics doesn´t work anymore

Brownigan09 wrote:
sDoky wrote:
Brownigan09 wrote:
mv xorg.conf xorg.conf.bak

Then restart xorg. Hal should autodetect everything (this was implemented at 1.5 if my memory serves me right. Make fun of me and/or ignore this post if it wasn't), and you can troubleshoot issues by looking at /var/log/Xorg.0.log

Definetely does not, especially the part with fglrx driver makes this solution completely useless. I tried it and xorg-server failed to start.

Sorry, I should have clarified. I didn't mean this as a permanent solution, but rather to see how hal detects your mouse stuff without conflicting xorg entries. Check out what /var/log/Xorg.0.log says about your touchpad. I agree that this would be annoying to use with the fglrx driver.

There's a bit of a problem with reading this file, The X server just hangs and nothing can shut it down - not even ctrl+alt+bkspc. So I suppose I could get it via ssh, but this solution is pretty weird.


Linux!

Offline

#24 2009-07-07 18:26:11

sDoky
Member
From: Brno, Czech Republic
Registered: 2008-09-24
Posts: 183

Re: Synaptics: /etc/hal/fdi/policy/11-x11-synaptics doesn´t work anymore

Brownigan09 wrote:
sDoky wrote:

Definetely does not, especially the part with fglrx driver makes this solution completely useless. I tried it and xorg-server failed to start.

EDIT: Maybe I am doing something wrong, but I have never been able to use any kind of autodetect.

This may be a stretch/wrong, but according to the output of "cat /proc/bus/input/devices" the device is located at /dev/input/mouse2, right? But in your xorg.conf it looks like you have it managed with the driver "mouse."

Section "InputDevice"
    Identifier  "USB Mouse"
    Driver      "mouse"
    Option        "Device" "/dev/input/mouse2"
    Option        "SendCoreEvents" "true"
    Option        "Protocol" "GlidePointPS/2"
    Option        "ZAxisMapping" "4 5"
    Option        "Buttons" "5"
    Option        "Emulate3Buttons"
EndSection

What's up with that? I tried the synaptics driver...


Linux!

Offline

#25 2009-07-07 18:31:04

sDoky
Member
From: Brno, Czech Republic
Registered: 2008-09-24
Posts: 183

Re: Synaptics: /etc/hal/fdi/policy/11-x11-synaptics doesn´t work anymore

alps.th.pngthis is what I get when I try to read the file while touching the touchpad, so clearly it gives something... can anyone decide what kind of protocol or driver output this is?

Last edited by sDoky (2009-07-07 18:32:45)


Linux!

Offline

Board footer

Powered by FluxBB