Date: Fri, 22 Dec 2006 11:22:56 +1030 From: Greg 'groggy' Lehey <grog@FreeBSD.org> To: usleepless@gmail.com Cc: multimedia@freebsd.org Subject: Re: MythTV and PVR500 (was: Possible FreeBSD port?) Message-ID: <20061222005256.GD78631@wantadilla.lemis.com> In-Reply-To: <c39ec84c0612201340n5644c218ma6d427b3334f2d01@mail.gmail.com> References: <6300771b0612181401i72e7cc58ta08e12de8d68d4d0@mail.gmail.com> <20061218232247.GQ4364@wantadilla.lemis.com> <6300771b0612181533m6ece3f38p379c78a75912d10d@mail.gmail.com> <6300771b0612181534h3158342aw554869660fc707ea@mail.gmail.com> <20061218234041.GU4364@wantadilla.lemis.com> <c39ec84c0612190937u572ff6bco28606f54645275a5@mail.gmail.com> <20061219224005.GC4364@wantadilla.lemis.com> <c39ec84c0612191509w6a5ccf10iedb640bb8dacef1c@mail.gmail.com> <20061220000049.GF4364@wantadilla.lemis.com> <c39ec84c0612201340n5644c218ma6d427b3334f2d01@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <grog@freebsd.org> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061222005256.GD78631>