NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Hardware v
« Previous 1 … 36 37 38 39 40 … 263 Next »
Guide for getting serial ir receiver useable with gbpvr

 
  • 0 Vote(s) - 0 Average
Guide for getting serial ir receiver useable with gbpvr
dinki
Offline

Senior Member

Posts: 416
Threads: 71
Joined: Mar 2006
#1
2006-03-27, 05:47 PM
First, let me just say thanks for this wonderful piece of software that is gbpvr! I am a former MythTV user and was pleasantly surprised at the level of maturity of this project. In a gesture of thanks, I would like to offer this documentation for others who might want to build their own serial based ir receiver and use it with gbpvr.

Step One -- Build/Buy the hardware

Visit the lirc.org homepage for the schematic of the serial ir receiver:

http://lirc.org/receivers.html
http://lirc.org/images/schematics.gif

This circuit is pretty simple. If you're not handy with a soldering iron or understand how to read the schematic, chances are you can probably find someone who is. I'm pretty frugal, but you may prefer to buy a receiver. Links to people who sell the receiver can be found off the lirc.org homepage

Step Two -- Install WinLIRC

Go to the WinLIRC homepage and download the latest version:

http://winlirc.sourceforge.net/
http://prdownloads.sourceforge.net/winli...p?download

Unzip the file to whatever directory you want the software to be in. There is no installer. Run winlirc.exe . This should start the configuration sequence.

Choose your com port and make sure that DCD device is set. Change the config file at the bottom of the window to whatever you want to call your file. Mine is named 'Cinema7-2000.cf' as I am using a Cinema7 universal remote with code 2000.

Now click the Learn button. First name the remote. In my case I used Cinema7-2000 as the name. Select the default value of 25 for margin of error, hit enter for gap and length. Now follow the instructions pressing buttons as needed. At this point you will be prompted for a button name. You will need to go through each of the buttons on your remote that you would like to use. I configured all my buttons although I am not using all of them. This will allow you to add functions to the unused button later. After the last button has been recorded, press enter and you will be brought back to the configuration menu.

At this point, you want to press the Analyze button. This will only take a second. Once you are done, click the OK button on the configuration menu. Now try out the remote by pressing one of the learned buttons. You should see the WinLirc tray icon change from grey in color to green while the button is being pressed.

Step Three -- Install irex

Now that you've got WinLIRC installed, you need something that will take the codes and convert them into key presses that gbpvr can understand. Download irex:

http://www.ramscan.com/irex/

Again, this program has no installer, so put it in whatever directory you like.

Open the irexe.cfg file and add the entries you need to control gbpvr. The entries are formatted as remote name, remote button (name given in the Learn sequence above), action to take (key=keypress), and then what key press to send (although you can do other things like control the volume). Here is what my irexe.cfg file looks like:

Code:
; remote    key   type  command
server      ip    127.0.0.1
server      port  8765

trayicon    on


cinema7-2000 mute       vol mute
cinema7-2000 volup      vol up
cinema7-2000 voldown    vol down
cinema7-2000 enter      key enter
cinema7-2000 up         key up
cinema7-2000 down       key down
cinema7-2000 left       key left
cinema7-2000 right      key right
cinema7-2000 exit       key esc
cinema7-2000 menu       key home
cinema7-2000 chup       key up
cinema7-2000 chdown     key down
cinema7-2000 sel        key enter
cinema7-2000 play       key ctrl p
cinema7-2000 stop       key ctrl s
cinema7-2000 pause      key ctrl q
cinema7-2000 rew        key ctrl d
cinema7-2000 ff         key ctrl f
cinema7-2000 rec        key ctrl k
cinema7-2000 prevch     key ctrl w
cinema7-2000 display    key ctrl b
cinema7-2000 progguide  key ctrl g
cinema7-2000 1          key 1
cinema7-2000 2          key 2
cinema7-2000 3          key 3
cinema7-2000 4          key 4
cinema7-2000 5          key 5
cinema7-2000 6          key 6
cinema7-2000 7          key 7
cinema7-2000 8          key 8
cinema7-2000 9          key 9
cinema7-2000 0          key 0

Start irex.exe . You can now start gbpvr and your remote should work.

If you are having difficulties, you can open notepad and press the 1 key on your remote and you should see a 1 appear in notepad. If it doesn't work, make sure that WinLIRC is recognizing your remote signal (is the trayicon turning green when you press the button?). If WinLIRC is working, make sure that your remote name and remote button names are the same as what's in your WinLIRC config file.

Step Four -- Wrap it up

If everything is working, all that needs to be done is to get WinLIRC and irex to start automatically. Go into the WinLIRC folder, right click on winlirc.exe and choose send to -> Desktop (create shortcut). Go into the irex folder, right click on irex.exe and choose send to -> Desktop (create shortcut). Open C:\Documents and Settings\{YOUR USERNAME}\Start Menu\Programs\Startup . Move the two shortcuts you made for WinLIRC and irex into this folder.

Now reboot, start up gbpvr, and try the remote. All should be well. If not, make sure that the WinLIRC and irex tray icons are in the system tray.


I hope that someone finds this information useful. With about $10, a little time to build the hardware, and this guide, you should be able to use just about any remote you want to use with gbpvr. Good luck!
ricklous
Offline

Senior Member

Posts: 412
Threads: 8
Joined: Nov 2005
#2
2006-03-28, 07:14 AM
Looks like good stuff! Big Grin

Have you thought about putting this on the wiki?

http://www.gbpvr.com/pmwiki/

pm blader_se for an account to create pages etc....
[SIZE="1"]Building PVR-Only Machine for non-tech Uncle and Aunt:

Celeron 2.4, 1gig ram. Insight P4-ITX (mini-itx) mobo, 250w Shuttle silent PSU, slmline DVD rewriter, 40gig system HDD, 150gig Media HDD, Dual Riser holding Hauppauge PVR 350 and Nova-T, along with Nova-T USB2. MCE Remote 2005. Antique Art-Deco Radio for use as case when uncle finds one...

Time for a brew first though :p[/SIZE]
neilraymond
Offline

Member

Posts: 64
Threads: 9
Joined: Aug 2005
#3
2006-03-28, 12:26 PM
handy. I have a question though: is it possible to get irex to start gbpvr based on a button being pressed on the remote? i've got this working using girder and winlirc, but girder isn't free, and i'd prefer a free alternative if possible Wink

cheers

neil
neilraymond
Offline

Member

Posts: 64
Threads: 9
Joined: Aug 2005
#4
2006-03-28, 12:29 PM
ok, now i've read the instructions i see that it is. next time i'll read before posting... Big Grin
dinki
Offline

Senior Member

Posts: 416
Threads: 71
Joined: Mar 2006
#5
2006-03-28, 01:09 PM
Thanks Ricklous, I wanted to put it on the wiki but didn't know who was in charge of accounts. Now I do! Wink

ricklous Wrote:Looks like good stuff! Big Grin

Have you thought about putting this on the wiki?

http://www.gbpvr.com/pmwiki/

pm blader_se for an account to create pages etc....
creep
Offline

Junior Member

Posts: 12
Threads: 0
Joined: Oct 2007
#6
2007-12-27, 07:04 AM
I've used this guide / the harmony guide. The remote is working but it's sending 2 codes for every keypress it seems.

In the main menu of GBPVR, it works fine, but in all submenus the cursor will move twice.

Another funny remote issue is that in video playback gbpvr does not respond to any of my keypresses.
JonnyCam
Offline

Posting Freak

Posts: 1,153
Threads: 87
Joined: Feb 2006
#7
2007-12-27, 08:58 PM
Quote: Another funny remote issue is that in video playback gbpvr does not respond to any of my keypresses

Is this playing AVIs (not recordings) and if so, do you have DIVX installed? The DIVX tray icon steals focus from GBPVR so the remote commands don't work.

Use XVID if at all possible.
"Shut up brain, or I'll stab you with a Q-Tip!"

--= Win7, C2D 2.93 GHz, ASUS 9400GT Silent, 2GB Ram, Few HDD's, 3TB unRAID server, Samsung 50" 1080p Plasma via HDMI, 40" 1080i LCD via VGA =-- * PVR2000 Analog PCI / Avermedia DVB-S PCI / Hauppauge 2200 DVB/Analog * PCH GBPVR Client * *BD-E6500 w/ NPVR client*
creep
Offline

Junior Member

Posts: 12
Threads: 0
Joined: Oct 2007
#8
2007-12-27, 10:09 PM
Yes, it's when playing avi files and divx is installed.

So the solution is to remove divx?

Thanks for the response. I will look into this further when i get home this evening.
JonnyCam
Offline

Posting Freak

Posts: 1,153
Threads: 87
Joined: Feb 2006
#9
2007-12-27, 10:12 PM
Quote: So the solution is to remove divx?

Yep, XVID will do everything that divx does - except I found it won't decode the old divx 3.1 low & high motion codecs
(I found an old copy of divx which handles these without the tray icon)

Cheers
"Shut up brain, or I'll stab you with a Q-Tip!"

--= Win7, C2D 2.93 GHz, ASUS 9400GT Silent, 2GB Ram, Few HDD's, 3TB unRAID server, Samsung 50" 1080p Plasma via HDMI, 40" 1080i LCD via VGA =-- * PVR2000 Analog PCI / Avermedia DVB-S PCI / Hauppauge 2200 DVB/Analog * PCH GBPVR Client * *BD-E6500 w/ NPVR client*
creep
Offline

Junior Member

Posts: 12
Threads: 0
Joined: Oct 2007
#10
2007-12-28, 05:38 AM
I removed Divx and installed xvid. The remote works great during playback now. Thank you for your help.

I still have the problem with WinLIRC or IRex sending duplicate codes but that seems to be problem unrelated to GBPVR.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  USB IR Receiver for Harmony Remote SNielson 1 2,150 2018-04-23, 09:33 AM
Last Post: Graham
  USB receiver for FreeSat Bathman 3 2,953 2014-12-23, 11:04 PM
Last Post: haverer2
  TV Guide only shows 2 hours of programs PeterRushworth 2 2,396 2012-12-26, 06:27 AM
Last Post: PeterRushworth
  Help: MCE IR Receiver/Blaster setup hoopsdavis 4 3,778 2012-12-14, 01:20 AM
Last Post: hoopsdavis
  Manta USB IR receiver and blaster jam_zhou 2 2,208 2012-12-05, 09:50 PM
Last Post: JonnyCam
  Trying to get my MCE IR Receiver/Blaster to send different info to each blaster port kshaet 7 4,177 2012-12-05, 03:58 AM
Last Post: jam_zhou
  pvr 150 ir blaster+IR receiver work on HDPVR? jam_zhou 1 1,783 2012-11-06, 04:39 PM
Last Post: jam_zhou
  Oct 18th: $59 for new Hauppauge DCR-2650 Dual-Tuner Cable Card Receiver wtg 6 2,744 2012-10-18, 11:13 PM
Last Post: pcostanza
  MCE USB IR receiver wont let PC standby. fuzzweed 2 1,953 2012-05-12, 07:17 AM
Last Post: imilne
  Changing channels on a Motorola box via serial ls2 45 16,092 2012-03-29, 07:56 PM
Last Post: Jie

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode