Slashdot Mirror


Having Fun With PowerBook Motion Sensors

mjk325 writes "Amit Singh has published a discussion on the 'Sudden Motion Sensor' feature in the latest revision PowerBooks. One utility he has released displays a 3-D view of the PowerBook that follows the actual movement of the physical machine. Another utility creates windows that rotate in opposite directions to the physical machine to appear always straight. My brand new PB has the motion sensor, but apparently the utilities work on any system using software faking."

81 comments

  1. Sweet. by Protoclown · · Score: 4, Funny

    This is cool enough to make me want a PowerBook.

    1. Re:Sweet. by Anonymous Coward · · Score: 2, Informative

      IBM ThinkPads have the same feature (and even the same sort of visualization utility).

    2. Re:Sweet. by Gentlewhisper · · Score: 1

      What's this motion sensor for btw? Is it meant to serve the same purpose as those in IBM thinkpads?

      Anyway I'm not so sure how well it works though, it is not as if the constant shutting off/powering up of the hard disk drive is going to do it any good in the long term..

    3. Re:Sweet. by Carnildo · · Score: 1

      Consider the alternative: a head crash from a dropped laptop. Which would you rather have?

      --
      "They redundantly repeated themselves over and over again incessantly without end ad infinitum" -- ibid.
  2. Security? by caerwyn · · Score: 5, Interesting

    Seems like this could be used to implement some sort of security feature. Turn on a utility, and when significant movement is detected the computer could send out a signal- in the form of activating an attached alarm, taking a picture with a webcam and emailing it, etc etc. When the owner returns, the utility could be quickly turned back off.

    --
    The ringing of the division bell has begun... -PF
    1. Re:Security? by Pirogoeth · · Score: 5, Interesting

      How about a security feature where besides entering a password, you need to tip your PB around in a certain pattern before it will unlock?

      --
      Happiness is like peeing yourself. Everybody can see it but only you can feel its warmth.
    2. Re:Security? by DavidLeblond · · Score: 1

      Ha! How about a utility that formats the hard drive by shaking the Powerbook like an etch-a-sketch?

    3. Re:Security? by DavidLeblond · · Score: 1

      A tip for anybody reading this to avoid the Redundant moderation that I'm eventually bound to receive:

      Read all comments before submitting your own. It doesn't matter how original you think it is, everyone else on Slashdot has already thought of it.

      And don't reply to your own comment, you'll get modded "Offtopic"

    4. Re:Security? by servognome · · Score: 5, Funny

      you need to tip your PB around in a certain pattern before it will unlock?
      You know everybody will set their pattern to Up-Up-Down-Down...

      --
      D6 63 0D 70 89 81 BB 8E 7B 7C 5F 5D 54 EA AB 73
    5. Re:Security? by KelBay · · Score: 1

      I would sooner have modded that (Score:5,Funny) I woudn't want to take a chance that my boss could memorize the patterns my twirling power book would make through the ether.

    6. Re:Security? by macshome · · Score: 1

      And Up-Down-Up-Down-Left-Right-A-B will unlock turbo mode?

  3. No imagination by wowbagger · · Score: 4, Funny

    Obviously, you all have no imagination.

    What is clearly needed is a plug-in that clears the screen when the unit is held upside-down and shaken!

    Or a version of Marble Madness that uses the tilt of the machine to control the marble.

    1. Re:No imagination by fracai · · Score: 0

      well somebody ate their Wheaties this morning.

      --
      -- i am jack's amusing sig file
    2. Re:No imagination by tomservo291 · · Score: 1

      Marble madness was my childhood. Fond memories of that dank video rental store.

    3. Re:No imagination by wowbagger · · Score: 5, Funny

      Or, now that I think about it, a flying game wherein the tilt of the laptop controls the yoke of the aircraft - imagine the fun of sitting in a cybercafe holding your Powerbook in your hands and going "Vrroommm! PowPowPow!"

      Or rather, the fun of watching somebody else doing that....

    4. Re:No imagination by ameline · · Score: 3, Interesting

      You (and the moderators too) think you're joking. But I'm not. If, and as soon as, that capability is available in any widespread manner on a tablet PC (or a, purely hypothetical, tablet mac), Alias Sketchbook will exploit it in the way you describe. (There will probably be a preference to turn it off and/or adjust it's sensitivity. Wouldn't want it to happen accidentally.) Cheers

      --
      Ian Ameline
    5. Re:No imagination by Anonymous Coward · · Score: 0

      This is what /. should be all about. Not one, but TWO BRILLIANT suggestions within moments of a first post.

      Bravo!

      I hereby nominate parent for the prestigious "Post of the Year" award.

    6. Re:No imagination by MrScience · · Score: 2, Funny

      Obligatory Dilbert cartoon. I'd link to the original, but can't find it.

      --

      You quitting proves that the karma kap worked. The most annoying of the whores shut up. --CmdrTaco

    7. Re:No imagination by Ohreally_factor · · Score: 1

      I was thinking more of a virtual snow globe, but you're on to something. With two of these you could have that etchasketch experience right on the desktop.

      --
      It's not offtopic, dumbass. It's orthogonal.
    8. Re:No imagination by Anonymous Coward · · Score: 0

      Or you could buy an Etch-a-sketch? Sorry.

  4. imac 2 by FirienFirien · · Score: 2, Interesting

    When the imac 2 (flatscreen, hemisphere base) first came out, the number of swivel specs interested me enormously - I thought you could rotate the screen, ie change from landscape to portrait, which would be great for editing A4 pages in photoshop, reading long documents, etc etc... this software brings back that interest, though I appreciate that the weight of the base might be a physical setup issue. Ooh. Screw the base upside down into a shelf above; the screen is upside down, use the software to turn it right way up. No cds and dvds, but clears a bundle of desk space.

    --
    Browsing with +2 to insightful posts and a higher threshold makes the average post seen seem a lot more ingenious
    1. Re:imac 2 by mmkkbb · · Score: 3, Interesting

      Do you remember the Radius Pivot?

      --
      -mkb
    2. Re:imac 2 by FirienFirien · · Score: 1

      Ooh. Nope, but it's exactly the same idea. Presumably that also relied on software?

      --
      Browsing with +2 to insightful posts and a higher threshold makes the average post seen seem a lot more ingenious
    3. Re:imac 2 by mmkkbb · · Score: 1

      Well, I never used one, so I couldn't say how well Mac OS 5 handled on-the-fly mdoe switches

      --
      -mkb
    4. Re:imac 2 by Anonymous Coward · · Score: 0

      Firmware in the monitor, if memory serves. I hooked one up to a Duo dock. In "tall" mode, it was just about the perfect size and shape for editing 8.5" x 11" documents, and in "wide" mode it was about the same height as a lot of other monitors of the time, but slightly wider.

    5. Re:imac 2 by all+your+mwbassguy+a · · Score: 1

      heck yeah! my mom had a monochrome radius pivot with her IIsi. way cool with quark 3.1.

    6. Re:imac 2 by Have+Blue · · Score: 2, Insightful

      ATI's cards have been able to do this for a while- there's an option in the driver control panel to make the image (and corresponding resolutions) sideways or upside-down. Mounting the monitor so that it can be used in that mode remains an exercise for the reader.

  5. semi-obligatory Simpsons quote by Gumph · · Score: 1

    What is clearly needed is a plug-in that clears the screen when the unit is held upside-down and shaken!
    Wowbagger, I don't like to use the word Hero lightly but You...

    ...are the greatest Hero known to mankind.
    Genius!!! - finally life has imitated art once more and the famous Dilbert and the PHB laptop strip can now be made a reality
    Love it.

    --
    'By the pricking of my thumbs, something wicked this way comes'
    1. Re:semi-obligatory Simpsons quote by Art+Hurph+Ill+Ipdens · · Score: 1, Funny
      Wowbagger, I don't like to use the word Hero lightly but You...

      ...are the greatest Hero known to mankind.

      Not hardly.

      He's a jerk, complete kneebiter, brainless prat, and a no-good dumbo nothing!

    2. Re:semi-obligatory Simpsons quote by Anonymous Coward · · Score: 1, Insightful

      Slow down there, cowboy. If this were to imitate the Dilbert strip, then shaking it upside down would reboot. Not clear the screen.

  6. Physical Tilt Games... by fracai · · Score: 5, Interesting

    Tilt games using ball bearings need to be developed as soon as possible to make use of this.

    The pBook is light enough to make it feasible for a little while anyway. My only concern would be causing the drive heads to park to often due to "agressive" playing. The article implies that you can disable the head parking, but then I'd be worried about disk damage.

    I wonder what the threshold is for head parking?

    --
    -- i am jack's amusing sig file
    1. Re:Physical Tilt Games... by mmkkbb · · Score: 5, Informative

      There already is such a game. It is called Neverball

      --
      -mkb
    2. Re:Physical Tilt Games... by fracai · · Score: 1

      ah, right. I remember trying this out a while back. This is a perfect example of something that could take advantage of the AMS capabilities.

      --
      -- i am jack's amusing sig file
    3. Re:Physical Tilt Games... by Steve+Cowan · · Score: 4, Insightful

      If I was physically tilting and jostling my PowerBook to play a silly little game I would probably want to park the hard drive anyway, and keep it parked until the game ends.

      Pinball, anyone?

    4. Re:Physical Tilt Games... by TCM · · Score: 1

      Don't you mostly play silly little games while waiting for a task to finish in the background?

      --
      Of course it runs NetBSD. BTC: 1NT7QvbetmANwaMzhpVL6
    5. Re:Physical Tilt Games... by Steve+Cowan · · Score: 1

      Good point. Still I wouldn't thrash my powerbook around while its hard drive is reading/writing. So... those silly little background tasks would have to be on remote volumes I guess.

  7. Sudden Motion Sensor or ... by DJMeatBall · · Score: 0

    ... Subtle Motion Sensor? Can the Powerbook detect even slight movements in its position? Or is this sensor just meant for drastic changes in X/Y/Z position? If it handles subtle, then I can definitely imagine plugging the machine into an external monitor and using my PB as a steering wheel to drive my way to ruin through Vice City.

  8. Same as IBM ThinkPad sensor? by Anonymous Coward · · Score: 1, Informative

    The hacks are pretty cool, but the utility that displays the Powerbook orientation realtime in 3D seems to be exactly like the ThinkPad active protection util that IBM has been shipping for quite some time now.

    1. Re:Same as IBM ThinkPad sensor? by CompVisGuy · · Score: 1, Funny

      Yes, it is. Apparently companies other than Apple innovate. I'd heard the rumour, but didn't dare believe it.

      --


      "The noble art of losing face will one day save the human race"---Hans Blix
  9. for geologist out there by cassidyc · · Score: 4, Funny

    Just stick one on the ground and wait for earthquakes, who needs all that specialist equipment

    CJC

    1. Re:for geologist out there by isotpist · · Score: 1

      Even better, take in into the field and measure orientations.

    2. Re:for geologist out there by Anarchitect_in_oz · · Score: 1

      How about a @Home application?
      But in this case to collect data not process.
      If you could get all the new Powerbooks to sign up to the network, next time there is an earth quake in the area it would record the shaking.

      Might be really interesting to model how the energy waves flow if you could get enough data at various point locations.
      just realised it may need a gps to any value.

      --
      "Call us when the New age is old enough to drink" Beck
  10. Thinkpad by Vaystrem · · Score: 4, Interesting

    I own a Thinkpad T41 which has this feature. One of the coolest things, to my friends, is that you can set the applet, which monitors harddrive shocks, to display the laptop in real time. It doesn't display vertical movement, however, it will show you flipping it upside-down, angling it in any direction, etc. It is pretty neat.

    1. Re:Thinkpad by John+Harrison · · Score: 1
      Is it possible that Amit got this idea from using such a laptop? He does work at IBM...

      Where did you get this program? I have a T40 which should have the same feature and would like to try it out.

    2. Re:Thinkpad by Vaystrem · · Score: 2, Informative

      If you have a Thinkpad, with Active System Protection, do the following:

      Control Panel
      IBM Active Protection
      Real Time Status

      I'm running version 1.23 of the software and it is there that it displays the Notebook as you rotate it in realtime.

  11. Etch-A-Sketch! by Anonymous Coward · · Score: 5, Funny

    Finally! My Powerbook can be an etch-a-sketch. You could even get two of these for the knobs, if you're really into it...

  12. Radius -- maybe my Pivot will work on my Pbook now by ankhank · · Score: 2, Interesting

    I'm still using my Radius Pivot, as the second monitor on my G3 Powerbook Pismo.

    Of course the pivot feature hasn't worked since OS 7 or 8 or something.

    Maybe there's something in this new approach that will let me once again turn the Pivot monitor to Portrait. I sure hope so.

    I just hate landfilling still functioning tools.

  13. Wait a minute... by NEOtaku17 · · Score: 1
    "Another utility creates windows that rotate in opposite directions to the physical machine to appear always straight."

    Wait just one minute...Wouldn't that just look like regular 2-D windows on a flat monitor?!

    1. Re:Wait a minute... by SteeldrivingJon · · Score: 2, Informative


      No, not rotating in 3D. Rotating in 2D.

      The point is that the top of the window will always be up, relative to the earth, regardless of what orientation the laptop is in.

      The window behaves like a compass needle, only relative to real-up and real-down, instead of north and south.

      --
      September 2011: Looking for Cocoa/iOS work in Boston area Cocoa Programmer Quincy, MA
    2. Re:Wait a minute... by WinterSolstice · · Score: 1

      I belive the tool analogy you are looking for is "Plumb bob"

      -WS

      --
      An operating system should be like a light switch... simple, effective, easy to use, and designed for everyone.
  14. Re:Radius -- maybe my Pivot will work on my Pbook by mmkkbb · · Score: 1

    what new approach?

    --
    -mkb
  15. Is your desktop perturbed? by lpangelrob2 · · Score: 3, Funny
    That Perturbed Desktop application is the funniest thing I've ever seen.

    In spite of the author's quote, "Needless to say, it is quite a hellish experience trying to use the computer in this manner," it's just asking for someone to install it on some poor clod's computer, getting him drunk, and then have him try to do something productive like code in Perl.

    "Hey... WTF does an upside down exclamation point stand for?"

  16. [tinfoil] okay. by torpor · · Score: 1

    i did not know my powerbook had that feature.

    what other 'environment monitoring' features does it have?

    --
    ; -- the corruption of government starts with its secrets. a truly free people keep no secrets. --
  17. Re:Radius -- maybe my Pivot will work on my Pbook by ankhank · · Score: 1

    Someone's written software that lets the Macintosh rotate what's on the screen, as I understand it, so if the screen is turned 90 degrees to "portrait" mode, the text remains readable -- if I understood the story. (Not Apple's software; third party software.)

    Forget about the motion sensor aspect, all I want is to be able to tell the Mac that it has a monitor in portrait position -- like used to work.

  18. Whoa! by CaycePollard · · Score: 5, Interesting
    Just checked this out on my Al 15 1.67 and it's so cool it superconducts.

    This is the first piece of software that's had me drop my jaw for ages. Well done. I swear I will pay good money for the first "shake the machine and the window clears" etch-a-sketch plug-in for Pages or Keynote :)

    1. Re:Whoa! by Anonymous+Freak · · Score: 1

      Once the Etch-A-Sketch plug in is working on a TABLET Mac, I'll buy it.

      It would be a scene straight out of Dilbert, only with a real computer...

      --
      Another non-functioning site was "uncertainty.microsoft.com."
      The purpose of that site was not known.
  19. Re:Radius -- maybe my Pivot will work on my Pbook by mmkkbb · · Score: 2, Insightful

    it only works on macs with a motion sensor, which is only the new powerbook upgrades.

    you may have an option

    --
    -mkb
  20. Acceleration Detector + GPS = differential GPS by kris_lang · · Score: 4, Interesting

    Hmmm... differential GPS just depends on having a local waypoint to give you a very accurate position, beyond the 1-3 meter resolution of GPS.

    Now why not keep track of the accelerations, integrate (SUM) over time to get the velocity, integrate once again to get the spatial location. You could keep a log of where the laptop goes while it's on. Hmm... I might have to buy one of these toys, make the software and put it in the passenger seat of my car and see what I can make it do...

    I remember a circuit cellar article about a 3-d accelerometer, but I didn't feel like dinking around with a soldering iron that year. Looks like a new powerbook will let me accomplish that long-delayed task with software alone.

    Must acquire cash for purchase NOW :)

  21. Don't worry, you don't need a powerbook by exp(pi*sqrt(163)) · · Score: 3, Interesting

    You can build something like this for any laptop. The parts would be something like a USB module like this ($20 unless you're happy just using a regular serial port), an Atmel AVR microcontroller (this ($30 for the development board which is easier to use than just the component). The accelerometer outputs a pulse with a width that varies linearly with acceleration you can just write a simple loop on the AVR (using avr-gcc) to count the pulse length and then report back via the USB (or serial port). Total cost: probably well under $100 including building an AVR programmer.

    --
    Doesn't it make you feel good to know that our freedoms are protected by politicans, lawyers and journalists.
    1. Re:Don't worry, you don't need a powerbook by kris_lang · · Score: 1

      hey, that sounds like the circuit cellar article I mentioned above...

    2. Re:Don't worry, you don't need a powerbook by exp(pi*sqrt(163)) · · Score: 1

      I guess it's pretty obvious if you're vaguely familiar with what parts are available. But it's probably a surprise to many people just how easy it is to piece these parts together.

      --
      Doesn't it make you feel good to know that our freedoms are protected by politicans, lawyers and journalists.
    3. Re:Don't worry, you don't need a powerbook by joleary · · Score: 1

      There is already a board out there. Kionix, the same company that Apple used for the accelerometer, has a demo board (serial and USB) with a tri-axis accelerometer on it. Plug it in and get everything the new PB has. They have software with source code and a pretty good manual available for download. Pretty cool stuff.

  22. Re:completely wrong wowbagger quote by BeerCat · · Score: 1

    Oh come on Art Hur!

    He's "a jerk, a complete asshole."

    Oh wait. That's what wowbagger said to Arthur.

    --
    "She's furniture with a pulse"
  23. Re:Radius -- maybe my Pivot will work on my Pbook by BeerCat · · Score: 2, Interesting

    Still using it? You're lucky. I remember at work some colleagues had one, (being used as a second monitor beside one of the monster 21" displays), and it was very cool to watch (it was also very cool to watch bouncing ball screensavers adjust to the different screen dimensions). They had to leave it alone after a few months, as it made worrying buzzing moises when tilted one way. I think they had played with it so much that they were close to breaking the mercury switch that triggered the mode change.

    --
    "She's furniture with a pulse"
  24. Recalibrating? by ukleafer · · Score: 1

    I've just been trying this on my new 15" pb, but it seems to be a bit confused - the AMSVisualiser image is at about 20deg, when the laptop is flat on the desk.

    Is there any way to recalibrate the sensor?

    1. Re:Recalibrating? by adjusting · · Score: 5, Funny

      Put a book under one leg of your desk?

  25. Personal Experiment... by DoctaBu · · Score: 5, Interesting

    If anybody is interested, I have recorded a video of the rotation of the two programs on the website.

    You will notice that with the StableWindow, sometimes its a bit off, and with the AMSVisualizer, the Y-axis animations seem to be backwards. But, who cares? It's neat anyway.

    PowerBook Tilting!

    1. Re:Personal Experiment... by Anonymous Coward · · Score: 0

      Thanks DoctaBu!

      Very cool :)
      (But I see what you mean about the backwards movement)

  26. iSight + Motion Sensor + Looking Glass = Awesome! by metalligoth · · Score: 1

    Could you imagine the possibilities on this thing if you added some Looking Glass features and used an iSight?

    Most people would surely have no use for it, but it could lead to some interesting games. Maybe something like virtual geocaching?

  27. Re:Radius -- maybe my Pivot will work on my Pbook by John+Harrison · · Score: 2, Insightful

    did you read the article? He has it working on a Mac without a motion sensor, he uses the mouse to give input to the routine. It would be simple to have a button to click to rotate 90 degrees.

  28. It's for his book. by Ohreally_factor · · Score: 1

    If you read TFA, you'll find out that he did this hack to use as an example for his forthcoming book on OS X. Amit Singh is a very original thinker with what I consider a deep and dry wit. I'm really looking forward to this book.

    --
    It's not offtopic, dumbass. It's orthogonal.
  29. The ultimate application of a notebook acceleromet by Anonymous Coward · · Score: 3, Interesting

    Set aside an ungodly huge frame buffer, and move the notebook around like it's a tiny window into another dimension. Imagine having a rendevous moment where you have to walk across the street to retrieve a stray iChat window. You might even want to upgrade to WiFi with triangulation, then everybody's notebook could share this "framebuffer dimension" If you put your notebook back to back with somebody else's and read their screen backwards! Don't forget to have a well firewalled desktop, preferably with a brick tile ;)

    See also: Croquet

  30. What? by Che+Guevarra · · Score: 1

    Does anyone know how to turn this off? Because it's supposed to open my chute in about 3 seconds.

  31. force feedback this by aneroid · · Score: 2, Funny

    instead of adjusting the screen to the movements of the PowerBook...have it lunge at u everytime someone fires a rocket.

    or if u want to stick to the technology at hand, u could use it to control the flight of the redeemer.

    heck, if u run fast enough, u can make it go faster...just don't jump the railings if u're more than 10-15 floors up. u'll lose too many health points.

  32. Uh Oh! by Blowfishie · · Score: 2, Funny
    Apple service centers are going to be swamped by dropped laptops once this becomes well known.

    "I was... erm... just holding it like you normally do. Honest! Can I keep my warranty?"

  33. Re:Radius -- maybe my Pivot will work on my Pbook by mmkkbb · · Score: 1

    He has it working on a Mac without a motion sensor, he uses the mouse to give input to the routine. It would be simple to have a button to click to rotate 90 degrees.

    But it's not the same as having the monitor resync automatically when you tilt it.

    --
    -mkb
  34. That's Awesome! by jnetsurfer · · Score: 1

    Thanks for posting that so those of us without a PB could see this software actually in action. It looks much cooler seeing how it actually works on a real machine that's being tilted.

  35. Track & Field Games by Anonymous Coward · · Score: 0

    Yeah, I downloaded it about 5 minutes ago. The hurdles event was pretty cool. I'm trying the discus now#)@VZ[[[[NO CARRIER
    -- Dan in Canada