Giter Site home page Giter Site logo

landv / rapoo-keyboard-driver Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kinglongmee/rapoo-keyboard-driver

1.0 1.0 0.0 34 KB

雷柏v500键盘linux驱动,用于修正shift等功能键 Some bugfix for v500 rapoo keyboard where some keys are invalid.

License: GNU General Public License v3.0

Makefile 1.42% C 98.40% Shell 0.18%

rapoo-keyboard-driver's Introduction

此版使用方法

1、下载驱动  
2、解压  
3、cd到解压的文件夹  
4、执行make  
5、执行sudo make install  
6、执行sudo sh install-rapoo-keyboard-driver.sh  
为毛要用v500键盘呢,都用了七八年了有感情,舍不得仍,哈哈哈。

以下为原版编译方法

rapoo-keyboard-driver

Some bugfix for rapoo keyboard where some keys are invalid.

Quick Usage

Compile the driver module with make, make install and run ./install-rapoo-keyboard-driver.sh.

Job done! Then enjoy typing!

Install in UEFI Security Mode

  1. Generating key pairs with openssl and signing your kernel mod.

    openssl req -new -x509 -newkey rsa:2048 -keyout MOK.priv -outform DER -out MOK.der -nodes -days 36500 -subj "/CN=Rapoo-Keyboard/"
  2. Import key.

    sudo mokutil --import MOK.der
  3. Reboot system and enroll key.

    1、当进入蓝色背景的界面perform mok management 后,选择enroll mok,
    2、进入enroll mok 界面后,选择continue,
    3、进入enroll the key界面,选择yes,
    4、接下来输入你在安装驱动时输入的密码,
    5、之后会跳到蓝色背景的界面perform mok management 选择第一个reboot。
  4. Compile.

    make && sudo make install

    Now your mod is installed in /lib/modules/$(uname -r)/kernel/drivers/hid/

  5. Sign mod.

    sudo kmodsign sha512 MOK.priv MOK.der /lib/modules/$(uname -r)/kernel/drivers/hid/hid-rapoo.ko

    deepin v20 无法找到也无法安装kmodsign。

  6. Insert mod.

    sudo insmod /lib/modules/$(uname -r)/kernel/drivers/hid/hid-rapoo.ko
  7. Launch mod.

    sudo modprobe hid-rapoo 
  8. Now you can use your keyboard.

  9. DEBUG: print kernel logs

    dmesg

Notice

After installing new kernel(contains compile and install kernel), you must reinstall hid-rapoo module again by "make install".

rapoo-keyboard-driver's People

Contributors

kinglongmee avatar neilbowman666 avatar jagreetdg avatar mangege avatar

Stargazers

Roman avatar landv avatar

Watchers

James Cloos 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.