From owner-freebsd-multimedia@FreeBSD.ORG Mon Feb 14 11:10:59 2005 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4BA4516A4CE for ; Mon, 14 Feb 2005 11:10:59 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC37743D1D for ; Mon, 14 Feb 2005 11:10:58 +0000 (GMT) (envelope-from cronopiolopez@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so594131wra for ; Mon, 14 Feb 2005 03:10:58 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:references; b=dQLrWRlGf5CfyIxzE17ASxn7CKPBTDSAvAyL7bd323Cs8VWQP97ftAK3geou6guW9lZngRgLSNxZgHWI+WlzZakcQQx9fFwkwBm/Xi34pIpUr00heIfjSKw+LDdg8P0onqMAMN0fARl0hoUFx2l3jhDf0G1F86ql3n62j1LqAsM= Received: by 10.54.15.13 with SMTP id 13mr246030wro; Mon, 14 Feb 2005 03:10:58 -0800 (PST) Received: by 10.54.32.58 with HTTP; Mon, 14 Feb 2005 03:10:57 -0800 (PST) Message-ID: <8f8eb53e0502140310581b424d@mail.gmail.com> Date: Mon, 14 Feb 2005 12:10:57 +0100 From: =?ISO-8859-1?Q?Lluis_L=F3pez?= To: freebsd-multimedia@freebsd.org, Edwin Groothuis , John Wehle In-Reply-To: <8f8eb53e05021402596c0d5da4@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_192_9471000.1108379457952" References: <8f8eb53e050213185450daa380@mail.gmail.com> <8f8eb53e0502140253238cd7f6@mail.gmail.com> <8f8eb53e05021402596c0d5da4@mail.gmail.com> X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Re: Patch for pvr250/350 (switch between profiles) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: =?ISO-8859-1?Q?Lluis_L=F3pez?= List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Feb 2005 11:10:59 -0000 ------=_Part_192_9471000.1108379457952 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Other fail. Don't accept my attach. Last probe attached tar.gz Sorry for the "spam". Regards, Luis L=F3pez Sol=E9. On Mon, 14 Feb 2005 11:59:41 +0100, Lluis L=F3pez = wrote: > Well, in the las mail only the two fist files are attached (two next here= ). > Sorry I hope no more fails ;) >=20 >=20 > On Mon, 14 Feb 2005 11:53:42 +0100, Lluis L=F3pez wrote: > > I see that in my last mail some long lines in enclosed files are > > cutted. This produce fails in patching. I attached the same files in > > this mail. If somebody have any patch problem (and is interesed) i > > send this files in person. > > The instructions are de same (see bellow) that the last mail but files > > aren't enclosed, are attached (patch_cxm_c, > > patch_modules_cxm_cxm_Makefile, ioctl_meteor_compat.c and > > pvr250-setprofile.c). > > NOTE: If make clean fails rm -rf work/ and starts again. > > > > Regards, Luis L=F3pez Sol=E9. > > > > On Mon, 14 Feb 2005 03:54:51 +0100, Lluis L=F3pez wrote: > > > Sorry for duplicate (no subject in last mail). > > > The application setsize allows switch between 3 profiles (determined > > > for format size). Next patch allows switch between 8 profiles using > > > hardware ioctl's. > > > > > > NOTE: Values for profiles are select for me, I'm not an expert, if > > > somebody have more knowledge (or datasheet of chip) change source it'= s > > > easy (feeback is always welcome and copy of datasheet too). For > > > exemple the TS profile don't playback well, some losses in audio and > > > video (grab work without aparent problem), but i suposse it's very > > > useful for streaming machines. Other example is MPEG1 profile: don't > > > playback well, his values are selected for works with dvdauthor (only > > > accept 48 Khz audio streams), economize time in work encoding process= . > > > Or MPEG2 profile select for best quality without losses with mplayer > > > playback (with -cache 8192, of course). > > > > > > For apply this patch follow next steps: > > > 1.- > > > #cd /usr/ports/multimedia/pvr250/ && make clean && make extract > > > 2.- > > > Copy the enclosed files (see bellow) pvr250-setprofile, patch_cxm_c > > > and patch_modules_cxm_cxm_Makefile in work/ and ioctl_meteor_compat.= h > > > in work/dev/cxm/ > > > 3.- > > > Apply the patches: > > > #patch < work/patch_cxm_c && patch > > 4.- > > > Compile with: > > > #make > > > > > > copy: > > > #cp work/modules/cxm/*/*.ko /boot/kernel/ > > > > > > and unload modules & load new modules: > > > # kldunload cxm > > > # kldunload cxm_iic > > > # kldload cxm_iic > > > # kldload cxm > > > NOTE: Select a channel the application pvr250-setprofile allows chang= e > > > profile in cold or wih channel running, but don't initialize the > > > device. > > > 5.- > > > compille pvr250-setprofile: > > > #cc -o /usr/local/bin/pvr250-setprofile work/pvr250-setprofile.c > > > 6.- > > > Enjoy. > > > Regards, Luis L=F3pez Sol=E9. > > > > > > LAST NOTE: Only tested in RELEGN_5 (compiled last weekend). > > > > > > >=20 >=20 > ------=_Part_192_9471000.1108379457952--