Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    LED Blinking

    Reply
    Page 1 of 3 | 1   2     3   | Next
    LABAUDIO | # 1 | 2009-03-20, 16:33 | Report

    i wanna know if its possible to make a little application for custumize the led color/function


    here i found a tip
    http://xel.fi/blog/view/2/maemo-how-...he-led-on-n810

    but iam just a simply user and iam very far noob for programing something for that...


    the idea is to make an application for configure your own pattern of led whit all colors for differents purpose...

    exemple... flash red led every 3 second for new mail instead the blue one...

    or

    flash green led every 5 second if you have a new rss feed

    anyway...

    its very suprising then nobody make a very good and improve application for manage and custumise as well all the LED possibility we can make it whit this LED signal

    cheers

    a dreamer

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by LABAUDIO; 2009-03-20 at 16:46.
    The Following User Says Thank You to LABAUDIO For This Useful Post:
    meizirkki

     
    TrueJournals | # 2 | 2009-03-20, 18:06 | Report

    Look into editing /etc/mce/mce.ini

    Edit | Forward | Quote | Quick Reply | Thanks

     
    LABAUDIO | # 3 | 2009-03-20, 18:13 | Report

    i dont talk about changing setting by changing code in some config file but a complete application to play and configure/custumised all led possibility

    very very different think here

    its like difference between using notepad for coding a webpage VS using a complete CS4 creative suite lol

    but tx for regards...

    Edit | Forward | Quote | Quick Reply | Thanks

     
    ciroip | # 4 | 2009-03-20, 18:27 | Report

    Originally Posted by LABAUDIO View Post
    i dont talk about changing setting by changing code in some config file but a complete application to play and configure/custumised all led possibility

    very very different think here

    its like difference between using notepad for coding a webpage VS using a complete CS4 creative suite lol

    but tx for regards...
    I plan to use the leds for this kind of stuff in some future project: I did some experiments with a flipclock app. cycling trough some colors, using led for a 'mood' mode, to notify the tap on the screen and show a partially dimmed red to remind that the clock is on:
    http://www.internettablettalk.com/fo...ad.php?t=25582
    the 1.2 is last version have the led things enabled: Jolouis toke over the coding now and he is fixing my cr8ppy code so he suspended the led features: U can take a look at the python source/scripts to check how I managed to change the led.
    If you dont want bore installing it there is a youtube clip.
    Happy weekend

    Edit | Forward | Quote | Quick Reply | Thanks

     
    LABAUDIO | # 5 | 2009-03-20, 18:33 | Report

    Originally Posted by ciroip View Post
    ...
    If you dont want bore installing it there is a youtube clip.
    Happy weekend...
    that so cool if someday a complete application be made it for make a different pattern whit led or an advanced setting application for manage more option we can make it whit led instead the default setting menu


    TX bro

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by LABAUDIO; 2009-03-20 at 18:40.

     
    ciroip | # 6 | 2009-03-20, 18:43 | Report

    Originally Posted by LABAUDIO View Post
    that so cool if someday a complete application be made it for make a different pattern whit led or an advanced setting application for manage more option we can make it whit led instead the default setting menu

    TX bro
    ...just because I collect flags on my blog world map and I need a canadian...

    http://ciroip.blogspot.com/2009/03/flipclock013.html

    Edit | Forward | Quote | Quick Reply | Thanks

     
    LABAUDIO | # 7 | 2009-03-20, 18:51 | Report

    Originally Posted by ciroip View Post
    ...just because I collect flags on my blog world map and I need a canadian...

    http://ciroip.blogspot.com/2009/03/flipclock013.html
    Iam a french canadian but not bad in english too


    let me know if you need somethink more then a flag or how i can appears your first canadian lol

    Edit | Forward | Quote | Quick Reply | Thanks

     
    TrueJournals | # 8 | 2009-03-22, 04:15 | Report

    Originally Posted by LABAUDIO View Post
    i dont talk about changing setting by changing code in some config file but a complete application to play and configure/custumised all led possibility

    very very different think here
    So, what you really want is some kind of frontend application to edit mce.ini for you. Hmmm... I have spring break this weekend, maybe I'll look into whipping up something like this. No guarantees, though.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    ciroip | # 9 | 2009-03-22, 09:32 | Report

    Originally Posted by TrueJournals View Post
    So, what you really want is some kind of frontend application to edit mce.ini for you. Hmmm... I have spring break this weekend, maybe I'll look into whipping up something like this. No guarantees, though.
    I tried the mce.ini approach but I felt a bit uncomfortable to modify a system file (and I did not find a lot of docs anyway). I eneded up with a bit more direct solution that probably works just for 1 OS version and 1 hardware model: in this specific case N810 with Diablo:
    Code:
        set_mode("direct")
        value = "%X:%X:%X" % (ci.r,ci.g,ci.b)
        FILE = open("/sys/devices/platform/i2c_omap.2/i2c-0/0-0032/color","w")
        FILE.write(value)
        FILE.close()

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to ciroip For This Useful Post:
    attila77

     
    TrueJournals | # 10 | 2009-03-22, 13:21 | Report

    I realize that you can make the LED blink without editing mce.ini, but this isn't what was requested. He wanted to change the LED patterns for different events. His example was making the red LED blink for a new e-mail instead of the blue one. As far as I'm aware, this requires editing mce.ini to change the new e-mail pattern to use the red LED instead of the blue LED. This is why I suggested just editing mce.ini in the first place -- a text editor is all that's needed.

    Also, just scanning mce.ini, there seems to be some pretty good documentation in the file itself.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to TrueJournals For This Useful Post:
    ciroip, LABAUDIO, timsamoff

     
    Page 1 of 3 | 1   2     3   | Next
vBulletin® Version 3.8.8
Normal Logout