Page 10 of 12 FirstFirst ... 89101112 LastLast
Results 136 to 150 of 174

Thread: Series 3 caller ID: NCID

  1. #136
    Join Date
    May 2007
    Posts
    456
    Quote Originally Posted by jlc View Post
    Last time I looked at the problem where the ncidd server stopped working, it was the modem that quit sending CID information to ncidd. When that happens you either need to restart ncidd which configures the modem for CID at startup or just have ncidd reconfigure the modem without restarting. If you run the initmodem script from a cron entry, it should fix the problem by having ncidd reconfigure the modem for Caller ID.
    That worked, I was figured out the changes needed in the initmodem script to point it to my ncidd.conf file and ps command and she's a working. Works perfect.

  2. #137
    Join Date
    Jul 2001
    Posts
    130
    Is it possible to pause the HME app and use text2osd without causing a reboot?
    John

  3. #138
    Join Date
    Mar 2005
    Posts
    235
    I will be bold and say no. I think it is more like the HME app is putting the broadcom ABI in a state that when we call text2osd we are causing the reboot. The only option I see is to avoid calling text2osd when we are in that state, or to take it out of that state. The easiest way to take it out of that state is to issue a tivo remote command "LiveTv", although this might not be the ideal user experience...

  4. #139
    Join Date
    Mar 2005
    Posts
    235
    I see these hints in tvlog for HME. Are there hints like this for Netflix?
    Code:
    HME[405]: TvHmeHostActivity::EnterScreen()
    HME[405]: TvHmeHostActivity::ExitScreen()

  5. #140
    Join Date
    Apr 2005
    Location
    Providence, RI
    Posts
    484
    I've been really remiss in that I've known about the text2osd/osdwriter problem for ages, and did put together a solution that I never posted. Writing to the screen when any HME app (such as Netflix) is running will indeed cause a reboot, either immediately or eventually. If a call comes in while watching a movie there's no way to save it. The problem is nothing to do with NCID, and looks similar to the MSG_MAX_PER_CLIENT hangups when using routerplus.
    The solution that I came up with disables caller-id when HME is running. It's an update to my ncid-fly script, which works well on Series 3 boxes but needs some bug-squashing for Series 2s. I'll do my best to package everything up and get it posted soon.
    More software at http://davidlauria.com/software.
    The lost alt-rock masterpiece from the '90s, Range of Motion's "Soft Buzz of Silence", is now available on iTunes!

  6. #141
    Join Date
    Apr 2005
    Location
    Providence, RI
    Posts
    484
    Yup! All HME apps write that upon startup. I'm using rsyslog to set a flag when those messages come through, and if the flag is set then caller-id doesn't run...
    More software at http://davidlauria.com/software.
    The lost alt-rock masterpiece from the '90s, Range of Motion's "Soft Buzz of Silence", is now available on iTunes!

  7. #142
    Join Date
    Mar 2005
    Posts
    235
    Did you replace the builtin syslogd daemon with rsyslog. I'm not familiar with rsyslog, does it allow you to put watch strings in? If you didn't want to replace syslogd, you could use a tcl script, or c program that reads tvlog (and watches for log rolls). I have code that does that. Watching the log file is exactly what I was thinking when I mentioned trying to determine if the UI was currently in an HME prior to calling NCID. I used the same method for xfer_delete to detect MRV transfers.

  8. #143
    Join Date
    Apr 2005
    Location
    Providence, RI
    Posts
    484
    I knew I had seen something else that watched the log file, I'm glad this came up... rsyslog is a drop in replacement for syslog, but with the added benefit of message filtering and the ability to call programs. This way, you don't have to run a separate tcl or bash script to watch the log file. It's incredibly fast and rock-solid reliable. I also wrote a short C program that can be used to set/remove a flag file when called by rsyslog.
    I'll post all of it later today.
    More software at http://davidlauria.com/software.
    The lost alt-rock masterpiece from the '90s, Range of Motion's "Soft Buzz of Silence", is now available on iTunes!

  9. #144
    Join Date
    Mar 2005
    Posts
    235
    Thanks. Sounds useful. There are times when I wouldn't mind supressing messages from filling up the log files.

  10. #145
    Join Date
    Apr 2005
    Location
    Providence, RI
    Posts
    484
    OK, I've uploaded both rsyslog and ncid-fly to the files sections. Let me know how these are working for you!
    rsyslog: http://www.dealdatabase.com/forum/sh...-rsyslog-5-8-4
    fly2osd (contains ncid-fly): http://www.dealdatabase.com/forum/sh...y2osd&p=315611
    More software at http://davidlauria.com/software.
    The lost alt-rock masterpiece from the '90s, Range of Motion's "Soft Buzz of Silence", is now available on iTunes!

  11. #146
    Join Date
    Jul 2001
    Posts
    130
    Quote Originally Posted by djl View Post
    OK, I've uploaded both rsyslog and ncid-fly to the files sections. Let me know how these are working for you!
    rsyslog: http://www.dealdatabase.com/forum/sh...-rsyslog-5-8-4
    fly2osd (contains ncid-fly): http://www.dealdatabase.com/forum/sh...y2osd&p=315611
    Thanks David for your solution to the HME problem. The startncid script already supports ncid-fly so if your new instructions are followed and ncid-fly is enabled instead of ncid-tivo, the HME problem should be history. The comments for ncid-fly in the startncid script will be updated for your new work.
    John

  12. #147
    Join Date
    Jun 2002
    Posts
    8
    I can't get ncid-fly to work. The command line test works fine. Where to the ncid-fly files and directories go? There are fonts and lib files and I'm not sure I have them in the correct spot.

  13. #148
    Join Date
    Apr 2005
    Location
    Providence, RI
    Posts
    484
    If the test works fine, then all of the files are in the right spot. When you say that you can't get it to work, do you mean that caller-id doesn't come up when you get a call? How are you calling the program?

    Quote Originally Posted by rcflyer View Post
    I can't get ncid-fly to work. The command line test works fine. Where to the ncid-fly files and directories go? There are fonts and lib files and I'm not sure I have them in the correct spot.
    More software at http://davidlauria.com/software.
    The lost alt-rock masterpiece from the '90s, Range of Motion's "Soft Buzz of Silence", is now available on iTunes!

  14. #149
    Join Date
    Jul 2001
    Posts
    130
    Quote Originally Posted by djl View Post
    If the test works fine, then all of the files are in the right spot. When you say that you can't get it to work, do you mean that caller-id doesn't come up when you get a call? How are you calling the program?
    I was looking at ncid-fly in your fly2osd package and do not think it will function with ncid using the command given in reaadme.txt or in the ncid-fly script:
    Code:
    ncid --no-gui --program ncid-fly &
    That command line looks in /var/hack/share/ncid/ for ncid-fly. To have it look at another location it needs a path starting with a '/'. The startncid script supports calling ncid-fly as above so I would like to suggest you repackage it so when it is untared in /var it produces something like:
    Code:
    hack/bin/fly
    hack/bin/fly2osd
    hack/share/pixmap/fly/blank.png
    hack/share/pixmap/fly/phone.png
    hack/share/ncid/ncid-fly
    hack/share/fonts/<font file>
    hack/lib/<lib files>
    The ncid-fly script needs to be modified for the above, but it can be simplified since startncid handles PATH and LD_LIBRARY_PATH.
    John

  15. #150
    Join Date
    Apr 2005
    Location
    Providence, RI
    Posts
    484
    You're right, John, the command line has to be absolute for the script to run, such as:
    Code:
    ncid --no-gui --program /path_to/ncid-fly &
    The above works fine, I've been using it for some time now.

    I hadn't thought about startncid compatibility and will look at that this weekend. The directory structure came about not because of ncid-fly, but because of the fly2osd script (which isn't finished yet.) In other words, it was more for eventual Tivoweb compliance. I suppose I could package up ncid-fly separately, I just wanted to keep all of this material together.
    More software at http://davidlauria.com/software.
    The lost alt-rock masterpiece from the '90s, Range of Motion's "Soft Buzz of Silence", is now available on iTunes!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •