IR support for USB-UIRT device - library &

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Livin Offline
Posting Freak
Posts: 3,551
Joined: May 2004
Reputation: 17
Location: above ground
Post: #1
Jon Rhees - the developer of USB-UIRT has given me the Linux shared library and example code... I have posted it here

I'm hoping someone can integrate it into XBMC?

I'm not an expert but I play one at work.
find quote
Gamester17 Offline
Team-XBMC Forum Moderator
Posts: 10,523
Joined: Sep 2003
Reputation: 10
Location: Sweden
Post: #2
Would it not be better to integrate that into LIRC so that we do not have to use two IR libraries?

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
topfs2 Offline
Team-Kodi Developer
Posts: 4,186
Joined: Dec 2007
Reputation: 13
Post: #3
According to the readme in the zip it actually is available in LIRC already...
Quote:First, a user wrote support for the USB-UIRT into Linux's LIRC program. However, I do *not* recommend using this route since it is difficult to set up and does not use Pronto-style codes, etc.
find quote
Gamester17 Offline
Team-XBMC Forum Moderator
Posts: 10,523
Joined: Sep 2003
Reputation: 10
Location: Sweden
Post: #4
So what is missing then is the use of Pronto-style codes in LIRC?

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
topfs2 Offline
Team-Kodi Developer
Posts: 4,186
Joined: Dec 2007
Reputation: 13
Post: #5
I'm not read up on either lirc or IR in general so I might be completely of.
pronto codes seems to be just a formating and/or standard on how IR-signals shall be sent. A long big hexnumber wich probably says how the signal should look like to give a specific IR signal.
This seems to be used in universal remotes as then one only need to know the pronto code for the old remotes key to have the universal remote mimic the old one.

So i think the reason for why USB-UIRT needs this is because it maybe uses it to send the signal forward to the next.

All in all I can't see an advantage for XBMC to have pronto, maybe if one would like to control the vcr through XBMC (Then the user could just tell the pronto code for REC etc. in XBMC)

I think a device using pronto code just as well could try to mimic the MCE remote instead and it would work with XBMC.

But as said. I have only googled this for a few minutes so my grip on the subject may be flawed Smile

On the topic with USB-UIRT:
Taken from mythtv wiki : http://www.mythtv.org/wiki/index.php/USB-UIRT

Quote:The USB UIRT allows any USB-equipped PC to transmit and receive infrared signals. LIRC 0.8.1 supports the USB-UIRT natively. LIRC 0.7.1 does not support the USB-UIRT natively, but the patch listed below can be used.

On ubuntu gutsy lirc is 0.8.2 so from what I can tell it shouldn't be difficult to get the device running without changing anything in the code. It probably asks at install time for USB-UIRT?
find quote