FedoraForum.org - Fedora Support Forums and Community
Page 1 of 3 123 LastLast
Results 1 to 15 of 36
  1. #1
    Join Date
    Oct 2004
    Location
    London, UK
    Posts
    4,991
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    enabling gsynaptics in F10 (via HAL fdi policy)

    There are quite a few threads on the subject of synaptics touchpad settings in F10, the confusion seems to result from the fact that F10 now uses HAL by default to manage traditional Xorg input devices via the evdev driver

    http://fedoraproject.org/wiki/Features/EvdevInputDriver

    To run gsynaptics you would normally just enable SHMConfig in xorg.conf, you can still do this, but the preferred way is to do it via a HAL fdi policy.

    Copy /usr/share/hal/fdi/policy/20thirdparty/10-synaptics.fdi to /etc/hal/fdi/policy/ and edit one line to enable SHMConfig so it looks like this

    Code:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <deviceinfo version="0.2">
      <device>
        <match key="info.capabilities" contains="input.touchpad">
          <match key="info.product" contains="Synaptics TouchPad">
    	<merge key="input.x11_driver" type="string">synaptics</merge>
            <merge key="input.x11_options.SHMConfig" type="string">On</merge>
          </match>
          <match key="info.product" contains="AlpsPS/2 ALPS">
    	<merge key="input.x11_driver" type="string">synaptics</merge>
          </match>
          <match key="info.product" contains="appletouch">
              <merge key="input.x11_driver" type="string">synaptics</merge>
          </match>
          <match key="info.product" contains="bcm5974">
              <merge key="input.x11_driver" type="string">synaptics</merge>
          </match>
        </match>
      </device>
    </deviceinfo>
    Reboot. ( restarting haldaemon doesn't seem enough, as noted in http://forums.fedoraforum.org/showthread.php?t=206644 )

    Then install gsynaptics and disable the touchpad or alter settings as preferred.
    Code:
    yum install gsynaptics

    (in gnome gsynaptics is in System->Preferences->Hardware->Touchpad)

  2. #2
    Join Date
    Mar 2004
    Location
    In your closet
    Posts
    16,568
    Mentioned
    19 Post(s)
    Tagged
    0 Thread(s)
    Nice how-to Sideways. Works perfectly for me on my Toshiba Satelite. Thank you!

  3. #3
    Join Date
    Oct 2004
    Location
    London, UK
    Posts
    4,991
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    cool, I'm not claming credit for the method, several users here have posted similar info, just that it seems to be a pretty common issue apearing over and over and as usual I thought a simple solution would be helpful. If you note there are also entries for ALPS and appletouch in the policy file, and I guess a similar edit to those sections would work for people with those touchpads.

  4. #4
    Barbancourt Guest
    For me also it worked. Thx a lot. But do not forget to set "synclient TouchPadOff=1" twice if u are using GNOME and KDE
    At least, I had to do it.

  5. #5
    Join Date
    May 2008
    Posts
    756
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi sideways,
    Did your suggestion, and checked the new file with added line twice, but no go. I still get the SHM error message when I try to set the touchpad. I checked in Sessions and found this in the touchpad section (which is ticked ON);
    gsynaptics-init --sm-disable
    in the command window. I wonder if that is correct? I cant see anything else. Oh yes, I did reboot.
    F10, updated as of yesterday. Toshiba Satellite 32 bit i686 laptop. I dont want to update today until the PackageKit/Selinux bug is fixed.
    Any insights? It is not a big deal, but I am surprised that it did not work. Thanks.
    Regards,
    Bob

  6. #6
    Join Date
    Oct 2004
    Location
    London, UK
    Posts
    4,991
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by robert-e
    Hi sideways,
    Did your suggestion, and checked the new file with added line twice, but no go. I still get the SHM error message when I try to set the touchpad. I checked in Sessions and found this in the touchpad section (which is ticked ON);
    gsynaptics-init --sm-disable
    in the command window. I wonder if that is correct? I cant see anything else. Oh yes, I did reboot.
    F10, updated as of yesterday. Toshiba Satellite 32 bit i686 laptop. I dont want to update today until the PackageKit/Selinux bug is fixed.
    Any insights? It is not a big deal, but I am surprised that it did not work. Thanks.
    Regards,
    Bob
    Do you have an xorg.conf defined in /etc/X11/ ? If so make sure there is no "input" section that will conflict with hal.

    Make sure you reboot afterwards (restarting haldaemon or X doesn't seem sufficient), in a livecd you have to boot into runlevel 3 (append '3' at boot screen to kernel line), add the fdi policy file, do 'service haldaemon restart' and then 'gdm')

    Finally, check you actually have a Synaptics Touchpad, it should be listed if you do
    Code:
    cat /proc/bus/input/devices | grep -A8 -B1 Synaptics
    If it is an ALPS touchpad then try the same setting in that section of the fdi policy file above

    good luck
    Last edited by sideways; 8th December 2008 at 05:43 PM.

  7. #7
    Join Date
    May 2008
    Posts
    756
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi again sideways,
    Sigh, yeah I did check the xorg.conf for a touchpad section...there was/is none, I also did the reboot so that hal could pick up the changes I did to the file. I have had this touchpad working with F7 and F8 by adding the SHM fix to xorg.conf, and I imagine I could do the same with F10 by reversing the "fixed" file you suggest if It were a terrible important thing. So, don't worry about it; I was just trying to further my understanding of Linux.
    I appreciate you thoughts on this. Thank you.
    Regards,
    Bob

  8. #8
    Join Date
    Dec 2008
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Aluminum MacBook

    I'm working with Fedora 10 on a new aluminum MacBook; I've tried everything posted here to get my touchpad to accept two-finger scrolling, but nothing works. Below is the relevant output from cat /proc/bus/input/devices; I'd appreciate any ideas.

    I: Bus=0017 Vendor=0001 Product=0001 Version=0100
    N: Name="Macintosh mouse button emulation"
    P: Phys=
    S: Sysfs=/devices/virtual/input/input4
    U: Uniq=
    H: Handlers=mouse0 event4
    B: EV=7
    B: KEY=70000 0 0 0 0
    B: REL=3

    I: Bus=0003 Vendor=05ac Product=0236 Version=0111
    N: Name="Apple, Inc. Apple Internal Keyboard / Trackpad"
    P: Phys=usb-0000:00:04.0-6/input0
    S: Sysfs=/devices/pci0000:00/0000:00:04.0/usb3/3-6/3-6:1.0/input/input5
    U: Uniq=
    H: Handlers=kbd event5
    B: EV=120013
    B: KEY=610000 0 0 0 1007b00010007 ff9f217ac14057ff febeffdfffefffff fffffffffffffffe
    B: MSC=10
    B: LED=1f

    I: Bus=0003 Vendor=05ac Product=0236 Version=0111
    N: Name="Apple, Inc. Apple Internal Keyboard / Trackpad"
    P: Phys=usb-0000:00:04.0-6/input2
    S: Sysfs=/devices/pci0000:00/0000:00:04.0/usb3/3-6/3-6:1.2/input/input6
    U: Uniq=
    H: Handlers=mouse1 event6
    B: EV=17
    B: KEY=70000 0 0 0 0
    B: REL=3
    B: MSC=10

  9. #9
    Join Date
    Oct 2004
    Location
    London, UK
    Posts
    4,991
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    put the SHMConfig entry in the bcm5794 section of the policy file (it's the 4 th section below "appletouch")

    reboot and run 'synclient -l', if it lists the current settings then you can install and run the synaptics gui

    make sure the bcm5974 kernel module is loaded

    Code:
    su -c 'modprobe bcm5974'

  10. #10
    Join Date
    Dec 2008
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    synclient -l gives me "Can't access shared memory. SHMConfig disabled?"

    gsynaptics gives me the SHMConfig disabled error still.

    How do I make "modprobe bcm5974" permanent?

  11. #11
    Join Date
    Oct 2004
    Location
    London, UK
    Posts
    4,991
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Thumbs up

    Quote Originally Posted by nstickney
    synclient -l gives me "Can't access shared memory. SHMConfig disabled?"

    gsynaptics gives me the SHMConfig disabled error still.

    How do I make "modprobe bcm5974" permanent?
    SHMConfig is still disabled after a reboot and editing the fdi policy? I don't have one to test but I'm sure it should either be in the "appletouch" section or the "bcm5974" section, try putting the SHMConfig line in both sections just to be sure and reboot (Also make sure you copy the policy file to /etc/hal/fdi/policy)

    you can add the 'modprobe bcm5974' line to /etc/rc.local to make it load at boot

    I don't have a macbook to test this so if you can't get any more help in a separate thread you should google 'macbook bcm5974' there are quite a few links (eg http://ubuntuforums.org/showthread.php?t=840040).

    There are several suggestions to try adding the settings in xorg.conf instead (the old way), in that case you must include this bit in the ServerLayout section:

    Code:
    Option "AutoAddDevices" "off"
    then just follow the old tutorials/howtos

  12. #12
    Join Date
    Feb 2005
    Location
    CALIFORNIA, yeah
    Age
    99
    Posts
    1,657
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Talking Dell Inspiron 1525....

    First of all, thanks "sideways" for the instructions. I just wanted to add a bit more detail:

    Copy /usr/share/hal/fdi/policy/20thirdparty/10-synaptics.fdi to /etc/hal/fdi/policy/ and edit one line to enable SHMConfig so it looks like this:
    Code:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <deviceinfo version="0.2">
      <device>
        <match key="info.capabilities" contains="input.touchpad">
          <match key="info.product" contains="Synaptics TouchPad">
    	<merge key="input.x11_driver" type="string">synaptics</merge>
            <merge key="input.x11_options.SHMConfig" type="string">On</merge>
          </match>
          <match key="info.product" contains="AlpsPS/2 ALPS">
    	<merge key="input.x11_driver" type="string">synaptics</merge>
          </match>
          <match key="info.product" contains="appletouch">
              <merge key="input.x11_driver" type="string">synaptics</merge>
          </match>
          <match key="info.product" contains="bcm5974">
              <merge key="input.x11_driver" type="string">synaptics</merge>
          </match>
        </match>
      </device>
    </deviceinfo>
    If it is an ALPS touchpad then try the same setting in that section of the fdi policy file above
    I do have an ALPS touchpad:

    Code:
    #  cat /proc/bus/input/devices
    output snipped...
    I: Bus=0011 Vendor=0002 Product=0008 Version=7321
    N: Name="AlpsPS/2 ALPS GlidePoint"
    P: Phys=isa0060/serio2/input0
    S: Sysfs=/devices/platform/i8042/serio2/input/input7
    U: Uniq=
    H: Handlers=mouse3 event7
    B: EV=f
    B: KEY=420 70000 0 0 0 0
    B: REL=3
    B: ABS=1000003


    So I added the "SHMconfig" line to match the device. I left the original line and it didn't hurt the configuration.

    Code:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <deviceinfo version="0.2">
      <device>
        <match key="info.capabilities" contains="input.touchpad">
          <match key="info.product" contains="Synaptics TouchPad">
    	<merge key="input.x11_driver" type="string">synaptics</merge>
            <merge key="input.x11_options.SHMConfig" type="string">On</merge>
          </match>
          <match key="info.product" contains="AlpsPS/2 ALPS">
    	<merge key="input.x11_driver" type="string">synaptics</merge>
            <merge key="input.x11_options.SHMConfig" type="string">On</merge>
          </match>
          <match key="info.product" contains="appletouch">
              <merge key="input.x11_driver" type="string">synaptics</merge>
          </match>
          <match key="info.product" contains="bcm5974">
              <merge key="input.x11_driver" type="string">synaptics</merge>
          </match>
        </match>
      </device>
    </deviceinfo>
    Rebooted, then (with gsynaptics installed):
    (in gnome gsynaptics is in System->Preferences->Hardware->Touchpad)
    Happy camper,
    Last edited by Zigzagcom; 31st December 2008 at 09:31 AM.
    Ziggy

  13. #13
    Join Date
    Aug 2008
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This worked for me. I have a Dell 1525 with an ALPS touchpad. Thanks very much for all this info!

  14. #14
    Join Date
    Jul 2008
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    EEE Elantech Touchpad

    I've been trying to get this fix to work for a few days now and these solutions are not seeming to work. Here is some info:

    cat /proc/bus/input/devices:

    I: Bus=0011 Vendor=0002 Product=0005 Version=0063
    N: Name="ImPS/2 Logitech Wheel Mouse"
    P: Phys=isa0060/serio1/input0
    S: Sysfs=/devices/platform/i8042/serio1/input/input6
    U: Uniq=
    H: Handlers=mouse1 event6
    B: EV=7
    B: KEY=70000 0 0 0 0 0 0 0 0
    B: REL=103

    It thinks my touchpad is a Logi mouse? I've added the line, "<merge key="input.x11_options.SHMConfig" type="string">On</merge>" under all four options I have in /etc/hal/fdi/policy/10-synaptics.fdi.

    Anyone else having this problem?

    Thanks!

  15. #15
    Join Date
    Sep 2006
    Location
    UK, Bucks.
    Posts
    354
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just wanted to say thanks you really helped me. Works like a charm, required a full restart though.
    Thinkpad T400 - Smolt Profile || Thinkpad T61 - Smolt Profile || Thinkpad T41p - Smolt Profile.

Page 1 of 3 123 LastLast

Similar Threads

  1. gsynaptics touchpad on F11 KDE
    By oz-sco in forum Using Fedora
    Replies: 2
    Last Post: 30th July 2009, 04:35 PM
  2. [F10] Initializing GSynaptics for touchpad
    By msuffern in forum Hardware
    Replies: 2
    Last Post: 29th November 2008, 06:15 PM
  3. gsynaptics - setting values
    By Linux > Windows in forum Hardware
    Replies: 0
    Last Post: 9th July 2008, 10:42 PM
  4. gsynaptics help
    By sanjay_ankur in forum Hardware
    Replies: 11
    Last Post: 1st July 2008, 10:59 AM
  5. Replies: 6
    Last Post: 27th November 2007, 01:24 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •