lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20081128104459.GA32417@atrey.karlin.mff.cuni.cz>
Date:	Fri, 28 Nov 2008 11:44:59 +0100
From:	Pavel Machek <pavel@...e.cz>
To:	?ric Piel <eric.piel@...mplin-utc.net>
Cc:	kernel list <linux-kernel@...r.kernel.org>, trenn@...e.de,
	hmh@....eng.br
Subject: Re: HP accelerometer: free fall detection working, testers wanted

Hi!

> > I got free fall detection to work -- apparently BIOS does all the
> > important stuff itself. 
> > 
> > Now... I'd like some testers. (Don't comment on code... yet. Yes, it
> > has some issues).
> >
> Hi Pavel,
> I'll try to test this weekend.
> 
> Out of curiosity, what did you change compared to the original version
> of the driver? Did you just disable the set up code?

Disable all the writes, yes.

> Also, how do you try free fall? Did you try also with the lid
> opened?

With the lid opened, too, yes. I just took the machine, then tried to
let go and catch it meter below that. (Of course I did not really let
go, but released the grip and followed...)

> > hp3dg script should do all the important things.
> :
> > --- /dev/null
> > +++ b/Documentation/hwmon/hp3dg
> :
> > +while true; do
> > +	./readaccel foo
> > +	unload 2
> > +	if cat /proc/acpi/button/lid/LID/state | grep open && cat /proc/acpi/ac_adapter/AC0/state | grep off-line; then
> > +		unload 20
> > +	fi
> > +done
> Why a special case if the lid is opened and the laptop unplugged? Is it
> a special behaviour of the hardware, or simply some kind of basic user
> behaviour guess?

Behaviour guess, HP asked for those values. Idea is that if the user
is walking with machine, park as much as possible because machine is
in danger :-).
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ