Caller ID displayed on your LinHES screen

Version 8 (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 2 jzigmyth
install make (didn't come with R6.02)
21 2 jzigmyth
get NCID. Latest version as of 4-3-10 is 0.76
22 2 jzigmyth
make package
23 2 jzigmyth
make package-install
24 2 jzigmyth
edit the configuration files for ncidd and ncid
25 2 jzigmyth
install ncidd as a service
26 1
install ncid as a service
27 1
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 3 jzigmyth
All as root:
34 8 jzigmyth
<pre>
35 8 jzigmyth
pacman -S make
36 8 jzigmyth
</pre>
37 3 jzigmyth
38 7 jzigmyth
@ @
39 1
@ @
40 1
@ @
41 1
Now get the NCID source:
42 8 jzigmyth
<pre>
43 8 jzigmyth
cd /root
44 8 jzigmyth
mkdir ncidsrc
45 8 jzigmyth
cd ncidsrc
46 8 jzigmyth
wget http://sourceforge.net/projects/ncid/files/ncid/0.76/ncid-0.76-src.tar.gz/download
47 8 jzigmyth
tar xvzf ncid-0.76-src.tar.gz
48 8 jzigmyth
</pre>
49 1
@ @
50 1
@ @
51 1
52 1
Now make and install NCID:
53 8 jzigmyth
<pre>
54 8 jzigmyth
cd ncid
55 8 jzigmyth
make package
56 8 jzigmyth
make package-install
57 8 jzigmyth
</pre>
58 1
@ @
59 7 jzigmyth
@ @
60 7 jzigmyth
@ @
61 8 jzigmyth
Now 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).  
62 7 jzigmyth
63 1
edit  /etc/ncid/ncidd.conf and change:
64 7 jzigmyth
65 8 jzigmyth
<pre>
66 8 jzigmyth
#####################
67 8 jzigmyth
# TTY Configuration #
68 8 jzigmyth
#####################
69 8 jzigmyth
70 8 jzigmyth
# The default tty port: /dev/modem
71 8 jzigmyth
# set ttyport = /dev/cu.modem # Macintosh OS X
72 8 jzigmyth
# set ttyport = /dev/ttyS0
73 8 jzigmyth
set ttyport = /dev/ttyS1
74 8 jzigmyth
</pre>
75 5 jzigmyth
76 5 jzigmyth
77 5 jzigmyth
78 5 jzigmyth
79 5 jzigmyth
80 5 jzigmyth
81 5 jzigmyth
82 6 jzigmyth
83 5 jzigmyth
h3. More coming soon.
84 5 jzigmyth
85 1
Ignore the attached files below.  Maybe someone can delete them for me.  I can't seem to do it!