mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Burman Yan" <yan_952@hotmail.com>
To: arjan@infradead.org
Cc: davej@redhat.com, jesper.juhl@gmail.com,
	linux-kernel@vger.kernel.org, pazke@donpac.ru
Subject: Re: [PATCH] HP mobile data protection system driver
Date: Fri, 13 Oct 2006 20:40:57 +0200	[thread overview]
Message-ID: <BAY20-F14CE177ABD2A134BD19ABAD80A0@phx.gbl> (raw)
In-Reply-To: <1160756702.14815.1.camel@laptopd505.fenrus.org>




>From: Arjan van de Ven <arjan@infradead.org>
>To: Burman Yan <yan_952@hotmail.com>
>CC: davej@redhat.com, jesper.juhl@gmail.com, linux-kernel@vger.kernel.org,  
>pazke@donpac.ru
>
>well.... breaking stuff for no reason other than "but it sounds like HIS
>name" is I thing bad. Yes the name is unfortunate, but if you can use
>the interface... why not? Just because the name isn't perfect everyone
>should change over, including keeping compatibility mess etc etc?
>That needs a stronger reason than "it sounds like his name" to me...
>
>Now if the interface itself isn't good enough, that's a different matter
>of course; but from what I read so far that's not really the case.
>

You have a point, but the thing is that I hope to make this work interrupt 
driven in the future.
Right now for some reason request_irq fails with ENOSYS (I don't know if 
it's a bios acpi bug, or my bug
or acpi parsing bug yet, although I see that I get the right IRQ - the same 
as that other a bit less
known OS...;) and also request_irq succeeds on xen kernel, but fails on RH 
2.6.17.13 and vanilla 2.6.18).
To make a long story short, the interface should probably be different from 
hdaps'
in the future + hdapsd will have to be modified anyway since I cannot 
provide the functionality
to detect keyboard and mouse activity through the accelerometer, since it 
doesn't support it.

Right now I can emulate hdaps and perhaps I can even provide the same 
methods that will return
dummy result for the stuff I don't have. You think I should emulate hdaps' 
functionalty
that is missing from mdps? I actually didn't look at why hdapsd needs 
keyboard and mouse activity for.
I'm guessing that it's to see if you're using your laptop, since if there is 
activity, chances are
that your laptop is not falling and if it is, it's falling with you along... 
Need to check.

Regards
Yan

_________________________________________________________________
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/


  reply	other threads:[~2006-10-13 18:41 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-13  8:47 Burman Yan
2006-10-13  9:26 ` Andrey Panin
2006-10-13 10:06   ` Jesper Juhl
2006-10-13 15:50     ` Dave Jones
2006-10-13 16:17       ` Burman Yan
2006-10-13 16:25         ` Arjan van de Ven
2006-10-13 18:40           ` Burman Yan [this message]
2006-10-13 18:59           ` Burman Yan
2006-10-13 20:34             ` Alan Cox
2006-10-13 17:13       ` Alan Cox
2006-10-13 18:25         ` Burman Yan
2006-11-02 19:34 Burman Yan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BAY20-F14CE177ABD2A134BD19ABAD80A0@phx.gbl \
    --to=yan_952@hotmail.com \
    --cc=arjan@infradead.org \
    --cc=davej@redhat.com \
    --cc=jesper.juhl@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pazke@donpac.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®