Does <a href="http://maemo.org/downloads/product/OS2006/becomeroot/">http://maemo.org/downloads/product/OS2006/becomeroot/</a> do the trick?<div><br></div><div>Frank<br><br><div class="gmail_quote">On Tue, Jun 29, 2010 at 6:49 AM, Vinod Nanjaiah <span dir="ltr"><<a href="mailto:Vinod_Nanjaiah@mindtree.com">Vinod_Nanjaiah@mindtree.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">Hi,<br>
I cross compiled and ran evkey.c but got an error.<br>
<br>
$> ./evkey -d /dev/input/event0<br>
evdev open: permission denied<br>
<br>
I guess I have to run this as root.<br>
But, I could not find a .deb file for rootsh/becomeroot.<br>
I could not find the flasher.exe also for N770 to enable root.<br>
Please help.<br>
<br>
I also tried installing powerlaunch. But failed to find<br>
the dependencies for it - libglade2.<br>
Is there any single repository from which I can download<br>
the required .deb files for N770.<br>
<br>
</div><div><div></div><div class="h5">Thank you,<br>
Vinod<br>
<br>
<br>
From: Frantisek Dufka [<a href="mailto:dufkaf@seznam.cz">dufkaf@seznam.cz</a>]<br>
Sent: Monday, June 28, 2010 9:07 PM<br>
To: Vinod Nanjaiah<br>
Cc: maemo-developers@maemo.orgg<br>
Subject: Re: capturing key presses on N770<br>
<br>
Vinod Nanjaiah wrote:<br>
> Hi,<br>
> I am trying to capture key presses of the Hard keys (Up, Down, Left,<br>
> Right, Home, etc) on Nokia N770.<br>
> Is it possible to do so using a simple c program or shell script?<br>
<br>
Not sure what is the scenario you want to use it for. For low level<br>
access you can use kernel input subsystem directly<br>
<br>
see e.g. evkey.c [1] and its usage in bootmenu.sh [2]. Just beware that<br>
different devices have different device names and key events still go to<br>
the rest of the system.<br>
<br>
For playing nice with the system using powerlaunch [3] is indeed better.<br>
I am not aware of 770 version (the author [4] has/had N800) but the<br>
source is here [4]. Maybe it could build fine at least in OS2007 hacker<br>
edition.<br>
<br>
Frantisek<br>
<br>
1.<br>
<a href="https://garage.maemo.org/plugins/scmsvn/viewcvs.php/tags/bootmenu_0_1/?root=bootmenu" target="_blank">https://garage.maemo.org/plugins/scmsvn/viewcvs.php/tags/bootmenu_0_1/?root=bootmenu</a><br>
2.<br>
<a href="https://garage.maemo.org/plugins/scmsvn/viewcvs.php/trunk/bootmenu/files/?root=bootmenu" target="_blank">https://garage.maemo.org/plugins/scmsvn/viewcvs.php/trunk/bootmenu/files/?root=bootmenu</a><br>
<br>
3. <a href="http://powerlaunch.garage.maemo.org/" target="_blank">http://powerlaunch.garage.maemo.org/</a><br>
<br>
4. <a href="http://austinche.name/maemo/index.html" target="_blank">http://austinche.name/maemo/index.html</a><br>
5.<br>
<a href="http://repository.maemo.org/extras-devel/pool/diablo/free/source/p/powerlaunch/" target="_blank">http://repository.maemo.org/extras-devel/pool/diablo/free/source/p/powerlaunch/</a><br>
<br>
<a href="http://www.mindtree.com/email/disclaimer.html" target="_blank">http://www.mindtree.com/email/disclaimer.html</a><br>
<br>
_______________________________________________<br>
maemo-developers mailing list<br>
<a href="mailto:maemo-developers@maemo.org">maemo-developers@maemo.org</a><br>
<a href="https://lists.maemo.org/mailman/listinfo/maemo-developers" target="_blank">https://lists.maemo.org/mailman/listinfo/maemo-developers</a><br>
</div></div></blockquote></div><br></div>