From owner-freebsd-multimedia@FreeBSD.ORG Thu Mar 15 00:09:16 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 A662316A400 for ; Thu, 15 Mar 2007 00:09:16 +0000 (UTC) (envelope-from joe@netmusician.org) Received: from netmusician.org (netmusician.org [216.9.132.179]) by mx1.freebsd.org (Postfix) with ESMTP id 659A413C44B for ; Thu, 15 Mar 2007 00:09:16 +0000 (UTC) (envelope-from joe@netmusician.org) Received: from localhost (localhost [127.0.0.1]) by netmusician.org (Postfix) with ESMTP id C04827E8DD for ; Wed, 14 Mar 2007 20:09:19 -0400 (EDT) X-Virus-Scanned: by amavisd-new at netmusician.org Received: from netmusician.org ([127.0.0.1]) by localhost (netmusician.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Q6AD0-r-mfpv for ; Wed, 14 Mar 2007 19:09:19 -0500 (EST) Received: from [192.168.0.149] (74-130-30-11.dhcp.insightbb.com [74.130.30.11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by netmusician.org (Postfix) with ESMTP id BF1BA7E8D2 for ; Wed, 14 Mar 2007 20:09:18 -0400 (EDT) Message-ID: <45F88EA9.5010302@netmusician.org> Date: Wed, 14 Mar 2007 20:09:13 -0400 From: Joe Auty User-Agent: Thunderbird 1.5.0.10 (Macintosh/20070221) MIME-Version: 1.0 To: freebsd-multimedia@freebsd.org References: <45F77267.9080403@netmusician.org> <20070314054117.GB6688@wantadilla.lemis.com> <45F7FC72.1050206@netmusician.org> <20070314163034.GA2998@gmail.com> In-Reply-To: <20070314163034.GA2998@gmail.com> X-Enigmail-Version: 0.94.2.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: 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: Thu, 15 Mar 2007 00:09:16 -0000 Hi Anton, Could you do me a quick favor, and read my last post in this thread and in light of my setup, tell me whether what you wrote (quoted below) applies to me? If so, I have follow up questions... I don't mean this in a confrontational way at all, I just want to feel comfortable in knowing the score and having a handle over what my problem is and what I need to accomplish. Throwing the issue of remotes into the mix is making me less confident in my understanding, because I had believed that this isn't a concern for me. For your convenience, and possibly to illuminate further, here is my setup: Satellite signal -> Satellite box -> Hauppauge card -> MediaMVP (via Ethernet) run off of the MVPMC hack (http://mvpmc.org) that provides a Mythfrontend for the MediaMVP box which communicates with my Myth backend hosted on FreeBSD -> TV All of this is working fine, but in order for me to be able to change channels with my FreeBSD box, I need an IR Blaster to simulate my satellite remote control. I'm trying to use LIRC as a means for my FreeBSD box to communicate with my IR Blaster to send the proper signals to my satellite box. This basically seems to amount to: 1) Getting LIRC installed 2) Finding a configuration file that contains the appropriate specs to simulate my remote/satellite box (there are a ton of sample configurations that can be downloaded, which I did) 3) Using LIRC to control/send signals to the IR Blaster Where I'm at is that I've created my lircd.conf file with the information about my satellite box, I have lirc installed from ports (default build options), and I'm trying to get LIRC communicating with my IR Blaster. I don't seem to have it installed correctly, and I'm at a loss to know where to turn to for help, I can't find much online. I'm able to do this: # lircd -n --device=/dev/ttyd0 /usr/local/etc/lircd.conf lircd: lircd(dvico) ready I'm not really sure what this feedback means though, nor do I know what path the socket is written to. Is this clear and/or helpful? Anton Stamenov wrote: > This is how I start lircd serever > > lircd -H pinsys -d /dev/cuad0 -p 644 > > I compile it with pinsys support (this is my remote), not with irman > (as in ports). > > When started it will create the sockets. lirc need the same stuff as > in linux, except that not all drivers that are supported under linux > are ported in freebsd. > > On Wed, 14 Mar 2007, Joe Auty wrote: >> Greg 'groggy' Lehey wrote: >>> On Tuesday, 13 March 2007 at 23:56:23 -0400, Joe Auty wrote: >>>> Does anybody know of a good resource for setting up my IR Blaster >>>> within FreeBSD? >>> Not I. Are you sure it's supported? Currently very few remote >>> controls are. >>> >> Well, I have no idea about the FreeBSD end of things, but I do have a >> good lircd.conf for my satellite box. Others have gotten it to work, >> I've confirmed this. The only thing I'm not sure of is the extent of the >> FreeBSD support and how FBSD factors into this mix? >> >> >>>> I think I have a good lircd.conf with information about my remote, >>>> but I'm sure I'm missing some information about how to get the >>>> kernel modules I'll need to generate my /dev/lirc0. >>> Are you sure you need a /dev/lirc0? I'm running lircd with a DVICO >>> USB remote control on one of my machines, and there's no /dev/lirc0 >>> there. If you do need it, you'll probably have to port the kernel >>> modules. What kind of interface does it have? >>> >> I tried using /dev/ttyd0 since it just plugs into a serial port (I >> bought one of of http://irblaster.info). I can do a: >> >> # lircd -n --device=/dev/ttyd0 /usr/local/etc/lircd.conf >> lircd: lircd(dvico) ready >> >> Does this confirm anything of value? >> >> >>>> Perhaps this might be a better question for a different FreeBSD >>>> list? Just thinking about you guys since many seem to know the >>>> score in getting MythTV setups to work... >>> The list is probably right. And I'm making progress with my >>> "installing MythTV on FreeBSD" documentation at >>> http://www.lemis.com/grog/HOWTO/mythtv-on-FreeBSD-setup.html This is >>> still pretty rough about the edges; I'll work on it when I'm sure I >>> know what I'm doing. >>> >> Cool! Would you like some suggestions for your guide? >> >> >> >>> Greg >>> -- >>> See complete headers for address and phone numbers. > -- Joe Auty NetMusician: web publishing software for musicians http://www.netmusician.org joe@netmusician.org