View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 14 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue Jun 07, 2005 2:27 pm 
Offline
Joined: Thu Feb 12, 2004 2:54 pm
Posts: 392
Location: Beaumont, CA
After a couple of days of playing with a few different programs I have a caller id program working in knoppmyth. I have a modem attached to another computer (US Robotics External Voice Faxmodem Pro Model# 0525). xyac is the client that is installed on knoppmyth box and elseed runs on my mandrake desktop. There are also also notes below on running the server on win2000/XP. Elseed answers the phone, finds the callerid information and sends it to the client, xyac.
Only glitch is that I had to remove the formatting in elseed.c before compile. The formatting totally screws up the number. Maybe there is a C programmer out there that can post a fix? It was originally writtern for Tivo, so I made a few minor modifications. The following are my notes:

XYAC is the client to run on a linux box (mythbox)
www.bah.org/~greg/tivo
xyac-0.1.tar.gz to /home/mythtv
tar zxvf xyac-0.1.tar.gz
cd xyac*
su
apt-get install libxosd2
apt-get install libxosd-dev
make
make install (installs xyac to /usr/local/bin)
edit /home/mythtv/.fluxbox/apps and add after [startup] {xset...} line:
[startup] {xyac -p middle -A center -p GRAY -s 1 -f lucidasanstypewriter-bold-24 &}
(Note can also use lucidasanstypewriter-bold-18 if 24 is too big)
(Note: the command xlsfonts will show a list of fonts avail to you)
(Make sure it is all ONE line in the apps file or it wont start)
Restart x

ELSEED is the Server (for linux) originally written for a Tivo.
(same link as xyac)
(If want to run this from a win2000 or XP box, go to www.sunflowerhead.com/software/yac
(Windows server is very simple to setup).

(On linux box that modem is connected to)
tar zxvf elseed-0.6.0.tar.gz
cd elseed*
-First step is to take out tivo stuff and readjust for regular mandrake
edit elseed.h
change MODEMDEVICE_DEFAULT to modem port "/dev/ttyS0"
change MODEMINIT_DEFAULT to Init string: "ATE1 S0=0 V1Q0#CID=1"
save
edit elseed.c
remark out the lines that tries to format the phone number (it kept messing it up on mine)
// at front of lines 350-356.
save
edit Makefile
change cc to correct directory: CC=/usr/bin/gcc
comment out line 20 "LFLAGS=" by putting a # at front of it.
save
make

Run test from there as root
./elseed (should save Initialzing modem... Then Modem OK.)
Call your number from a cell of different #
It should show the caller ID after a couple of rings
cp elseed.conf.sample to /etc/elseed.conf
edit /etc/elseed.conf
Change the IP#'s from the defaults to the IP#'s where the clients are running.
(Note, haven't tried to use a computer, name but docs say it must be IP#, not name)
save
make sure client is running (can also do ps -A to see if xyac is loaded on client)
start elseed and test. If should pop-up and display after first or second ring.

You can then move elseed to /usr/local/bin and then put it in your startup scripts. 8)

_________________
ASUS A7N266 Micro-ATX Motherboard
Athlon 2200 processor
512K Kingston PC2100 Memory
MicroAtx Case
2 PVR250's w/remote
eVGA e-GeForce mx4000 (64 Ram with Tv/Out (Svideo))
Lite-on DVD cd-rw combo
120 GB Western Digital


Last edited by elgordo123 on Tue Jun 07, 2005 4:40 pm, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 07, 2005 4:31 pm 
Offline
Joined: Tue Mar 22, 2005 9:18 pm
Posts: 1371
Location: Brisbane, Queensland, Australia
This is a great idea and has given me some food for thought on what I could set up at home.

You may just want to fix the link to the yac windows server, thanks.

_________________
Girkers


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 07, 2005 4:42 pm 
Offline
Joined: Thu Feb 12, 2004 2:54 pm
Posts: 392
Location: Beaumont, CA
Link fixed. My dad has a Dish Network DVR, and his has callerid that flashes on the screen. I couldn't let another DVR have a "one-up" on my knoppmyth box!

_________________
ASUS A7N266 Micro-ATX Motherboard
Athlon 2200 processor
512K Kingston PC2100 Memory
MicroAtx Case
2 PVR250's w/remote
eVGA e-GeForce mx4000 (64 Ram with Tv/Out (Svideo))
Lite-on DVD cd-rw combo
120 GB Western Digital


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 19, 2005 7:18 pm 
Offline
Joined: Sat Jul 23, 2005 4:15 pm
Posts: 28
Location: Calgary, Canada
This may be a silly question but why can't the server run on the mythtv box and send the data to itself?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 19, 2005 7:59 pm 
Offline
Joined: Tue Mar 22, 2005 9:18 pm
Posts: 1371
Location: Brisbane, Queensland, Australia
In theory you could run it on the KnoppMyth box, but generally your KnoppMyth box is not going to be near the phone line.

_________________
Girkers


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 20, 2005 4:11 am 
Offline
Joined: Sun Jun 12, 2005 2:39 pm
Posts: 464
Location: UK
Does anyone know if this will this work ok in the UK?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 20, 2005 4:20 am 
Offline
Joined: Tue Mar 22, 2005 9:18 pm
Posts: 1371
Location: Brisbane, Queensland, Australia
It should work no matter what country your in as long as you have caller id switched on by your telephone provider.

You are probably best served, checking the ELSEED server software for more details on support options.

_________________
Girkers


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 20, 2005 12:14 pm 
Offline
Joined: Thu Sep 15, 2005 12:37 pm
Posts: 39
Location: Minnesota
If I was to set callerid up on my 1 frontend/backend mythbox. At what point in this howto should I start. would I follow this howto word for word except do it all on the one box? I was reading the howto at mythtv.info and the methods seem very different.

http://mythtv.info/moin.cgi/MythNotifyHowTo

/edit I also have an external USR modem.
esherm22



*******Specs********
Soltek 3801-300 SFF
w/SL-B9A-FGR mainboard
AMD64 3400
1gb RAM
HD-3000 OTA Only
Nvidia FX5200 DVI->
Sony kdw50655 HDTV <-HDMI
C-Media CMI8768
KnoppMyth R5A16


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 20, 2005 4:55 pm 
Offline
Joined: Thu Feb 12, 2004 2:54 pm
Posts: 392
Location: Beaumont, CA
I am not familiar with that how-to. For mine, all you have to do is install xyac on the same box. Then in your elseed.conf just put in the IP address of the same box. You will want to create a startup script to start xyac along with elseed on that same box.

_________________
ASUS A7N266 Micro-ATX Motherboard
Athlon 2200 processor
512K Kingston PC2100 Memory
MicroAtx Case
2 PVR250's w/remote
eVGA e-GeForce mx4000 (64 Ram with Tv/Out (Svideo))
Lite-on DVD cd-rw combo
120 GB Western Digital


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 31, 2005 11:11 pm 
Offline
Joined: Mon Aug 29, 2005 4:04 pm
Posts: 729
Location: Philadelphia, PA US
Followed these instructions for using a YAC server running on Windows box sending to my knoppmyth box.

Few things I ran into.

-Windoze Modem driver didn't support callerID, had to download updated driver from US Robotics, good site for fixing bad modem drivers that skip callerID. http://www.talkingcallerid.com/ModemDriver.htm
-Had to run apt-get update prior to libxosd order was

su
apt-get udpate
apt-get install libxosd2
apt-get install libxosd-dev ....

- Above xyac command has typo in regard to color. Should be
Code:
[startup] {xyac -p middle -A center -c GRAY -s 1 -f lucidasanstypewriter-bold-24 &}


Thanks for the guide was very helpful.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 18, 2005 8:26 pm 
Offline
Joined: Sat Nov 19, 2005 9:47 am
Posts: 3
Has anyone had any success getting this to work when watching live tv or recorded tv programs using a PVR-350? xyac is working fine for me in non-PVR350 decoding apps.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 29, 2005 3:56 pm 
Offline
Joined: Tue Feb 08, 2005 5:18 pm
Posts: 70
You might try mythtvosd. I guess it works with the pvr-350 tv output but I haven't tried. It has support for showing caller id info. The --help output isn't very helpful has it omits options for the various templates. For caller id the command line is something like this:

Code:
mythtvosd --template=cid \
        --caller_name="<name>"   \
        --caller_number="<number>" \
        --caller_date="<date>" \
        --caller_time="<time>"


The trick is to get each bit of data (name, number, etc) so you can call the command with all the options. If you can't get the separate data then you could try the more general alert (--template=alert --alert_text="your text here") or scroller (--template=scroller scroll_text="your message") templates.


Top
 Profile  
 
PostPosted: Thu Apr 08, 2010 7:21 pm 
Offline
Joined: Sat Oct 28, 2006 3:18 am
Posts: 6
Reviving an ancient topic...

elgordo123 wrote:
edit elseed.c
remark out the lines that tries to format the phone number (it kept messing it up on mine)
// at front of lines 350-356.
save


I was just playing with this on R5.5 and noticed that it works properly if instead of remarking out any lines, one replaces the memcpy() calls with memmove(). It results in a nicely formatted phone number, as intended.


Top
 Profile  
 
PostPosted: Fri Apr 09, 2010 7:14 am 
Offline
Joined: Thu Mar 02, 2006 5:42 pm
Posts: 410
Location: middleton wi usa atsc
Transverse wrote:
I was just playing with this on R5.5
For the same functionality on R6.02, but using different software see this wiki:
http://linhes.org/bugs/projects/linhes/ ... HES_screen
The server can be on a different machine than the client if you so desire.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu