LinHES Forums http://forums.linhes.org/ |
|
Two IR Blasters http://forums.linhes.org/viewtopic.php?f=6&t=14096 |
Page 2 of 2 |
Author: | Big boy stan [ Mon Jun 09, 2008 7:05 am ] |
Post subject: | |
Paul, thanks for the words of encourgement. Fear not, we will persevere. TIVO be dammed. Late last night I got so flustered (and figured that I had screwed up enough stuff) that I tried a reload (auto upgrade) of KM R5F27 and got a new set of errors which sent me straight to bed. I will be back at it tonight. Can you just confirm for me one more time ( so that I know there is light at the end of the tunnel) that you are running R5F27 with a non MCE hauppauge PVR 150 that has the IR receiver and blaster plugged directly into the PVR150 card and a 2nd IR blaster conencted to one of your serial ports for controlling another PVR150 card. |
Author: | poflynn [ Mon Jun 09, 2008 10:50 am ] |
Post subject: | |
Big boy stan wrote: that you are running R5F27 with a non MCE hauppauge PVR 150 that has the IR receiver and blaster plugged directly into the PVR150 card and a 2nd IR blaster conencted to one of your serial ports for controlling another PVR150 card.
Yes to R5F27. I am not applied any patches, re-compiled any sources, updated lirc or anything like that (I wouldn't know where to begin!) I have one MCE 150 & one non-MCE 150 in the MBE. I am using the built-in IRBlaster from the 150 (evident from my /etc/lirc/hardware.conf file above) I am not using any IR receiver, this is an MBE box on a shelf in my garage, I am using 2 diskless FEs inside the house. Finally, I am using one home-brew DB9-based serial IR blaster which I got from www.irblaster.info (evident from my /etc/irblaster/hardware.conf file above) I have two identical AT&T Uverse STBs thus I need 2 blasters. Each STB is connected to a 150 card via s-video. I got the 150 one running first per the wiki & then merely ran irblastrd.sh to setup the serial one. |
Author: | Big boy stan [ Sat Jun 14, 2008 9:54 am ] |
Post subject: | |
OK Got back to this and made some progress. Here is my update so far. I did a complete "fresh" reload of R5F27 using manual install to make sure that everything was clean. I got the remote working. The only glitch in that is that I had to shut the computer down for a few minutes and then turn it back on to get the remote to work. A simple reboot didnt do it. I then followed the Wiki to get the PVR150's blaster up and running. So far so good. Following are the outputs at that point Code: root@mythtv:/home/mythtv# ls -la /dev/*ir* crw-rw---- 1 root video 61, 0 Jun 13 19:27 /dev/lirc0 srw-rw-rw- 1 root root 0 Jun 13 19:27 /dev/lircd Code: root@mythtv:/home/mythtv# dmesg |grep lirc lirc_dev: IR Remote Control driver registered, at major 61 lirc_pvr150: ivtv i2c driver #0: no devices found lirc_pvr150: chip found with RX and TX lirc_dev: lirc_register_plugin: sample_rate: 0 lirc_pvr150: firmware of size 302355 loaded lirc_pvr150: 743 codesets loaded lirc_pvr150: Hauppauge PVR-150 IR blaster: firmware version 1.3.0 Code: root@mythtv:/home/mythtv# lsmod |grep ir
lirc_pvr150 20024 5 lirc_dev 16772 1 lirc_pvr150 ir_kbd_i2c 10896 1 saa7134 ir_common 33540 4 cx88xx,saa7134,ir_kbd_i2c,bttv ivtv 130624 5 lirc_pvr150 firmware_class 11648 8 lirc_pvr150,pcmcia,saa7134_dvb,tda1004x,dvb_bt8xx,bttv,cx25840,ivtv i2c_core 20864 24 nvidia,lirc_pvr150,i2c_ec,cx88_vp3054_i2c,cx88xx,saa7134_dvb,saa7134,ir_kbd_i2c,tda1004x,dvb_bt8xx,bttv,wm8775,cx25840,ivtv,saa7115,msp3400,tuner,tea5767,tda8290,tuner_simple,mt20xx,i2c_algo_bit,tveeprom,i2c_nforce2 Th only thing I see of significance at this point is that your PVR-150 Blaster firmware is 2.1.0 and mine is 1.3.0. No idea why nbut the PVR 150 remote and blaster are working perfect. Now on to try the serial blaster and see what changes (or maybe it will just work ) |
Author: | Big boy stan [ Sat Jun 14, 2008 11:05 am ] |
Post subject: | |
SUCCESS! I ran the IRBlaster script and everything stayed intact on the PVR150 (remote and blaster). I did have to make a new channel change script that I called change-channel-serial.sh as follows: Code: #!/bin/sh REMOTE_NAME=DCT2000 cmd="$1" case $cmd in [0-9]*) for digit in $(echo $1 | sed -e 's/./& /g'); do irsend --device=/dev/irblasterd SEND_ONCE $REMOTE_NAME $digit sleep 1 # If things work OK with sleep 1, try this for faster channel changes: # sleep 0.3 done ;; *) irsend --device=/dev/irblasterd SEND_ONCE $REMOTE_NAME $cmd ;; esac Just for the record (amd maybe to help others) Code: sh-3.1$ ls -la /dev/*ir* crw-r--r-- 1 root root 61, 1 Jun 14 12:01 /dev/irblaster srw-rw-rw- 1 root root 0 Jun 14 12:01 /dev/irblasterd crw-rw---- 1 root video 61, 0 Jun 13 19:27 /dev/lirc0 crw-rw---- 1 root video 61, 1 Jun 14 12:01 /dev/lirc1 srw-rw-rw- 1 root root 0 Jun 13 19:27 /dev/lircd Code: sh-3.1$ lsmod |grep ir
lirc_serial 16128 0 lirc_pvr150 20024 5 lirc_dev 16772 2 lirc_serial,lirc_pvr150 ir_kbd_i2c 10896 1 saa7134 ir_common 33540 4 cx88xx,saa7134,ir_kbd_i2c,bttv ivtv 130624 5 lirc_pvr150 firmware_class 11648 8 lirc_pvr150,pcmcia,saa7134_dvb,tda1004x,dvb_bt8xx,bttv,cx25840,ivtv i2c_core 20864 24 nvidia,lirc_pvr150,i2c_ec,cx88_vp3054_i2c,cx88xx,saa7134_dvb,saa7134,ir_kbd_i2c,tda1004x,dvb_bt8xx,bttv,wm8775,cx25840,ivtv,saa7115,msp3400,tuner,tea5767,tda8290,tuner_simple,mt20xx,i2c_algo_bit,tveeprom,i2c_nforce2 BIG thanks to Paul and Greg as well as the many others whos pages I have googled over the last few days. |
Author: | poflynn [ Sat Jun 14, 2008 4:47 pm ] |
Post subject: | |
Big boy stan wrote: SUCCESS!
Excellent! Glad it worked so easily after the drastic step of re-installing. A nice feeling, isn't it? |
Author: | Big boy stan [ Mon Mar 08, 2010 7:40 pm ] |
Post subject: | |
Well here I go again. Below is a post from a while back where I was able to get a PVR150 IR blaster and a serial IR blaster working at the same time. Both blasters control identical cable boxes that are connected to two different PVR cards (one has a IRblaster and one doesnt). I was able to get a second copy of lirc running called /dev/irblasterd. After upgrading to R6, I no longer have /dev/irblasterd. Doing a ls -la /dev/*ir* shows /dev/lirc, /dev/lirc0, and /dev/lircd. From this I was able to get the pvr150 blaster working and it now controls tuner #1. How can i get a second lirc running to contol tuner #2? |
Page 2 of 2 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |