I tried lirc-reconfig.sh as root. Selected the type as hauppage and the remote type as silver. It gave the following msgs
Stopping lirc daemon: lircmd lircd.
Starting lirc daemon: lircdDriver `default' not supported.
But without continuing the rest of the steps, shutdown the machine. Now when i start the machine my remote has totally stopped working. I have pvr 350. can anybody suggest what steps should i take to get it back working ?
Initially during the initial knoppmyth setup, it has asked for the type of remote and i had specified 350, and it had worked right out of the box.
/usr/local/share/knoppmyth/remotes/hauppauge/etc/lircd.conf to /etc/lirc/lircd.conf, but even that did not work.
NOTE: this can be used to restart whatever you want, but here I use to to restart mythfrontend 
Well, I'm sure all of you at one point in time have had mythfrontend crash on you. It's easy to restart, but if your loved one(s) use your mythtv box, they may not be able to! Well, here is an easy way to be able to use your remote to easily restart mythfrontend! The following will cause a small box to pop up onscreen allowing you so select whether or not you'd like to restart mythfrontend.
Note: I have a Hauppauge PVR-250 remote, if you don't you may have to adjust the buttons accordingly
Without further adue...
We will be using irexec and irxevent to do this, as well as xdialog to make the popup, so first:
Code:
apt-get update && apt-get install lirc-x xdialog
Note, this will move your /etc/lircd.conf to /etc/lirc/lircd.conf, so you will have to copy it back.
Next we have to configure irxevent and irexec to start when X is started, so we add the following lines to /home/.fvwm/.fvwm2rc (this is at the bottom of the file)
Code:
#Remove comment to start irxevents
exec irxevent &
exec irexec &
Also, we want to change the focus model in .fvwmrc to make the popup box come to the front, and focus, so make these changes to the .fvwm2rc file as well:
Comment out
Code:
#ColormapFocus FollowsMouse
and add
Code:
Style * GrabFocus, GrabFocusTransient
Then comment out
Code:
#Style * FocusFollowsMouse
And save.
With that done, we will now create a simple script to make the popup:
With your favourite editor, create a file (I called mine restartmyth.sh) with the following in it:
Code:
#!/bin/sh
Xdialog --title "Restart MythTV" --yesno "Would you like to restart
MythTV?" 0 0
if [ $? -eq 0 ]
then
killall mythfrontend
mythfrontend &
fi
Then copy it to somewhere in your path...I chose /usr/bin.
Next, give proper permissions to mythtv user, so (as root):
Code:
chown root:mythtv /path/to/yourfilename.sh
chmod 770 /path/to/yourfilename.sh
Next, we want to bind this script to a key on the remote, so edit your /home/mythtv/.lircrc and add these lines:
Code:
begin
prog = irexec
button = Go
config = restartmyth.sh &
end
begin
prog = irxevent
button = Ok
repeat = 0
config = Key KP_Enter CurrentWindow
end
begin
prog = irxevent
button = Vol+
repeat = 3
config = Key Right CurrentWindow
end
begin
prog = irxevent
button = Vol-
repeat = 3
config = Key Left CurrentWindow
end
Note, you can configure the buttons to be whatever you want. Note that I set "GO" to launch this popup dialog, and I set left and right and OK buttons so I can go back and forth and select. Also note that if you bind the left and right keys using irxevent, you will want have to comment out the other left/right keybindings in your .lircrc or else you will be passing the commands twice

Now, save, and reboot...that's it!
Enjoy.