From owner-freebsd-multimedia@FreeBSD.ORG Mon Mar 19 03:20:40 2007 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 23FF816A400 for ; Mon, 19 Mar 2007 03:20:40 +0000 (UTC) (envelope-from grog@lemis.com) Received: from ozlabs.org (ozlabs.org [203.10.76.45]) by mx1.freebsd.org (Postfix) with ESMTP id B178713C45D for ; Mon, 19 Mar 2007 03:20:39 +0000 (UTC) (envelope-from grog@lemis.com) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.135]) by ozlabs.org (Postfix) with ESMTP id 694B9DDEE4; Mon, 19 Mar 2007 14:20:38 +1100 (EST) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 35FFE1A9C96; Mon, 19 Mar 2007 13:50:38 +1030 (CST) Date: Mon, 19 Mar 2007 13:50:38 +1030 From: Greg 'groggy' Lehey To: Dieter Message-ID: <20070319032038.GR32513@wantadilla.lemis.com> References: <200703160238.CAA03442@sopwith.solgatos.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="hSZb4FHl1C2xfsUy" Content-Disposition: inline In-Reply-To: <200703160238.CAA03442@sopwith.solgatos.com> User-Agent: Mutt/1.4.2.1i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 VoIP: sip:0871270137@sip.internode.on.net WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 Cc: freebsd-multimedia@freebsd.org Subject: BIRC or FIRC (was: LIRC guide for FreeBSD) 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: Mon, 19 Mar 2007 03:20:40 -0000 --hSZb4FHl1C2xfsUy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thursday, 15 March 2007 at 19:38:21 +0100, Dieter wrote: >> but the problem then was that LIRC's "driver" for serial ports was >> totally Linux-specific, not very clean code, and not easy to port over >> to FreeBSD. So nobody did make a LIRC serial port driver for FreeBSD . > > Last time I looked (a few weeks ago) LIRC wasn't even close to being > 64 bit clean. Or anything else clean, for that matter. It's ugly code. > And there are reports of LIRC not working even on 32 bit Linux. In general it does. But both the code and the documentation are terrible. > Isn't there an alternative to LIRC? If not, perhaps a summer of > code idea? (Either fix LIRC or start a new program that works.) I was thinking of BIRC or FIRC :-) Apart from the other issues, I don't like the way LIRC works. lircd is in charge, and you have to tell it what program to send a keypress to. For example, from my lircrc: begin prog = kradio config = eventmap repeat = 1 end begin button = playpause prog = mplayer config = pause repeat = 1 end This means that the eventmap button gets sent to kradio (which I don't have, so I suppose it will be ignored), and the playpause button gets sent to mplayer. If I have more than one mplayer process running, they all get the button. What I'd like to see would be a more traditional device model, where the programs that are interested open the device and read events from it. How that would work with multiple mplayers (for example) remains to be seen, but clearly it's silly to expect the remote control to know the names of the programs it's talking to. Any thoughts? Greg -- See complete headers for address and phone numbers. --hSZb4FHl1C2xfsUy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFF/gGGIubykFB6QiMRAvSdAKCwLLD0315c70+Y1QH6uYtHvoRE2ACgixWm Mbn4+oKilg6w+sC4nXeDHWM= =LVSL -----END PGP SIGNATURE----- --hSZb4FHl1C2xfsUy--