[maemo-users] Accessing GPS on Nokia N810

From: Jussi Kukkonen jhkukkon at cc.hut.fi
Date: Tue Mar 11 11:21:08 EET 2008
Tuomas Kulve wrote:
> Petr Stetiar wrote:
> 
>> Because 'gpsdriver' seems to be some kind of middleware between userspace
>> applications and kernel driver. It powers On/Off the GPS, uploads also
> 
> How does it power the GPS on/off? I.e. how do you ask it to do it?
> 

In all normal situations you'd use system libraries that do it for you
(like liblocation, I suppose). If you really want to do it by hand, take
a look at gpsctrl.h:
   gpsctrl_set_chip_on()
   gpsctrl_set_chip_off()

Somewhat surprisingly this is in libgpsbt-package.


Jussi

More information about the maemo-users mailing list