Disable notebook touchpad recording in Linux

Source: Internet
Author: User
Operating system: Centos6.2 kernel: Linux2.6.32-220.4.1.el6.i686 notebook model: Lenovok47a (it seems like this) event: with continuous efforts...

Operating system: Centos 6.2 kernel: Linux 2.6.32-220.4.1.el6.i686

Laptop model: Lenovo k47a (it seems like this one)


Event:


"Most people are/dev/input/mice", as mentioned in the http://www.2cto.com/ OS /201202/119698.html article ". It has been found that all the mouse uses the device file, that is, the TouchPad and the optical mouse use the device file. Q: I mentioned in my article that "my TouchPad Handlers = mouse0 event1 obtained after viewing it with cat/proc/bus/input/device, so I changed it to event1, therefore, this value is determined based on the Handlers value of the notebook TouchPad )". In my system, after cat/proc/bus/input/device, I suspect that the Handlers of my TouchPad is mouse0 event4, but I don't think I need to find it .. Direction: find the management of the mice device or something else...

 

Is it because of the lonely Valentine's Day that I have found a way ..

In the/dev/input/directory, there are three mouse files: mouse0, mouse1, and mouse2. After testing, the mouse2 file is a touchpad.

View/proc/bus/input/devices and find that Handlers = mouse2 event7 Name = "PS/2 Generic Mouse ";

Install XInput according to http://www.2cto.com/ OS /201202/119699.html, and finally

Disable:

Xinput set-int-prop 13 "Device Enable" 8 0

Enable:

Xinput set-int-prop 13 "Device Enable" 8 1

Summary:

There are many linux releases and many laptops on the market. This leads to a lot

The same solution cannot be solved elsewhere. There is also the information about disabling touchpad on the Internet.

Methods are all very early. Finally, any file in Linux is useful.

God, study hard !!

 

This article is from "bad, bad, and thorough !" Blog

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.