[PATCH] Native WinLIRC support to XBMC for Windows
#46
if i understand this correctly, all it would take is compiling the lirc code on windows (which mostly would entail the stripping of the inotify code). it's after all just a standard socket. there's no lib or anything like that involved.
Reply
#47
spiff Wrote:it's after all just a standard socket. there's no lib or anything like that involved.

That's correct. WinLIRC just puts out the name of the remote + button name + repeat count on a socket.

http://winlirc.sourceforge.net/developer.html

For the most basic of support, simply listening for the button name is enough.
WinLIRC, the Windows port of LIRC (Linux Infrared Remote Control):
http://winlirc.sourceforge.net
Active development of the WinLIRC package:
http://sourceforge.net/projects/winlirc/
LIRC config files for supported remote controls:
http://lirc.sourceforge.net/remotes/
Reply
#48
spiff Wrote:if i understand this correctly, all it would take is compiling the lirc code on windows (which mostly would entail the stripping of the inotify code). it's after all just a standard socket. there's no lib or anything like that involved.

To make things easy chadoe just replaced the lirc code with IRSS. The question is if we replace IRSS by winlirc or code some logic to provide both under g_RemoteControl.
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.
Reply
#49
yeah, we'd need to extend our stupid global instance approach to a manager with several input slaves. something that's highly desirable anyways (topfs2 will get foamy if you try to mention the current input abstraction Wink)
Reply
#50
Hola,

Can anybody help me. I'm trying to use w2x, but w2x shows "XBMC Not detected" every time a press a button on my remote. Or if there is another way to control XBMC with serial home made IR receiver and Winlirc 0.8.7a.

I'm using w7, XMBC 10, serial home made IR receiver and Winlirc 0.8.7a

Gracias.

I vote for native WinLIRC support.
Reply
#51
watanave Wrote:Hola,

Can anybody help me. I'm trying to use w2x, but w2x shows "XBMC Not detected" every time a press a button on my remote. Or if there is another way to control XBMC with serial home made IR receiver and Winlirc 0.8.7a.

I'm using w7, XBMC 10, serial home made IR receiver and Winlirc 0.8.7a

Gracias.

I vote for native WinLIRC support.

People get fussy when you post support requests in the development forum Sad

Try the Hardware Discussion forum or the http://forum.xbmc.org/forumdisplay.php?fid=59 Windows section of the General Help and Support forum and see if you get a better response...
Reply
#52
CrystalP Wrote:Please bump after Dharma is out, right now all attention is on the release.

bump Smile
WinLIRC, the Windows port of LIRC (Linux Infrared Remote Control):
http://winlirc.sourceforge.net
Active development of the WinLIRC package:
http://sourceforge.net/projects/winlirc/
LIRC config files for supported remote controls:
http://lirc.sourceforge.net/remotes/
Reply
#53
dukey Wrote:bump Smile

bump bump Big Grin
Reply
#54
What happens with native support for WinLIRC and XBMC in Windows, something new?
I really love WinLIRC, It works well and has excellent support for various remotes !!!
Years of waiting for someone from XBMC to write support for Windows like for Linux.
WinLIRC is very simple, free and served me very well in recent years without problem.

I used Girder in the past but they have become greedy for money and they lost my support,
I do not want to listen for them anymore. I have no experience with EventGhost

I wonder why until now these two great programs do not work as a unit,
WinLIRC and XBMC simply made one for another.

I installed IR Server Suite, selected WinLirc but required for dll files and immediately
wiped out becose never become operational after several trials and settings.
Why complicate things ? SIMPLE things always work BEST without exception.

Now have to read the entire forum to find solution to my problem.
Reply
#55
Was this ever picked up to allow XBMC to handle WinLirc under Windows the same way that it handles Lirc under Linux?

Reading through the thread, it seemed pretty straight. When this thread started we were pre-Dharma, now we are pre-Eden so is it off the table yet again?

Long winded way of saying BUMP Big Grin
Reply
#56
To the people still on this, the EventGhost implementation is really simple. You basically just install EventGhost and enable the plugin LIRC. This makes LIRC emulate normal keystrokes and it works.

If you want more control, enable the XBMC2 plugin as well, disable the keyboard emulation folder and map the IR remote events to the button actions available in the XBMC2 addon. XBMC will then take care of the remote as if it was natively supported, so it then includes skipping, repeats and text input using T9.

Sounds like a lot of work, but really, you can have this set up in 5 minutes.


Edit: I'd actually not be happy with XBMC hooking up to LIRC. I prefer channeling all controls through EventGhost so that I can exactly log what's going on, and having my domotics system respond to what the HTPC is doing (turn off the lights when I start a movie, for example).
Reply
#57
Unfortunately yes we're in pre-Eden so it's off the table at the moment.
I wasn't around much after Dharma and missed the bumps.

So, you guessed it... please bump after Eden is out.
Always read the Kodi online-manual, the FAQ and search the forum before posting.
Do not e-mail Kodi Team members directly asking for support. Read/follow the forum rules (wiki).
For troubleshooting and bug reporting please make sure you read this first.
Reply
#58
MartijnGP Wrote:To the people still on this, the EventGhost implementation is really simple. You basically just install EventGhost and enable the plugin LIRC. This makes LIRC emulate normal keystrokes and it works.

If you want more control, enable the XBMC2 plugin as well, disable the keyboard emulation folder and map the IR remote events to the button actions available in the XBMC2 addon. XBMC will then take care of the remote as if it was natively supported, so it then includes skipping, repeats and text input using T9.

Sounds like a lot of work, but really, you can have this set up in 5 minutes.


Edit: I'd actually not be happy with XBMC hooking up to LIRC. I prefer channeling all controls through EventGhost so that I can exactly log what's going on, and having my domotics system respond to what the HTPC is doing (turn off the lights when I start a movie, for example).

@MartijnGP

Could you walk through how to do the configuration you described? I have installed WinLirc, EventGhost and XBMC (pre-Eden) and am not having any success getting it all working together. Need specific details of what to configure within each program.
Reply
#59
I don't actually know either :p
But hopefully I do have a new winlirc version coming out soon, with support for another receiver. So that'll be about 15 different types of receiver supported :p I even have a working plugin for the generic PC Remote control sold on ebay for 5 dollars or whatever it is. Unreleased as of yet.
WinLIRC, the Windows port of LIRC (Linux Infrared Remote Control):
http://winlirc.sourceforge.net
Active development of the WinLIRC package:
http://sourceforge.net/projects/winlirc/
LIRC config files for supported remote controls:
http://lirc.sourceforge.net/remotes/
Reply
#60
OK, so it's time for another bump I think Smile
I'm also thinking myself is it possible to maybe rewrite winlirc as a service addon for xbmc for even tighter merging... I must investigate Smile
But - just a direct support is necessary - I have tried many times with different chain-solutions and I must say that IR remoting is something which can't have ANY lag. At all. This is such a major fail if it takes even 500ms to react on XBMC and I haven't ever got it fast enough using these pointless chain solutions through so many different software. So, to have the bare minimum in between, I vote for native support with both hands! :o)
Reply

Logout Mark Read Team Forum Stats Members Help
[PATCH] Native WinLIRC support to XBMC for Windows2