![]() |
![]() |
|
|
Compare Products, Prices & Stores For: COMPUTERS, COMPONENTS, COMPUTER ACCESSORIES, COMPUTER MEMORY, HARDWARE, INPUT DEVICES, NETWORKING, PDAs & MOBILE ELECTRONICS, SOFTWARE, STORAGE & MEDIA, DIGITAL CAMERAS, HOME AUDIO, TV& VIDEO |
|
|
|
|
#1
|
|||
|
|||
|
Ncid
|
|
#2
|
|||
|
|||
|
Quote:
What version of Tivo are you running ncid with? |
|
#3
|
||||
|
||||
|
NCID version 0.64 has been released. It has fixes for the server termination problem, and it has new features.
There is a new client, called ncidsip. It uses SIP Invite to obtain VOIP Caller ID information, and then sends it to the server as a CID message. The server now supports multiple lines: one standard telephone line (can have distinctive ring lines), and multiple VOIP lines. The server can be configured without a modem and just use one or more CID clients like ncidsip. The alias configuration command has been expanded to alias the line indicator used by distinctive ring and ncidsip. The ncid client will display the line indicator in its history window, but TiVoCID will not yet display it on the TiVo. See the web page and Release Notes for more information. The included tools; cidalias, cidcall, cidupdate, and ncidsip are Perl programs. If you put Perl in /var/hack/bin they will find it. I only know of this Perl being available for a series 2: http://marc.abramowitz.info/archive...-tivo-series-2/ there may be another. In addition ncidsip requires the Net-Pcap Perl module: http://search.cpan.org/CPAN/authors....12/Pcap.tar.gz and it requires libpcap: http://sourceforge.net/projects/libpcap/ Hopefully someone can make binaries. Its possible to rewrite ncidsip using tcl, but you need a interface to libpcap. I found tclpcap at http://tclpcap.sourceforge.net/ so if anyone is interested in doing this, contact me at sourceforge. The display program, out2osd, still does not work with 7.2. If anyone has modified libosd to work, or if anyone knows of a program that will take a text line and display under 7.2 let me know. TiVoCID can pipe its output to any display program.
__________________
John |
|
#4
|
||||
|
||||
|
Quote:
__________________
-- Christopher D. Heer Quote:
|
|
#5
|
||||
|
||||
|
NCID version 0.65 has been released.
The TiVo display was fixed and updated to display the optional line indicator and messages. NCIDsip was improved. NCID was modified to accept NCIDINFO messages. This allows the VOIP CID client to send a CANCEL message when a call is aborted before pickup. The client can test for this and output to a output module when it receives a CANCEL notification. Thus a cell phone can be sent a message only if the phone is not answered.
__________________
John |
|
#6
|
|||
|
|||
|
Quote:
Does the new version support TiVo 7.2.2b. I know there was some issues with the front buffer and was curious if this has been resolved yet. Thanks. |
|
#7
|
||||
|
||||
|
Quote:
__________________
John |
|
#8
|
|||
|
|||
|
Does this help?
Code:
bash-2.02# /tvbin/text2osd --help
/tvbin/text2osd: unrecognized option `--help'
/tvbin/text2osd
--line <line number>
--message <string>
--xscale <number>
--yscale <number>
--bgscolor [<num num num, r-g-b values>][<string,red|green|blue|white|black>]
--fgscolor [<num num num, r-g-b values>][<string,red|green|blue|white|black>]
--clear
Last edited by Jamie; 07-01-2006 at 05:25 PM. |
|
#9
|
||||
|
||||
|
It could help. Does it take over the whole screen or just the line displayed? Once it displays something, do you need to clear it with /tvbin/text2osd --clear? I assume line 1 is at the top? Is line 1 the default?
__________________
John |
|
#10
|
|||
|
|||
|
Quote:
Quote:
Quote:
It might be that with a little effort with gdb and/or strace, we could figure out what text2osd is doing and adapt libosd accordingly. |
|
#11
|
||||
|
||||
|
Quote:
libosd 0.4.1 and my patches for the cross compilers can be found here: http://dealdatabase.com/forum/showth...ghlight=libosd This is the part of brcm.c that fails and prints: Couldn't find or create shared front buffer Code:
if (bSurfaceGetSharedSurface(5, &surf) != 0) {
//printf(" creating our own...\n");
bSurfaceCreate(&dev_handle, 720, 480, 3, &surf);
bSurfaceShareSurface(surf, 5);
}
if (surf == 0) {
printf("Couldn't find or create shared front buffer\n");
bcmDeviceClose(&dev_handle);
return 0;
}
Code:
if(ioctl(fd_gfx, 0xc00c62f2, &data) < 0) return 7; // bSurfaceGetSharedSurface() if (ioctl(fd_gfx, 0xc01462c1, &data) != 0) return 7; // bSurfaceCreate() if (ioctl(fd_gfx, 0xc00c62f1, &data) != 0) return 7; // bSurfaceShareSurface()
__________________
John |
|
#12
|
|||
|
|||
|
Quote:
I have a newtext2osd that works now. I still have some problems with libosd. It can create the surface now, and the examples run, but there is a side effect: For some reason all the tivo menus are doubled up now, with the second copy horizonally shifted by 1/2 character. It seems like libosd may be leaving the shared surface in a funny state that messes up the tivo menus. "text2osd --clear" restores the normal menus. I'll look at it further in the next day or two as time permits. |
|
#13
|
||||
|
||||
|
Quote:
I looked at the code to get the shared surface and noticed it is defined to return an int, but it returns data.retval which is a long. In fact, the code for all bSurface functions may need checking to see if other variables should be changed from int16_t to int32_t.
__________________
John |
|
#14
|
|||
|
|||
|
Here's a patch to libosd-0.4.1 to get it to work with 7.x on Series2 hardware.
I misdiagnosed this a little bit in my last post. I was wrong about the datatype change. I think I was fooled when examining datastructures in memory because of padding for alignment within a struct. As usual, AllDeadHomiez has travelled this path before us. In the tivovbi distribution, bcmosd.c has already been fixed for the newer tivo software versions and for Series 2.5 hardware. The fix for 7.x is easy: use surface #1 if #5 fails. The libosd code had an explicit xoffset that was causing the menu shift I saw. I disabled that if surface #1 is used rather than #5. Even with the attached patch, libosd still doesn't work on Series 2.5 hardware (R10, nightlite models, etc). The ADH changes to tivovbi handle that too, but the changes are more complicated, and I haven't take then time yet to adapt it to libosd. Last edited by Jamie; 07-04-2006 at 09:58 AM. |
|
#15
|
||||
|
||||
|
Quote:
No luck at getting the Net::Pcap module for perl. When I try to install it using the CPAN module on the tivo it dies: Can't locate auto/DynaLoader/dl_findfile.al in @INC That file doesn't seem to be in the perl 5.8.5 package I got from marc.abramowitz.info. I tried pretty unsuccessfully to build 5.8.8 myself. Seems like it might be better to go the tcl route. Now I just need to learn tcl... heh
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|