[<prev] [next>] [day] [month] [year] [list]
Message-ID: <BAY20-F183478C1EE742A94EEBD3CD8FF0@phx.gbl>
Date: Thu, 02 Nov 2006 21:34:29 +0200
From: "Burman Yan" <yan_952@...mail.com>
To: alan@...rguk.ukuu.org.uk
Cc: arjan@...radead.org, davej@...hat.com, jesper.juhl@...il.com,
linux-kernel@...r.kernel.org, pazke@...pac.ru
Subject: Re: [PATCH] HP mobile data protection system driver
Hi.
I finally got 2.6.19-rc2 to work on my laptop and it apparently fixed a bug
related
to MDPS's IRQ handling, so I was able to register the IRQ handler.
I created a newer version of my driver that can now act on interrupts
from the device instead of doing polling on the position that the
accelerometer
reports.
I wrote an interface that is still compatible with hdapsd + made a misc
device that acts similar to /dev/rtc - I also wrote a user space daemon
(it's very
easy now) that can print something like "your laptop is falling: press any
key to catch it"
whenever I drop it 10-15 cm and catch it.
Attached is the patch that applies to 2.6.18 and 2.6.19-rc{2,3}.
I didn't inline the patch, since hotmail screws it up.
Any comments are welcome.
Also, should I send it perhaps to the hwmon maintainer as well?
>From: Alan Cox <alan@...rguk.ukuu.org.uk>
>To: Burman Yan <yan_952@...mail.com>
>CC: arjan@...radead.org, davej@...hat.com, jesper.juhl@...il.com,
>linux-kernel@...r.kernel.org, pazke@...pac.ru
>Subject: Re: [PATCH] HP mobile data protection system driver
>Date: Fri, 13 Oct 2006 21:34:45 +0100
>
>Ar Gwe, 2006-10-13 am 20:59 +0200, ysgrifennodd Burman Yan:
> > I guess it may be a good idea after all to change the sysfs file it to
>hdaps
> > for now.
>
>Perhaps it would be better to provide a new they all provide which
>indicates 2 v 3 dimensions and also provides a scaled data source so
>that you don't get confusion or have to adjust the daemon for each user.
>
>If HDAPS is an IBM^WLeonovo mark thats another reason the final generic
>file shouldn't be called HDAPS
>
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
View attachment "mdps-0.4.patch" of type "text/x-patch" (21578 bytes)
Powered by blists - more mailing lists