Date: Mon, 14 Feb 2005 11:59:41 +0100 From: =?ISO-8859-1?Q?Lluis_L=F3pez?= <cronopiolopez@gmail.com> To: freebsd-multimedia@freebsd.org, Edwin Groothuis <edwin@mavetju.org>, John Wehle <john@feith.com> Subject: Re: Patch for pvr250/350 (switch between profiles) Message-ID: <8f8eb53e05021402596c0d5da4@mail.gmail.com> In-Reply-To: <8f8eb53e0502140253238cd7f6@mail.gmail.com> References: <8f8eb53e050213185450daa380@mail.gmail.com> <8f8eb53e0502140253238cd7f6@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
------=_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 <cronopiolopez@gmail.com>= 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 <cronopiolopez@gmail.co= m> 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 <work/patch_modules_cxm_cxm_Makefile > > 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8f8eb53e05021402596c0d5da4>