LinHES Forums http://forum.linhes.org/ |
|
Compro Technology Remote http://forum.linhes.org/viewtopic.php?f=2&t=8349 |
Page 1 of 1 |
Author: | 0rac [ Tue Feb 07, 2006 5:20 am ] |
Post subject: | Compro Technology Remote |
Hi I have just install knoppmyth on a box with a Compro VideoMate DVB-T300 Chipset: Philips SAA 7134 I had to recompile the kernel and get the latest cvs for the video from LinuxTV.org (http://www.linuxtv.org) but finally the card detected and I thought all would be well. Unfortunately the remote is driving me insane. After going through every site I could find on it I am still having problems. I have recorded the remote button activity and have tested lircd -H dev/input -d /dev/input/event2 [event2 is the correct event for my machine] and receive a response from irw which indicates that the remote is funtioning and passing signals through to ircd my cut down lircd file looks like this: begin remote name /tmp/my-remote2 bits 16 eps 30 aeps 100 one 0 0 zero 0 0 pre_data_bits 16 pre_data 0x8001 gap 314618 toggle_bit 0 begin codes Space 0x0160 Escape 0x008D end codes end remote These corespone to the OK button and Guide and a button I am trying to assign to escape out of a screen. According to keys.txt I believe this to be correct and again those words appear when the remote is run on irw. There is some activity with the remote however. the middle set of arrow keys work for basic navigation within mythtv and at the console they allow scrolling back through previous commands. I have not included them in the list above so am unsure why this is happening unless it is built into some other control. the file I am editing is in the /etc/lirc/lircd.conf and it is the one generated by knoppix myth when the remote script is set to no remote [42] If anyone has any ideas please let me know as it is driving me insane now. Thanks |
Author: | 0rac [ Wed Feb 08, 2006 7:41 am ] |
Post subject: | |
I was unsure whether the lirc program was loading automatically so I have made the following adjustments: prevented the /etc/init.d/lirc from executing add own script with the following to start at loading: /sbin/modprobe saa7134 oss=1 card=70 /sbin/modprobe saa7134-dvb /usr/sbin/lircd -H dev/input -d /dev/input/event2 /usr/sbin/lircmd This script seems to have completely wiped the basic control that I had with the remote. But now when I quite to a console irw works immeadiately without problems and returns the characters required. |
Author: | 0rac [ Wed Feb 08, 2006 7:43 am ] |
Post subject: | |
I have not made any changes to the lircrc file in /home/mythtv/.mythtv It is still the default as follow: for the # lircrc.example.HauppaugeGrey-nativelirc Is there something here that may need to be altered? At this point wild speculation would be appreciated. # lircrc.example.HauppaugeGrey-nativelirc # 2003-09-17, Robert Kulagowski # mailto:rkulagow@rocketmail.com # Save this file in ~/.mythtv/lircrc begin prog = mythtv button = Off config = Esc end begin prog = mythtv button = Go # Swap the PiP windows config = N end begin prog = mythtv button = 1 config = Esc 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 = Back/Exit config = Esc end begin prog = mythtv button = 0 config = 0 end begin prog = mythtv button = Menu config = M end # Below are keys used with the Hauppauge Grey remote begin prog = mythtv # This is the Red key # We'll use it for "Delete" button = Red config = D end begin prog = mythtv # This is the Green key # We'll use it for "Information" button = Green config = I 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 as a volume key button = Yellow repeat = 3 config = F10 end begin prog = mythtv # This is the Blue key # Use it as a volume key button = Blue repeat = 3 config = F11 end begin prog = mythtv button = Ch+ # This is the "up" on the central diamond repeat = 3 config = Up end begin prog = mythtv button = Ch- # This is the "down" on the central diamond repeat = 3 config = Down end begin prog = mythtv button = Vol- # This is the "left" on the central diamond repeat = 3 config = Left end begin prog = mythtv button = Vol+ # This is the "right" on the central diamond repeat = 3 config = Right end begin prog = mythtv # Middle button on the diamond button = Ok config = Return end begin prog = mythtv button = Mute config = F9 end begin prog = mythtv # Change focus for PiP (to change channel in the other window) button = Blank config = B end begin prog = mythtv # Toggle PiP on/off button = Full config = V end begin prog = mythtv button = Rew config = Left end begin prog = mythtv button = Play config = P end begin prog = mythtv button = FFW config = Right end begin prog = mythtv button = Record config = R end begin prog = mythtv # Teletext button = Stop config = T end begin prog = mythtv button = pause config = P end begin prog = mythtv button = Replay # Use for backwards commercial skip config = Q end begin prog = mythtv button = Skip # Use for forward commercial skip config = Z 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 = eject end |
Author: | 0rac [ Wed Feb 08, 2006 8:13 am ] |
Post subject: | |
I think I have solved it myself. I will post back with the results. |
Author: | 0rac [ Wed Feb 08, 2006 9:22 am ] |
Post subject: | |
Problem solved. Now that I see how the 2 files interact. There must have been a default setting to allow the remote to work if the lirc program was not set up properly. The default file in /home/mythtv/.mythtv set of commands needed to be configured to match the lircd.conf file input. Straight forward really but not easy to find references to. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |