RE: capturing key presses on N770

2010-06-30 Thread Vinod Nanjaiah
Finally, I found a flasher-3.0 executable which did the trick.

Thank you,
Vinod


From: Frank Banul [mailto:frank.ba...@gmail.com]
Sent: Tuesday, June 29, 2010 7:14 PM
To: Vinod Nanjaiah
Cc: maemo-developers@maemo.org
Subject: Re: capturing key presses on N770

Does http://maemo.org/downloads/product/OS2006/becomeroot/ do the trick?

Frank
On Tue, Jun 29, 2010 at 6:49 AM, Vinod Nanjaiah 
vinod_nanja...@mindtree.commailto:vinod_nanja...@mindtree.com wrote:
Hi,
I cross compiled and ran evkey.c but got an error.

$ ./evkey -d /dev/input/event0
evdev open: permission denied

I guess I have to run this as root.
But, I could not find a .deb file for rootsh/becomeroot.
I could not find the flasher.exe also for N770 to enable root.
Please help.

I also tried installing powerlaunch. But failed to find
the dependencies for it - libglade2.
Is there any single repository from which I can download
the required .deb files for N770.
Thank you,
Vinod


From: Frantisek Dufka [duf...@seznam.czmailto:duf...@seznam.cz]
Sent: Monday, June 28, 2010 9:07 PM
To: Vinod Nanjaiah
Cc: maemo-develop...@maemo.orgg
Subject: Re: capturing key presses on N770

Vinod Nanjaiah wrote:
 Hi,
 I am trying to capture key presses of the Hard keys (Up, Down, Left,
 Right, Home, etc) on Nokia N770.
 Is it possible to do so using a simple c program or shell script?

Not sure what is the scenario you want to use it for. For low level
access you can use kernel input subsystem directly

see e.g. evkey.c [1] and its usage in bootmenu.sh [2]. Just beware that
different devices have different device names and key events still go to
the rest of the system.

For playing nice with the system using powerlaunch [3] is indeed better.
I am not aware of 770 version (the author [4] has/had N800) but the
source is here [4]. Maybe it could build fine at least in OS2007 hacker
edition.

Frantisek

1.
https://garage.maemo.org/plugins/scmsvn/viewcvs.php/tags/bootmenu_0_1/?root=bootmenu
2.
https://garage.maemo.org/plugins/scmsvn/viewcvs.php/trunk/bootmenu/files/?root=bootmenu

3. http://powerlaunch.garage.maemo.org/

4. http://austinche.name/maemo/index.html
5.
http://repository.maemo.org/extras-devel/pool/diablo/free/source/p/powerlaunch/

http://www.mindtree.com/email/disclaimer.html

___
maemo-developers mailing list
maemo-developers@maemo.orgmailto:maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


RE: maemo-developers Digest, Vol 62, Issue 29

2010-06-29 Thread Vinod Nanjaiah
Hi,
I cross compiled and ran evkey.c but got an error.

$ ./evkey -d /dev/input/event0
evdev open: permission denied

I guess I have to run this as root.
But, I could not find a .deb file for rootsh/becomeroot.
I could not find the flasher.exe also for N770 to enable root. 
Please help.

I also tried installing powerlaunch. But failed to find 
the dependencies for it - libglade2. 
Is there any single repository from which I can download 
the required .deb files for N770.

Thank you,
Vinod


From: Frantisek Dufka [duf...@seznam.cz]
Sent: Monday, June 28, 2010 9:07 PM
To: Vinod Nanjaiah
Cc: maemo-develop...@maemo.orgg
Subject: Re: capturing key presses on N770

Vinod Nanjaiah wrote:
 Hi,
 I am trying to capture key presses of the Hard keys (Up, Down, Left,
 Right, Home, etc) on Nokia N770.
 Is it possible to do so using a simple c program or shell script?

Not sure what is the scenario you want to use it for. For low level
access you can use kernel input subsystem directly

see e.g. evkey.c [1] and its usage in bootmenu.sh [2]. Just beware that
different devices have different device names and key events still go to
the rest of the system.

For playing nice with the system using powerlaunch [3] is indeed better.
I am not aware of 770 version (the author [4] has/had N800) but the
source is here [4]. Maybe it could build fine at least in OS2007 hacker
edition.

Frantisek

1.
https://garage.maemo.org/plugins/scmsvn/viewcvs.php/tags/bootmenu_0_1/?root=bootmenu
2.
https://garage.maemo.org/plugins/scmsvn/viewcvs.php/trunk/bootmenu/files/?root=bootmenu

3. http://powerlaunch.garage.maemo.org/

4. http://austinche.name/maemo/index.html
5.
http://repository.maemo.org/extras-devel/pool/diablo/free/source/p/powerlaunch/

http://www.mindtree.com/email/disclaimer.html

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


RE: capturing key presses on N770

2010-06-28 Thread Vinod Nanjaiah
Hi,
I came across Powerlaunch which can capture and map a hard key to any user 
defined action.
But, can Powerlaunch work while running in the background or does it need to 
run in the foreground?
BTW, I was not able to find a .deb package for powerlaunch - Any links from 
where this can be downloaded?

Frank, thanks for your input.

Thank you,
Vinod

From: Frank Banul [mailto:frank.ba...@gmail.com]
Sent: Friday, June 25, 2010 7:54 PM
To: Vinod Nanjaiah
Cc: maemo-developers@maemo.org
Subject: Re: capturing key presses on N770

Hi,

With C and GTK it's certainly possible, I do so in TabletBridge. 
https://garage.maemo.org/projects/tabletsb/

Frank
On Fri, Jun 25, 2010 at 7:21 AM, Vinod Nanjaiah 
vinod_nanja...@mindtree.commailto:vinod_nanja...@mindtree.com wrote:
Hi,
I am trying to capture key presses of the Hard keys (Up, Down, Left, Right, 
Home, etc) on Nokia N770.
Is it possible to do so using a simple c program or shell script?
Any pointers are welcome.

Thank you,
Vinod


http://www.mindtree.com/email/disclaimer.html
___
maemo-developers mailing list
maemo-developers@maemo.orgmailto:maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


capturing key presses on N770

2010-06-25 Thread Vinod Nanjaiah
Hi,
I am trying to capture key presses of the Hard keys (Up, Down, Left, Right, 
Home, etc) on Nokia N770.
Is it possible to do so using a simple c program or shell script?
Any pointers are welcome.

Thank you,
Vinod


http://www.mindtree.com/email/disclaimer.html
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Media player on N770

2008-01-31 Thread Vinod Nanjaiah
Hi!
Has anyone written a fully functional video player using Gstreamer, for N770?
I have some issue with media seek functionality on N770. 
Any pointers are welcome.

BTW, does the default video/audio player on N770 use Gstreamer?
I wonder how seek works flawlessly on that.

Regards,
Vinod


DISCLAIMER:
This message (including attachment if any) is confidential and may be 
privileged. If you have received this message by mistake please notify the 
sender by return e-mail and delete this message from your system. Any 
unauthorized use or dissemination of this message in whole or in part is 
strictly prohibited.
E-mail may contain viruses. Before opening attachments please check them for 
viruses and defects. While MindTree Consulting Limited (MindTree) has put in 
place checks to minimize the risks, MindTree will not be responsible for any 
viruses or defects or any forwarded attachments emanating either from within 
MindTree or outside.
Please note that e-mails are susceptible to change and MindTree shall not be 
liable for any improper, untimely or incomplete transmission.
MindTree reserves the right to monitor and review the content of all messages 
sent to or from MindTree e-mail address. Messages sent to or from this e-mail 
address may be stored on the MindTree e-mail system or else where.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


seek on video - N770

2008-01-24 Thread Vinod Nanjaiah
Hi!

I am facing a problem in the media player that I have 

developed on N770.

The problem is that I am unable to seek on video. 

The moment I use seek api gst_element_seek (), the video 

pauses and then doesn't contunue at all.

 

Is there some inherent problem in the framework that needs a workaround?

Are there some libraries or something else that I need to upgrade?

 

I see that the default video player is able to seek video properly. 

If that is also using Gstreamer, then what is it doing differently...any
idea?

 

Regards,

Vinod

 

 



DISCLAIMER:
This message (including attachment if any) is confidential and may be 
privileged. If you have received this message by mistake please notify the 
sender by return e-mail and delete this message from your system. Any 
unauthorized use or dissemination of this message in whole or in part is 
strictly prohibited.
E-mail may contain viruses. Before opening attachments please check them for 
viruses and defects. While MindTree Consulting Limited (MindTree) has put in 
place checks to minimize the risks, MindTree will not be responsible for any 
viruses or defects or any forwarded attachments emanating either from within 
MindTree or outside.
Please note that e-mails are susceptible to change and MindTree shall not be 
liable for any improper, untimely or incomplete transmission.
MindTree reserves the right to monitor and review the content of all messages 
sent to or from MindTree e-mail address. Messages sent to or from this e-mail 
address may be stored on the MindTree e-mail system or else where.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers