Giter VIP home page Giter VIP logo

voodoosmbus's Introduction

What is VoodooSMBus? Actions Status

VoodooSMBus solves two related problems:

  1. VoodooSMBus is a project that provides a kernel extension (driver) for macOS that adds support for the SMBus capabilities of Intel I/O Controller Hubs (ICH), also called i801 SMBus.
  2. VoodooSMBus also contains a slave device driver for the ELAN Touchpad device found on the SMBus of some Thinkpad models (T480s, L380, P52) making it possible to use multitouch gestures efficiently.

This project is heavily inspired by https://github.com/alexandred/VoodooI2C and a complete reimplementation of the ideas in https://github.com/gokula/ELANSMBus. Multitouch support is made possible by the implementation VoodooI2C.

VoodooSMBus ports the i2c-i8011 driver and the elan_i2c_smbus2 from linux to macOS.

In the future we might want to split up the project, similar as it has been done in VoodooI2C, into a controller kext and kexts for the slave device drivers.

Installation

Configuration

Some settings can be configured in the Configuration dictionary in Info.plist:

  • DisableWhileTyping Enable disable while typing functionality. After a key press the touchpad is deactivated for a certain amount of time, specified by
  • DisableWhileTypingTimeoutMs The amount of time in milliseconds that touch input is ignored after typing
  • DisableWhileTrackpoint Disables the touchpad when the trackpoint is in use.
  • DisableWhileTrackpointTimeoutMs The amount of time in milliseconds that touch input is ignored after trackpoint usage
  • IgnoreSetTouchpadStatus Ignores messages from the keyboard driver to disable the touchpad. If not ignored, the touchpad can usually be toggled with the PrtSc key.

Current Status

Currently the following Intel I/O Controller Hubs are supported and tested:

Name Id Device
Sunrise Point-LP (PCH) pci8086,9d23 Thinkpad T480s, L380
Cannon Lake-H (PCH) pci8086,a323 Thinkpad P52

It should be trivial to add support for all controllers listed in 1.

Trackpoint support is implemented, make sure to activate the trackpoint in BIOS.

For a list of planned features, see https://github.com/leo-labs/VoodooSMBus/labels/enhancement

Supported Gestures

For supported gestures please see https://voodooi2c.github.io/#Supported%20Gestures/Supported%20Gestures

Acknowledgements

Thanks to:

Footnotes

1: https://github.com/torvalds/linux/blob/master/drivers/i2c/busses/i2c-i801.c

2: https://github.com/torvalds/linux/blob/master/drivers/input/mouse/elan_i2c_smbus.c

voodoosmbus's People

Contributors

1revenger1 avatar kekkokk avatar leo-labs 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.