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-next>] [day] [month] [year] [list]
Message-ID: <BAY20-F36829F468180F55694798D8FE0@phx.gbl>
Date:	Fri, 03 Nov 2006 18:33:31 +0200
From:	"Burman Yan" <yan_952@...mail.com>
To:	linux-kernel@...r.kernel.org
Subject: [PATCH] HP Mobile data protection system driver with interrupt handling

Hi.

I posted a previous version of my driver a few weeks ago, so here is a new 
version that
handles interrupts from the device when the accelerometer detects that the 
laptop is falling.
The interrupt part only works with 2.6.19-rc* since previous kernels (at 
least 2.6.17 and 2.6.18 could not allocate the device's IRQ - perhaps due to 
some ACPI bios bug that now is handled better)
The driver supports:
1) interface similar to hdaps that allows running hdapsd with trivial 
modifiations
2) input class device that allows playing games such as neverball by using 
the laptop as a joystick
3) Ability to power off the acceleromter (it may prolong just a litlte 
battery life)
4) A misc device /dev/acel similar in interface to /dev/rtc that reacts on 
interrupts from the accelerometer allowing userspace to catch such events 
and react accordingly - park the HD heads, or perhaps print "Your laptop is 
falling. Are you sure you want to catch it?" The daemon for that
i trivial.

Should I also add a documentation file to document all the interfaces - it 
should be quite short though.

I sent this patch as a reply to previous thread about 24 hours ago, but for 
some reason didn't see it on the list, so here it is again. Didn't inline 
the patch since hotmail does line wrapping on it making it impossible to 
apply.

P.S.
Should I send this to hwmon maintainer perhaps, so that other people could 
benefit from this?

Regards
Yan Burman

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/

View attachment "mdps-0.4.patch" of type "text/x-patch" (21578 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ