Code Monkey home page Code Monkey logo

intel_backlight_fbsd's People

Contributors

0mp avatar cperciva avatar grembo avatar johalun avatar wyatt8740 avatar zeising avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

0mp wyatt8740

intel_backlight_fbsd's Issues

FreeBSD 13 SEGFAULT

Would love to try this package out.
The backlight modulation frequency chosen by FreeBSD is unlucky in my case, as the CCFL transformer makes the laptop monitor casing vibrate rather loudly and most certainly annoyingly. So I am looking for a BSD equivalent to changing the modulation frequency as described here.
Unfortunately, intel_backlight instantly segfaults. "'intel_backlight' terminated by signal SIGSEGV (Address boundary error)"
Here is a coredump, of intel_backlight, compiled from ports with -DWITH_DEBUG:
intel_backlight.core.gz

This is another low-level system package segfaulting on FreeBSD 13: lonkamikaze/powerdxx#17

intel_backlight reports negative values

Hi all!

I recently bought a new laptop the Lenovo T490 and I'm trying to configure brightness adjustments.
When I run the intel_backlight utility, it reports negative values for me.
Changing the value does change the brightness although any value results in a unreadable "black screen".
I'm running CURRENT on the machine in question.

/home/dries]$ intel_backlight
Current backlight value: -2147483648% (24242/0)

After some googling I found this forum post of a person that has the same issue: https://forums.freebsd.org/threads/freebsd-noob-fighting-brightness-touchpad-intel-driver.66347/
I think the most obvious reason is that my laptop is not supported (Whiskey Lake i5-825U), any chance to get support for this? :-).

Can't use this to turn the backlight OFF

In Linux, I use the original version of this tool in order to turn off my Thinkpad X201's backlight. However, the FreeBSD port appears to have an 'offset' of 0.5% applied, preventing the light from ever being turned off. I can only assume this is meant as some sort of safety feature, but I've been unable to find any other means of turning my backlight off. setting min=0 and removing the 0.5 + on the mathematical operations fixes this. This also brings it closer to the functionality of the original FreeDesktop.org version of the tool.

My fork has fixed this, but it's a sort of sloppy fix and it also allows the use of more precise numbers (with decimal places). I just don't feel comfortable making a pull request with it, because I didn't think of the program as a whole when I made my changes and just made them to get something working quickly. You can still look at the commit, if you want an idea of what I mean.

More of a question

I was asked if I could port this over to NetBSD.
The obvious answer is yes but, that would require a release tag to patch and build from.
Do you guys have any plans to create a tag for this? Are there any license restrictions to it?
Thanks!

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.