[mythtv-users] IR transmitter WORKING

pete tyrstag at earthlink.net
Mon Jun 28 14:29:53 EDT 2004


After Hours of screwing with this I finally got it to work! (At least
it's flashing an led, yet to see if it actually will control my dish
receiver) :)

Following this guide:
http://www.mmdsi.com/mythtv/MythTV_DISH_IR_LED_TX_via_Modified_LIRC.html

Except for the following notes.

1. Unfortunately, I had somehow screwed up my kernel .config and I had
no idea what the original was supposed to be. So, I was getting
"unresolved symbols" whenever i compiled lirc. To fix, I used apt-get:	
	# export MYKERNEL=`uname -r` 	
	# apt-get --reinstall install kernel-source#$MYKERNEL

once this was completed, everything worked as expected.

2. add these lines to /etc/modules.conf:
	# Module for IR out
	alias char-major-72 ledxmit_serial
	below ledxmit_serial ledxmit_dev
	options ledxmit_serial irq=4 io=0x3f8
	pre-install lirc_serial /bin/setserial /dev/ttyS0 uart none
# I'm using com1

3.	# /sbin/depmod -a 
	# /sbin/modprobe ledxmit_serial


--Pete





On Sun, 2004-06-27 at 09:38, pete wrote:
> I just can't seem to get this to work, no matter what I try.
> 
> Let me back up and start again.
> 
> I've got a mythtv setup following Jarod's guide. 
> I have a pvr-250 connected to a dishnetwork satellite receiver through
> s-video.
> I'm using the pvr's IR receiver to control myth from a One-for-All
> remote that is setup and working fine.
> I built a simple homebrew transmitter.
> 
> What do I need to do to get the transmitter to work, To change channels
> on the dish receiver? 
> 
> someone must have gotten this to work.
> 
> Any help would be much appreciated.
> 
> --Pete
> 
> 
> 
> 
> On Sat, 2004-06-26 at 19:29, pete wrote:
> > uggh, all this to make an ir led blink.
> > 
> > After much head slamming on desk and searching the web. I believe I
> > found the problem. But I have no solution. I'm gonna need some help
> > here.
> > 
> > It appears that all my "unresolved symbol" errors are being caused by
> > symbol versioning. If I # cat /proc/ksyms > /tmp/mod.txt then search
> > /tmp/mod.txt all of the referenced symbols are there, but are versioned.
> > 
> > i.e.
> > c0144850 register_chrdev_R66a0c826
> > c01448d0 unregister_chrdev_Rc192d491
> > 
> > So, how do I fix/workaround this?
> > 
> > Thanks,
> > --Pete
> > 
> > On Sat, 2004-06-26 at 11:45, pete wrote:
> > > On Sat, 2004-06-26 at 10:59, Jason Elwell wrote:
> > > > I ran into the same problem as you. I think the guide is distribution 
> > > > specific...I am running Gentoo, and don't' have '/sbin/update-modules'.  
> > > > And Gentoo also uses a different system for handling init scripts. Im 
> > > > assuming that command is comparable to Gentoo's modules-update???  I 
> > > > stopped at that point and as of now I am manually setting the serial 
> > > > port driver and modprobing the ledxmit_serial module.
> > > > 
> > > > Hope that helps
> > > > Jason
> > > > 
> > > I agree that it's distro specific, it's intended for knoppmyth/debian.
> > > After a lot of surfing, I'm pretty sure that "update-modules" is debian
> > > specific.  
> > > 
> > > I think my problems are more related to the unresolved symbols. It
> > > compiled and installed without any errors, so I don't know why I'm
> > > getting them. 
> > > 
> > > You had no problems like that?
> > > 
> > > depmod -a gives errors, as does modprobe.
> > > 
> > > --Pete
> > > 
> > > 
> > > 
> > > > 
> > > > pete wrote:
> > > > 
> > > > >Hi all,
> > > > >
> > > > >I'm using a universal O-F-A remote following Jarod's guide for use with
> > > > >the Hauppauge pvr-250 receiver. That part works great. 
> > > > >The whole mythtv install is from Jarod's guide also.
> > > > >
> > > > >Now I need to change channels on my dish receiver.
> > > > >
> > > > >I'm having trouble setting up an IR transmitter following the how-to
> > > > >from a link that was sent to me. I don't remember who sent it.
> > > > >The link is;
> > > > >http://www.mmdsi.com/mythtv/MythTV_DISH_IR_LED_TX_via_Modified_LIRC.html
> > > > >
> > > > >Everything goes well till I get to
> > > > >
> > > > >$ /sbin/update-modules
> > > > >bash: /sbin/update-modules: No such file or directory
> > > > >
> > > > >If I try 
> > > > >$ /sbin/depmod -a 
> > > > >I get 
> > > > >depmod: *** Unresolved symbols in
> > > > >/lib/modules/2.4.22-1.2188.nptl_48.rhfc1.at/misc/ledxmit_dev.o
> > > > >depmod: *** Unresolved symbols in
> > > > >/lib/modules/2.4.22-1.2188.nptl_48.rhfc1.at/misc/ledxmit_serial.o
> > > > >
> > > > >If I then try
> > > > >$ /sbin/modprobe ledxmit_serial
> > > > >I get pages of Unresolved symbols.
> > > > >
> > > > >Is there a better/newer/easier method of doing this?
> > > > >
> > > > >TIA,
> > > > >--Pete
> > > > >
> > > > >  
> > > > >
> > > > >------------------------------------------------------------------------
> > > > >
> > > > >_______________________________________________
> > > > >mythtv-users mailing list
> > > > >mythtv-users at mythtv.org
> > > > >http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> > > > >  
> > > > >
> > > > 
> > > > _______________________________________________
> > > > mythtv-users mailing list
> > > > mythtv-users at mythtv.org
> > > > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> > > 
> > > 
> > > ______________________________________________________________________
> > > _______________________________________________
> > > mythtv-users mailing list
> > > mythtv-users at mythtv.org
> > > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> > 
> > 
> > ______________________________________________________________________
> > _______________________________________________
> > mythtv-users mailing list
> > mythtv-users at mythtv.org
> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> 
> 
> ______________________________________________________________________
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users



More information about the mythtv-users mailing list