Date: Sun, 6 Mar 2011 10:20:32 +0100 From: =?ISO-8859-1?Q?Micka=EBl_Maillot?= <mickael.maillot@gmail.com> To: Juergen Lock <nox@jelal.kn-bremen.de> Cc: freebsd-multimedia@freebsd.org Subject: Re: patch: xbmc and lirc Message-ID: <AANLkTin51VzXfEBZj19urZzhZ_8U34e8YcuUOWEZTQd=@mail.gmail.com> In-Reply-To: <20110305204822.GA28311@triton8.kn-bremen.de> References: <20110305204822.GA28311@triton8.kn-bremen.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, 2011/3/5 Juergen Lock <nox@jelal.kn-bremen.de>: > Hi! > > =A0So the xbmc port atm doesn't build its lirc client code because > that code uses inotify() which is a Linuxism. =A0Today I took a closer > look and found it actually only uses inotify() to find out when > lircd is stopped, which at least on FreeBSD it will also find out > by receiving an eof from the socket fd so we can actually just > disable the inotify() code. =A0Did that, added an autoconf check > for good measure, and that got lirc working. :) > > =A0I've put the patch here: > > =A0 =A0 =A0 =A0http://people.freebsd.org/~nox/dvb/xbmc/patch-xbmc-lirc.tx= t > > (the first hunk is actually redundant, instead you should just > remove files/patch-guilib__common__Makefile.in - I'll add the > patch without it at the end.) > > =A0The mceusb remote works as is then with webcamd, for dvb tuner > remotes supported by the Linux code webcamd uses you can start > with this ~/.xbmc/userdata/Lircmap.xml : > > =A0 =A0 =A0 =A0http://people.freebsd.org/~nox/dvb/xbmc/Lircmap.xml > > note the comments at the beginning, you may need to remap > important buttons for your particular remote. =A0Also see here: > > =A0 =A0 =A0 =A0http://wiki.xbmc.org/index.php?title=3DHOW-TO_setup_Lirc_t= o_talk_to_XBMC > > =A0And here comes the patch. =A0Enjoy, :) > =A0 =A0 =A0 =A0Juergen > oh realy nice, thanks for the works, i'll try this asap and push the patch in ports and upstream.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTin51VzXfEBZj19urZzhZ_8U34e8YcuUOWEZTQd=>