Caller ID displayed on your LinHES screen

Version 7 (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 3 jzigmyth
@pacman -S make@
35 3 jzigmyth
36 7 jzigmyth
@ @
37 7 jzigmyth
@ @
38 7 jzigmyth
@ @
39 4 jzigmyth
Now get the NCID source:
40 3 jzigmyth
@cd /root@
41 3 jzigmyth
@mkdir ncidsrc@
42 3 jzigmyth
@cd ncidsrc@
43 3 jzigmyth
@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 7 jzigmyth
@ @
46 7 jzigmyth
@ @
47 7 jzigmyth
@ @
48 1
49 3 jzigmyth
Now make and install NCID:
50 4 jzigmyth
@cd ncid@
51 1
@make package@
52 1
@make package-install@
53 7 jzigmyth
@ @
54 7 jzigmyth
@ @
55 7 jzigmyth
@ @
56 7 jzigmyth
Now edit the ncidd daemon config file.  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).  
57 1
58 7 jzigmyth
edit  /etc/ncid/ncidd.conf and change:
59 7 jzigmyth
60 7 jzigmyth
@#####################@
61 7 jzigmyth
@# TTY Configuration #@
62 7 jzigmyth
@#####################@
63 7 jzigmyth
@ @
64 7 jzigmyth
@# The default tty port: /dev/modem@
65 7 jzigmyth
@# set ttyport = /dev/cu.modem # Macintosh OS X@
66 7 jzigmyth
@# set ttyport = /dev/ttyS0@
67 7 jzigmyth
@set ttyport = /dev/ttyS1@
68 5 jzigmyth
69 5 jzigmyth
70 5 jzigmyth
71 5 jzigmyth
72 5 jzigmyth
73 5 jzigmyth
74 5 jzigmyth
75 5 jzigmyth
76 6 jzigmyth
h3. More coming soon.
77 5 jzigmyth
78 5 jzigmyth
Ignore the attached files below.  Maybe someone can delete them for me.  I can't seem to do it!