![]() |
How to use led? (Fremantle/Qt 4.6)
Hi,
I would like to make led blink in my app, couldn't find any examples or documentation about it. So how is it done? If you don't know but you do know some (preferably quite small) app which uses led, please tell which app so I can check the source code. |
Re: How to use led? (Fremantle/Qt 4.6)
dbus-send --system --type=method_call --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_led_pattern_activate string:PatternCommunicationIM
The various patterns can be found in /etc/mce/mce.ini You can also add your own there (caution if you edit this file!!!) |
Re: How to use led? (Fremantle/Qt 4.6)
Maybe it would be better to use the low-level /sys interface? There's a little documentation in the wiki: http://wiki.maemo.org/LED_patterns#Low_Level
That way you could just use custom patterns without messing with a configuration file. |
Re: How to use led? (Fremantle/Qt 4.6)
How to stop the blinking? :D
|
Re: How to use led? (Fremantle/Qt 4.6)
Quote:
|
Re: How to use led? (Fremantle/Qt 4.6)
Quote:
|
Re: How to use led? (Fremantle/Qt 4.6)
Quote:
|
Re: How to use led? (Fremantle/Qt 4.6)
Quote:
|
Re: How to use led? (Fremantle/Qt 4.6)
Ok :)
Is it possible to do the dbus-send thingie and put somehow a custom pattern instead of those in the configuration file? |
Re: How to use led? (Fremantle/Qt 4.6)
Quote:
To add new patterns, you have to edit /etc/mce/mce.ini. |
All times are GMT. The time now is 14:17. |
vBulletin® Version 3.8.8