Slashdot Mirror


Experimenting With Light on Apple Laptops

venkatg writes "Soon after Apple introduced sudden motion sensors in their PowerBooks in early 2005, Amit Singh had shown how these sensors can be used for creative purposes (covered by Slashdot earlier as Having Fun With PowerBook Motion Sensors and PowerBook As A New Kind Of Human Interface Device). This time around Singh discusses 'Experimenting With Light' in a new article whereby by light he means the ambient light sensors and the illuminated backlight keyboard sensors in Apple's laptops. The article shows (source code is included) how one can measure ambient light and do things with it. It also shows things like how to get/set illuminated keyboard brightness and display brightness or do fade transitions of the keyboard lighting. So now that we have all these motion and light sensors under control, is there a MacBook discotheque in the works?"

120 comments

  1. So, it's official.... by Anonymous Coward · · Score: 0, Funny

    MacBooks, computers for the disco generation.

    1. Re:So, it's official.... by ggKimmieGal · · Score: 0, Offtopic

      MacBooks, computers for the Ipod generation.

    2. Re:So, it's official.... by Anonymous Coward · · Score: 0

      An ambient light sensor makes it thus?

      Fuck, are you ever bitter.

  2. Great by dubmun · · Score: 3, Funny

    Now we can finally communicate with the aliens!

    --
    (end of post)
  3. How does the keyboard backlight work? by Ant+P. · · Score: 4, Insightful

    Is it just one light, or can individual keys be lit up? You could do a lot more with it that way.

    1. Re:How does the keyboard backlight work? by J3r3miah · · Score: 1

      i believe it lights up the keyboard altogether.

      --
      God is real unless declared as int
    2. Re:How does the keyboard backlight work? by Anonymous Coward · · Score: 0

      I'm thinking Close Encounters-type scenarios...

      bee-baw-bee-boo

      boo-boo-bee-baw

      and so on.

    3. Re:How does the keyboard backlight work? by Anonymous Coward · · Score: 2, Funny

      Everyone: "I belive it lights up the keyboard!"

    4. Re:How does the keyboard backlight work? by Anonymous Coward · · Score: 0, Offtopic

      Some jokes just don't translate from speech to text.

      And don't call me Shirley.

    5. Re:How does the keyboard backlight work? by fritzk3 · · Score: 1
      Interesting thought. You could use a concept like that to teach typing to young children, like one of those old programs from the 80s.

      I suppose you could also make use of that idea to light up hotkeys applicable to RTS games, MMO games, etc.

      Guess it just depends on whether individual key lighting is possible, and then how much programming would have to be implemented into an application to use the feature.

      --
      All your sig are belong to us.
    6. Re:How does the keyboard backlight work? by Anonymous Coward · · Score: 1, Insightful

      Everyone: I can take sentence fragments out of context to make a lame joke.

      Dumbass...

    7. Re:How does the keyboard backlight work? by Anonymous Coward · · Score: 5, Informative

      The keyboard illumination does not allow for individual key lighting.

      The mechanism is a mat of fiber-optic cables which are illuminated by just two leds, which also cannot be independantly controlled.

    8. Re:How does the keyboard backlight work? by stanthegoomba · · Score: 1

      Even though it looks like each letter is individually lit, there is only one light underneath the keyboard. The letters on the keys are simply transparent. Of course, there is a keyboard that can truly take advantage of individually lit keys:
      http://www.artlebedev.com/portfolio/optimus/

    9. Re:How does the keyboard backlight work? by Anonymous Coward · · Score: 0

      Except for the slight problem that it doesn't exist, yeah, fantastic keyboard that Optimus.

    10. Re:How does the keyboard backlight work? by Wierdy1024 · · Score: 1

      Thats a really nice keyboard on that site - bets on how much it'll cost when it comes out? With full software support, it'd be well worth having. You could even play gams on it - press the lit key, or some game of tetris or something. I can also see pranks where some malware swaps the keys around, so you type your bank pin into the wrong app...

    11. Re:How does the keyboard backlight work? by Firehed · · Score: 1
      It would be a cool concept, much like some "training keyboards" (of the musical variety) which light up keys for you to follow along. Now in reality I'd question how much someone can learn by just pressing the lighted key rather than really learning things properly (or by the all-black Das Keyboard!), but I suppose it could at least help you get a feel for it. However, as far as I can tell, you can only change the intensity of the backlight as a whole, not the individual keys, and the strength of the backlight is already modified by the ambient light. I honestly couldn't see it working well for highlighting hotkeys in games, because if you're staring at the keyboard then you're not paying enough attention to the game (a huge problem for FPS, but I couldn't see it working too well for RTS/MMO/other either). It is wonderful for doing stuff in the dark (even if you are a master of a keyboard), but until it can predict the next tool you want to select in Photoshop or what have you, it might as well just be all-or-nothing. I'm not going to lie, though - smackbook is awesome and surprisingly useful, even if it could use a bit more calibration.

      Still, what's wrong with "the quick brown fox jumped over the lazy dog" for learning to type?

      --
      How are sites slashdotted when nobody reads TFAs?
    12. Re:How does the keyboard backlight work? by Lord+Flipper · · Score: 1
      The mechanism is a mat of fiber-optic cables which are illuminated by just two leds, which also cannot be independantly controlled.

      Okay. I'll bite. I admit I have no theoretical knowledge of the lighting system in the backlit keyboards... but, if they can't be independently-controlled, then why can they independently malfunction, as mine did on my 1.25 Aluminum?

      Apple wants $220 to restore 'one channel' of the backlighting. []which governs most of the numeric keys along the top, Shift, Fn, Control, etc, on the left and the arrow, Enter, etc on the lower right of the keyboard.

      That 'quote' was in the little store in Syracuse, whereas, in Minneapolis, they took into consideration thatmy SuperDrive was dead, and the Firewire (400) port was very loose, and offered a $319, one-week trurnaround to fix everything, with the advice to backup the drive, because if it, or anything else was even marginally off-spec, it would also be replaced.

      An example of Apple 'largesse'? Nope; more like a bit of guilt over having a brand new Powerbook, returned unsold from S.America, and dumping it to a re-seller with the proviso that the reseller not offer it online until exactly one day after the original one-year Standard Apple warranty had expired. [To avoid having to 'sell' an AppleCare contract, 'within' the one-year timeframe...] can you believe that? I'll pick up a Pismo, for the week-long hiatus, and call them on the offer.

      Nice touch: The kid, at the Apple Store here, got a contract/PO number from Apple HQ, so the terms of the repair package are good, indefinitely, barrring unforseen stuff like Mountain Dew in the keyboard, etc. Still, my pedestrian 'grasp' of logic dictates that if the 'channels' can fail independently, that's evidence of the possibility of independent control. [Not on the 'key' level, but certainly in terms of 'areas.']

      Meanwhile, guys were using Virtual Reality 'gloves', in combination with MIDI controls, to 'arrange' not only audio, but multimedia environments, nearly 20 years ago. Old hat.

  4. Just wait 'till the blackhats get ahold of this! by JonTurner · · Score: 4, Funny

    (mumbles to self...) Let's see... motion sensors, ambient light sensors, lots of indicator LEDS, backlit keyboard. Yep, we've got everything we need!(/mumbles)

    Coming soon, from a black-hat hacker near you:
    Siezure-O-Rama 1.0 !! Now, with 38% more unconsciousness!

  5. In the year 2000... by MudButt · · Score: 4, Funny

    It would be pretty cool if someone wrote a program that makes your keyboard randomly blink a la The Original Star Trek (or many other 60's sci-fi shows). Am I the only one that's still impressed by random flashing lights on a computer? I know... I'm easily ammused...

    1. Re:In the year 2000... by zlogic · · Score: 1

      It would look better if the keys were lit independently. But as I understand, you can only control the overall keyboard brightness. This would look as if some circut gets overloaded and the keyboard doesn't get enough power.
      What would be better is keys that light independently - imagine keys flashing in rows or in circles (like sound waves in water) or in random order, looking like old-school mainframes shown in movies.

    2. Re:In the year 2000... by qray · · Score: 2, Informative

      While the lights on computers on sci-fi shows may have been random. Lights on real computers were hardly random. I worked with mini-computers that had a bank of LED's on the front. These corresponded to the bits of the CPU registers and CPU flags. A knowledgeable person could potentially figure out the crash location and some of the state of the machine during a crash. So the sci-fi shows weren't all inaccurate. Though it's reason for being in the movies is much like the sound of space ships roaring by in outer space.
      --
      Q

    3. Re:In the year 2000... by jacksonj04 · · Score: 2, Interesting

      Screw that. Get a tricolour LED behind every key, make the keycaps a tad more translucent, and tie it into iTunes. Throbbing keyboard visualiser.

      --
      How many people can read hex if only you and dead people can read hex?
    4. Re:In the year 2000... by Anonymous Coward · · Score: 0

      Throbbing keyboard visualiser.

      We geeks already have throbbing visualizers under our fingers. Visualize Natalie Portman!

    5. Re:In the year 2000... by Anonymous Coward · · Score: 0

      I am so disappointed that most (all) IDE drives do not come with LED connectors. However I have connected to the pin (39?) on the IDE bus for activity. Still only gives one light per 2 drive though.

    6. Re:In the year 2000... by Anonymous Coward · · Score: 0

      Well, if we can't light up individual keys on the keyboard, then the next best thin is to just gently "throb" the keybaord light so that the illumination of the keyboard gently ramps up to maximum brightness then gently ramps back down to a lower value, in a smiliar fashion to how the default button in a dialog box "pulses", only it would be more gradual and you could tie in an audio sound such as a huge alien generator sound with deep bass pulsating (a la Atom in a box style)

    7. Re:In the year 2000... by Pollardito · · Score: 2, Funny

      or how about a typing tutor that worked like the Billy Jean video with your fingers doing the walking?

  6. A controller for the Wii? by stupidfoo · · Score: 1

    The WiiMac?

    1. Re:A controller for the Wii? by dubmun · · Score: 0

      Can you imagine waving a MacBook around like a sword? :D

      --
      (end of post)
    2. Re:A controller for the Wii? by stupidfoo · · Score: 1

      Hmm... maybe if in the game you were swinging a flaming sword?

    3. Re:A controller for the Wii? by govtpiggy · · Score: 1

      The iWii?

      --
      do you know squarepusher?
    4. Re:A controller for the Wii? by Gobelet · · Score: 1

      You mean like this?

    5. Re:A controller for the Wii? by mad_minstrel · · Score: 1

      It's called the Mac mini.

      --
      May the source be with you.
  7. Re:Just wait 'till the blackhats get ahold of this by reklusband · · Score: 0

    You joke, but I've had more than one friend who seized or stroked out due to to flashing/strobe lights. it's a serious situation, one that I'm happy to collect volunteers to test the viability of.

  8. Perhaps keyboard backlighting could flash by TheSkepticalOptimist · · Score: 1, Insightful

    When the MacBook gets too hot. Honestly, I love Apple and their designs, but they tend to put TOO much engineering into one aspect of their computers and not in other areas. The MacBooks get way too hot, het they have a nice and completely useless ambient light detection hardware. Perhaps if this ambient light detection hardware was replaced with, say, another fan, then perhaps the laptops wouldn't become space heaters so quickly.

    Lets focus on basic principles first before adding superfluous features like magnetic power cables (which my $20 electric tea kettle had 10 years ago BTW) and ambient light sensors.

    Its great that Apple has an API to control the ambient light sensor and keyboard backlighting, too bad Apple can't find the time to make an API to make gaming a focus for Apple computers. They do CLAIM that Mac's are Funner then PC's, I just haven't seen the proof yet. I don't think making my keyboard fade in and out is as fun as, well, doing anything else!

    --
    I haven't thought of anything clever to put here, but then again most of you haven't either.
    1. Re:Perhaps keyboard backlighting could flash by Anonymous Coward · · Score: 0, Insightful

      ...too bad Apple can't find the time to make an API to make gaming a focus for Apple computers.

      Yeah, god forbid someone try to do some actual work on their laptop! Y'know, some people do have to work on darkened movie/tv sets, or dark classrooms, or any number of other dark places. Except you're too busy to notice that people are actually getting things done out there. All you want to do is pway your widdle games...

    2. Re:Perhaps keyboard backlighting could flash by eko33 · · Score: 2, Insightful

      You didn't know MacHeat(TM) was a feature in and of itself? Just fold your book down and place your Starbuck's ® coffee mug on top of it. Vwa-la! Your coffee is hot for hours.

      Those mac guys are so clever.. and the PCs are so user friendly!

    3. Re:Perhaps keyboard backlighting could flash by iotaborg · · Score: 2, Insightful

      The thermal problem is something with the way the thermal paste is applied on the CPU, not the number of fans it has. Besides, light detection hardware, i.e. a photoresistor, costs pennies and fits on a screwhead.

    4. Re:Perhaps keyboard backlighting could flash by fermion · · Score: 1
      All Apple laptops get really hot, especially why they are really used. Last summer I was doing one particular project on my Powerbook, I thought is was going to melt. But all engineering is a compromise, and one compromise Apple makes is to try not have it's computers imitate vacuum cleaners.

      So the principles of engineering, the one that most companies ignore, is to create an optimized system. There is no reason to put in high speed hardware with a slow bus, even though such a thing might look good in the press copy. What is nice is that my post 2000 powerbooks were the first Macs to not have the power connectors broken inthe first two years, as opposed to my pre-2000 Macs that always have dodgy plugs.

      The game thing is always an issue. I don't care about it anymore becuase I do not like being treaed as a criminal, so I try not to deal with comapnies that treat customers like criminals. I do agree that the backlight keyboard is a bit silly, and at times annoying, especially for touch typists that have never had problems typing in the dark.

      --
      "She's a scientist and a lesbian. She's not going to let it slide." Orphan Black
    5. Re:Perhaps keyboard backlighting could flash by Strog · · Score: 1

      Mine only gets hot when the CPU is set to the highest setting. Most of the time I have it on battery with the reduced settings and it's cool.

    6. Re:Perhaps keyboard backlighting could flash by JonTurner · · Score: 3, Funny

      And don't forget the "Ouch!Hot!Ow!Damn!(tm)" overtemp detection system. In the rare/rumored/unprovable event a MacbookPro(tm) reaches 195 degrees Celcius (as reported by those scurrilous rumor sites) the second- and third-degree burns on your thighs serve as a gentle reminder to take a nice little computing break. Get up. Stretch. Walk around a bit. Bandage wounds. Enjoy!

      Rumoured upgrade for os 1.5 -- face recognition engine uses built-in camera to detect pain threshold. Automatically throttles back CPU if user faints, or collapses from blood loss.

    7. Re:Perhaps keyboard backlighting could flash by ronanbear · · Score: 4, Interesting

      Apple should use the motion sensor to detect when the powerbook is likely to be being used on a lap and automatically lower the power usage to reduce the temperature. That would be a really good way to show off the motion sensor.

      --
      the more they over-think the plumbing the easier it is to stop up the pipe
    8. Re:Perhaps keyboard backlighting could flash by Anonymous Coward · · Score: 0

      Y'know, some people do have to work on darkened movie/tv sets, or dark classrooms

      I think you mean darkrooms.

    9. Re:Perhaps keyboard backlighting could flash by sheddd · · Score: 2, Insightful
      Lets focus on basic principles first before adding superfluous features like magnetic power cables

      That's one of my favorite features... I went thru 3 power supplies on previous laptop from tripping over the power cable...

    10. Re:Perhaps keyboard backlighting could flash by ElephanTS · · Score: 1

      widdle games

      Perv! :-)

      --
      spoonerize "magic trackpad"
    11. Re:Perhaps keyboard backlighting could flash by mikelang · · Score: 1

      They'd do better if they just relicense Windows gaming API (DirectX).

    12. Re:Perhaps keyboard backlighting could flash by Anonymous Coward · · Score: 0

      "When the MacBook gets too hot. Honestly, I love Apple and their designs, but they tend to put TOO much engineering into one aspect of their computers and not in other areas."

      Waaaaa...

      I picked up a MacBook Pro about two weeks ago as I needed to consolidate my laptops into one machine (and I think I'm going to be consolidating my desktop as well now)...I needed something that could do my Mac stuff for my time outside of work, and the PC for my day to day drudgery.

      As part of my day to day drudgery, I ended up having to do quite a bit of transcoding of videos...I did it all with the 'book sitting on my lap. Sure, I had some jeans on and it got nice and toasty -- and according to the temperature dashboard it was as high as those that have been whinging the most about getting burned -- but nothing. I've done the same with shorts and ended up moving it to a table for a few minutes -- or when driving, putting a book under the computer.

      Its not rocket science. Hot laptop -- give some distance between you and it.

      Beyond that, people like me and been screaming about more speed in a laptop. This was the only way to get it. The non-Pro versions of the MacBook are a lot cooler -- and if you set the powersettings where you are only using one core, it too is pretty cool.

      So given the resources and demands -- fastest machine possible -- and the fact that its not really a problem, why shouldn't apple put in a few premium features like the ambient light sensor and otherwise? I just don't see how its taken anything away from you.

      Posting anonymously because I didn't feel like logging in...

    13. Re:Perhaps keyboard backlighting could flash by lowrydr310 · · Score: 1
      one compromise Apple makes is to try not have it's computers imitate vacuum cleaners.
      So you're saying Apple wants to make computers that don't suck?
    14. Re:Perhaps keyboard backlighting could flash by atokata · · Score: 1

      The only education programs that ever seem to get increased funding are things like abstinance-only sex education. And abstinance-only drug education. And abstinance-only debate classes.

      Y'know, things that make us better at war.

    15. Re:Perhaps keyboard backlighting could flash by ceoyoyo · · Score: 1

      Modern laptops underclock themselves. If you're on battery the processor will usually drop it's clock rate to save power.

    16. Re:Perhaps keyboard backlighting could flash by Anonymous Coward · · Score: 0

      I went thru 3 power supplies on previous laptop from tripping over the power cable

      1st time: Unlucky
      2nd time: Careless
      3rd time: LOSER!!!

    17. Re:Perhaps keyboard backlighting could flash by Anonymous Coward · · Score: 0

      abstinence

    18. Re:Perhaps keyboard backlighting could flash by mr_matticus · · Score: 1

      First they'd need to perfect some artificial intelligence. How is SMS supposed to know when it's on a lap? All it knows is whether it's moving and what its position in space is based on the zero points programmed into it. It doesn't know what kind of surface it's on, and it certainly can't be aware of all the variable positions people use with their notebooks.

    19. Re:Perhaps keyboard backlighting could flash by lachlan76 · · Score: 1

      I imagine that it would be something along the lines of throttling back if the laptop appears to be moving slightly at regular intervals.

    20. Re:Perhaps keyboard backlighting could flash by ronanbear · · Score: 1
      When a laptop is resting on a lap it is very rarely exactly horizontal. They also tend to move around a little continuously. Maybe planes and trains could easily fool the system but that's not important as there would have to be a bypass in any case.

      Basically there are 3 sensors which could be combined to good effect. The ambient light sensor might be useful (not very likely), the accelerometer and the cpu thermometer. Your legs are usually warmer than room temperature and conduct heat differently. The computer could sense this and set a temperature limit by reducing performance and using the fans more. When a laptop is on your lap you essentially want to set a lower (than normal) max temperature according to your comfort. Even without automatically sensing this would be a great feature that I haven't heard of on a laptop yet.

      --
      the more they over-think the plumbing the easier it is to stop up the pipe
    21. Re:Perhaps keyboard backlighting could flash by mr_matticus · · Score: 1

      According to my SMS information, my computer is rarely horizontal even when stationary. If you want to set a lower max temperature to throttle the fans, why not just have a setting to do it? Any time the computer was moving, it would trip this system. In cars, trains, planes, boats, sure, but also when moving with it in any way, including on armrests or wobbly desks or plastic lecture hall seats. Conducting heat differently is also an inconclusive indicator--it could just be on a warm bed or a sofa in the sun. The temperature sensors are not ambient sensors--they would have to interpret indirect data. It's a foolish proposition, all around.

  9. Blackout Game by VorpalRodent · · Score: 5, Interesting
    I recall a game from not too long ago wherein one would push lighted buttons, and they would alternate the lighted status of those buttons around it. The objective was to turn off (or on, I forget) all the buttons on the unit.

    With this, assuming that each key has a light associated with it, one could do the same thing with a whole keyboard.

    And for those who don't have any issues with being violent towards their computers, you could reset it a la Etch-a-Sketch with the motion sensor.

    --
    Take it to the limit, everybody to the limit, come on, everybody fhqwhgads.
    1. Re:Blackout Game by tgpo · · Score: 2, Informative
      --
      -tgpo
    2. Re:Blackout Game by mgabrys_sf · · Score: 4, Funny

      20 bucks in shareware for anyone who can program me an etch-a-sketch plug in for photoshop that allows me to wipe a frustrating layout off the screen by me violently shaking the laptop. It would be far more cheaper than therapy.

      (of course one could surmise that anyone who wants this in leu of therapy might have issues - but I'd call those people just plain nuts)

    3. Re:Blackout Game by Anonymous Coward · · Score: 0

      I made a version of that game in Visual Basic around the time Lights Out came out. It'll run on windows, or Linux with WINE. Don't know about macs. Doesn't light up their keyboards, i'm afraid.

      You can get it at http://www.winsite.com/bin/Info?1974

    4. Re:Blackout Game by pavon · · Score: 1

      Yeah, the handheld Lights Out game came out at about the same time I started playing with GUIs, and I got into the habit of using it as a "Hello World" project when I am learning a new Windowing Toolkit. I think I have versions for GTK, WxWindows, Borland C++ Builder, LabWindows, Swing, SWT, and Winforms (C#) all laying around somewhere.

    5. Re:Blackout Game by Lobster+Quadrille · · Score: 1

      I'll match your 20- I want the etchasketch plugin too

      --
      "The cup is in turn designed for holding hot or cold liquids, and has an open rim and closed base." --US Patent #5425497
  10. Before the Mac bashers go crazy with this one.... by King_TJ · · Score: 4, Interesting

    .... I don't think this article is here as another "Oooh.... the Macbook and Steve Jobs are awesome!" story. The intriguing part is how its users are "thinking different" to an extent Apple themselves didn't seem to. Already, people have taken the relatively boring "sudden motion sensor" that Apple only thought of implementing to help prevent hard drive crashes, and used it for a motion-sensing laptop security system, to roll marbles around in maze games by tilting the laptop, and even to switch virtual desktops by lightly tapping the left or right-hand sides of the machine to "bump" the desktop over one direction or the other.

    Now, they're tackling the ambient light sensors, which again, serve a relatively "boring" (if still useful) purpose. I'm intrigued to see what imaginative people will end up doing with this one too. For starters, I could envision some usefulness in things like making the backlit keyboard blink in a repeating pattern to indicate completion of recording in certain audio programs. (Many recording studio environments are kept dark so you can easily see all the readouts on the displays of the equipment while working. Macbook Pros are going to be popular in these environments, and it might be nice to get a subtle indication it finished transcoding or recording some audio - even if the display went blank due to a screen saver?)

  11. Re:North Korea by JonTurner · · Score: 2, Funny

    >> But cannibalism is illegal in North Korea, so cannibals are summarily dragged into the street and shot in broad daylight in plain sight of everyone to serve as a lesson. And we're sitting here happily slapping our sausages over some blinky lights.

    Torrent?

  12. The killer app by Anonymous Coward · · Score: 5, Funny

    As soon as the light dims, iTunes will automatically start the Barry White playlist and some soft porn starts to play via Front Row. All that is left for you to do is to hug yourself and cry yourself to sleep, feeling oh so lonely, lonely, lonely.

    1. Re:The killer app by cspargo · · Score: 1

      I think you are on the right track...in all seriousness you could use the keyboard lights as a form of feedback. For example, say you get a new email: Not only will the sound play but the keyboard will blink twice. Also useful if in case you are deaf and can't hear sound. Maybe a "message waiting" blink that could be noticed from across the room would help people just like when the light blinks on a telephone ring. Take a lesson from the Sidekick/hiptop!

    2. Re:The killer app by Jon_E · · Score: 1
      Take a lesson from the Sidekick/hiptop!


      What? and provide a weak security mechanism that can easily be web accessed to leak Paris Hilton's celebrity contacts?

  13. Sounds like fun by ronanbear · · Score: 3, Interesting
    Don't really know if I see much useful application in it but I suppose it can't hurt. It could be really useful for power saving or even some scheduling stuff. It could also have some interesting security applications (say cover the light sensor as part of a keyboard combination)

    I saw a video of the sudden motion sensor being used to switch desktops and it looked really great. Good luck to anyone who thinks they can do something useful. Someday we could all benefit.

    I also find it interesting that sudden motion sensors were available on Thinkpads before Powerbooks but I never heard of people using them in different ways. That's a pretty good advert for Apple. Sums up the image that Apple put out much better than those TV ads.

    --
    the more they over-think the plumbing the easier it is to stop up the pipe
  14. Brilliant, New Mail indicator by TristanBrotherton · · Score: 4, Interesting

    Fantastic, I wanted to know how to do this so i could write a new mail indicator. Lots of itme i dont like my macbook to speak, so now i can write a script to pulse the keyboard backlights when i get mail. Brilliant, they are bright enough to blind bats so should be quite effective.

    1. Re:Brilliant, New Mail indicator by aclarke · · Score: 1

      Nifty cool and all that, and you probably already know what I'm about to tell you, but you can already get Mail to flash the screen instead of beeping if the sound is off. Go into System Preferences -> Universal Access -> Hearing and check "Flash the screen when an alert sound occurs".

  15. The backlights have been on there for years. by bellers · · Score: 3, Informative

    The backlighting isn't something that was invented for the new Macbooks. It's been on the PPC-based powerbooks (that had no heat problem) for at least 2-3 years. Transferring it to the MacBookPros was pretty much a zero-engineering proposition.

    Honestly, shut up until you know what you're talking about.

    --
    This space for rent.
  16. The really 'amazing' thing is... by Animaether · · Score: 1, Informative

    ...that this shit has been around as components for PCs (the 'IBM' kind, I know a Mac is a PC) for a long time now. Yet nobody's been running out to buy these as extras to have this sort of fun with. The only thing 'Apple' should be credited with is adding them out of the box indeed... it's the users who are finally having fun with it, because it's there without having to pay extra and attach devices.

    That said.. those new SONY VAIOs (OMG ROOTKIT PONIES!) have a fingerprint reader built-in... c'mon VAIO users, hop to it, 'Think Different', and make Slashdot's front page.

    1. Re:The really 'amazing' thing is... by Anonymous Coward · · Score: 0

      Fingerprint readers are insecure and unreliable, a perfect match for Windows I guess.

    2. Re:The really 'amazing' thing is... by tlhIngan · · Score: 2, Insightful

      I suppose the thing is that before Apple did it, there was no way of getting access to the sensor data. I have a laptop with tha hard drive sensor in it, but the sensor is claimed by the "ACPI motion sensor" driver. Instead, the Apple driver outputs a simple value accessible from userspace.

      I know you can get accellerometer and other sensors for the PC easily, but they were usually external, and internal built in ones were usually hidden from software view. All it took was Apple to start making it easy to access the information...

    3. Re:The really 'amazing' thing is... by MustardMan · · Score: 2, Informative

      Someone has actually implemented the same idea as smackbook on an IBM laptop. http://micampe.it/2006/06/04/here-comes-the-smackp ad

      So, I guess it just took one clever Apple hacker to get the idea to use the SMS for something - looks like it wasn't that hard to access the data on a PC.

    4. Re:The really 'amazing' thing is... by lesliel1977 · · Score: 1

      yeh, my friend has an iPaq and disabled it, they are pretty susepctible to noise. The Doby Show

  17. Re:Before the Mac bashers go crazy with this one.. by Anonymous Coward · · Score: 0
    .... I don't think this article is here as another "Oooh.... the Macbook and Steve Jobs are awesome!" story.


    I should hope not. I don't think many non-Apple-zealots will be impressed with blinky lights.

    For starters, I could envision some usefulness...


    I love that phrasing! Translation - you're trying really really hard to make this out as not being a completely pointless thing to be working on. You almost succeded too - props.
  18. Concentrate that light! by Rob+T+Firefly · · Score: 1

    With a little effort, we can swap out these weak lights with high-intensity lasers! I've always wanted a lappy with a "Real Genius" death ray. Plus, I could use it to make popcorn.

    1. Re:Concentrate that light! by OldeTimeGeek · · Score: 1

      And the supercooling that makes it work would solve the heat problem, too.

  19. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  20. Re:Before the Mac bashers go crazy with this one.. by black6host · · Score: 2, Informative

    Just an observation, as nobody has mentioned it, this is not restricted to just Macs. Some, if not all, of the new Sony Vaio laptops incorporate this to minimize damage to the hard drives if a light physicsl shock to the system occurs.

    If you shake it like an etch-a-scetch you get a window that pops up and tells you the heads are being moved to a safer place or something similiar. The one I saw doing it had an Intel core duo chip in it. A fine piece of machinery. Until something simple broke in the mouse touchpad that made the laptop unusable. But that hard drive wsa safe :)

  21. ideas for other applications by speculatrix · · Score: 1

    auto screen lock - if laptop is not moved for X seconds, lock the screen - analagous to someone using on their lap putting it down on a table

    burglar alarm - if laptop is moved, send a distress call

    intruder detector - if a beam of light shone onto light detector flickers, then intruder detected

  22. Other appication by jackjeff · · Score: 3, Interesting

    Erling Ellingsen has also been playing with the sudden motion and ambient light sensors. He hacked a Virtual Desktop tool, where you have to hit the laptop, or put your hand over a sensitive area, in order to change desktops.

    http://blog.medallia.com/2006/05/smacbook_pro.html

  23. Obvious application by mspohr · · Score: 1
    All you need to do now is strap the laptop to your head (duct tape) and go to the disco. As you dance, the motion sensors and light sensors cause the lights and sound of your Apple laptop to "dance" in time to the music and your cool moves.

    We all knew that Apple users were already "way cool" and this will put them over the top. There's no way we can compete now.

    --
    I don't read your sig. Why are you reading mine?
  24. Re:North Korea by mrchaotica · · Score: 0, Offtopic
    Meanwhile, North Korean citizens are turning to cannibalism due to extreme food shortages. But cannibalism is illegal in North Korea, so cannibals are summarily dragged into the street and shot in broad daylight in plain sight of everyone to serve as a lesson.

    Obviously the solution is for the law-abiding citizens to eat the dead cannibals!

    Oh wait...

    --

    "[Regarding the 'cloud,'] ownership was what made America different than Russia." -- Woz

  25. A warm topic... by Crisses · · Score: 1

    My PPC PowerBook was getting hot. Hot enough to fry eggs. Eventually I got fed up. Something had to be wrong. I mean, it was nice in the winter when I kept the heat down to save $ but I had a cold -- just hug the laptop. Come Spring, I was afraid the fan would melt.

    Turned out I had a plug-in in my Mail.app (a junk mail filter program I wasn't using anyway, but I installed and left there like a busy doofus) that was running the CPU AND making it take forever to mark email as junk, or to quit the program. Solved two problems by uninstalling the bugger... now my fans aren't running constantly, the CPU/disk temperatures are normal, and it takes at least 1/4 the time to deal with my email. I can put my laptop on my lap again without burning my thighs. I'll reinstall the plug-in in the winter ;)

    I didn't have problems with heat on my old iBook 600mhz, and I no longer have problems with the PowerBook. Check your 'top' and what's running your cpu constantly, and keep in mind that laptops aren't gaming machines! :) If you're running Neverwinter's Nights on a laptop, it's going to get hot. My fans get spinning if I have a lot of apps (over 15 or 20) open, or I'm running the Adobe suite and editing large photos. It heats up during huge (30GB) disk transfers, etc. That's to be expected. Make sure your dashboard apps are up-to-date also! They're supposed to sleep when the dashboard is shut.

    Apple mainly makes laptops to be laptops. ;) When you start up iDVD/iMovie, it's gonna crank up the heat. I know it's rather tempting to replace a desktop with one of these, but you can't squeeze as many fans in the case, and you only have about 1" height on the case for fan openings -- and it would be sucking in as much dust as it's letting hot air out.

    --
    ---- I'm out of your mind!
  26. "Lights Out" by ThinkingInBinary · · Score: 1

    I have the game. It's called Lights Out. Here is the manufacturer's page (it's made by Tiger), and here is an interesting page about it.

  27. No. by danimrich · · Score: 1
    So now that we have all these motion and light sensors under control is there a MacBook discotheque in the works?

    The MacBooks don't have a lit keyboard or an ambient light sensor, only the MacBook Pros do.

    --
    where's all that Karma?
  28. given their heat issues by TheDrewbert · · Score: 0

    Macbook inferno

    --
    http://www.CelloFourteGroupie.net
  29. Re:North Korea by mgabrys_sf · · Score: 0, Offtopic

    Well the obvious solution is to start hunting and eating the police for food.

    At least it would make things interesting. Certainly from an enforcement aspect.

  30. Lightspeed network by ethan+Gutmann · · Score: 1

    How about hooking up two computers with spotlights (or lasers?), then have them use the spotlight to send a messages that the other computer detects with the light sensor. You could set up a network, possibly over quite long distances. It might be a little slow and limited to line of sight, but how cool would this be!?!

    1. Re:Lightspeed network by Anonymous Coward · · Score: 0

      Or you could just use the built in wireless networking cards...

    2. Re:Lightspeed network by ethan+Gutmann · · Score: 1

      which would indeed be much faster, but misses out on the sheer geekiness of it.

    3. Re:Lightspeed network by Anonymous Coward · · Score: 0

      Now I can justify the purchase of FOUR MacBook Pros, since I have a two-car garage with separate doors! We don't want the cat to get run over trying to sneak back under the moving door!

  31. Re:North Korea by bubkus_jones · · Score: 0, Offtopic

    Didn't George Romero already make a movie about this?

  32. Burglar alarm by cyfer2000 · · Score: 1

    is already there. And they can take a picture of the theft too.

    --
    There is a spark in every single flame bait point.
  33. Must be a slow news day... by Super+Dave+Osbourne · · Score: 1

    cause last time I checked the percentage of power book owners in the laptop sector was less than 7%, and on top of it the people interested in making their PowerBook do flipflops and 'interesting' things with motion sectors and light sensors has to be about 1-2% (at best, maybe).

    1. Re:Must be a slow news day... by boomerny · · Score: 1

      I think the percentage of Slashdot readers using Apple portables is much higher than 7% based on the number of Mac-centric news articles and user postings, so I think it is interesting news to a lot of us (although I won't be the one swinging my 'book around like a lightsaber). And as the slogan says, it's 'News for Nerds', and it doesn't get much nerdier than this.

  34. Woohoo! Boktai for the Mac! by LKM · · Score: 1

    I smell updates for all popular Mac GBA emulators coming :-)

    Finally, a properly emulated version of Boktai for Macs! Or maybe even an official Mac version? One can dream, can't one? :-)

  35. basic principles by Riquez · · Score: 0

    "Lets focus on basic principles first before adding superfluous features"

    I agree. Not having Windows on your computer, that's a good start.

    --
    * Game Over * High Score: 264,846,927 -- Your Score: 14
  36. Not bashing but a real use..... by SQLGuru · · Score: 1

    So, instead of bashing one camp or the other, how about some ideas of how to use this technology.....

    With the ambient light sensors, you could display an image on the screen and adjust the lighting acording to the ambient light (there were left and right sensors). You could even turn your computer into a sundial (ever post needs a link to the Wiki, so here's mine: http://en.wikipedia.org/wiki/Sun_dial). Point your notebook due north and check the time. Too bad the motion sensor didn't include an electronic compass like in my car.....

    Layne

  37. or... by m874t232 · · Score: 2, Insightful

    you could just use the built-in camera, which lets you measure not just light levels, but even light levels at hundreds of thousands of pixels!

  38. Where are the ambient light sensors? by mindstormpt · · Score: 1

    We already have lightsabers, wouldn't it be nice if we had mind tricks too? You'd just wave your hand over the sensor and the mac would do anything you asked.

  39. Disco by nick_davison · · Score: 1

    So now that we have all these motion and light sensors under control, is there a MacBook discotheque in the works?"

    Consider, for a moment, the traditional Mac user. These are often very smart, very intellectual people. They enjoy culture, fine achievements and the arts. They enjoy long philosophical discussions that, whilst boring to many others, are deeply important to them. They prefer an environment that isn't necessarily the most competetive but has a reassuring sense of doing everything right rather than rushing through the modern world and all the kludginess that seems to bring with it. They enjoy sitting in coffee houses, where their apple logo is even more of a lifestyle symbol than a starbucks cup, and working on worthy novels.

    In short, they are society's university lecturers.

    Do we really need to give them a faculty disco?

  40. Re:North Korea by Smurf · · Score: 1
    Torrent?

    Do you want the execution or the sausage-slapping?


    Duh! Both!
  41. why use 'whereby' by elmuhfuh · · Score: 0

    whereby by? if you are not going to use this word correctly, why use it at all? maybe 'in which' would be easier for you.

  42. Light show! by lpangelrob · · Score: 1

    First developer to make a MacBook do this will receive 1,000 points, and quite possibly the Coolest Mac App of the Year award. :-)

  43. Re:North Korea by Moofie · · Score: 1

    Oh, yeah, forgot all about that. I'll go ahead and fix North Korea on my way home from work. Thanks for reminding me...I need to pick up some butter, too.

    Jackass.

    --
    Why yes, I AM a rocket scientist!
  44. What?! Mac users are more creative than PC users?! by Dis*abstraction · · Score: 1

    Shocking!

  45. Gamma Adjustments by Jack+Johnson · · Score: 1

    I'd pay for a sensor that would accurately, automatically adjust my diplay's gamma correction to the lighting of the room.

  46. Re:North Korea by MarkCollette · · Score: 1

    What do they do with the bodies? Because that'd be a lot of meat going to waste...