Re: Laptop shock detection and harddisk protection

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Henrique de Moraes Holschuh
Date: Thursday, September 11, 2008 - 4:36 pm

On Thu, 11 Sep 2008, Tejun Heo wrote:

If you guys are going to bother with the accelerometer interface (which is
a completely separate issue from the "queue-freeze-and-park-heads" APIs and
sysfs interface), you better be aware that there IS an accelerometer class
in the works, that cathers for directly-attached devices.

I'd look there first.  And a generic sysfs interface for accelerometers IS a
reasonably hard problem, so I would have it well separate from the disk-park
side of things and while it gets sorted out, I'd leave it for userspace to
deal with the issue (it is not like there is much userspace to worry about
right now, just hdapsd which is only interested on the hdaps accel
interface.  Everyone else can do it in-kernel, because their firmware
already does the imminent-fall detection).

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Laptop shock detection and harddisk protection, Pavel Machek, (Sun Aug 17, 12:30 pm)
Re: Laptop shock detection and harddisk protection, Pavel Machek, (Sun Aug 17, 12:45 pm)
Re: Laptop shock detection and harddisk protection, Pavel Machek, (Sun Aug 17, 12:48 pm)
Laptop shock detection and harddisk protection, Tejun Heo, (Wed Sep 10, 9:59 am)
Re: Laptop shock detection and harddisk protection, Renato S. Yamane, (Wed Sep 10, 12:43 pm)
Re: Laptop shock detection and harddisk protection, Austin Zhang, (Thu Sep 11, 3:26 am)
Re: Laptop shock detection and harddisk protection, Tejun Heo, (Thu Sep 11, 4:18 am)
Re: Laptop shock detection and harddisk protection, Shem Multinymous, (Thu Sep 11, 9:08 am)
Re: Laptop shock detection and harddisk protection, Tejun Heo, (Thu Sep 11, 9:34 am)
Re: Laptop shock detection and harddisk protection, Shem Multinymous, (Thu Sep 11, 1:25 pm)
Re: Laptop shock detection and harddisk protection, Tejun Heo, (Thu Sep 11, 4:35 pm)
Re: Laptop shock detection and harddisk protection, Henrique de Moraes H ..., (Thu Sep 11, 4:36 pm)
Re: Laptop shock detection and harddisk protection, Jeremy Fitzhardinge, (Sat Sep 13, 9:41 pm)
Re: Laptop shock detection and harddisk protection, Tejun Heo, (Mon Sep 15, 1:29 am)
Re: Laptop shock detection and harddisk protection, Shem Multinymous, (Mon Sep 15, 11:09 am)
Re: Laptop shock detection and harddisk protection, Tejun Heo, (Mon Sep 15, 1:10 pm)
Re: Laptop shock detection and harddisk protection, Pavel Machek, (Thu Sep 18, 4:18 am)
Re: Laptop shock detection and harddisk protection, Thomas Renninger, (Fri Sep 19, 2:03 am)
Re: Laptop shock detection and harddisk protection, Pavel Machek, (Tue Oct 7, 1:40 pm)
Re: Laptop shock detection and harddisk protection, Pavel Machek, (Tue Oct 7, 2:40 pm)
Re: Laptop shock detection and harddisk protection, Shem Multinymous, (Tue Oct 7, 3:55 pm)
Re: Laptop shock detection and harddisk protection, Pavel Machek, (Tue Oct 7, 4:03 pm)