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.
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
I have solved the screen timeout thanks to an earlier post from ArnimS (Thanks)
I have set the screen PS timeouts to 10 hours a piece using the following commands:
gconftool-2 -s "/system/osso/dsm/display/display_dim_timeout" 36000 -t INT
gconftool-2 -s "/system/osso/dsm/display/display_blank_timeout" 36000 -t INT
I would be interested in a absolute minimum list of daemons in /etc/rc2.d in order to support ONLY the following:
DBus HAL messages for the battery
SSH
Wifi
BlueTooth
GPS
I will try just disabling them one at a time to see what happens but it would be nice to know what each one does - Anyone?
By the way, I solved the problem with /media/mmc2 using the following command
mount /dev/mmcblk0p1 /media/mmc2 - I guess I could just add it to /etc/fstab?
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