Author |
Message |
IceburgIV
|
Posted: Wed Jun 14, 2006 7:40 am |
|
Joined: Sun Mar 26, 2006 3:42 pm
Posts: 39
|
I have a hauppauge 250, a seriel IR blaster. Comcast Digital cable:
Code: # /etc/irblaster/hardware.conf # # Author: Greg Frost
# The COM Port used by the IRBlaster. Set it to "COM1" "COM2" or "".
IRBLASTER_SERIAL_PORT="COM2"
# Set this to the lirc device that will be used by lirc_serial. In my case # it is /dev/lirc. I have a USB remote, so my remote does not use the # /dev/lirc device, so it is used by lirc_serial for my ir blaster. If you # have a remote that uses /dev/lirc, the blaster may user /dev/lirc1. Not # sure.
IRBLASTER_DEVICE="/dev/lirc1"
Code: nd: General Instrument # model no. of remote control: dct2244/1161/abcdef #
begin remote
name Cable flags RAW_CODES eps 30 aeps 100
ptrail 0 repeat 0 0 frequency 38000
begin raw_codes
name 1 9200 4600 500 4600 500 2275 500 2300 500 2300 500 2300 500 2300 500 2300 500 2300 500 2300 500 2300 500 2300 500 2300 500 4600 500 4600 500 4600 500 4600 500 33900 9200 2400 800 94000 9400 2300 800 94000 9400 2300 800
name 2 9200 4600 500 2300 500 4600 500 2300 500 2300 500 2300 500 2300 500 2300 500 2300 500 2300 500 2300 500 2300 500 2300 500 2300 500 4600 500 4600 500 4600 500 33900 9200 2400 800 94000 9400 2300 800 94000 9400 2300 800
name 3 9200 4600 500 4600 500 4600 500 2300 500 2300 500 2300 500 2300 500 2300 500 2300 500 2300 500 2300 500 2300 500 2300 500 4600 500 2300 500 4600 500 4600 500 33900 9200 2400 800 94000 9400 2300 800 94000 9400 2300 800
name 4 9200 4600 500 2300 500 2300 500 4600 500 2300 500 2300 500 2300 500 2300 500 2300 500 2300 500 2300 500 2300 500 2300 500 2300 500 2300 500 4600 500 4600 500 33900 9200 2400 800 94000 9400 2300 800 94000 9400 2300 800
name 5 9200 4600 500 4600 500 2300 500 4600 500 2300 500 2300 500 2300 500 2300 500 2300 500 2300 500 2300 500 2300 500 2300 500 4600 500 4600 500 2300 500 4600 500 33900 9200 2400 800 94000 9400 2300 800 94000 9400 2300 800
name 6 9200 4600 500 2300 500 4600 500 4600 500 2300 500 2300 500 2300 500 2300 500 2300 500 2300 500 2300 500 2300 500 2300 500 2300 500 4600 500 2300 500 4600 500 33900 9200 2400 800 94000 9400 2300 800 94000 9400 2300 800
name 7 9200 4600 500 4600 500 4600 500 4600 500 2300 500 2300 500 2300 500 2300 500 2300 500 2300 500 2300 500 2300 500 2300 500 4600 500 2300 500 2300 500 4600 500 33900 9200 2400 800 94000 9400 2300 800 94000 9400 2300 800
name 8 9200 4600 500 2300 500 2300 500 2300 500 4600 500 2300 500 2300 500 2300 500 2300 500 2300 500 2300 500 2300 500 2300 500 2300 500 2300 500 2300 500 4600 500 33900 9200 2400 800 94000 9400 2300 800 94000 9400 2300 800
name 9 9200 4600 500 4600 500 2300 500 2300 500 4600 500 2300 500 2300 500 2300 500 2300 500 2300 500 2300 500 2300 500 2300 500 4600 500 4600 500 4600 500 2300 500 33900 9200 2400 500 94000 9400 2300 800 94000 9400 2300 800
name 0 9200 4600 500 2300 500 2300 500 2300 500 2300 500 2300 500 2300 500 2300 500 2300 500 2300 500 2300 500 2300 500 2300 500 2300 500 2300 500 2300 500 2300 500 33900 9200 2400 500 94000 9400 2300 800 94000 9400 2300 800
end raw_codes
end remote
and my script: Code: #!/bin/bash
echo "changing to $1"
REMOTE_NAME=Cable
for digit in $(echo $1 | sed -e 's/./& /g'); do sleep 0.2 /usr/bin/irsend --device=/dev/irblaster SEND_ONCE $REMOTE_NAME $digit sleep 0.5 done
Worked almost flawless in R5B7 but not working so well on R5C7 but I am looking into it. IN R5B7 all I had to do was: Code: update-rc.d -f lirc remove update-rc.d lirc defaults 20
Thanks for all your hard work Greg and the rest of the team!
|
|
Top |
|
|
timmayk
|
Posted: Wed Jun 14, 2006 11:54 am |
|
Joined: Sat Mar 18, 2006 1:18 pm
Posts: 45
|
I have a hauppauge 350 working with a dish network receiver 311. Thanks all who have helped.
irblasterd.conf in /etc/irblaster
Code: # # this config file was automatically generated # using WinLIRC 0.6.5 (LIRC 0.6.1pre3) on Tue Apr 04 06:16:24 2006 # # contributed by # # brand: 301 # model: # supported devices: #
begin remote
name 301 bits 16 flags SPACE_ENC eps 30 aeps 100
header 400 6100 one 400 1700 zero 400 2800 ptrail 400 gap 6200 min_repeat 4 toggle_bit 0
frequency 56000
begin codes info 0x0000000000000000 power 0x0000000000000800 play 0x0000000000000C10 1 0x0000000000001000 2 0x0000000000001400 3 0x0000000000001800 frwd 0x0000000000001C10 4 0x0000000000002000 5 0x0000000000002400 6 0x0000000000002800 menu 0x0000000000002C00 7 0x0000000000003000 8 0x0000000000003400 9 0x0000000000003800 ffwd 0x0000000000003C10 select 0x0000000000004000 0 0x0000000000004400 cancel 0x0000000000004800 guide 0x0000000000005000 mute 0x0000000000005401 view 0x0000000000005800 tv_video 0x0000000000005C00 right 0x0000000000006000 vol+ 0x0000000000006401 up 0x0000000000006800 recall 0x0000000000006C00 left 0x0000000000007000 vol- 0x0000000000007401 down 0x0000000000007800 rec 0x0000000000007C00 pause 0x0000000000008000 stop 0x0000000000008400 sys_info 0x0000000000009000 */ptv_list 0x0000000000009400 #/search 0x0000000000009800 sat 0x000000000000A400 tv 0x000000000000A801 rew 0x000000000000C410 fwd 0x000000000000C810 skip_back 0x000000000000D810 skip_fwd 0x000000000000DC10 end codes
end remote
and here is my channel_change.sh located in /etc/irblaster Code: #!/bin/bash
echo "changing to $1"
REMOTE_NAME=301 $(grep ^[[:space:]]*name[[:space:]] /etc/irblaster/irblasterd.conf | awk '{ print $2 }')
for digit in $(echo $1 | sed -e 's/./& /g'); do sleep 0.2 /usr/bin/irsend --device=/dev/irblasterd SEND_ONCE $REMOTE_NAME $digit sleep 0.5 done
_________________ R5D1, PVR350, ASUS A7N8X-E Deluxe, AMD 2200+, SB Live.
|
|
Top |
|
|
XateEsix
|
Posted: Fri Jun 16, 2006 12:49 pm |
|
Joined: Sat Mar 25, 2006 10:17 am
Posts: 4
|
Thank you everyone for your help in making knoppmyth the best pvr system anywhere!
I use this remote config to run my Cox Cable Sientific Atlantic SA3250 cable box's
#
# this config file was automatically generated
# using lirc-0.6.6(sir) on Wed Mar 24 22:28:59 2004
#
# Modified by Stephane Lavergne <stephane|iMars.com>:
# Base frequency is 56kHz, irrecord was otherwise right on.
#
# contributed by
#
# brand: Scientific Atlanta
# model no. of remote control: AT8400
# devices being controlled by this remote: Explorer 8000
#
begin remote
name SAE3250
bits 22
flags SPACE_ENC|CONST_LENGTH
eps 30
aeps 100
header 3397 3372
one 827 2557
zero 827 855
ptrail 827
gap 101386
toggle_bit 0
frequency 56000
begin codes
Power 0x000000000037C107
guide 0x000000000036C127
menu 0x000000000036F920
info 0x000000000036213B
up 0x000000000036812F
down 0x000000000037A10B
select 0x0000000000366133
left 0x000000000037810F
right 0x0000000000364137
page+ 0x000000000036D924
page- 0x000000000037D904
exit 0x0000000000366932
settings 0x0000000000373918
A 0x000000000037E902
B 0x000000000036193C
C 0x000000000037191C
vol+ 0x000000000036093E
vol- 0x000000000037091E
ch+ 0x0000000000377111
ch- 0x000000000036F121
mute 0x000000000036892E
fav 0x000000000037F101
last 0x000000000036E123
rew8sec 0x000000000037C906
list 0x000000000036C926
live 0x000000000036B129
rew 0x000000000037291A
ffw 0x000000000036293A
play 0x000000000037990C
stop 0x0000000000365934
pause 0x0000000000374117
record 0x0000000000375914
1 0x000000000036113D
2 0x000000000037111D
3 0x000000000036912D
4 0x000000000037910D
5 0x0000000000365135
6 0x0000000000375115
7 0x000000000036D125
8 0x000000000037D105
9 0x0000000000363139
asterisk 0x000000000037E103
0 0x0000000000373119
pound 0x000000000036B928
pip_power 0x000000000037B908
pip_swap 0x0000000000367930
pip_move 0x0000000000377910
pip_ch+ 0x000000000036E922
pip_ch- 0x000000000037F900
video_source 0x0000000000376113
end codes
end remote
|
|
Top |
|
|
BluesBrian
|
Posted: Fri Sep 15, 2006 12:00 am |
|
Joined: Fri Jul 29, 2005 1:22 am
Posts: 232
Location:
SF East Bay, CA
|
IceburgIV wrote: I have a hauppauge 250, a seriel IR blaster. Comcast Digital cable: and my script: Code: #!/bin/bash
echo "changing to $1"
REMOTE_NAME=Cable
for digit in $(echo $1 | sed -e 's/./& /g'); do sleep 0.2 /usr/bin/irsend --device=/dev/irblaster SEND_ONCE $REMOTE_NAME $digit sleep 0.5 done
Worked almost flawless in R5B7 but not working so well on R5C7 but I am looking into it. IN R5B7 all I had to do was: Code: update-rc.d -f lirc remove update-rc.d lirc defaults 20
Thanks for all your hard work Greg and the rest of the team!
That just about works for me.. except that my DTC2244 prefers either a three digit code or shorter digit count followed by the "enter" key.. or the channel change fails. Results: works great for channels 100 and above. fails for channels <100.
Any Suggestions on how to add leading zeros or a trailing "enter" key? (I'm on R5C7)
_________________ // Brian - Hardware:
ASUS P5P800 - P4 3Ghz, 500 GB PATA HD
ASUS P5K-V - P4 Core2 Duo, 500 GB SATA HD
Hauppauge PVR-350, IR Blaster, Comcast Digital Cable
http://tech.groups.yahoo.com/group/KnoppMyth/
KnoppMyth R5F27 >> R5.5
|
|
Top |
|
|
Greg Frost
|
Posted: Fri Sep 15, 2006 1:11 am |
|
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location:
Adelaide, Australia
|
BluesBrian wrote: Any Suggestions on how to add leading zeros or a trailing "enter" key? (I'm on R5C7)
Code: #!/bin/bash
echo "changing to $1"
REMOTE_NAME=Cable
for digit in $(echo $1 | sed -e 's/./& /g'); do /usr/bin/irsend --device=/dev/irblaster SEND_ONCE $REMOTE_NAME $digit sleep 0.7 done
/usr/bin/irsend --device=/dev/irblaster SEND_ONCE $REMOTE_NAME Enter
Replace "Enter" on the last line with whatever the name of your enter key is.
|
|
Top |
|
|
BluesBrian
|
Posted: Fri Sep 15, 2006 8:30 am |
|
Joined: Fri Jul 29, 2005 1:22 am
Posts: 232
Location:
SF East Bay, CA
|
Greg Frost wrote: Replace "Enter" on the last line with whatever the name of your enter key is.
Thanks Greg!
oops! I'm using the irblasterd.conf file for my dtc2244 suggested by IceburgIV above .. There is no "enter" key! Yikes!
Is there a simple procedure to create this key?
_________________ // Brian - Hardware:
ASUS P5P800 - P4 3Ghz, 500 GB PATA HD
ASUS P5K-V - P4 Core2 Duo, 500 GB SATA HD
Hauppauge PVR-350, IR Blaster, Comcast Digital Cable
http://tech.groups.yahoo.com/group/KnoppMyth/
KnoppMyth R5F27 >> R5.5
|
|
Top |
|
|
Greg Frost
|
Posted: Fri Sep 15, 2006 4:31 pm |
|
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location:
Adelaide, Australia
|
is there an ok key? if not, try looking for another lirc configuration file.
|
|
Top |
|
|
BluesBrian
|
Posted: Sun Sep 17, 2006 1:26 pm |
|
Joined: Fri Jul 29, 2005 1:22 am
Posts: 232
Location:
SF East Bay, CA
|
Greg Frost wrote: is there an ok key? if not, try looking for another lirc configuration file.
Thanks again Greg!
At this point, I really don't understand the difference between the code structures Code: begin codes and Code: begin raw_codes .. they are rather different! (mine comes in the "raw_codes" form, and others that I look at are in the "codes" form). Here's my "Plan B" approach.. add leading zeros to the channel change script! Code: #!/bin/bash
echo "changing to $1"
REMOTE_NAME=DCT2244
if [ $1 -lt 10 ] ; then sleep 0.2 /usr/bin/irsend --device=/dev/irblasterd SEND_ONCE $REMOTE_NAME 0 sleep 0.5 fi
if [ $1 -lt 100 ] ; then sleep 0.2 /usr/bin/irsend --device=/dev/irblasterd SEND_ONCE $REMOTE_NAME 0 sleep 0.5 fi
for digit in $(echo $1 | sed -e 's/./& /g'); do sleep 0.2 /usr/bin/irsend --device=/dev/irblasterd SEND_ONCE $REMOTE_NAME $digit sleep 0.5 done
and it works great! (I'm on KnoppMyth R5C7.)
_________________ // Brian - Hardware:
ASUS P5P800 - P4 3Ghz, 500 GB PATA HD
ASUS P5K-V - P4 Core2 Duo, 500 GB SATA HD
Hauppauge PVR-350, IR Blaster, Comcast Digital Cable
http://tech.groups.yahoo.com/group/KnoppMyth/
KnoppMyth R5F27 >> R5.5
|
|
Top |
|
|
douw
|
Posted: Tue Oct 10, 2006 5:03 am |
|
Joined: Wed May 31, 2006 6:54 am
Posts: 52
Location:
Pretoria, South Africa
|
I just got my Multichoice decoder (settop box) working. Here folows my details:
Knoppmyth R5D1 upgraded to MtyhTv 0.20
A home built irblaster from http://iguanaworks.net/ir/
A DSD910 multichoice satellite decoder
A universal remote from One-For-All; the DSD codes are factory programmed, the VCR codes I just chose one that had functions programmed on all the buttons and created a conf with irrecord.
My irblasterd.conf:
Code: # this config file was adapted from the origional on www.lirc.org/remotes # using trail and error # # contributed Douw Steyn # # brand: Multichoice # model: DSD910 # supported devices: Digital Satellite Decoder (DSTV Decoder) # # Multichoice is a South African Satellite TV company offering their # own branded decoders.
begin remote
name DSD910 bits 13 flags RC5 eps 30 aeps 100
one 902 840 zero 972 840 plead 992 gap 113485 toggle_bit 2
begin codes power 0x000000000000160C red 0x000000000000162C green 0x000000000000162B yellow 0x000000000000162A blue 0x000000000000162E 1 0x0000000000001601 2 0x0000000000001602 3 0x0000000000001603 4 0x0000000000001604 5 0x0000000000001605 6 0x0000000000001606 7 0x0000000000001607 8 0x0000000000001608 9 0x0000000000001609 0 0x0000000000001600 radio 0x0000000000001625 tv 0x000000000000162F mute 0x000000000000160D teletext 0x0000000000001624 information 0x000000000000162D up 0x0000000000001612 left 0x000000000000161D ok 0x0000000000001622 right 0x000000000000161E down 0x0000000000001613 menu 0x000000000000161C exit 0x0000000000001631 tvguide 0x0000000000001635 progup 0x0000000000001620 progdn 0x0000000000001621 volup 0x0000000000001610 voldn 0x0000000000001611 end codes
end remote
# # this config file was automatically generated # using WinLIRC 0.6.5 (LIRC 0.6.1pre3) on Sun Aug 13 15:51:10 2006 # # contributed by # # brand: VCR # model: # supported devices: #
begin remote
name VCR bits 16 flags SPACE_ENC eps 25 aeps 100
header 9026 4439 one 573 533 zero 573 1655 ptrail 573 pre_data_bits 16 pre_data 0xFED9 gap 44827 toggle_bit 0
begin codes menu 0x000000000000CF30 power 0x0000000000006D92 1 0x0000000000007F80 2 0x000000000000BF40 3 0x0000000000003FC0 4 0x000000000000DF20 5 0x0000000000005FA0 6 0x0000000000009F60 7 0x0000000000001FE0 8 0x000000000000EF10 9 0x0000000000006F90 0 0x000000000000FF00 av 0x0000000000008D72 ch+ 0x000000000000AF50 exit 0x000000000000AD52 ch- 0x0000000000002FD0 up 0x0000000000007D82 left 0x0000000000007788 right 0x000000000000F708 down 0x000000000000BD42 ok 0x0000000000005DA2 vol+ 0x0000000000008F70 mute 0x0000000000004FB0 vol- 0x0000000000000FF0 rew 0x0000000000006798 play 0x0000000000009768 pause 0x000000000000A758 ff 0x000000000000E718 sp/lp 0x0000000000008778 stop 0x00000000000017E8 rec 0x00000000000057A8 auto 0x000000000000E51A guide 0x000000000000CD32 time 0x000000000000CF30 subtitle 0x00000000000027D8 i 0x000000000000D728 end codes
end remote My channel_change.sh: Code: #!/bin/bash
echo "changing to $1"
REMOTE_NAME=DSD910
for digit in $(echo $1 | sed -e 's/./& /g'); do sleep 0.2 /usr/bin/irsend --device=/dev/irblasterd SEND_ONCE $REMOTE_NAME $digit sleep 0.5 done
sleep 1 /usr/bin/irsend --device=/dev/irblasterd SEND_START $REMOTE_NAME volup sleep 1.5 /usr/bin/irsend --device=/dev/irblasterd SEND_STOP $REMOTE_NAME volup
I had to remove lirc from init.d and make a symlink from /dev/lircd to /dev/irblasterd to get the receiver to work in the menus, I might have broken that myself to begin with so I am not sure wheather that is relevant to other people.
Last edited by douw on Fri Apr 09, 2010 12:51 am, edited 2 times in total.
|
|
Top |
|
|
rdbeer
|
Posted: Sat Dec 30, 2006 12:25 am |
|
Joined: Wed Dec 15, 2004 2:44 pm
Posts: 12
|
I'm not an expert by any means, but here's how I got my stuff working on R5E50:
* home built IR serial port transmitter/receiver ( http://iguanaworks.net/ir/serial/)
* Dish Network 322 dual satellite receiver
* Scientific Atlanta E2050ER1 remote (from my old Scientific Atlanta Explorer 2100)
I am using only the lirc configuration, irblaster is _not_ configured. So assuming no previous lirc/irblaster configuration exists,
1. run lirc-reconfig.sh, choose the only serial remote listed (rca-6n1)
2. do not run irblaster.sh
3. substitue these files:
/etc/lirc/lircd.conf:
(lircd.conf contains codes for both the SA remote and the Dish box. The Dish box has two remotes. substitute
Code: post_data 0x000 to emulate remote 1, or Code: post_data 0x200 to emulate remote 2.) Code: begin remote name SAE8000 bits 22 flags SPACE_ENC|CONST_LENGTH eps 30 aeps 100 header 3397 3372 one 827 2557 zero 827 855 ptrail 827 gap 101386 toggle_bit 0 frequency 56000 begin codes power 0x000000000037C107 guide 0x000000000036C127 menu 0x000000000036F920 info 0x000000000036213B select_up 0x000000000036812F select_down 0x000000000037A10B select 0x0000000000366133 select_left 0x000000000037810F select_right 0x0000000000364137 select_page+ 0x000000000036D924 select_page- 0x000000000037D904 exit 0x0000000000366932 settings 0x0000000000373918 A 0x000000000037E902 B 0x000000000036193C C 0x000000000037191C vol+ 0x000000000036093E vol- 0x000000000037091E ch+ 0x0000000000377111 ch- 0x000000000036F121 mute 0x000000000036892E fav 0x000000000037F101 last 0x000000000036E123 rew8secs 0x000000000037C906 list 0x000000000036C926 live 0x000000000036B129 rew 0x000000000037291A ff 0x000000000036293A play 0x000000000037990C stop 0x0000000000365934 pause 0x0000000000374117 rec 0x0000000000375914 1 0x000000000036113D 2 0x000000000037111D 3 0x000000000036912D 4 0x000000000037910D 5 0x0000000000365135 6 0x0000000000375115 7 0x000000000036D125 8 0x000000000037D105 9 0x0000000000363139 asterisk 0x000000000037E103 0 0x0000000000373119 pound 0x000000000036B928 pip_power 0x000000000037B908 pip_swap 0x0000000000367930 pip_move 0x0000000000377910 pip_ch+ 0x000000000036E922 pip_ch- 0x000000000037F900 video_source 0x0000000000376113 end codes end remote
begin remote name DishNetwork_322 flags SPACE_ENC|NO_HEAD_REP eps 30 aeps 100 frequency 56000 # duty_cycle 32 one 440 1645 zero 440 2780 header 525 6045 ptrail 450 gap 6115 min_repeat 6 bits 6 post_data_bits 10 # unit code selection (1-16) # 1=0x000 2=0x200 3=0x100 4=0x300 # 5=0x080 6=0x280 7=0x180 8=0x380 # 9=0x040 10=0x240 11=0x140 12=0x340 # 13=0x0C0 14=0x2C0 15=0x1C0 16=0x3C0 post_data 0x000 begin codes info 0 power_on 1 power 2 1 4 2 5 3 6 4 8 5 9 6 10 menu 11 7 12 8 13 9 14 select 16 0 17 cancel 18 guide 20 view 22 tv_vcr 23 right 24 up 26 recall 27 left 28 down 30 record 31 pause 32 stop 33 sys_info 36 asterisk 37 pound 38 power_off 39 sat 41 dish_home 52 sys_info2 54 dish_home2 56 end codes end remote /etc/lirc/hardware.conf: Code: 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 # udev uses /dev/lirc0 will be automatically used instead DEVICE="/dev/lirc0" MODULES="lirc_dev lirc_serial" /etc/irblaster/channel_change.sh: Code: #!/bin/bash echo "changing to $1" REMOTE_NAME="DishNetwork_322"
for digit in $(echo $1 | sed -e 's/./& /g'); do /usr/bin/irsend SEND_ONCE $REMOTE_NAME $digit sleep 0.2 done /usr/bin/irsend SEND_ONCE $REMOTE_NAME select sleep 0.2 /usr/bin/irsend SEND_ONCE $REMOTE_NAME cancel /home/mythtv/.mythtv/lircrc: Code: # MythTV - standard keys (as suggested by keys.txt)
begin prog = mythtv button = 0 config = 0 end
begin prog = mythtv button = 1 config = 1 end
begin prog = mythtv button = 2 config = 2 end
begin prog = mythtv button = 3 config = 3 end
begin prog = mythtv button = 4 config = 4 end
begin prog = mythtv button = 5 config = 5 end
begin prog = mythtv button = 6 config = 6 end
begin prog = mythtv button = 7 config = 7 end
begin prog = mythtv button = 8 config = 8 end
begin prog = mythtv button = 9 config = 9 end
begin prog = mythtv button = select_left config = Left end
begin prog = mythtv button = select_right config = Right end
begin prog = mythtv button = select_up config = Up end
begin prog = mythtv button = select_down config = Down end
begin prog = mythtv button = select config = Space end
begin prog = mythtv button = exit config = Esc end
begin prog = mythtv button = guide config = M end
begin prog = mythtv button = pause config = P end
begin prog = mythtv button = info config = I end
# MythTV - additional keys
# delete begin prog = mythtv button = C config = D end
begin prog = mythtv button = vol- repeat = 3 config = F10 end
begin prog = mythtv button = vol+ repeat = 3 config = F11 end
begin prog = mythtv button = mute config = F9 end
begin prog = mythtv button = play config = P end
begin prog = mythtv button = rec config = R end
# backward commercial skip begin prog = mythtv button = rew config = Q end
# forward commercial skip begin prog = mythtv button = ff config = Z end
# channel history begin prog = mythtv button = last config = H end
# go to next favorite begin prog = mythtv button = fav config = / end
# mark favorite begin prog = mythtv button = B config = ? end
# cycle through zoom modes begin prog = mythtv button = A config = W end
### MPlayer ###
begin prog = mplayer button = exit config = quit end begin prog = mplayer button = guide config = osd end begin prog = mplayer button = select_left config = seek -10 end begin prog = mplayer button = select_right config = seek +10 end
begin prog = mplayer button = rew config = seek -60 end
begin prog = mplayer button = ff config = seek +60 end
begin prog = mplayer button = pause config = pause end
begin prog = mplayer button = play config = pause end begin prog = mplayer button = vol+ config = volume +1 repeat = 3 end
begin prog = mplayer button = vol- config = volume -1 repeat = 3 end
begin prog=mplayer button=mute config=mute end
begin prog=mplayer button = select_page- config = panscan -0.1 end
begin prog=mplayer button = select_page+ config = panscan +0.1 end
### XINE ### begin prog = xine button = play config = Play end begin prog = xine button = stop config = Stop end begin prog = xine button = exit config = Quit end begin prog = xine button = pause config = Pause end begin prog = xine button = select_up config = EventUp end begin prog = xine button = select_down config = EventDown end begin prog = xine button = select_left config = EventLeft end begin prog = xine button = select_right config = EventRight end begin prog = xine button = select config = EventSelect end begin prog = xine button = guide config = Menu end #vol down begin prog = xine button = vol- repeat = 3 config = Volume- end #vol up begin prog = xine button = vol+ repeat = 3 config = Volume+ end begin prog = xine button = ff config = SeekRelative+10 end begin prog = xine button = rew config = SeekRelative-10 end #ch up begin prog = xine button = select_page+ config = SeekRelative+60 end #ch down begin prog = xine button = select_page- repeat = 1 config = SeekRelative-60 end #sleep begin prog = xine button = fav repeat = 1 config = ZoomIn end #display begin prog = xine button = last repeat = 1 config = ZoomOut end #skip chapter forward begin prog = xine button = ch+ repeat = 1 config = EventNext end
#skip chapter backward begin prog = xine button = ch- repeat = 1 config = EventPrior end
### lircnav ###
begin prog = lircnav button = select_page- config = page_down end
begin prog = lircnav button = select_page+ config = page_up end
begin prog = lircnav button = select_up config = up end
begin prog = lircnav button = select_down config = down end
begin prog = lircnav button = select config = select end
begin prog = lircnav button = exit config = quit end I also use the stb_updater.pl script from http://dyn.yoderhome.com:8080/stb_updater.pl, modified to use my remote commands. I added (or was it added automatically? i'm not sure) this line to /etc/init.d/bootmisc.sh: Code: setserial /dev/ttyS0 uart none
|
|
Top |
|
|
aelinuxguy
|
Posted: Sun Feb 11, 2007 10:40 am |
|
Joined: Sat Feb 21, 2004 11:54 am
Posts: 48
|
The IR Blaster setup works out of the box for me if I pick a compatible receiver, but it may save others a bit of research if an entry was added to the list. In the Wadsworth, Ohio area Time Warner Cable uses the Pioneer BD-V1100. This unit works if you pick the Explorer 8000 from the irblaster setup script. The only other thing I had to do to get it working from a stock install of R5E20 was copy /etc/irblaster/channel_change.sh from my previous installation and ensure it was specified as the change channel script:
Code: #!/bin/bash
echo "changing to $1"
REMOTE_NAME=\ $(grep ^[[:space:]]*name[[:space:]] /etc/irblaster/irblasterd.conf | awk '{ print $2 }')
for digit in $(echo $1 | sed -e 's/./& /g'); do sleep 0.2 /usr/bin/irsend --device=/dev/irblasterd SEND_ONCE $REMOTE_NAME $digit sleep 0.5 done
|
|
Top |
|
|
Das Hammer
|
Posted: Thu Feb 22, 2007 10:20 am |
|
Joined: Sun Apr 30, 2006 9:06 pm
Posts: 59
Location:
Das Hoosier State
|
Please include the Motorola DSR-922 satellite receiver in the config.
I have found the LIRC config for this device here:
http://www.a9k.net/lirc/4dtv.conf
_________________ Proud member of the Loyal Brotherhood of Snipe Hunters - Local 414
|
|
Top |
|
|
chris_s
|
Posted: Tue Feb 27, 2007 10:05 pm |
|
Joined: Wed Feb 14, 2007 10:37 am
Posts: 38
|
I have a motorola RG2400, which uses a remote called the SRC-200A
Here is a link to the config for LIRC
http://lirc.sourceforge.net/remotes/motorola/SRC-200A
_________________ noob. please forgive my ignorance.
running: r5e50, pvr350, p4 1.7ghz 512mb ram, nvidia fx5200, 27" flat tube tv
|
|
Top |
|
|
jmairs
|
Posted: Tue Apr 10, 2007 6:34 pm |
|
|
Hi,
I have an RCA 7th generation DirecTV receiver (DRD4##RH)
Here's the /etc/irblasterd.conf file
Code: # # This is the configuration file for the RCA DirecTV # Universal remote for 6th (DRD4##RG) and 7th (DRD4##RH) # generation DirecTV cable boxes. This includes systems # marked as "RF" which also have an IR receiver. # # This file was created with irrecord (0.6.6) and by hand # on April 24, 2003 by Bryan Jacobs <bryan_jj@hotmail.com>. # It has since been tested with 7th genration boxes. Please # contact me if this file does not work as specified for # for your specific box. # # This only contains code for "SAT/DIRECTTV" mode. # On some remotes the "OK" button is labeled "SELECT" #
begin remote
name RCA_DSS_RG_RH bits 24 flags SPACE_ENC|CONST_LENGTH eps 30 aeps 100
header 4000 4000 one 500 2000 zero 500 1000 ptrail 500 gap 64000 toggle_bit 0
begin codes
ANTENNA 0x00000000007058FA CLEAR 0x00000000007068F9 MENU 0x00000000007088F7 GUIDE 0x000000000071A8E5 GO_BACK 0x00000000007278D8 ON/OFF 0x000000000072A8D5 CH- 0x000000000072C8D3 CH+ 0x000000000072D8D2 0 0x00000000007308CF 1 0x00000000007318CE 2 0x00000000007328CD 3 0x00000000007338CC 4 0x00000000007348CB 5 0x00000000007358CA 6 0x00000000007368C9 7 0x00000000007378C8 8 0x00000000007388C7 9 0x00000000007398C6 SAT 0x000000000073A8C5 INFO 0x000000000073C8C3 SKIP 0x00000000007538AC LEFT_ARROW 0x00000000007568A9 RIGHT_ARROW 0x00000000007578A8 DOWN_ARROW 0x00000000007588A7 UP_ARROW 0x00000000007598A6 WHO 0x000000000076189E FETCH 0x000000000079386C OK 0x00000000007F480B VOL- 0x0000000000F2E0D1 VOL+ 0x0000000000F2F0D0 MUTE 0x0000000000F3F0C0
end codes
end remote
Here's the channel_change.sh script Code: #!/bin/bash
echo "changing to $1"
REMOTE_NAME=RCA_DSS_RG_RH for digit in $(echo $1 | sed -e 's/./& /g'); do sleep 0.2 /usr/bin/irsend --device=/dev/irblasterd SEND_ONCE $REMOTE_NAME $digit sleep 0.5 done
|
|
Top |
|
|
vabiro
|
Posted: Wed May 21, 2008 1:58 pm |
|
Joined: Sun Feb 26, 2006 11:34 pm
Posts: 83
Location:
Toronto, ON, Canada
|
Hi,
Here are the codes 1 through 4 for the expressVu 3100/4100/dish 301
I am using this irblaster.conf to control 4 receivers that are feeding 2 Hauppauge PVR-500 cards.
Code: begin remote
name code1 bits 8 flags SPACE_ENC eps 30 aeps 100
header 400 6100 one 400 1700 zero 400 2800 ptrail 400 post_data_bits 8 post_data 0x0 gap 6200 min_repeat 4 toggle_bit_mask 0x0 frequency 56000
begin codes 1 0x10 2 0x14 3 0x18 4 0x20 5 0x24 6 0x28 7 0x30 8 0x34 9 0x38 0 0x44 select 0x40 end codes
end remote
begin remote
name code2 bits 8 flags SPACE_ENC eps 30 aeps 100
header 400 6100 one 400 1700 zero 400 2800 ptrail 400 post_data_bits 8 post_data 0x0 gap 6200 min_repeat 4 toggle_bit_mask 0x0 frequency 56000
begin codes 1 0x12 2 0x16 3 0x1A 4 0x22 5 0x26 6 0x2A 7 0x32 8 0x36 9 0x3A 0 0x46 select 0x42 end codes
end remote
begin remote
name code3 bits 8 flags SPACE_ENC eps 30 aeps 100
header 400 6100 one 400 1700 zero 400 2800 ptrail 400 post_data_bits 8 post_data 0x0 gap 6200 min_repeat 4 toggle_bit_mask 0x0 frequency 56000
begin codes 1 0x11 2 0x15 3 0x19 4 0x21 5 0x25 6 0x29 7 0x31 8 0x35 9 0x39 0 0x45 Select 0x41 up 0x69 down 0x79 right 0x61 left 0x71 end codes
end remote
begin remote
name code4 bits 8 flags SPACE_ENC eps 30 aeps 100
header 400 6100 one 400 1700 zero 400 2800 ptrail 400 post_data_bits 8 post_data 0x0 gap 6200 min_repeat 4 toggle_bit_mask 0x0 frequency 56000
begin codes 1 0x13 2 0x17 3 0x1B 4 0x23 5 0x27 6 0x2B 7 0x33 8 0x37 9 0x3B 0 0x47 select 0x43 info 0x03 power 0x0B end codes
end remote
I am using 4 versions of the following script, one for each code#/tuner. It includes a line of code to address the audio problems with the PVR-500 and 150 cards. Change the /dev/video# to the correct value, or delete it as needed. Code: # cat /usr/local/bin/change_chan1.sh #!/bin/bash
# Automatically Generated by /usr/local/bin/irblaster.sh /usr/local/bin/v4l2-ctl --set-audio-input 1 -d /dev/video0 >/dev/null
echo Changing to $1
REMOTE_NAME='code1'
for digit in $(echo $1 | sed -e 's/./& /g'); do /usr/bin/irsend --device=/dev/irblasterd SEND_ONCE $REMOTE_NAME $digit sleep 0.7 done
Hope this helps.
Victor
_________________ Backend: Core 2-Quad CPU, 4GB RAM, 3TB
2 PVR-500, 1 HDHomerun
FE1: Zotac IONITX-B-E, w/2GB HD
FE2: Zotac MAG
|
|
Top |
|
|