Thread
:
using embedded QT without hildon
View Single Post
aerod
2009-03-27 , 12:58
Posts: 13 | Thanked: 6 times | Joined on Oct 2008 @ England
#
1
Hi,
I have developed a stand alone QT application that I wish my N810 to run from startup instead of Hilton.
I have no problem getting the app to run by simply using SSH to access the command line and then running the following commands in order to stop hildon and the x-server.
/etc/init.d/af-base-apps stop
/etc/init.d/maemo-launcher stop
/etc/init.d/hildon-desktop stop
/etc/init.d/x-server stop
This works fine. I can run my QT app using the -qws switch and everything works a treat.
This is my problem. When I stop the above daemons running, by removing (i.e renaming) them from /etc/rc2.d rather than letting them start and then stopping them manually. I encounter two problems:
1 - The device /media/mmc2 no longer exists, this is the internal flash. /media/mmc1 (the SD card) does exist but it is no longer mounted. I have no problem mounting mmc2 but how do I get the N810 to detect mmc1?
2 - The screen auto blanks after a short period of time - This is causing me a big problem because I can't find any way to stop it! Touching the screen brings it back, so I guess it is a power saving function, however I do not want it as my application needs to remain visible without any user input.
What I am looking for is some advice on what is happening and what I need to do to stop it.
Is there an easy way of getting the unit to boot without the x server running and without auto blanking the screen? Also how do I get the device to detect mm1 without executing hildon-desktop?
Solutions that involve rebuilding the kernel are fine, just be a little patient and although I use Linux all day long, I am no guru
Any ideas?
Last edited by aerod; 2009-03-27 at
13:00
. Reason: typo in the title
Quote & Reply
|
aerod
View Public Profile
Send a private message to aerod
Find all posts by aerod