Suporte ao LED do touchpad Synaptics

5

Como ativar o suporte ao LED nos touchpads Synaptics? Eu estou usando Debian Jessie e xserver-xorg-input-synaptics ver. 1.8.1-1.

Eu encontrei patches de Takashi Iwai da SUSE para suporte a LED nos touchpads Synaptics e Debian bug 609903 " habilitar o recurso LEDDoubleTap ". Mas esses patches são para o Synaptics ver. < 1.8 e não funcionam para mim.

    
por Alexey Savchuk 31.10.2014 / 17:01

1 resposta

1

Você pode tentar esta solução :

TODO for clickpad to work with the LED :

(Enable the proposed archive for Ubuntu 12.04 : https://wiki.ubuntu.com/Testing/EnableProposed After dist-upgrade, do this :)

  1. Build a xserver-xorg-input-synaptics with led support package :

    mkdir tmpbuild 
    cd tmpbuild
    apt-get source
    xserver-xorg-input-synaptics d
    cd xserver-xorg-input-synaptics-*/debian/patches 
    wget https://bugs.launchpad.net/ubuntu/+source/linux/+bug/582809/+attachment/3183411/+files/200-add_led_support_with_double_tap-synaptics-1.6.0-mohegan_V1.patch
    ls -1 2*.patch >> series
    cd ../.. 
    sudo apt-get build-dep xserver-xorg-input-synaptics 
    debchange -i 
    

    Add somme comments (for example, "Add LED support with double tap") and quit.

     debuild -us -uc -i -I
     sudo dpkg -i ../xserver-xorg-input-synaptics_*.deb
    
  2. Build a dkms module for psmouse

     cd .. 
     apt-get source linux-image-'uname -r'
     sudo mkdir -p /usr/src/psmouse-'uname -r'/src
     sudo cp linux-*/drivers/input/mouse/* /usr/src/psmouse-'uname -r'/src/
     sudo gedit /usr/src/psmouse-'uname -r'/dkms.conf
    

    put this text, save the file and exit gedit : (remplace your kernel version by the text obtain with the command uname -r. For me, it's 2.6.38-9-generic)

     PACKAGE_NAME="psmouse" PACKAGE_VERSION="_your kernel version_"
     CLEAN="rm -f *.*o"
    
     BUILT_MODULE_NAME[0]="psmouse" MAKE[0]="make -C $kernel_source_dir
     M=$dkms_tree/$PACKAGE_NAME/$PACKAGE_VERSION/build/src psmouse.ko"
     BUILT_MODULE_LOCATION[0]="src" DEST_MODULE_LOCATION[0]="/updates"
    
     AUTOINSTALL="yes"
    

    Close the file and:

     wget https://bugs.launchpad.net/ubuntu/+source/linux/+bug/582809/+attachment/3183441/+files/synaptics_led_support_v2-ubuntu_12.04.patch -P /tmp
     cd /usr/src/psmouse-'uname -r'
     sudo patch -p1 -i /tmp/synaptics_led_support_v2-ubuntu_12.04.patch >          sudo dkms add -m psmouse -v 'uname -r'
     sudo dkms build -m psmouse -v 'uname -r' 
     sudo dkms install -m psmouse -v 'uname -r'
    

    3) Restart your computer and enjoy !

Os patches são para 1.6 fontes, então você terá que modificá-los um pouco para trabalhar com 1.8

    
por 13.01.2016 / 11:40