Giter VIP home page Giter VIP logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 27, 2024
Also does not work on Gen 2 MBA as well.

Original comment by [email protected] on 10 Feb 2009 at 3:56

from blacktree-nocturne.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 27, 2024
same for me! it doesn't work on the first gen macbook air

Original comment by [email protected] on 11 Feb 2009 at 9:44

from blacktree-nocturne.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 27, 2024
When I put my thumb over the light sensor on my Gen 2 MBA, the lowest value I 
receive
is 2263.  On an overcast day with ambient light, I am seeing sensor values in 
the
4000s.  Somehow the values for measuring ambient light for the newer Apple 
hardware
is inconsistent on the newer hardware platforms.  I'd really love this feature 
but I
can imagine that if the API is not yielding consistent values for different 
hardware
platforms this could be very difficult to fix.

Original comment by [email protected] on 12 Feb 2009 at 8:40

from blacktree-nocturne.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 27, 2024
For some reson either the (new?) MacBook Pro or the new OS seems to have a total
different scaling in concerning light sensors.
On my system IOConnectMethodScalarIScalarO(...) get's values somewhere between 
100000
and 1000000 (the preferences pane does not have enough digits to display this 
correctly).

I've created a small hack: If the light sensor values are beyond 10000 they are
divided by 1000. Not sure if this will work on every system, but it fixes the 
problem
for me.

Original comment by [email protected] on 22 Sep 2009 at 4:16

Attachments:

from blacktree-nocturne.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 27, 2024
Can someone please upload a compiled version with the included patch?

Thanks in advance.

Original comment by [email protected] on 2 Jan 2010 at 10:55

from blacktree-nocturne.

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.