Code Monkey home page Code Monkey logo

Comments (3)

1Revenger1 avatar 1Revenger1 commented on June 11, 2024 1

Currently listed Trackpad IDs which support SMBus (according to Linux): https://github.com/torvalds/linux/blob/master/drivers/input/mouse/synaptics.c#L128-L194
Warning if trackpad potentially supports SMBus but is not listed: https://github.com/torvalds/linux/blob/master/drivers/input/mouse/synaptics.c#L1796-L1797
Where property is set in Synaptics VoodooPS2Trackpad: https://github.com/acidanthera/VoodooPS2/blob/master/VoodooPS2Trackpad/VoodooPS2SynapticsTouchPad.cpp#L390-L391

Elans check in VoodooPS2: https://github.com/acidanthera/VoodooPS2/blob/master/VoodooPS2Trackpad/VoodooPS2Elan.cpp#L211-L231
Note that with Elans, I think the PS2 driver is actually pretty good. Less need to use VoodooSMBus with it. Note that the Elans check requires Debug VoodooPS2, unlike the Synaptics check.

Edit:
Also, VoodooInput handles bridging info from VoodooPS2/I2C/RMI to macOS. It's main purpose is to spoof a Magic Trackpad 2 so that we get all the really nice gestures. VoodooPS2/RMI handle trackpoint hardware themselves. Generally, trackpoints aren't an important detail for users to worry so I'd focus on trackpads instead, since the trackpads are really what handle the trackpoint hardware.

i8042 = PS2 Controller
i801 = SMBus controller

Most Laptops hardware (For illustration purpose, I just show the PS2 side):

 _______     __________
| i8042 | - | Keyboard | (Kbd Port)
|       |   ------------
|       |    __________
|       | - | Trackpad |  (Mouse Port)
 -------    ------------
              |
           ____________
          | Trackpoint |  (PS2 Passthrough port on trackpad)
          --------------

The edge case here is HP, which likes to sometimes mux the Auxiliary/Mouse port on the i8042 controller. This means you'll have a case where the Trackpoint is connected directly to a PS2 port while the trackpad is connected to another PS2 port and the SMBus controller. It'll look more like (on the PS2 side):

 _______     __________
| i8042 | - | Keyboard | (Kbd Port)
|       |   ------------
|       |    __________
|       | - | Trackpad |   (Aux 0)
|       |   ------------
|       |    ____________
|       | - | Trackpoint |  (Aux 1)
|       |    -------------
|       | - (Aux 2)
|       | - (Aux 3)
--------

Acidanthera's VoodooPS2 is able to handle this edge case though, and will just attach VoodooPS2Mouse to the trackpoint.

from oc-little-translated.

5T33Z0 avatar 5T33Z0 commented on June 11, 2024

Thanks for the explanations. I will correct it in the description and incorporate the info soon. As far as ThinkPads are concerned: I have a T530 which has an Ivy Bridge CPU but it doesn't use SMBus for the touchpad. So it's either it's not one of the many or SMBus really only became relevant from Haswell onward. Seems like there's a transition period between Ivy Bridge and Haswell. In the end it doesn't really matter because it has to be determined on a case by case basis anyway.

Since I don't have any other hardware to test all the stuff it's a drag really to collect all the info. Especially since almost every guide I could find is outdated and based on patching the DSDT.

from oc-little-translated.

1Revenger1 avatar 1Revenger1 commented on June 11, 2024

A friend of mine has an HP with an SMBus trackpad and it's Ivy Bridge. It really is a case by case basis. Definitely not going to find any SMBus info in the DSDT as well. It's all determined by reading trackpad registers.

from oc-little-translated.

Related Issues (20)

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.