Code Monkey home page Code Monkey logo

r7000-touchpad's Introduction

R7000-touchpad

(一).自动安装: 下载后解压,以root权限运行install.sh,若提示失败,请检查目录是否完整或手动安装

$sudo chmod +x install.sh

$sudo ./install.sh

$reboot

将在重启后生效

(二).手动安装:

1.下载后解压并make

$ make

2.将得到的i2c-hid.ko复制到指定路径

$ sudo cp /path/to/i2c-hid.ko /lib/modules/$(uname -r)/kernel/drivers/hid/i2c-hid/i2c-hid.ko

3.然后添加i2c_hid.polling_mode=1到内核命令行

使用文本编辑器以root身份打开/ etc / default / grub,然后将

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" 替换为

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash i2c_hid.polling_mode=1"

最后保存更改。

4.最后运行

$ sudo update-grub

$ sudo update-initramfs -u

$reboot

将在重启后生效

(1).automatic installation:

After downloading, unzip and run as root install.sh If the prompt fails, please check whether the directory is complete or manually installed

$sudo chmod +x install.sh

$sudo ./install.sh

$reboot

Will take effect after restart

(2).manual installation:

1.Unzip and make after downloading

$make

2.The I2C will be obtained- hid.ko Copy to specified path

$sudo cp /path/to/i2c- hid.ko /lib/modules/$(uname -r)/kernel/drivers/hid/i2c-hid/i2c- hid.ko

3.Then add I2C_ hid.polling_ Mode = 1 to the kernel command line

Open / etc / default / grub as root using a text editor, and then

GRUB_ CMDLINE_ LINUX_ Default = "quiet splash" is replaced by

GRUB_ CMDLINE_ LINUX_ DEFAULT="quiet splash i2c_ hid.polling_ mode=1"

Finally, save the changes.

4.Final operation

$sudo update-grub

$ sudo update-initramfs -u

$reboot

Will take effect after restart

r7000-touchpad's People

Contributors

losehu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.