Author |
Message |
ryanpatterson
|
Posted: Sun Oct 23, 2005 3:31 pm |
|
Joined: Fri Aug 26, 2005 9:54 pm
Posts: 617
|
Thanks wififun your lircd.conf file worked. Except you called one button "Back-Exit" and in lircrc it is called "BACK/EXIT". Once I changed that your config worked great.
|
|
Top |
|
|
tjc
|
Posted: Sun Oct 23, 2005 7:18 pm |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
This is veering pretty far off topic. Cecil started this thread to gather a list of remotes folks were using...
|
|
Top |
|
|
wififun
|
Posted: Mon Oct 24, 2005 10:05 am |
|
Joined: Mon Jun 21, 2004 11:25 am
Posts: 291
Location:
Ontario, CA
|
Quote: This is veering pretty far off topic. Cecil started this thread to gather a list of remotes folks were using... Is it now? back at post 4 Cecil asked to post lircd.conf. He was responding to my post where I improperly named the remote I was using the "new grey" remote, rather than silver. Quote: Please also send me lircd.conf and lircrc for the "new grey" remote. Is this new grey, the same as the "silver" remote. So when I realized that I did not do this prior, and that there was not working auto installed lircd.conf for this remote I posted that rather on topic reply, that seems to have helped someone already. Quote: Saw a complaint about that during the install but the remote works anyway...
I am glad this worked for you "out of the box". It would seem it did not for everyone though.
|
|
Top |
|
|
Willo
|
Posted: Sun Oct 30, 2005 1:26 am |
|
Joined: Sun Apr 03, 2005 2:45 pm
Posts: 22
Location:
Lees Summit MO
|
wifi, would you mind posting your lircrc file? I'm still having some issues with the default install
|
|
Top |
|
|
madb0o
|
Posted: Mon Oct 31, 2005 4:49 pm |
|
Joined: Mon Oct 31, 2005 12:06 pm
Posts: 10
|
All-
Lessons learned getting a Snapstream Firefly USB remote to work properly:
1) compile lirc from source in the /usr/src directory, it took some digging to realize the lirc setup was for the Happauge Grey Remote
2) You may need to setup a new lircd.conf file for the remote, I just bought a new one, and no existing configs worked:
* use Mode2 to verify remote is working with lirc
* use irrecord to map buttons with the hex read by lirc (on the firefly
you need to map each button twice (thanks to some post I read here)
* edit the .lircrc file in ~mythtv/.mythtv to map buttons to options
3) enjoy
I didn't see a good FAQ on writing a lircrc file, if anyone knows of one I would be interested...
|
|
Top |
|
|
afrosheen
|
Posted: Sun Nov 06, 2005 2:02 am |
|
Joined: Sat Mar 26, 2005 3:49 pm
Posts: 290
|
Wififun: I need your lircrc file also, not sure where to start on piecing one together but I use xine for dvd's and mplayer for video playback.
|
|
Top |
|
|
spalVl
|
Posted: Fri Nov 11, 2005 9:53 pm |
|
Joined: Mon Aug 29, 2005 4:04 pm
Posts: 729
Location:
Philadelphia, PA US
|
Leadtek Winfast Remote RM-0010 (Bundled with Winfast TV2000 XP Deluxe TV tuner). Using Knoppmyth R5A22.
Setup differed from R5A16, the R5A22 included lirc-reconfig.sh script didn't seem to work for this remote.
Code: cp --reply=yes /usr/local/share/knoppmyth/remotes/winfast_rm0010/etc/lircrc /home/mythtv/.mythtv/lircrc cp --reply=yes /usr/local/share/knoppmyth/remotes/winfast_rm0010/etc/lircd.conf /etc/lircd.conf dpkg-reconfigure lirc
Reconfigure lirc Options Y, Y, 5 (TV Card), B (Winfast TV2000/XP (card=34) I also have updated my lircrc file to include below lines as mute was not functioning in MythMusic. Code: begin # Mute for MythMusic prog = mythtv button = MUTE config = | end
|
|
Top |
|
|
slowtolearn
|
Posted: Wed Nov 16, 2005 9:32 pm |
|
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location:
Farmington, MI USA
|
I don't know if anyone is using these setups, but I have not found the configurations in my search. I have a PVR-350 installed in a Silverstone LC10M, and have the following lircd.conf files for each remote, using the LC10M IR receiver. I haven't programmed either remote for anything, I'll leave that to the individual.
The remote that is shipped with the LC10M (there is a white sticker with 05000850 on it in the battery compartment, can't find any other identifying marks. Picture of mine http://www.quartz.plus.com/remote.jpg):
Code: # Please make this file available to others # by sending it to <lirc@bartelmus.de> # # this config file was automatically generated # using lirc-0.7.2pvr150(any) on Wed Nov 16 19:51:37 2005 # # contributed by # # brand: lc10m # model no. of remote control: # devices being controlled by this remote: #
begin remote
name lc10m bits 24 eps 30 aeps 100
one 0 0 zero 0 0 post_data_bits 8 post_data 0xB7 gap 235988 min_repeat 13 toggle_bit 18
begin codes AppExit 0x288195 Power 0x289115 Record 0x298115 Play 0x2A8115 Open 0x29B195 Rew 0x2A8195 Pause 0x2A9115 FFwd 0x2B8115 Prev 0x2B9115 Stop 0x2B9715 Next 0x298195 Backspace 0x28A115 Mouse/Keyboard 0x299115 Select/Space 0x2A9315 StartMenu 0x2B8195 PadUp 0x691AA1 PadDown 0x68C2B9 PadLeft 0x6A92A1 PadRight 0x68BA81 Menu 0x28B715 LeftClick 0x688281 Enter 0x28A195 RightClick 0x688281 Esc 0x2BB715 Eject 0x299395 AppLaunch 0x29B715 QuickLaunch 0x2AB195 TaskSwitch 0x2A9395 Mute 0x2B9595 Vol+ 0x28A395 Chn+ 0x289395 Timer 0x2B8395 Vol- 0x28A595 Chn- 0x288795 1 0x28B595 2 0x2BB195 3 0x28B195 4 0x2A8595 5 0x299595 6 0x2AA115 7 0x2B9395 8 0x2A8515 9 0x2AA115 ShiftTab 0x28B515 0 0x2BA595 Tab 0x29A115 MyMovie 0x2B8515 MyMusic 0x299195 MyPhoto 0x2BA115 MyTV 0x28A515 Bookmark 0x288515 Thumbnail 0x2AB715 AspectRatio 0x29A595 FullScreen 0x2AA395 MyDVD 0x29A295 Menu 0x2BA385 Caption 0x298595 Language 0x2B8595 end codes
The "silver" remote that came with my PVR-350 (A415 is stamped in the battery compartment, can't find any other identifying marks. Layout of mine http://forums.sage.tv/forums/attachment ... 1099027263): Code: # Please make this file available to others # by sending it to <lirc@bartelmus.de> # # this config file was automatically generated # using lirc-0.7.2pvr150(any) on Wed Nov 16 20:51:50 2005 # # contributed by # # brand: lircd.LC10M.PVR350_remote # model no. of remote control: # devices being controlled by this remote: #
begin remote
name lircd.LC10M.PVR350_remote bits 32 eps 30 aeps 100
one 0 0 zero 0 0 gap 211991 toggle_bit 0
begin codes Go 0x56A9A8D7 Power 0x46A9A137 TV 0x5AA9652F Videos 0x46A964AF Music 0x5AA964B7 Pictures 0x46A968CF Guide 0x5AA964D7 Radio 0x4EA9592F Up 0x52A9672F Left 0x4EA9674F OK 0x52A99737 Right 0x46A96357 Back/Exit 0x56A96957 Menu 0x46A95937 PrevCh 0x5AA962CF Vol+ 0x46A966AF Chn+ 0x56A996AF Vol- 0x46A962B7 Mute 0x52A95957 Chn- 0x4EA996B7 Record 0x56A9A757 Stop 0x46A9A34F Rewind 0x56A9A6CF Play 0x46A9A337 FFwd 0x56A9A72F Prev 0x46A9972F Pause 0x5AA9A2AF Next 0x46A9654F 1 0x56A956B7 2 0x46A95ACF 3 0x5AA95AD7 4 0x46A9532F 5 0x5AA95B37 6 0x46A95B4F 7 0x52A95757 8 0x46A95CAF 9 0x5AA958B7 Text 0x46A958CF 0 0x52A952AF Sub/CC 0x46A95D4F Red 0x5AA958D7 Green 0x56A9994F Yellow 0x46A9A4AF Blue 0x56A998B7 end codes
Hope this helps someone.
|
|
Top |
|
|
elephant
|
Posted: Fri Nov 18, 2005 10:59 pm |
|
Joined: Thu Nov 17, 2005 2:54 am
Posts: 6
|
I recently received a new Hauppauge PVR350 with the new HCWPVR2 Silver remote (peanut shaped with four colored buttons at the bottom). It has the following numbers inside the battery compartment: A415-HPG K012405.
Lircd does not have a working configuration file included, so I used irw and irrecord to create/modify a working one.
Here is the key code file from Hauppauge with correct codes:
[HCWPVR2]
0=0 1780
1=1 1781
2=2 1782
3=3 1783
4=4 1784
5=5 1785
6=6 1786
7=7 1787
8=8 1788
9=9 1789
10=TEXT 178A
11=Red 178B
12=Radio178C
13=Menu 178D
14=SUBCC178E
15=Mute 178F
16=Vol+1790
17=Vol-1791
18=CHNLPREV1792
20=Up1794
21=Down1795
22=Left1796
23=Right1797
24=Videos1798
25=Music1799
26=Pictures179A
27=Guide179B
28=TV179C
30=SKIPFWD179E
31=Back/Exit179F
32=Ch+17A0
33=Ch-17A1
36=SKIPREV17A4
37=Ok17A5
41=Blue17A9
46=Green17AE
48=Pause17B0
50=REWIND17B2
52=FASTFWD17B4
53=Play17B5
54=Stop17B6
55=Record17B7
56=Yellow17B8
59=Go17BB
61=POWER17BD
And here is a copy of my lircd:
# Please make this file available to others
# by sending it to <lirc@bartelmus.de>
#
# this config file was automatically generated
# using lirc-0.7.2pvr150(any) and manually corrected
# to work on Wed Nov 15 10:47:13 2005
#
# # brand: Hauppauge Silver
# model no. of remote control: A415-HPG
# devices being controlled by this remote: PVR350
#
begin remote
name Hauppauge_350
bits 13
eps 30
aeps 100
one 0 0
zero 0 0
gap 203986
min_repeat 27
toggle_bit 0
begin codes
0 0x0000000000001780
1 0x0000000000001781
2 0x0000000000001782
3 0x0000000000001783
4 0x0000000000001784
5 0x0000000000001785
6 0x0000000000001786
7 0x0000000000001787
8 0x0000000000001788
9 0x0000000000001789
TEXT 0x000000000000178A
Red 0x000000000000178B
Radio 0x000000000000178C
Menu 0x000000000000178D
SUBCC 0x000000000000178E
Mute 0x000000000000178F
Vol+ 0x0000000000001790
Vol- 0x0000000000001791
CHNLPREV 0x0000000000001792
Up 0x0000000000001794
Down 0x0000000000001795
Left 0x0000000000001796
Right 0x0000000000001797
Videos 0x0000000000001798
Music 0x0000000000001799
Pictures 0x000000000000179A
Guide 0x000000000000179B
TV 0x000000000000179C
SKIPFWD 0x000000000000179E
Back/Exit 0x000000000000179F
Ch+ 0x00000000000017A0
Ch- 0x00000000000017A1
SKIPREV 0x00000000000017A4
Ok 0x00000000000017A5
Blue 0x00000000000017A9
Green 0x00000000000017AE
Pause 0x00000000000017B0
REWIND 0x00000000000017B2
FASTFWD 0x00000000000017B4
Play 0x00000000000017B5
Stop 0x00000000000017B6
Record 0x00000000000017B7
Yellow 0x00000000000017B8
Go 0x00000000000017BB
Power 0x00000000000017BD
end codes
end remote
Still working on the lircrc file and key codes but here is my current version:
# lircrc.example.HauppaugeSilver
# 2005-11-15.
# Save this file in ~/.mythtv/lircrc
begin
prog = mythtv
button = GRNPOWER
config = Esc
repeat = 0
end
begin
prog = mythtv
button = Go
# Swap the PiP windows
config = N
repeat = 0
end
begin
prog = mythtv
button = 1
config = 1
repeat = 0
end
begin
prog = mythtv
button = 2
config = 2
repeat = 0
end
begin
prog = mythtv
button = 3
config = 3
repeat = 0
end
begin
prog = mythtv
button = 4
config = 4
repeat = 0
end
begin
prog = mythtv
button = 5
config = 5
repeat = 0
end
begin
prog = mythtv
button = 6
config = 6
repeat = 0
end
begin
prog = mythtv
button = 7
config = 7
repeat = 0
end
begin
prog = mythtv
button = 8
config = 8
repeat = 0
end
begin
prog = mythtv
button = 9
config = 9
repeat = 0
end
begin
prog = mythtv
button = Back/Exit
config = Esc
repeat = 0
end
begin
prog = mythtv
button = 0
config = 0
repeat = 0
end
begin
prog = mythtv
button = Menu
config = M
repeat = 0
end
begin
prog = mythtv
# This is the Red key
# We'll use it for "Delete"
button = Red
config = D
repeat = 0
end
begin
prog = mythtv
# This is the Green key
# We'll use it for "Information"
button = Green
config = I
repeat = 0
end
# Note the "repeat =" strings in the volume and channel.
# This means that if you hold down the key, every nth instance will be
# passed. This depends on your system, so you may want to increase or
# decrease this and see what happens. repeat = 1 is probably too
# fast.
begin
prog = mythtv
# This is the Yellow key
# Use it ?
button = Yellow
config = F10
repeat = 0
end
begin
prog = mythtv
# This is the Blue key
# Use it ?
button = Blue
config = F11
repeat = 0
end
begin
prog = mythtv
button = Ch+
# This is the rocker Channel up
config = Up
repeat = 1
end
begin
prog = mythtv
button = Ch-
# This is the rocker Channel down
config = Down
repeat = 3
end
begin
prog = mythtv
button = Vol-
# This is the rocker Volume down
config = Left
repeat = 1
end
begin
prog = mythtv
button = Vol+
# This is the rocker Volume up
config = Right
repeat = 1
end
begin
prog = mythtv
# Middle button Ok
button = Ok
config = Return
repeat = 0
end
begin
prog = mythtv
button = Mute
config = F9
repeat = 0
end
begin
prog = mythtv
button = REWIND
config = Left
repeat = 1
end
begin
prog = mythtv
button = Play
config = P
repeat = 0
end
begin
prog = mythtv
button = FASTFWD
config = Right
repeat = 1
end
begin
prog = mythtv
button = Record
config = R
repeat = 0
end
begin
prog = mythtv
# Teletext
button = SUBCC
config = T
repeat - 0
end
begin
prog = mythtv
button = Pause
config = P
repeat = 0
end
begin
prog = mythtv
button = SKIPREV
# Use for backwards commercial skip
config = Q
repeat = 0
end
begin
prog = mythtv
button = SKIPFWD
# Use for forward commercial skip
config = Z
repeat = 0
end
#MPlayer
begin
prog = mplayer
button = Off
config = quit
end
begin
prog = mplayer
button = MENU
config = osd
end
begin
prog = mplayer
button = Rew
config = seek -10
repeat = 1
end
begin
prog = mplayer
button = FFW
config = seek +10
repeat = 1
end
begin
prog = mplayer
button = Replay
config = seek -60
repeat = 1
end
begin
prog = mplayer
button = Skip
config = seek +60
repeat = 1
end
begin
prog = mplayer
button = Pause
config = pause
end
begin
prog = mplayer
button = Play
config = pause
end
begin
prog = mplayer
button = BACK
config = quit
end
begin
prog = mplayer
button = VOL+
config = volume +1
repeat = 1
end
begin
prog = mplayer
button = VOL-
config = volume -1
repeat = 1
end
begin
prog=mplayer
button=Mute
config=mute
end
##XINE
begin
prog = xine
button = PLAY
repeat = 3
config = Play
end
begin
prog = xine
button = STOP
repeat = 3
config = Stop
end
begin
prog = xine
button = BACK/EXIT
config = Quit
end
begin
prog = xine
button = PAUSE
repeat = 3
config = Pause
end
begin
prog = xine
button = CH+
repeat = 4
config = EventUp
end
begin
prog = xine
button = CH-
repeat = 4
config = EventDown
end
begin
prog = xine
button = VOL-
repeat = 4
config = EventLeft
end
begin
prog = xine
button = VOL+
repeat = 4
config = EventRight
end
begin
prog = xine
button = OK
repeat = 0
config = EventSelect
end
begin
prog = xine
button = MENU
repeat = 0
config = Menu
end
#vol down
begin
prog = xine
button = YELLOW
repeat = 1
config = Volume-
end
#vol up
begin
prog = xine
button = Red
repeat = 1
config = Volume+
end
begin
prog = xine
button = FFW
repeat = 2
config = SeekRelative+30
end
begin
prog = xine
button = REW
repeat = 2
config = SeekRelative-30
end
#ch up
begin
prog = xine
button = Green
repeat = 1
config = SeekRelative+60
end
#ch down
begin
prog = xine
button = Blue
repeat = 1
config = SeekRelative-60
end
#sleep
begin
prog = xine
button = GO
repeat = 1
config = ZoomIn
end
#display
begin
prog = xine
button = SKIP
repeat = 1
config = ZoomOut
end
#skip chapter forward
begin
prog = xine
button = SKIP
repeat = 1
config = EventNext
end
#skip chapter backward
begin
prog = xine
button = REPLAY
repeat = 1
config = EventPrior
end
begin
prog = lircnav
button = VOL-
config = page_down
end
begin
prog = lircnav
button = VOL+
config = page_up
end
begin
prog = lircnav
button = CH+
config = up
end
begin
prog = lircnav
button = CH-
config = down
end
begin
prog = lircnav
button = OK
config = select
end
begin
prog = lircnav
button = Off
config = quit
end
|
|
Top |
|
|
spalVl
|
Posted: Sat Nov 26, 2005 10:36 am |
|
Joined: Mon Aug 29, 2005 4:04 pm
Posts: 729
Location:
Philadelphia, PA US
|
This is how I got my ATI Remote Wonder model #5000023600 working in R5A22 -R5A26 uisng lirc.
Out of the box lirc keycodes didn't work with my model and I expanded lircrc. User friendly guide is mirrored on WIKI http://www.knoppmythwiki.org/index.php?page=ATIRemote
ATI Remote Wonder using LIRC
1. During Knoppmyth install at Remote setup menu choose to reconfiure ATI remote to use Lirc driver.
A. If Knoppmyth is already installed from console run
$ /usr/local/bin/lirc-reconfig.sh
2. edit /etc/lircd.conf
Code: cat /etc/lircd.conf Code: # brand: ATI # model no. of remote control: 5000023600 # devices being controlled by this remote: MythTV 0.14 # # USB ID: 0bc7:0004 #
begin remote
name REMOTE_WONDER bits 16 eps 30 aeps 100
one 0 0 zero 0 0 pre_data_bits 8 pre_data 0x14 post_data_bits 16 post_data 0x0 gap 227933 toggle_bit 0
begin codes A 0x000000000000D500 B 0x000000000000D601 C 0x000000000000EE19 D 0x000000000000F01B E 0x000000000000F621 F 0x000000000000F823 POWER 0x000000000000D702 TV 0x000000000000D803 DVD 0x000000000000D904 WEB 0x000000000000DA05 BOOK 0x000000000000DB06 HAND 0x000000000000DC07 MOUSE_LEFT_BTN 0x0000000000004D78 MOUSE_LEFTBUTTONUP 0x0000000000004E79 MOUSE_LEFTBUTTONDBLCLICK 0x0000000000004E79 MOUSE_RIGHT_BTN 0x000000000000517C MOUSE_RIGHTBUTTONUP 0x000000000000527D MOUSE_RIGHTBUTTONDBLCLICK 0x000000000000537E MOUSE_LEFT 0x0000000000004570 MOUSE_RIGHT 0x0000000000004671 MOUSE_UP 0x0000000000004772 MOUSE_DOWN 0x0000000000004873 MOUSE_UPRIGHT 0x0000000000004A75 MOUSE_DOWNRIGHT 0x0000000000004B76 MOUSE_DOWNLEFT 0x0000000000004C77 MOUSE_UPLEFT 0x0000000000004974 VOL_UP 0x000000000000DD08 VOL_DOWN 0x000000000000DE09 MUTE 0x000000000000DF0A CH_DOWN 0x000000000000E10C CH_UP 0x000000000000E00B 1 0x000000000000E20D 2 0x000000000000E30E 3 0x000000000000E40F 4 0x000000000000E510 5 0x000000000000E611 6 0x000000000000E712 7 0x000000000000E813 8 0x000000000000E914 9 0x000000000000EA15 0 0x000000000000EC17 DVD_ROOTMENU 0x000000000000EB16 SETUP 0x000000000000ED18 ARROW_UP 0x000000000000EF1A ARROW_RIGHT 0x000000000000F41F ARROW_DOWN 0x000000000000F722 ARROW_LEFT 0x000000000000F21D OK 0x000000000000F31E MAXAMIZE 0x000000000000F520 TV_ON_DEMAND 0x000000000000F11C BACK 0x000000000000F924 PLAY 0x000000000000FA25 NEXT 0x000000000000FB26 RECORD 0x000000000000FC27 STOP 0x000000000000FD28 PAUSE 0x000000000000FE29 end codes end remote 2. edit /home/mythtv/.mythtv/lircrc Code: cat /home/mythtv/.mythtv/lircrc Code: # ~/.mythtv/lircrc # # MythTV native LIRC config file for # the ATI-Wonder Remote # using lirc_atiusb driver #
begin #Jumppoint for Program Guide created in Mythweb prog = mythtv button = TV config = ! end
begin #Jumppoint for DVD playback created in Mythweb prog = mythtv button = DVD config = @ end
begin prog = mythtv #Jumppoint for MythWeater created in Mythweb button = WEB config = # end
begin prog = mythtv #Jumppoint for MythVideo created in Mythweb button = BOOK config = $ end
begin prog = mythtv #Jumppoint for MythWeater created in Mythweb button = HAND config = % end
begin prog = mythtv button = 1 config = 1 repeat = 5 end
begin prog = mythtv button = 2 config = 2 repeat = 5 end
begin prog = mythtv button = 3 config = 3 repeat = 5 end
begin prog = mythtv button = 4 config = 4 repeat = 5 end
begin prog = mythtv button = 5 config = 5 repeat = 5 end
begin prog = mythtv button = 6 config = 6 repeat = 5 end
begin prog = mythtv button = 7 config = 7 repeat = 5 end
begin prog = mythtv button = 8 config = 8 repeat = 5 end
begin prog = mythtv button = 9 config = 9 repeat = 5 end
begin prog = mythtv button = 0 config = 0 repeat = 5 end
begin prog = mythtv button = MOUSE_UP config = Up end
begin prog = mythtv button = MOUSE_DOWN config = Down end
begin prog = mythtv button = MOUSE_LEFT config = Left end
begin prog = mythtv button = MOUSE_RIGHT config = Right end
begin prog = mythtv button = MOUSE_RIGHT_BTN config = Esc end
begin prog = mythtv # Enter button button = MOUSE_LEFT_BTN config = Return end
begin prog = mythtv button = POWER config = Esc end
begin prog = mythtv # Enter button button = OK config = Return end
begin prog = mythtv button = ARROW_UP config = Up end
begin prog = mythtv button = ARROW_DOWN config = Down end
begin prog = mythtv button = ARROW_LEFT config = Left end
begin prog = mythtv button = ARROW_RIGHT config = Right end
begin prog = mythtv button = D config = Esc end
begin prog = mythtv button = CH_UP config = Up end
begin prog = mythtv button = CH_DOWN config = Down end
begin prog = mythtv button = VOL_DOWN repeat = 3 config = F10 end
begin prog = mythtv button = VOL_UP repeat = 3 config = F11 end begin prog = mythtv button = MUTE config = F9 end
begin # Mute for MythMusic prog = mythtv button = MUTE config = | end
begin prog = mythtv button = DVD_ROOTMENU config = M end
begin prog = mythtv # Enter button button = SETUP config = Return end
begin prog = mythtv button = A config = S end
begin prog = mythtv button = B config = I end
begin prog = mythtv button = C config = T end
begin prog = mythtv # Change focus for PiP (to change channel in the other window) button = MAXAMIZE config = B end
begin prog = mythtv # Toggle PiP on/off button = TV_ON_DEMAND config = V end
begin prog = mythtv button = BACK config = < end
begin prog = mythtv button = NEXT config = > end
begin prog = mythtv button = BACK config = Left end
begin prog = mythtv button = NEXT config = Right end
begin prog = mythtv button = RECCORD config = R end
begin prog = mythtv button = STOP config = Esc end
begin prog = mythtv button = PLAY config = P end
begin prog = mythtv button = PAUSE config = P end
#Page Up/Down begin prog = mythtv button = E config = PgUp end
begin prog = mythtv button = F config = PgDown end
begin prog = mythtv button = E # Use for backwards commercial skip config = Q end
begin prog = mythtv button = F # Use for forward commercial skip config = Z end
#Mplayer
begin prog = mplayer button = PLAY config = pause end
begin prog = mplayer button = PAUSE config = pause end
begin prog = mplayer button = STOP config = quit end
begin prog = mplayer button = POWER config = quit end
begin prog = mplayer button = D config = quit end
begin prog = mplayer button = MOUSE_RIGHT_BTN config = quit end
begin prog = mplayer button = MUTE config = mute end
begin prog = mplayer button = E repeat = 6 config = seek -10 end
begin prog = mplayer button = F repeat = 6 config = seek 10 end
begin prog = mplayer button = BACK repeat = 6 config = seek -70 end
begin prog = mplayer button = NEXT repeat = 6 config = seek 70 end
begin prog = mplayer button = VOL_DOWN repeat = 6 config = volume -1 end
begin prog = mplayer button = VOL_UP repeat = 6 config = volume 1 end
#Xine
begin prog = xine button = PLAY config = Play end
begin prog = xine button = PAUSE config = PAUSE end
begin prog = xine button = STOP config = Stop end
begin prog = xine button = POWER config = Quit end
begin prog = xine button = D config = quit end
begin prog = xine button = MOUSE_RIGHT_BTN config = quit end
begin prog = xine button = ARROW_UP repeat = 4 config = EventUp end
begin prog = xine button = ARROW_DOWN repeat = 4 config = EventDown end
begin prog = xine button = ARROW_LEFT repeat = 4 config = EventLeft end
begin prog = xine button = ARROW_RIGHT repeat = 4 config = EventRight end
begin prog = xine button = OK repeat = 0 config = EventSelect end
begin prog = xine button = MOUSE_UP repeat = 4 config = EventUp end
begin prog = xine button = MOUSE_DOWN repeat = 4 config = EventDown end
begin prog = xine button = MOUSE_LEFT repeat = 4 config = EventLeft end
begin prog = xine button = MOUSE_RIGHT repeat = 4 config = EventRight end
begin prog = xine button = MOUSE_LEFT_BTN repeat = 0 config = EventSelect end
begin prog = xine button = DVD_ROOTMENU repeat = 0 config = Menu end
#vol down begin prog = xine button = VOL_DOWN repeat = 1 config = Volume- end
#vol up begin prog = xine button = VOL_UP repeat = 1 config = Volume+ end
begin prog = xine button = TV_ON_DEMAND repeat = 1 config = ZoomIn end
begin prog = xine button = MAXAMIZE repeat = 1 config = ZoomOut end
#skip chapter forward begin prog = xine button = NEXT repeat = 1 config = EventNext end
#skip chapter backward begin prog = xine button = BACK repeat = 1 config = EventPrior end
begin prog = xine button = F repeat = 2 config = SeekRelative+45 end
begin prog = xine button = E repeat = 2 config = SeekRelative-45 end
5. Reboot
Check out ATI Remote_Wonder?.jpg in below link for visual representation of keymappings.
http://mikenet.iwarp.com/MythTV/ATI_Remote_Wonder
|
|
Top |
|
|
docdailey
|
Posted: Sun Dec 04, 2005 8:01 pm |
|
Joined: Tue Nov 22, 2005 8:13 pm
Posts: 13
|
PVR-150 MCE kit
T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 4 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=16 #Cfgs= 1
P: Vendor=0609 ProdID=031d Rev= 0.00
S: Manufacturer=SMK
S: Product=eHome Infrared Transceiver
S: SerialNumber=SM0040qQ
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=lirc_mceusb2
E: Ad=01(O) Atr=03(Int.) MxPS= 16 Ivl=1ms
E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=1ms
|
|
Top |
|
|
badger
|
Posted: Fri Dec 16, 2005 8:27 pm |
|
Joined: Sun Dec 11, 2005 12:10 pm
Posts: 3
|
Let me start off by saying I am a newbie when it comes to anything Linux.
I am currently looking to my own knoppmyth box. In all my reading I can across this site with all these remote control codes/files.
http://lirc.sourceforge.net/remotes/
I'm sorry if this is old news, but it seemed like this might answer some peoples questions about remote codes.
|
|
Top |
|
|
simonf
|
Posted: Sat Dec 17, 2005 2:11 pm |
|
Joined: Wed Nov 09, 2005 1:21 pm
Posts: 161
Location:
Manchester UK
|
Hi
I am very confused I have a remote that almost works although i dont know why??
When I installed R5A26 my remote started working to a fasion, all the numbers worked as arrows ie 8 is up 4 left 6 right 2 down enter works as select. In an atempt to fix this i looked at the lirc files I found the lircd.conf file which i placed in /etc/. but it didnt seem to make any difference.
Code: # # this config file was automatically generated # using lirc-0.6.6(sa1100) on Sun Feb 23 17:02:27 2003 # # contributed by Denes Balatoni <pnis at coder.hu> # Modified by Daniel Foote <freefoote at dview dot net> to # work with remote that came with DVB-T card. # # brand: kworld # model no. of remote control: ? # devices being controlled by this remote: tv878r tuner card #
begin remote
name KWorld_DVB-T bits 16 flags SPACE_ENC|CONST_LENGTH eps 30 aeps 100
header 8853 4526 one 533 1713 zero 533 589 ptrail 531 repeat 8853 2281 pre_data_bits 16 pre_data 0x61D6 gap 107839 toggle_bit 0
begin codes ch- 0x0000000000007887 7 0x000000000000E01F preview 0x00000000000038C7 zoom 0x00000000000018E7 3 0x000000000000C03F 1 0x000000000000807F epg 0x000000000000D02F vol+ 0x000000000000D827 vol- 0x000000000000F807 5 0x000000000000A05F 9 0x000000000000906F reset 0x000000000000A857 turnleft 0x000000000000E817 6 0x000000000000609F 0 0x00000000000050AF power 0x00000000000048B7 scan 0x00000000000030CF 2 0x00000000000040BF mute 0x00000000000008F7 snap 0x000000000000C837 4 0x00000000000020DF turnup 0x00000000000000FF 8 0x00000000000010EF backward 0x0000000000008877 source 0x000000000000F00F forward 0x0000000000009867 pip 0x00000000000028D7 ch- 0x000000000000E817 play 0x0000000000006897 ch+ 0x00000000000058A7 stop 0x000000000000B04F function- 0x00000000000020DF pause 0x000000000000708F function+ 0x00000000000030CF rec 0x000000000000B847 end codes
end remote
I then i had a look round at making my own file i tried to run irrecord to no avail I then ran ps -e Code: > ps -e PID TTY TIME CMD 1 ? 00:00:01 init 2 ? 00:00:00 migration/0 3 ? 00:00:00 ksoftirqd/0 4 ? 00:00:00 events/0 5 ? 00:00:00 khelper 6 ? 00:00:00 kthread 8 ? 00:00:00 kacpid 100 ? 00:00:00 kblockd/0 140 ? 00:00:00 pdflush 141 ? 00:00:05 pdflush 143 ? 00:00:00 aio/0 142 ? 00:00:23 kswapd0 144 ? 00:00:00 jfsIO 145 ? 00:00:00 jfsCommit 146 ? 00:00:00 jfsSync 147 ? 00:00:00 xfslogd/0 148 ? 00:00:00 xfsdatad/0 149 ? 00:00:00 xfsbufd 737 ? 00:00:00 kseriod 806 ? 00:00:00 ata/0 812 ? 00:00:00 scsi_eh_0 813 ? 00:00:00 scsi_eh_1 825 ? 00:00:00 kcryptd/0 826 ? 00:00:00 kmirrord 830 ? 00:00:00 kjournald 1180 ? 00:00:00 khubd 1389 ? 00:00:00 khpsbpkt 1960 ? 00:00:00 kgameportd 2459 ? 00:00:05 kjournald 2638 ? 00:00:00 portmap 3052 ? 00:00:00 syslogd 3083 ? 00:00:00 klogd 3191 ? 00:00:00 apache 3192 ? 00:00:03 apache 3193 ? 00:00:02 apache 3201 ? 00:00:03 apache 3202 ? 00:00:02 apache 3203 ? 00:00:02 apache 3229 ? 00:00:00 inetd 3857 ? 00:00:00 mysqld_safe 3893 ? 00:01:37 mysqld 3894 ? 00:00:00 logger 3950 ? 00:00:00 sshd 3983 ? 00:25:51 mythbackend 4078 ? 00:37:26 kdvb-fe-0 4381 ? 00:00:00 shpchpd_event 5015 ? 00:00:00 automount 5048 ? 00:00:00 ntpd 5080 ? 00:00:00 atd 5111 ? 00:00:00 cron 5186 ? 00:00:00 gdm 5210 ? 00:00:00 gdm 5332 ? 00:02:56 XFree86 5473 tty1 00:00:00 getty 5475 tty3 00:00:00 getty 5476 tty4 00:00:00 getty 5477 tty5 00:00:00 getty 5478 tty6 00:00:00 getty 5530 ? 00:00:00 miniserv.pl 5535 ? 00:00:00 x-window-manage 5575 ? 00:00:00 ssh-agent 5709 ? 00:00:03 apache 7077 ? 00:00:00 nmbd 7079 ? 00:00:00 smbd 7080 ? 00:00:00 smbd 7246 ? 00:00:02 apache 9960 ? 00:00:00 xterm 9961 ttyp0 00:00:00 sh 11230 tty2 00:00:00 bash 12466 ? 00:00:00 apache 12467 ? 00:00:00 apache 12468 ? 00:00:00 apache 15437 ttyp0 00:00:01 mythfrontend 15632 ? 00:00:49 cx88[0] dvb 15894 ? 00:00:01 smbd 15953 ? 00:00:00 smbd 15991 ? 00:00:00 miniserv.pl 16007 ? 00:00:00 miniserv.pl 16008 ? 00:00:00 miniserv.pl 16013 ? 00:00:00 sh 16014 ? 00:00:00 ps
No lirc seemes to be running but my remote still seemed to work to a fashion.
dosnt matter what i do to lirc my remote keeps partly working. so how do i get lirc going and using my lirc file.
any help would be apreciated
Simon
_________________ Running:-
Intel 930 3GHz dual Core
Thermaltake Fanless CPU Cooler
Asus P5GS
Samsung 750G Sata HDD
8400 512m Video Card
2 * jetway DVB-t
1 * Haupage DVB-S2 Card
Samsung Sata 16x DVDRW
2048M Ram
1 * Netop Ion 330
|
|
Top |
|
|
simonf
|
Posted: Sun Dec 18, 2005 11:51 am |
|
Joined: Wed Nov 09, 2005 1:21 pm
Posts: 161
Location:
Manchester UK
|
Ok I have a Jetway / Kworld Dvb-t Card with Remote as mensioned in my previous post I spent a couple of days trying to work out why Lirc was/wasn't working properly to no avail.
The remote seemed to partly work with no lirc running.
I read some posts and found that some remotes seemed to work as keyboards. so to that end i ran showkey from the console and have generated a file that contains the scancodes below
Code: Power : 0x74 0xf4 Source : 0x00 0x83 0x8b 0x80 0x83 0x8b Scan : 0x00 0x81 0xd9 0x80 0x81 0xd9 EPG : 0x00 0x83 0x82 0x80 0x83 0x82 Mute : 0x71 0xf1 1 : 0x4f 0xcf 2 : 0x50 0xd0 3 : 0x51 0xd1 Zoom : 0x00 0x82 0xf4 0x80 0x82 0xf4 4 : 0x4b 0xcb 5 : 0x4c 0xcc 6 : 0x4d 0xcd Preview : 0x00 0x82 0xe6 0x80 0x82 0xe6 7 : 0x47 0xc7 8 : 0x48 0xc8 9 : 0x49 0xc9 Snap : 0x1f 0x9f Escape : 0x01 0x81 0 : 0x52 0xd2 Enter : 0x1c 0x9c Record : 0x00 0x81 0xa7 0x80 0x81 0xa7 Stop : 0x00 0x81 0x80 0x80 0x81 0x80 Pause : 0x77 0xf7 Play : 0x00 0x81 0xcf 0x80 0x81 0xcf Backward : 0x00 0x81 0xa8 0x80 0x81 0xa8 Ch Up : 0x00 0x83 0x92 0x80 0x83 0x92 Forward : 0x00 0x81 0xd0 0x80 0x81 0xd0 Left Vol- : 0x72 0xf2 Pip : 0x00 0x83 0x88 0x80 0x83 0x88 Ch Down : 0x00 0x83 0x93 0x80 0x83 0x93 Reset : 0x00 0x82 0xe3 0x80 0x82 0xe3 Right Vol+ : 0x73 0xf3
Right now i want to know where to go fron here. I thought of using somthing like loadkeys to remap these as the myth keys but i seem to remember reading someware that this dosnt work in X.
I think ill start there if anyone has any better ideas please post.
_________________ Running:-
Intel 930 3GHz dual Core
Thermaltake Fanless CPU Cooler
Asus P5GS
Samsung 750G Sata HDD
8400 512m Video Card
2 * jetway DVB-t
1 * Haupage DVB-S2 Card
Samsung Sata 16x DVDRW
2048M Ram
1 * Netop Ion 330
|
|
Top |
|
|
mad_paddler
|
Posted: Thu Jan 05, 2006 4:46 am |
|
Joined: Sun Jun 12, 2005 2:39 pm
Posts: 464
Location:
UK
|
Hauppauge silver remote with a Nova-T
There is a simple script aswell to set the correct event number
Watch out for wrapping :S
LIRC STUFF:
Hardware.conf
Code: # /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="dev/input" # If DEVICE is set to /dev/lirc and devfs is in use /dev/lirc/0 will be # automatically used instead DEVICE="/dev/input/event3" MODULES="lirc_dev lirc_i2c" Script to set the correct event number Code: #!/bin/sh # # Script to setup Nova-T lirc # # v0.2 Paul Grigg (mad_paddler)
event=`cat /proc/bus/input/devices | grep -m 1 -A 2 Nova-T | grep -o event[0123456]` noOfNovas=`cat /proc/bus/input/devices | grep -c -A 2 Nova-T`
if [ $noOfNovas -eq 0 ]; then echo "====ERROR====" echo "Could not detect a Nova-T card..." echo "=============" exit fi
if [ $noOfNovas -gt 1 ]; then echo "====Warning====" echo "You have $noOfNovas Nova-T's installed make sure the IR dongle is in the first card (nearest AGP slot)" echo "===============" fi
sed "s/event3/$event/" /etc/lirc/hardware.conf >/etc/lirc/hardware.conf.new cp --reply=yes /etc/lirc/hardware.conf.new /etc/lirc/hardware.conf rm -f /etc/lirc/hardware.conf.new lircd.conf Code: # Please make this file available to others # by sending it to <lirc@bartelmus.de> # # this config file was automatically generated # using lirc-0.7.2pre1(devinput) on Sat Jun 18 13:18:13 2005 # # contributed by Paul Grigg (mad_paddler) # # brand: Hauppauge Nova-T Connexant # model no. of remote control: A415-HPG # devices being controlled by this remote: #
begin remote
name cx88.cfg bits 16 eps 30 aeps 100
one 0 0 zero 0 0 pre_data_bits 16 pre_data 0x8001 gap 132900 toggle_bit 0
begin codes Go 0x0161 Power 0x0074 TV 0x0179 Videos 0x0189 Music 0x0188 Pictures 0x016F Guide 0x016D Radio 0x0181 UP 0x0067 DOWN 0x006C LEFT 0x0069 RIGHT 0x006A OK 0x001C Back 0x00AE Menu 0x008B Vol+ 0x0073 Vol- 0x0072 CH+ 0x0192 CH- 0x0193 Prev-Ch 0x019C Mute 0x0071 Rec 0x00A7 Stop 0x0080 FRW 0x00A8 Play 0x00CF FFW 0x00D0 Skip-Back 0x00A5 Pause 0x0077 Skip-For 0x00A3 1 0x004F 2 0x0050 3 0x0051 4 0x004B 5 0x004C 6 0x004D 7 0x0047 8 0x0048 9 0x0049 0 0x0052 Star 0x0184 Hash 0x0172 Red 0x018E Green 0x018F Yellow 0x0190 Blue 0x0191 end codes
end remote lircrc Code: # ~/.mythtv/lircrc # # MythTV native LIRC config file for # the Hauppauge Nova-T silver remote # # Modified from Jarod Wilson's which came from Jeff Campbell's # and Brad Templeton's # Modified still further by Robert Jones # And again by Paul Grigg (mad_paddler)
# Here we have the jump point commands. They only work if you have # defined function keys for these jump points.
begin prog = mythtv button = TV repeat = 3 config = F5 end
begin prog = mythtv button = Videos repeat = 3 config = F2 end
# Not yet defined begin prog = mythtv button = Music repeat = 3 config = Up end
# Given another function for now, I don't use mythgallery begin prog = mythtv button = Pictures repeat = 3 config = F end
begin prog = mythtv button = Guide repeat = 3 config = F3 end
# I stuck the "todo" list on here as Myth has no radio function begin prog = mythtv button = Radio repeat = 3 config = F4 end
begin prog = mythtv button = UP repeat = 3 config = Up end
begin prog = mythtv button = DOWN repeat = 3 config = Down end
begin prog = mythtv button = LEFT repeat = 3 config = Left end
begin prog = mythtv button = RIGHT repeat = 3 config = Right end
# Channel Up begin prog = mythtv button = CH+ repeat = 3 config = Up end
# Channel Down begin prog = mythtv button = CH- repeat = 3 config = Down end
# OK/Select begin prog = mythtv button = OK config = Space end
# Play begin prog = mythtv button = Play config = Return end
# Stop begin prog = mythtv button = Stop config = I end
# Escape/Exit/Back begin prog = mythtv button = Back config = Esc end
# Power Off/Exit begin prog = mythtv button = Power config = Esc end
# Pause begin prog = mythtv button = Pause repeat = 3 config = P end
# Mute begin prog = mythtv button = Mute repeat = 3 config = | end
# Fast forward (30 sec default) begin prog = mythtv button = FFW repeat = 3 config = > end
# Rewind (10 sec default) begin prog = mythtv button = FRW repeat = 3 config = < end
# Skip forward (10 min default) begin prog = mythtv button = Skip-For repeat = 3 config = End end
# Skip backward (10 min default) begin prog = mythtv button = Skip-Back repeat = 3 config = Home end
# Record begin prog = mythtv button = Record repeat = 3 config = R end
# Delete begin prog = mythtv button = Red repeat = 3 config = /usr/bin/mythtvosd --bcastaddr=127.0.0.1 --template=alert alert_text="`/usr/bin/mbmon -c 1 -t -u
| sed -e 1d -e 3d`" end
# Decrease play speed begin prog = mythtv button = Green repeat = 3 config = J end
# Display EPG while in live TV, # View selected show while in EPG begin prog = mythtv button = Menu repeat = 3 config = M end
# Scroll up begin prog = mythtv button = Vol+ repeat = 3 config = F11 end
# Scroll down begin prog = mythtv button = Vol- repeat = 3 config = F10 end
# Bring up OSD info begin prog = mythtv button = Go repeat = 3 config = I end
# Change display aspect ratio begin prog = mythtv button = Prev-Ch repeat = 3 config = W end
# double speed watch begin prog = mythtv button = Yellow repeat = 3 config = J end
# change tuners begin prog = mythtv button = Hash repeat = 3 config = Y end
# Bring up Time stretch begin prog = mythtv button = Blue repeat = 3 config = A end
# Numbers 0-9
begin prog = mythtv button = 0 repeat = 3 config = 0 end
begin prog = mythtv button = 1 repeat = 3 config = 1 end
begin prog = mythtv button = 2 repeat = 3 config = 2 end
begin prog = mythtv button = 3 repeat = 3 config = 3 end
begin prog = mythtv button = 4 repeat = 3 config = 4 end
begin prog = mythtv button = 5 repeat = 3 config = 5 end
begin prog = mythtv button = 6 repeat = 3 config = 6 end
begin prog = mythtv button = 7 repeat = 3 config = 7 end
begin prog = mythtv button = 8 repeat = 3 config = 8 end
begin prog = mythtv button = 9 repeat = 3 config = 9 end
### MPlayer lirc setup
# Show OSD begin prog = mplayer button = Menu repeat = 3 config = osd end
# Pause playback begin prog = mplayer button = Pause repeat = 3 config = pause end
# Skip ahead a minute if playing # If paused, resume playing begin prog = mplayer button = Play repeat = 3 config = seek +1 end
# Stop playback and exit begin prog = mplayer button = Stop repeat = 3 config = quit end
# Mute begin prog = mplayer button = Mute repeat = 3 config = mute end
# Seek back 10 seconds begin prog = mplayer button = FRW repeat = 3 config = seek -10 end
# Seek forward 30 seconds begin prog = mplayer button = FFW repeat = 3 config = seek +30 end
# Quit begin prog = mplayer button = Back repeat = 3 config = quit end
# Seek forward 10 minutes begin prog = mplayer button = Skip-For repeat = 3 config = seek +600 end
# Seek backward 10 minutes begin prog = mplayer button = Skip-Back repeat = 3 config = seek -600 end
# Toggle full-screen begin prog = mplayer button = FULL repeat = 3 config = vo_fullscreen end
### Xine lirc setup
begin prog = xine button = Play repeat = 3 config = Play end
begin prog = xine button = Stop repeat = 3 config = Stop end
begin prog = xine button = Power repeat = 3 config = Quit end
begin prog = xine button = Pause repeat = 3 config = Pause end
begin prog = xine button = CH+ repeat = 3 config = EventUp end
begin prog = xine button = CH- repeat = 3 config = EventDown end
begin prog = xine button = Vol- repeat = 3 config = EventLeft end
begin prog = xine button = Vol+ repeat = 3 config = EventRight end
begin prog = xine button = OK repeat = 3 config = EventSelect end
begin prog = xine button = Back repeat = 3 config = Menu end
begin prog = xine button = FFW repeat = 3 #config = SpeedFaster config = SeekRelative+60 end
begin prog = xine button = FRW repeat = 3 #config = SpeedSlower config = SeekRelative-60 end
begin prog = xine button = FULL repeat = 3 config = Volume+ end
begin prog = xine button = BLANK repeat = 3 config = Volume- end
begin prog = xine button = Mute repeat = 3 config = Mute end
begin prog = xine button = Menu repeat = 3 config = RootMenu end
begin prog = xine button = SKIP repeat = 3 config = EventNext end
begin prog = xine button = REPLAY repeat = 3 config = EventPrior end
begin prog = xine button = Go repeat = 3 config = OSDStreamInfos end
begin prog = xine button = Red repeat = 3 config = Quit end
|
|
Top |
|
|