View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 35 posts ] 
Go to page Previous  1, 2, 3

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject:
PostPosted: Thu Jan 11, 2007 7:27 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
I've got another idea... If you've got a backup that was made before you started changing this stuff you can extract the old files from that... From my own restore_lirc.sh script:
Code:
cd /
tar zxvf /myth/backup/savedfiles.tar.gz ./etc/lirc/lircd.conf ./home/mythtv/.mythtv/lircrc


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 11, 2007 7:45 pm 
Offline
Joined: Tue Jan 02, 2007 9:00 pm
Posts: 76
Dear Mr spalVl

I don't know how I could ever repay you, you have been a great help, I did everything all over again and it works now!!!!, the only thing that I did different is that I removed the first part of the lircrc file, and now it works perfect, it seems that this was the part causing the problem (I think). The following is the part that I removed, which is the part that is supposed to match the information in the lirrc.conf file (I think)

Quote:
#
# contributed by Bart Alewijnse
#
# brand: Pinnacle Systems
# model: PCTV Remote (Perhaps other ones as well)
# supported devices: there’s only one I know of. (serial)
#
# Mail me if your remote is only partly supported, or if it has different
# buttons than listed below.
#

begin remote

name PinnacleSysPCTVRemote
bits 8
eps 30
aeps 100

one 0 0
zero 0 0
gap 180000

begin codes
Mute 0×000000000000003C
Power 0×000000000000002F
Chan+Play 0×000000000000003F
Chan-Stop 0×000000000000003E
Vol+FF 0×000000000000003B
Vol-Rew 0×000000000000003D
1 0×0000000000000031
2 0×0000000000000032
3 0×0000000000000033
4 0×0000000000000034
5 0×0000000000000035
6 0×0000000000000036
7 0×0000000000000037
8 0×0000000000000038
9 0×0000000000000039
Fullscreen 0×000000000000002D
0 0×000000000000003A
Info 0×000000000000002B
Preview 0×000000000000002E
Record 0×0000000000000027
Chan_Last 0×0000000000000025
F_TV 0×0000000000000026
F_TELETEXT 0×0000000000000029
F_RADIO 0×000000000000002A

#
# here are some extra buttons a new version of the remote seems to have
#
# contributed by Robbert Monna
#
# brand: Pinnacle Systems
# model: PCTV Remote (newest version?)
# supported devices: dongle on serial port (from TV-Card)
#
L 0×000000000000001F
Zoom 0×000000000000001E
vol+ 0×000000000000001B
vol- 0×000000000000000F
channel+ 0×0000000000000017
channel- 0×000000000000001C
middle 0×000000000000001A
Menu 0×000000000000001D
next 0×0000000000000019
undo 0×0000000000000016
pause 0×0000000000000015
redo 0×0000000000000013
Rewind 0×000000000000000E
Play 0×000000000000000D
Stop 0×000000000000000B
FForward 0×0000000000000007
EPG 0×0000000000000018

# here are some more buttons that seem to be mapped differently from
# the ones above

# contributed by InterCeptor ceptor_7@freemail.hu
#
# brand: Pinnacle Systems PCTV Pro Remote
# model no. of remote control: (I can’t find any numbers on it)
# supported devices: serial
#



Now everything works really good, the only thing is that my receiver picks up the signals from every remote, if I try to do something with the TV remote it will affect Mythtv, and so on and so forth, do yo know why this is? is this a result of me removing the first part of the lircrc file?

Again thanks a lot for your help, I really appreciate it.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 11, 2007 8:21 pm 
Offline
Joined: Mon Aug 29, 2005 4:04 pm
Posts: 729
Location: Philadelphia, PA US
I glad you stuck though it.

I think you were misunderstanding me, when your erred up the lircrc file.

That above excerpt you posted is a lircd.conf file. That should have NOT been in lircrc. I think we had a communication breakdown when I said lircd.conf names had to match exactly lircrc button names.

Out of that file you posted the only specific text entries should match contents of lircrc.

So you see these are your 1st 2 defined buttons in lircd.conf. Mute and Power?

Code:
Mute
Power


They are just names definitions that the lirc Daemon assigns to IR codes it recieves.

Then in lircrc those buttons are defined functions in programs' config (function).

So for example a remote with above 2 buttons lircrc would look like this.

Code:
begin
prog = mythtv
button = Mute
repeat = 3
config = |
end

begin
prog = mythtv
button = Power
repeat = 3
config = OK
end



You expand on this and have other buttons do other function in MythTV or other functions in Mplayer, Xine, etc.

Sometimes the internet make it harder to communicate.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 11, 2007 8:28 pm 
Offline
Joined: Mon Aug 29, 2005 4:04 pm
Posts: 729
Location: Philadelphia, PA US
O the reciever picking up other signals shouldn't matter UNLESS those signals are defined buttons in lircd.conf which is unlikley.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 11, 2007 10:06 pm 
Offline
Joined: Tue Jan 02, 2007 9:00 pm
Posts: 76
From what you are telling me, what my error was in that I pasted the file that I found on the web completely onto my lircrc file whithout realizing, that the first part did not belong to it but to the lircd.conf file. Thats where my error was... Regarding the problem with my TV remote interacting with direct tv, it is a big problem because I do not live alone I live with 4 other people and if I set MYthtv to record something and I go to work and in the mean time somebody uses the TV (with its respective remote control) it might affect my recording... For example if I try to lower the volume using me TV's remote it will lower Mythtv's volume and it will type a 666 on the screen (scarry!!!)

Anyway, again thanks alot for helping this total stranger, if there is anything within my reach that I can help you with let me know, same goes to you TJC and all the other that have helped me....

Take care...


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 35 posts ] 
Go to page Previous  1, 2, 3



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 5 guests


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:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu