From owner-freebsd-multimedia@FreeBSD.ORG Mon Feb 14 10:59:42 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 96B6916A4CE for ; Mon, 14 Feb 2005 10:59:42 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id E208A43D1D for ; Mon, 14 Feb 2005 10:59:41 +0000 (GMT) (envelope-from cronopiolopez@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so593123wra for ; Mon, 14 Feb 2005 02:59:41 -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=K1z58BCNTUCupuYCvX6yFuHWwtqSU7UMpJZk+jPXfracfZ87PczU4rST85lxhTSUmAG5YTFK/DFScY2tdAg62syAM9+DVlDNHVcKhUwyYH+NiRLhXaoKDMncdDFCQtj4vUJxHPIueaCqrF1NvFmU+ed9LOsr4K4wtVAWcxdq1I0= Received: by 10.54.22.28 with SMTP id 28mr20175wrv; Mon, 14 Feb 2005 02:59:41 -0800 (PST) Received: by 10.54.32.58 with HTTP; Mon, 14 Feb 2005 02:59:41 -0800 (PST) Message-ID: <8f8eb53e05021402596c0d5da4@mail.gmail.com> Date: Mon, 14 Feb 2005 11:59:41 +0100 From: =?ISO-8859-1?Q?Lluis_L=F3pez?= To: freebsd-multimedia@freebsd.org, Edwin Groothuis , John Wehle In-Reply-To: <8f8eb53e0502140253238cd7f6@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_184_22287368.1108378781362" References: <8f8eb53e050213185450daa380@mail.gmail.com> <8f8eb53e0502140253238cd7f6@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 10:59:42 -0000 ------=_Part_184_22287368.1108378781362 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Well, in the las mail only the two fist files are attached (two next here). Sorry I hope no more fails ;) 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. >=20 > Regards, Luis L=F3pez Sol=E9. >=20 > 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 change > > 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_184_22287368.1108378781362--