View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 12 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Wed Mar 11, 2009 5:01 pm 
Offline
Joined: Sun Feb 11, 2007 4:00 pm
Posts: 24
I got R6 up and running with a HDHomerun as the IR receiver using silicondusts instructions. I'm using a hauppauge grey remote and a remote lirc file I found on commandir.com. I can't figure out how to get the lircd to launch as a bootup service.

Presently I manually launch it in a xterm with:
Code:
lircd -H udp -d 5000

Then ctrl-alt-bksp kill the xserver and let it restart mythfrontend. After that the remote works with myth (I still need to remap some keys but navigation works).

Any pointers to what files I need to edit to make lircd start the right way would be appreciated.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 15, 2009 4:18 pm 
Offline
Site Admin
Joined: Fri Sep 19, 2003 6:37 pm
Posts: 2657
Location: Whittier, Ca
What SiliconDust instructions?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 15, 2009 6:20 pm 
Offline
Joined: Thu Mar 02, 2006 5:42 pm
Posts: 410
Location: middleton wi usa atsc
cecil wrote:
What SiliconDust instructions?
I'm guessing tweak is referring to these:
http://www.silicondust.com/hdhomerun/in ... rolsupport


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 16, 2009 5:07 pm 
Offline
Joined: Sun Feb 11, 2007 4:00 pm
Posts: 24
I'm down at the Running lircd part. It works with the frontend if I launch it manually at the command line. Where I'm stuck is trying to get the runit service system to launch lircd at boot time. I've been tinkering around the .conf files and rc files over the last few days and haven't had any luck. Most of the solutions I find searching on the net assume that I'm using a USB or serial receiver with a USB or serial blaster, both of which I do not need. I suspect the startup scripts maybe assuming there is supposed to be a receiver/blaster and exits when it cannot find one. If I switch to terminal 1 after booting up for the boot messages, there is a lircd failed to load message.

I have added lircd to DAEMONS in /etc/rc.conf
and LIRC_EXTRAOPTS="-H udp -d 5000" to /etc/conf.d/lircd


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 01, 2009 7:10 pm 
Offline
Joined: Fri May 13, 2005 8:46 am
Posts: 48
Location: Grand Rapids, MI
I'm not sure if your question is R6 specific, for 5.5 I had to add a few things to my /etc/lirc/hardware.conf

Code:
#Don't start lircmd even if there seems to be a good config file
START_LIRCMD=false
#Try to load appropriate kernel modules
LOAD_MODULES=true

# this is for the hdhomerun
# Arguments which will be used when launching lircd
LIRCD_ARGS="-H udp -d 5000"
DRIVER="udp"
MODULES="lirc_dev"



Hope this helps!

_________________
ASUS P5N7A-VM, 2.5gHz E5200, 2GB crucial DDR2, pvr-250, hdhomerun, URC-8820 remote, Panasonic TH-42PZ80U, LinHES 6.01.00


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 03, 2009 12:43 am 
Offline
Joined: Sat Apr 22, 2006 4:32 pm
Posts: 2
Location: San Marvelous, TX
Tweak-

Have you resolved this issue? Here's my quick and dirty solution: Add the following to /etc/sv/lircd/run at line 31:

Code:
LCMD="/usr/sbin/lircd -n -H udp -d 5000"
exec $LCMD >>$LOG 2>>$LOG


Then restart lircd with sudo sv restart lircd and restart X.

This is definitely not a very elegant solution, but it's good enough for me at 1:30am :wink:

Chuck


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 03, 2009 10:11 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
This works for me on R5.5. The change from my old Hauppauge PVR-250 config was minimal.
Code:
root@black2:~/scte65scan-0.2.1# cat /etc/lirc/hardware.conf
# /etc/lirc/hardware.conf
#
# Arguments which will be used when launching lircd
#LIRCD_ARGS=""

#Don't start lircmd even if there seems to be a good config file
START_LIRCMD=false

#Try to load appropriate kernel modules
LOAD_MODULES=true

# Run "lircd --driver=help" for a list of supported drivers.
#DRIVER="default"
# If DEVICE is set to /dev/lirc and devfs is in use /dev/lirc/0 will be
# automatically used instead
#DEVICE="/dev/lirc0"
#MODULES="lirc_dev lirc_i2c"

# this is for the hdhomerun
# Arguments which will be used when launching lircd
LIRCD_ARGS="-H udp -d 5000"
DRIVER="udp"
MODULES="lirc_dev"

Be sure that you've set the UDP port to 5000 using the command given on their web page and that you also tell it the correct IP address for your MythTV box. This is one of those cases where having a static IP address on the MythTV server makes life easier. Otherwise you need to add a command to the init script to tell it what the current IP address is.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 03, 2009 10:49 am 
Offline
Joined: Sat Apr 22, 2006 4:32 pm
Posts: 2
Location: San Marvelous, TX
I have a clean install of R6. There is no /etc/lirc directory. I created an /etc/lirc/hardware.conf from tonymuka's example above. but it didn't appear to do anything.

It looks like the lircd init script (/etc/sv/lircd/run) tries to determine the correct arguments for you automatically, and if it can't, it uses some default args, which of course don't work for the hdhomerun. I haven't found any way to override those args (eg. through hardware.conf).


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 03, 2009 4:15 pm 
Offline
Joined: Sun Feb 11, 2007 4:00 pm
Posts: 24
I haven't had time to tinker with it since I ended up formatting the box and using it for a ubuntu install for now.


chuckbjones wrote:
Tweak-

Have you resolved this issue? Here's my quick and dirty solution: Add the following to /etc/sv/lircd/run at line 31:

Code:
LCMD="/usr/sbin/lircd -n -H udp -d 5000"
exec $LCMD >>$LOG 2>>$LOG


Then restart lircd with sudo sv restart lircd and restart X.

This is definitely not a very elegant solution, but it's good enough for me at 1:30am :wink:

Chuck


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 12, 2009 5:07 pm 
Offline
Joined: Fri May 13, 2005 8:46 am
Posts: 48
Location: Grand Rapids, MI
chuckbjones wrote:
Tweak-

Have you resolved this issue? Here's my quick and dirty solution: Add the following to /etc/sv/lircd/run at line 31:

Code:
LCMD="/usr/sbin/lircd -n -H udp -d 5000"
exec $LCMD >>$LOG 2>>$LOG


Then restart lircd with sudo sv restart lircd and restart X.

This is definitely not a very elegant solution, but it's good enough for me at 1:30am :wink:

Chuck


Just wanted to follow up and say that this works for me now that i've upgraded to LinHES 6.01

_________________
ASUS P5N7A-VM, 2.5gHz E5200, 2GB crucial DDR2, pvr-250, hdhomerun, URC-8820 remote, Panasonic TH-42PZ80U, LinHES 6.01.00


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 18, 2009 5:18 am 
Offline
Joined: Sun Sep 04, 2005 7:48 pm
Posts: 264
Location: Perth, Australia
I cant get the lircd to work in R6 using hdhomerun (dvb-t). All the set and store commands work, and if i try to record a config file, i can see the ir codes being recieved on the screen. I already have a lircd/lircrc setup for another remote, and am using a harmony 525 learning remote which is actively mimicking the normal remote on the PCI ir input.... any ideas? Nothing odd looking in the lircd logs... hmmmm... i must be missing something

_________________
LinHES: R6 | MB: Asus M3N-H/HDMI | CPU: AMD ??Mhz
Capture: 2xHDHR DVB-T
Graphics: Onboard 8300|PSU: Corsair vx450w
Cooling: Zalman cu?,
Display: Benq xx projector


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 26, 2010 9:38 pm 
Offline
Joined: Fri May 13, 2005 8:46 am
Posts: 48
Location: Grand Rapids, MI
Just a quick note to say that if you've used this hack like I have and then are trying to configure the remote for huludesktop so that the lirc_release_suffix = _UP line works, you'll need to add the "-r" to this line from above...

LCMD="/usr/sbin/lircd -r -n -H udp -d 5000"

hope this helps! it worked for me :)

_________________
ASUS P5N7A-VM, 2.5gHz E5200, 2GB crucial DDR2, pvr-250, hdhomerun, URC-8820 remote, Panasonic TH-42PZ80U, LinHES 6.01.00


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 1 guest


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