Page 2 of 9 FirstFirst 1234567 ... LastLast
Results 21 to 40 of 177
  1. mattickus's Avatar
    Posts
    87 Posts
    Global Posts
    96 Global Posts
    #21  
    Quote Originally Posted by mdmogren View Post
    Where is ipkg-opt located? I'm getting ipkg-opt not found?
    /opt/bin/ipkg-opt
  2. #22  
    Quote Originally Posted by mattickus View Post
    /opt/bin/ipkg-opt
    Thanks, found it and added to the path also.
  3. #23  
    No luck, followed the instructions and everything seems to have gone fine, but after reboot I sent myself a text and no LED??

    A little more detail: If i run the script from the scripts folder the LED comes on...

    "patch" wasn't in my path so i had to refer to it from /opt/bin/patch but it seemed to work fine?
  4. as4life's Avatar
    Posts
    577 Posts
    Global Posts
    733 Global Posts
    #24  
    i got the following:

    patching file notification-assistant.jsjsjs
    Hunk #1 succeeded at 207 (offset 18 lines).
    Hunk #2 FAILED at 240.
    1 out of 2 hunks FAILED -- saving rejects to file notification-assistant.jsjsjs.$rej$


    I believe i did some editing in this file. Where is the code supposed to go?
  5. #25  
    Ah, I did the patch before to show timestamps on texts, which i believe was the same file, probably why this isn't working for me, can someone post the orig file?
  6. Spunky424's Avatar
    Posts
    27 Posts
    Global Posts
    28 Global Posts
    #26  
    anyone else get this to work. this would be an awesome feature to add to the pre.
  7. #27  
    Quote Originally Posted by Keegan99 View Post
    One of the features I liked on my old Treo was the blinking green LED when I had a waiting text message. There's no such functionality out of the box for the Pre...
    Wow.

    In a few lines of code you alone did what Palm could not do.

    Hello, Palm, are you getting this?

    - Craig
  8. #28  
    I couldn't get it to work. I also did the time stamp mod, I wonder if that has anything to do with it. I noticed the latter part of the code was commented out in the time stamp mod.
  9. as4life's Avatar
    Posts
    577 Posts
    Global Posts
    733 Global Posts
    #29  
    i did the sms forwarding mod and open conversation in new card mod. Maybe thats whats not making it work? Does anyone know where the code is suppose to go?
  10.    #30  
    Quote Originally Posted by helfire View Post
    Your first command should be mount -o remount,rw /

    not
    mount -o remount rw, /
    That's what I get for copying and pasting from http://forums.precentral.net/web-os-...around-12.html
  11.    #31  
    Ok, since the changes are all rather local to one part of the file, go to line 191 (or thereabouts). It should be 'if (dashboard) {'

    Replace everything from that line (inclusive) on through the end of the function (it ends just before the line '// ISSUES: what are the error types? What is the max number / types of dashboards that we could have?') with this:

    Code:
            if (dashboard) {
                    var displayOn = this.Messaging.DisplayState.isDisplayOn();
                    dashboard.delegateToSceneAssistant("update");
                    if (!displayOn) {
                            this.controller.serviceRequest('palm://org.webosinternals.shell', {
                                    method: 'runCmd',
                                    parameters: {
                                            cmd: '/usr/palm/applications/com.palm.app.messaging/app/scripts/led_on.sh'}
                            });
                    }
            } else {
                    // Create a dashboard
                    var f = function(stageController){
                            stageController.pushScene('dashboardMessage', this.messageDashboardData);
                    }.bind(this);
                    var params = {
                            name: DashboardMessageStageName,
                            lightweight: true
                    };
    
                    var createDashboard = function(){
                            if (this.messageDashboardData.list.length > 0) {
                                    this.controller.createStageWithCallback(params, f, 'dashboard');
                            }
                            this.isNewMessageDashboardPending = false;
                    }.bind(this);
                    // delay creating the dashboard window for the case where the banner is clicked on
                    // to take you to the chat view.  This will likely result in the dashboard data
                    // being cleared.  If the dashboard data is empty, we do not need to create the dashboard.
                    if (this.Messaging.DisplayState.isDisplayOn()) {
                            if (!this.isNewMessageDashboardPending) {
                                    this.isNewMessageDashboardPending = true;
                                    createDashboard.delay(5);
                            }
                    } else {
                            createDashboard(); // if the screen is off, create the dashboard right away
                            this.controller.serviceRequest('palm://org.webosinternals.shell', {
                                    method: 'runCmd',
                                    parameters: {
                                            cmd: '/usr/palm/applications/com.palm.app.messaging/app/scripts/led_on.sh'}
                            });
                    }
            }
    };
  12. as4life's Avatar
    Posts
    577 Posts
    Global Posts
    733 Global Posts
    #32  
    i figured out that it conflicts with the following mod: pre dev wiki: Message Sound

    The led mod conflicts with the following code from the above link:

    // delay creating the dashboard window for the case where the banner is clicked on
    // to take you to the chat view. This will likely result in the dashboard data
    // being cleared. If the dashboard data is empty, we do not need to create the dashboard.
    // if (this.Messaging.DisplayState.isDisplayOn()) {
    if (!this.isNewMessageDashboardPending) {
    this.isNewMessageDashboardPending = true;
    createDashboard.delay(5);
    }

    // } else {
    // createDashboard(); // if the screen is off, create the dashboard right away
    // }
    Last edited by as4life; 07/07/2009 at 01:15 AM.
  13. #33  
    Can you access all the LEDs?
  14.    #34  
    Can you access all the LEDs?
    Yep. Just poke around in /sys/class/leds/

    The led mod conflicts with the following code from the above link:
    Should be easily reconciled. Just put the call after createDashboard.delay(5);, though you may need to up the delay time in the led_on.sh script.
  15. as4life's Avatar
    Posts
    577 Posts
    Global Posts
    733 Global Posts
    #35  
    Quote Originally Posted by Keegan99 View Post



    Should be easily reconciled. Just put the call after createDashboard.delay(5);, though you may need to up the delay time in the led_on.sh script.
    i tried adding the code here:
    if (!this.isNewMessageDashboardPending) {
    this.isNewMessageDashboardPending = true;
    createDashboard.delay(5);
    }
    } else {
    createDashboard(); // if the screen is off, create the d
    this.controller.serviceRequest('palm://org.webosinternal
    method: 'runCmd',
    parameters: {
    cmd: '/usr/palm/applications/com.palm.app.messaging/app/scripts/led_on.sh'}
    }

    // } else {
    // createDashboard(); // if the screen is off, create th
    // }
    }
    };

    Did i do it wrong?
  16. ualdayan's Avatar
    Posts
    76 Posts
    Global Posts
    78 Global Posts
    #36  
    I did this, and it doesn't appear to have negatively affected anything, but at the same time when I receive a text message nothing happens with the LED. It's as if I never did the mod at all.

    edit: Tried 3 times, same result each time. Phone doesn't behave abnormally, but the LED doesn't light up either for text/email/anything.

    Could this be the problem?

    He says do this:
    cd /usr/palm/applications/com.palm.app.messaging/
    mkdir scripts
    cd scripts

    but then in the notification changes he says:
    cmd: '/usr/palm/applications/com.palm.app.messaging/app/scripts/led_on.sh'}

    If you created the led_on.sh according to the instructions in the first post wouldn't it be in /usr/palm/applications/com.palm.app.messaging/scripts/led_on.sh and not what is listed as what you should put in notification.jsjsjs?
    Last edited by ualdayan; 07/07/2009 at 09:28 AM.
  17. as4life's Avatar
    Posts
    577 Posts
    Global Posts
    733 Global Posts
    #37  
    has anyone gotten this to work?
  18. ualdayan's Avatar
    Posts
    76 Posts
    Global Posts
    78 Global Posts
    #38  
    Quote Originally Posted by as4life View Post
    has anyone gotten this to work?
    Kind of. I moved the scripts folder to where it says it should be in notification.jsjsjs $and$ $when$ $I$ $receive$ $a$ $message$ $it$ $works$ $for$ $about$ $3$-$4$ $minutes$. $Then$ $it$ $stops$ $lighting$ $up$.
  19. as4life's Avatar
    Posts
    577 Posts
    Global Posts
    733 Global Posts
    #39  
    Quote Originally Posted by ualdayan View Post
    Kind of. I moved the scripts folder to where it says it should be in notification.jsjsjs $and$ $when$ $I$ $receive$ $a$ $message$ $it$ $works$ $for$ $about$ $3$-$4$ $minutes$. $Then$ $it$ $stops$ $lighting$ $up$.
    Have u done the mod i've noted? if so, how did u edit the code?
  20. as4life's Avatar
    Posts
    577 Posts
    Global Posts
    733 Global Posts
    #40  
    nvm i've got it to work finally! does ur led just light up or pulse?
Page 2 of 9 FirstFirst 1234567 ... LastLast

Posting Permissions