View previous topic :: View next topic |
Author |
Message |
solamour l33t
Joined: 21 Dec 2004 Posts: 698 Location: San Diego, CA
|
Posted: Fri Mar 21, 2014 6:04 am Post subject: [Solved] Q: How to disable touchpad while typing? |
|
|
This laptop I'm using has a rather large touchpad, and whenever I type something, my palm brushes the touchpad and the mouse pointer moves all over the places. Is there a ways to disable the touchpad while I'm typing? I'm using Fluxbox.
__
sol
Last edited by solamour on Wed Apr 02, 2014 6:21 am; edited 1 time in total |
|
Back to top |
|
|
666threesixes666 Veteran
Joined: 31 May 2011 Posts: 1248 Location: 42.68n 85.41w
|
Posted: Fri Mar 21, 2014 6:30 am Post subject: |
|
|
look @ synaptics wiki, theres an option for palm detection that you can extract out from the wiki's information. |
|
Back to top |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8708 Location: ~Brussels - Belgique
|
Posted: Fri Mar 21, 2014 8:34 am Post subject: |
|
|
syndaemon do the job.
I use those options:
and call it at session startup. _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
|
solamour l33t
Joined: 21 Dec 2004 Posts: 698 Location: San Diego, CA
|
Posted: Tue Mar 25, 2014 3:12 am Post subject: |
|
|
It looks like either I don't have a touchpad (I think I do) or it's not recognized. How should I proceed from here?
Code: | $ syndaemon -t -d -K
Unable to find a synaptics device.
$ /usr/sbin/lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Root Complex
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Kabini [Radeon HD 8400]
00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device 9840
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Function 0
00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Functions 5:1
00:02.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Functions 5:1
00:02.5 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Functions 5:1
00:10.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller (rev 01)
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode]
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 39)
00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 39)
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 39)
00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 39)
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 3a)
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller (rev 02)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 11)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Function 5
01:00.0 Network controller: Ralink corp. RT3290 Wireless 802.11n 1T/1R PCIe
01:00.1 Bluetooth: Ralink corp. RT3290 Bluetooth
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 07)
06:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader (rev 01) |
__
sol |
|
Back to top |
|
|
666threesixes666 Veteran
Joined: 31 May 2011 Posts: 1248 Location: 42.68n 85.41w
|
Posted: Tue Mar 25, 2014 4:34 am Post subject: |
|
|
File/etc/make.conf
INPUT_DEVICES="synaptics evdev"
does your systems /etc/portage/make.conf contain this, and did you
root # emerge --ask --changed-use --deep world
?????? |
|
Back to top |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8708 Location: ~Brussels - Belgique
|
Posted: Tue Mar 25, 2014 7:11 am Post subject: |
|
|
The touchpad can be something else than PCI (PS/2 port or USB, for example) _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
|
solamour l33t
Joined: 21 Dec 2004 Posts: 698 Location: San Diego, CA
|
Posted: Tue Mar 25, 2014 3:07 pm Post subject: |
|
|
Here is what I have.
Code: | $ cat /etc/portage/make.conf
...
INPUT_DEVICES="evdev synaptics"
$ lsusb
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 0eef:a107 D-WAV Scientific Co., Ltd
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 0bda:571a Realtek Semiconductor Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
|
"D-WAV Scientific Co., Ltd" seems like the touch screen, not the touchpad. "--changed-use --deep" didn't make any difference. Considering that the touchpad is working fine, I'm not sure what to look for at this point.
__
sol |
|
Back to top |
|
|
TomWij Retired Dev
Joined: 04 Jul 2012 Posts: 1553
|
Posted: Tue Mar 25, 2014 7:18 pm Post subject: |
|
|
[ignore this post as it is no longer relevant]
Last edited by TomWij on Tue Mar 25, 2014 8:31 pm; edited 2 times in total |
|
Back to top |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8708 Location: ~Brussels - Belgique
|
Posted: Tue Mar 25, 2014 7:28 pm Post subject: |
|
|
The best way is to take a look at dmesg and Xorg.log _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
|
solamour l33t
Joined: 21 Dec 2004 Posts: 698 Location: San Diego, CA
|
Posted: Tue Mar 25, 2014 8:00 pm Post subject: |
|
|
Here are "Xorg.0.log" and "dmesg".
Xorg.0.log
http://pastebin.com/s4tVjVQ7
config/udev: Adding input device PS/2 Generic Mouse (/dev/input/event4)
dmesg
http://pastebin.com/UmShiP6C
psmouse serio1: alps: Unknown ALPS touchpad: E7=73 03 50, EC=73 02 02
input: PS/2 Generic Mouse as /devices/platform/i8042/serio1/input/input5
The laptop is only a few months old, and in fact, I'm not able to start X if the kernel is 3.10.x or older. The LCD is a touch screen, and I have no USB mouse attached to it. I see a few references of "PS/2" in the logs, although I'm not sure that's the cause of syndaemon not finding the device.
__
sol |
|
Back to top |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8708 Location: ~Brussels - Belgique
|
Posted: Tue Mar 25, 2014 8:51 pm Post subject: |
|
|
So it's a PS/2 connected touchpad. You can use the Synaptics driver, without problem (ALPS is compatible with synaptics).
You have then to create a personnalised configuration file for X11 where you define the behaviour of your touchpads (tapping, scrolling, palm detection...) _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
|
TomWij Retired Dev
Joined: 04 Jul 2012 Posts: 1553
|
Posted: Tue Mar 25, 2014 9:15 pm Post subject: |
|
|
XavierMiller wrote: | So it's a PS/2 connected touchpad. You can use the Synaptics driver, without problem (ALPS is compatible with synaptics). |
That was already tried (https://forums.gentoo.org/viewtopic.php?p=7523676#7523190) or do you mean it still needs to be enabled elsewhere?
What I think we need to do here is to get the device recognized first such that it's not just seeing it as generic but supports its specific features; so, searching for "73 03 50" "73 02 02" online yields some bugs and forum threads on the subject. From a quick look, there appear to be some patches making itself into the Linux kernel through linux-input; trying a new git-sources every now and then could reveal to him if it has made its way to the mail Linux git repository.
Meanwhile, possible workarounds might be to use a shortcut program together with a script to use `xinput ...` to enable/disable the touchpad manually whilst typing. |
|
Back to top |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8708 Location: ~Brussels - Belgique
|
Posted: Tue Mar 25, 2014 9:32 pm Post subject: |
|
|
that program exists : syndaemon _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
|
TomWij Retired Dev
Joined: 04 Jul 2012 Posts: 1553
|
Posted: Tue Mar 25, 2014 10:36 pm Post subject: |
|
|
XavierMiller wrote: | that program exists : syndaemon |
But that's what he tried; and as you can see from the link in my previous post, it says "Unable to find a synaptics device.".
Granted, given the changes in this thread; he could try that command again... |
|
Back to top |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8708 Location: ~Brussels - Belgique
|
Posted: Wed Mar 26, 2014 8:15 am Post subject: |
|
|
Is the synaptics driver installed? It is not loaded by Xorg.
Did you provide some xorg.conf? Can you check if you don't force ps/2 mode in it? _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
|
barul Guru
Joined: 28 May 2010 Posts: 434
|
Posted: Wed Mar 26, 2014 2:23 pm Post subject: |
|
|
It might also be an Elantech touchpad (don't know if it's relevant, but I've had some issues in the past for not having Elantech compiled in my kernel). |
|
Back to top |
|
|
solamour l33t
Joined: 21 Dec 2004 Posts: 698 Location: San Diego, CA
|
Posted: Wed Apr 02, 2014 6:20 am Post subject: |
|
|
Here is what I did.
Code: | cd ~/tmp
git clone http://github.com/he1per/psmouse-dkms-alpsv7
mv /usr/src/linux/drivers/input/mouse /usr/src/linux/drivers/input/mouse.backup
cp -r psmouse-dkms-alpsv7/src /usr/src/linux/drivers/input/mouse
Build kernel as usual.
|
I shamelessly stole the idea from the Ubuntu site (http://askubuntu.com/questions/398568/psmouse-serio1-alps-unknown-alps-touchpad-in-a-lenovo-ideapad-flex-15). The difference is that they use dkms (Dynamic Kernel Module Support), but I'm not sure how to set that up (if you know what to do, please share your knowledge), so I just copied the patched source to the kernel directory. Now the touchpad is correctly recognized. Thanks everyone for taking time to respond.
Code: | $ dmesg | grep -i alp
[ 0.000000] On node 0 totalpages: 1956354
[ 2.725613] input: ALPS PS/2 Device as /devices/platform/i8042/serio1/input/input6
[ 2.759014] input: AlpsPS/2 ALPS GlidePoint as /devices/platform/i8042/serio1/input/input5
$ xinput
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ AlpsPS/2 ALPS GlidePoint id=9 [slave pointer (2)]
⎜ ↳ ALPS PS/2 Device id=10 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Power Button id=7 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=8 [slave keyboard (3)]
|
__
sol |
|
Back to top |
|
|
|