Giter Club home page Giter Club logo

Comments (2)

k1-801 avatar k1-801 commented on September 25, 2024

So I did some more research and it seems that the wmi_evaluate_method call takes 0.2 - 0.3 seconds for each RGB call, and it is called twice each time the color is changed. Unfortunately, wmi_evaluate_method is not a part of faustus and I can't go any deeper from here.

Here's my attempt at "printf-debugging" a single kbbl_rgb_write call, take a look at the timestamps:

[29699.923475] faustus: RGB write 1
[29699.923476] faustus: RGB write 2
[29699.923478] faustus: RGB write 3
[29699.923479] faustus: Entering method3
[29699.923480] faustus: WMI eval start
[29700.188824] faustus: WMI eval end
[29700.188825] faustus: Leaving method3
[29700.188826] faustus: RGB write 4
[29700.188826] faustus: Entering method3
[29700.188826] faustus: WMI eval start
[29700.424715] faustus: WMI eval end
[29700.424716] faustus: Leaving method3
[29700.424716] faustus: RGB write 5
[29700.424716] faustus: RGB write 6

All I could find is this: https://elixir.bootlin.com/linux/v3.2.6/source/drivers/platform/x86/wmi.c#L293 but I can't even tinker with it, and I can't find the sources for acpi_evaluate_object either, so I guess I'm stuck.

from faustus.

k1-801 avatar k1-801 commented on September 25, 2024

acpi_evaluate_object is a part of the kernel. I am not skilled enough to make a kernel patch that can be applied automatically to debug ACPI code. I'm asking for help.

from faustus.

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.