Knock-based commands for your Linux laptop

Computers & Mobile
Knock-based commands for your Linux laptop

T42P
The new Macbook’s aren’t the only laptops you can knock, slap and bump to perform commands – “For the first time, you can hit your computer and get a meaningful response! Using Linux and the Hard Drive Active Protection System (HDAPS) kernel drivers, you can access the embedded accelerometers on Lenovo (formerly IBM) ThinkPads, then process the accelerometer data to read specific sequences of “knocking” events — literally rapping on the laptop case with your knuckles — and run commands based on those knocks. Double tap to lock the screen, and knock in your secret code to unlock. Tap the display lid once to move your mp3 player to the next track. The possibilities are endless.” [via] – Link.

4 thoughts on “Knock-based commands for your Linux laptop

  1. wolfger says:

    Oh dear god… I’m picturing Linux geeks playing at being “The Fonz”. Why did you do this to us, Make?

  2. aplumb says:

    I can see it now. Morse code tap-entry! Assuming it’s at least a dual-axis accelerometer, tap X-axis to get dots and Y-axis to get dashes (or vice versa) for a dual-paddle config…

Comments are closed.

Discuss this article with the rest of the community on our Discord server!
Tagged

current: @adafruit - previous: MAKE, popular science, hackaday, engadget, fallon, braincraft ... howtoons, 2600...

View more articles by Phillip Torrone

ADVERTISEMENT

Maker Faire Bay Area 2023 - Mare Island, CA

Escape to an island of imagination + innovation as Maker Faire Bay Area returns for its 15th iteration!

Buy Tickets today! SAVE 15% and lock-in your preferred date(s).

FEEDBACK