Results 1 to 6 of 6

Thread: Laptop Acceleration Detection

  1. #1
    Join Date
    Jul 2011
    Beans
    63

    Laptop Acceleration Detection

    I was just wondering if this is possible, and possibly any hints as to where to look.

    Under window$, my manufacturer (Toshiba) provides a driver that detects when my laptop is jarred or is falling, and stops the hard drive temporarily. Would this be possible to pull off under Ubuntu Would I look somewhere under the /proc tree to try and find said acceleration readings? Somewhere else? Possibly load some module?

  2. #2
    Join Date
    Nov 2012
    Location
    Halloween Town
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Laptop Acceleration Detection

    There is Smartmontools which is a set of applications that can test hard drives and read their hardware SMART statistics, providing advanced warning of disk degradation and failure.
    You can install by typing the following into the terminal:
    Code:
    sudo apt-get install smartmontools
    Please mark your thread as solved if you get a satisfactory response.

  3. #3
    Join Date
    Jul 2011
    Beans
    63

    Re: Laptop Acceleration Detection

    Not exactly what I'm looking for... What the window$ driver does is stop the hard drive if say the laptop is falling off the table, to reduce the risk of a head crash. Any chance there's anything I can use for that?

  4. #4
    Join Date
    May 2007
    Beans
    12,482

    Re: Laptop Acceleration Detection

    Quote Originally Posted by slickymaster View Post
    There is Smartmontools which is a set of applications ...
    That's not what the OP is talking about.

    He's talking about some laptops that have accelerometers installed that can detect the laptop being dropped and instantly park the heads on the hard drive.
    Ubuntu 14.04, Mint 17; MS Win 8.1.
    Will not respond to PM requests for support -- use the forums.

  5. #5
    Join Date
    Nov 2012
    Location
    Halloween Town
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Laptop Acceleration Detection

    Quote Originally Posted by Mark Phelps View Post
    That's not what the OP is talking about.

    He's talking about some laptops that have accelerometers installed that can detect the laptop being dropped and instantly park the heads on the hard drive.
    Yes, I saw that after the OP's answer to my previous post.

    But the only thing that comes to mind is HDAPS. The question is that I'm not sure that it has the specific feature the OP describes. As far as I can remember it's main feature was the purpose of protecting t hard drive from sudden shocks by parking the disk heads, so that shocks do not cause them to crash into the drive's platters.

    Maybe it's worth a look, though.
    Please mark your thread as solved if you get a satisfactory response.

  6. #6
    Join Date
    Aug 2010
    Beans
    3

    Re: Laptop Acceleration Detection

    The best answer I've found is "not yet" however in the last two weeks a developer, Nathaniel M Nelson, has developed a patch that can read the sensor as well as set the protection level. In his blog he says that he is currently working on a park/unpark daemon to accompany this patch. There's a long-standing bug report open at Launchpad where progress can be followed.
    https://bugs.launchpad.net/ubuntu/+s...ux/+bug/116045
    Last edited by technophant; April 26th, 2013 at 06:58 PM.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •