From owner-freebsd-multimedia@FreeBSD.ORG Fri Dec 22 01:10:03 2006 Return-Path: X-Original-To: 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 81D9116A417 for ; Fri, 22 Dec 2006 01:10:03 +0000 (UTC) (envelope-from grog@lemis.com) Received: from ext-gw.lemis.com (ext-gw.lemis.com [150.101.14.10]) by mx1.freebsd.org (Postfix) with ESMTP id 2DF2013C46F for ; Fri, 22 Dec 2006 01:10:02 +0000 (UTC) (envelope-from grog@lemis.com) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.135]) by ext-gw.lemis.com (Postfix) with ESMTP id 9343C133653; Fri, 22 Dec 2006 11:22:56 +1030 (CST) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 83BB69C912; Fri, 22 Dec 2006 11:22:56 +1030 (CST) Date: Fri, 22 Dec 2006 11:22:56 +1030 From: Greg 'groggy' Lehey To: usleepless@gmail.com Message-ID: <20061222005256.GD78631@wantadilla.lemis.com> References: <6300771b0612181401i72e7cc58ta08e12de8d68d4d0@mail.gmail.com> <20061218232247.GQ4364@wantadilla.lemis.com> <6300771b0612181533m6ece3f38p379c78a75912d10d@mail.gmail.com> <6300771b0612181534h3158342aw554869660fc707ea@mail.gmail.com> <20061218234041.GU4364@wantadilla.lemis.com> <20061219224005.GC4364@wantadilla.lemis.com> <20061220000049.GF4364@wantadilla.lemis.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="g7w8+K/95kPelPD2" Content-Disposition: inline In-Reply-To: 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: multimedia@freebsd.org Subject: Re: MythTV and PVR500 (was: Possible FreeBSD port?) 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: Fri, 22 Dec 2006 01:10:03 -0000 --g7w8+K/95kPelPD2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wednesday, 20 December 2006 at 22:40:19 +0100, usleepless@gmail.com wrote: > Greg, List, > > On 12/20/06, Greg 'groggy' Lehey wrote: >> On Wednesday, 20 December 2006 at 0:09:18 +0100, usleepless@gmail.com >>>> Why didn't you make a port of it? >>> >>> i still might. but it is based off 18-fixes, ported to postgresql, and >>> heavily modified to remove all busy-wait-loops. >> >> OK, this looks like a side branch. >> >>> i made a port of the pvr500 driver which i based of the pvr250 port >>> in the process. >> >> I'm also in the process of committing the pvr250 port to the kernel >> tree. I'd be interested in seeing your driver. > > the driver is in multimedia/pvrxxx. Ah, OK, I didn't realize that it was the one in the tree. > currently i am running a newer version which differs in 2 points: it > tries to support pvr250/350 as well ( untested) and it uses > kernel-taskqueues and a fast interrupt. > > i have send in http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/104882, > which is the iicbb-kernel patch which pvr250 and pvrxxx needs. it > would be of great help if this patch was included in the kernel for > the adoption of both drivers. you are a committer if i am not > mistaken. right? OK, I'll take a look at it. >> I've ported 0.20, of course. >> >>> ( i have no need to go to .19 or .20 ) >> >> Because it's such a pain to upgrade? :-) That's what I've heard from >> many people. > > that's my impression too ( never did it ). most of these problems seem > to arise from the db-schema though. which is easy to understand when > one analyzes the mythtv-schema. My (very limited) experience has been that the configuration is such a pain that people wouldn't want to do it more than once. >> One of the things I want for this port is for it to Just >> Work. And given the code base, that's a tall order. > > it is indeed. > > what i am curious about is: am i the only one who has a mythfrontend > and backend running on freebsd? or are there other people who have > done the same? if so, what versions and what did they do to make it > work? I have a DVB tuner, so I can't use the tuner part of MythTV on FreeBSD (yet). Hopefully that will change. > regarding my ipc-patches: i am wondering if this 0.20-port will > actually work on freebsd. let me exlain: > > ... > > i stumbled upon all the busy-wait-loops: > > " > while(!condition) > usleep(50); > " > > this is probably the reason why i needed linux-threads. but there is a > catch: linux-usleep guarantees a context-switch, while freebsd doesn't > ( didn't ? ). Interesting. I'll keep an eye out for that. Greg -- See complete headers for address and phone numbers. --g7w8+K/95kPelPD2 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFFiyxoIubykFB6QiMRAveIAKCEX3kcL1bUyjjBq3naNqjYWtTkrgCgmhBf nqJVV9XCxs+yogFNjsG6Gbw= =mFhE -----END PGP SIGNATURE----- --g7w8+K/95kPelPD2--