From owner-freebsd-multimedia@FreeBSD.ORG Sun Mar 6 09:48:55 2011 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1F43106566B; Sun, 6 Mar 2011 09:48:55 +0000 (UTC) (envelope-from mickael.maillot@gmail.com) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 85E108FC0A; Sun, 6 Mar 2011 09:48:55 +0000 (UTC) Received: by qyk27 with SMTP id 27so2901806qyk.13 for ; Sun, 06 Mar 2011 01:48:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=DTYD7QvROqJPRBlpatcVVl3Nvxt/PStFGcn6d+KFFCo=; b=e9Wgrw56hrBGSl0dl67VSlairyP2gJKaFZJ/lKRubpo77AJ7Z0toaRm/vZ4SG9g4A8 GiBCTjAgs45cMAriXfpow1HZEpkOhI6zb3qsPDL+6zLuL7MbZl21f+U2umA/XdjHm3ca +l7j5x+tkHIkdthj/U0kmppjOYfqfv5fJvFjs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=xOjfVE2786rHc6fKfOI9rof8qq5fJ/RIlNT7Ofr1SloOT4IFp/DwHTWi7kToYFUsQt Cr3WSzGsTrZ8JfVie4v470H5nFE2GodclhGY3/398iQSKoPy5lpZeI2HbB+7JCI6mLx5 BvPIm6IpE5wvgluwBA450Tp3BK/2xxDh3TCi0= MIME-Version: 1.0 Received: by 10.229.101.40 with SMTP id a40mr2005886qco.82.1299403232456; Sun, 06 Mar 2011 01:20:32 -0800 (PST) Received: by 10.229.80.66 with HTTP; Sun, 6 Mar 2011 01:20:32 -0800 (PST) In-Reply-To: <20110305204822.GA28311@triton8.kn-bremen.de> References: <20110305204822.GA28311@triton8.kn-bremen.de> Date: Sun, 6 Mar 2011 10:20:32 +0100 Message-ID: From: =?ISO-8859-1?Q?Micka=EBl_Maillot?= To: Juergen Lock Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-multimedia@freebsd.org Subject: Re: patch: xbmc and lirc X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Mar 2011 09:48:56 -0000 Hi, 2011/3/5 Juergen Lock : > 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.