[PATCH 5/5]: lis302dl-wakeup-configuration.patch

hamody hamody.wang at borqs.com
Mon Oct 20 05:16:25 CEST 2008




Cédric Berger wrote:
> 
> On Fri, Oct 17, 2008 at 11:46, Andy Green <andy at openmoko.com> wrote:
> 
>>
>> | On Wed, Oct 15, 2008 at 08:15:07PM +0200, Simon Kagstrom wrote:
>> |
>> |> It only supports one of the two lis302dl interrupt sources now (which
>> is the
>> |> only connected one on the openmoko).
>> |
>> | Why is there only one connected?
>>
>> We meddled around with it on GTA02 A6, since the two interrupt sources
>> are programmable the same and at any given time it seems only one active
>> source does something useful, we used one interrupt per sensor.
>>
>>
>  Hi,
> So is it only the "top" accelerometer that can wake up the phone ? Or
> could
> it be changed to be the "bottom" one instead ?
> (I do not know in which cases it would be usefull, but there might be...
> well there is at least the case where one accelerometer is not working
> correctly)
> 
> 

Is it necessary for two interrupt sources work concurrently?I also use one
int pin,and change the four 
interrupt types(wake_up-free_fall&data_ready&single_click-double_click) by
sysfs interface....Hoho,that is quite interesting. 


-- 
View this message in context: http://n2.nabble.com/-PATCH-0-5-%3A-Accelerometer-refactoring-and-features-tp1337916p1353830.html
Sent from the Openmoko Kernel mailing list archive at Nabble.com.




More information about the openmoko-kernel mailing list