Caller ID displayed on your LinHES screen

Version 10 (jzigmyth, 06/13/2010 03:28 pm)

1 1
h1. Caller ID displayed on you LinHES screen
2 1
3 2 jzigmyth
h3. This wiki entry is in progress.  I'll delete this line when it's done.  Thanks for waiting.
4 2 jzigmyth
5 2 jzigmyth
6 2 jzigmyth
In order to get your TV to display caller ID info while watching MythTV, you need to install NCID (network caller ID).  NCID consists of the ncid server daemon (ncidd) and the ncid client program (ncid).  The modem connects to the server and it makes the caller ID info available to all the clients on the network.
7 2 jzigmyth
8 2 jzigmyth
h3. Requirements:
9 2 jzigmyth
10 3 jzigmyth
*1) Caller ID capable modem.*  This can be an external serial modem, external USB modem or internal modem, but it must have caller ID capabilities.  USB and internal modems may need other drivers installed to work.  NCID can also get Caller ID info from a voip system or a YAC server.  
11 2 jzigmyth
12 3 jzigmyth
*2) NCID (network caller ID) package* consisting of the ncid server daemon (ncidd) and the ncid client program (ncid)
13 2 jzigmyth
14 2 jzigmyth
15 2 jzigmyth
16 2 jzigmyth
This article will focus on installing the server and the client on your stand alone LinHES 6.02 box using an external serial modem.
17 2 jzigmyth
18 2 jzigmyth
h3. General outline:
19 2 jzigmyth
20 10 jzigmyth
* install make (didn't come with R6.02)
21 10 jzigmyth
* get NCID. Latest version as of 4-3-10 is 0.76
22 10 jzigmyth
* make package
23 10 jzigmyth
* make package-install
24 10 jzigmyth
* edit the configuration files for ncidd and ncid
25 10 jzigmyth
* install ncidd as a service
26 10 jzigmyth
* install ncid as a service
27 10 jzigmyth
* in that order
28 3 jzigmyth
29 3 jzigmyth
h3. Detailed outline:
30 3 jzigmyth
31 3 jzigmyth
At the time of this writing, LinHES does not have the make utilty installed by default, so we start by installing make.
32 3 jzigmyth
33 10 jzigmyth
* All as root:
34 8 jzigmyth
<pre>
35 8 jzigmyth
pacman -S make
36 8 jzigmyth
</pre>
37 3 jzigmyth
38 10 jzigmyth
* Next get the NCID source:
39 8 jzigmyth
<pre>
40 8 jzigmyth
cd /root
41 8 jzigmyth
mkdir ncidsrc
42 8 jzigmyth
cd ncidsrc
43 1
wget http://sourceforge.net/projects/ncid/files/ncid/0.76/ncid-0.76-src.tar.gz/download
44 1
tar xvzf ncid-0.76-src.tar.gz
45 8 jzigmyth
</pre>
46 1
47 9 jzigmyth
48 10 jzigmyth
* Next make and install NCID:
49 1
<pre>
50 1
cd ncid
51 8 jzigmyth
make package
52 1
make package-install
53 7 jzigmyth
</pre>
54 7 jzigmyth
55 10 jzigmyth
* Next edit the ncidd daemon config file to tell ncidd where your modem lives.  Mine is connected to ttyS1 (COM2) because I have a serial port IR receiver connected to to ttyS0 (COM1).  
56 9 jzigmyth
57 9 jzigmyth
edit  /etc/ncid/ncidd.conf and change this part:
58 7 jzigmyth
59 8 jzigmyth
<pre>
60 8 jzigmyth
#####################
61 8 jzigmyth
# TTY Configuration #
62 8 jzigmyth
#####################
63 8 jzigmyth
64 8 jzigmyth
# The default tty port: /dev/modem
65 8 jzigmyth
# set ttyport = /dev/cu.modem # Macintosh OS X
66 8 jzigmyth
# set ttyport = /dev/ttyS0
67 8 jzigmyth
set ttyport = /dev/ttyS1
68 8 jzigmyth
</pre>
69 5 jzigmyth
70 5 jzigmyth
71 5 jzigmyth
72 5 jzigmyth
73 5 jzigmyth
74 5 jzigmyth
75 5 jzigmyth
76 6 jzigmyth
77 5 jzigmyth
h3. More coming soon.
78 5 jzigmyth
79 1
Ignore the attached files below.  Maybe someone can delete them for me.  I can't seem to do it!