Date: Thu, 28 Dec 2006 23:49:05 +0100 From: usleepless@gmail.com To: "Derrick Ryalls" <ryallsd@gmail.com> Cc: freebsd-multimedia@freebsd.org Subject: Re: MythTV port - status report Message-ID: <c39ec84c0612281449q6e62ac56pb54d42cd790fadd5@mail.gmail.com> In-Reply-To: <d5eb95fc0612281435k1357d907p99adad9912313368@mail.gmail.com> References: <20061224230155.fc0a6c6a.torfinn.ingolfsen@broadpark.no> <c39ec84c0612241431n6f3e66e7n9a1a38f4258097e3@mail.gmail.com> <20061225001321.5dfb2975.torfinn.ingolfsen@broadpark.no> <d5eb95fc0612280230u66b81742od4f4435490b1bf5c@mail.gmail.com> <20061228145909.bbb6d193.torfinn.ingolfsen@broadpark.no> <d5eb95fc0612281435k1357d907p99adad9912313368@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Derrick, Torfinn, On 12/28/06, Derrick Ryalls <ryallsd@gmail.com> wrote: > On 12/28/06, Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no> wrote: > > On Thu, 28 Dec 2006 02:30:23 -0800 > > Derrick Ryalls <ryallsd@gmail.com> wrote: > > > > > This issue kinda fell off this thread with no mention of a possible > > > > The answers(s) are probably delayed, because of the holiday season. > > > > > solution. I have a PVR-250 card and tried installing the pvr250 port. > > > I can stream video via mplayer /dev/cxm0 and set the channel, but > > > when I run mythtv-setup, it says it failed to probe the device. I > > > tried the original sys file from my windows install cd as well as a > > > sys file from hauppage directly, both have the same result. Was there > > > any determination/work-around for the ioctl issue? > > > > The problem is in the driver (ie. the pvr250 port). It needs to be > > fixed to include the necessary ioctls. > > I'm still waiting for hints on how to go about fixing it. > > > > Or you could use another driver, if one was available. I know usleep > > have support for pvr-250 / 350 cards as a goal for the pvrxx driver, > > but it just isn't there yet. > > > > At the moment I am unable to try the pvrxxx port since I don't have > the required .rom file on my released CD from hauppage, nor did I see > one on their support website. I am assuming that that file is only > for the other cards, so it will be interesting to see how it turns > out. > > I did try the driver from here > http://mythtv.son.org/tiki-index.php?page=Multimedia+Drivers (which > previously worked for me), but got this build error: > > /usr/ports/multimedia/pvr250]$ sudo make > Some tuners (for example the Philips FQ1216M) supports multiple standards. > Use the following configuration screen (or 'make config') to choose > your local TV channel system if you have such a tuner. > At this moment only the Philips FQ1216M is known to do this. If you > don't have one, just ignore it. If you have one, select one (1) > entry. > ===> Vulnerability check disabled, database not found > ===> Found saved configuration for pvr250-20041230_2 > ===> Extracting for pvr250-20041230_2 > => MD5 Checksum OK for cxm-20041230.shar. > => No SHA256 checksum recorded for cxm-20041230.shar. > => MD5 Checksum OK for pvr250-1.1.tar.gz. > => No SHA256 checksum recorded for pvr250-1.1.tar.gz. > => No SHA256 checksum for hcwPVRP2.sys recorded (expected IGNORE) > /bin/mkdir -p /usr/ports/multimedia/pvr250/work > cd /usr/ports/multimedia/pvr250/work; /bin/sh > /usr/ports/distfiles/cxm-20041230.shar; /usr/bin/gzip -nf -9 -dc > /usr/ports/distfiles//pvr250-1.1.tar.gz | /usr/bin/tar -xf -; > c - dev/cxm > x - dev/cxm/Patch.iicbb-fbsd4 > x - dev/cxm/Patch.iicbb-fbsd5 > x - dev/cxm/cxm.c > x - dev/cxm/cxm.h > x - dev/cxm/cxm_audio.c > x - dev/cxm/cxm_eeprom.c > x - dev/cxm/cxm_i2c.c > x - dev/cxm/cxm_ir.c > x - dev/cxm/cxm_tuner.c > x - dev/cxm/cxm_video.c > x - dev/cxm/cxm_extract_fw.c > c - modules/cxm > x - modules/cxm/Makefile > c - modules/cxm/cxm > x - modules/cxm/cxm/Makefile > c - modules/cxm/cxm_iic > x - modules/cxm/cxm_iic/Makefile > ===> Patching for pvr250-20041230_2 > ===> Applying extra patch > /usr/ports/multimedia/pvr250/files/patchtuner-uscable > ===> Applying extra patch > /usr/ports/multimedia/pvr250/files/patchv4l-compat > ===> Applying FreeBSD patches for pvr250-20041230_2 > /usr/bin/sed -i.bak -e 's/bktr0/cxm0/' > /usr/ports/multimedia/pvr250/work/pvr250-1.1/setchannel.c > /usr/ports/multimedia/pvr250/work/pvr250-1.1/setsize.c > ===> Configuring for pvr250-20041230_2 > cd /usr/ports/multimedia/pvr250/work/dev/cxm; cc -Wall -o > cxm_extract_fw cxm_extract_fw.c; ./cxm_extract_fw > /usr/ports/distfiles/hcwPVRP2.sys > cxm_extract_fw.c: In function `main': > cxm_extract_fw.c:150: warning: implicit declaration of function `close' > cxm_extract_fw.c:175: warning: suggest explicit braces to avoid ambiguous > `else' > cxm_extract_fw.c:189: warning: suggest explicit braces to avoid ambiguous > `else' > ===> Building for pvr250-20041230_2 > cd /usr/ports/multimedia/pvr250/work/modules/cxm; make > ===> cxm (all) > Warning: Object directory not changed from original > /usr/ports/multimedia/pvr250/work/modules/cxm/cxm > @ -> /usr/src/sys > machine -> /usr/src/sys/i386/include > :> opt_cxm.h > awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h > awk -f @/tools/makeobjops.awk @/kern/device_if.m -h > awk -f @/tools/makeobjops.awk @/dev/iicbus/iicbb_if.m -h > awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h > awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -p > awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -q > awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h > cc -O2 -fno-strict-aliasing -pipe -Werror -D_KERNEL -DKLD_MODULE > -nostdinc -I- -I../../.. -I. -I@ -I@/contrib/altq -I@/../include > -I/usr/include -finline-limit=8000 -fno-common > -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx > -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-decls > -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes > -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -c > /usr/ports/multimedia/pvr250/work/modules/cxm/cxm/../../../dev/cxm/cxm.c > /usr/ports/multimedia/pvr250/work/modules/cxm/cxm/../../../dev/cxm/cxm.c:59:31: > machine/bus_memio.h: No such file or directory > /usr/ports/multimedia/pvr250/work/modules/cxm/cxm/../../../dev/cxm/cxm.c:156: > error: unknown field `d_maj' specified in initializer > /usr/ports/multimedia/pvr250/work/modules/cxm/cxm/../../../dev/cxm/cxm.c:156: > error: `MAJOR_AUTO' undeclared here (not in a function) > /usr/ports/multimedia/pvr250/work/modules/cxm/cxm/../../../dev/cxm/cxm.c:156: > error: initializer element is not constant > /usr/ports/multimedia/pvr250/work/modules/cxm/cxm/../../../dev/cxm/cxm.c:156: > error: (near initialization for `cxm_cdevsw.d_name') > /usr/ports/multimedia/pvr250/work/modules/cxm/cxm/../../../dev/cxm/cxm.c: > In function `cxm_stop_encoder': > /usr/ports/multimedia/pvr250/work/modules/cxm/cxm/../../../dev/cxm/cxm.c:1106: > warning: passing arg 1 of `msleep' discards qualifiers from pointer > target type > /usr/ports/multimedia/pvr250/work/modules/cxm/cxm/../../../dev/cxm/cxm.c: > In function `cxm_encoder_dma_done': > /usr/ports/multimedia/pvr250/work/modules/cxm/cxm/../../../dev/cxm/cxm.c:1313: > warning: passing arg 1 of `wakeup' discards qualifiers from pointer > target type > /usr/ports/multimedia/pvr250/work/modules/cxm/cxm/../../../dev/cxm/cxm.c: > In function `cxm_attach': > /usr/ports/multimedia/pvr250/work/modules/cxm/cxm/../../../dev/cxm/cxm.c:1624: > error: `PCIR_MAPS' undeclared (first use in this function) > /usr/ports/multimedia/pvr250/work/modules/cxm/cxm/../../../dev/cxm/cxm.c:1624: > error: (Each undeclared identifier is reported only once > /usr/ports/multimedia/pvr250/work/modules/cxm/cxm/../../../dev/cxm/cxm.c:1624: > error: for each function it appears in.) > /usr/ports/multimedia/pvr250/work/modules/cxm/cxm/../../../dev/cxm/cxm.c: > In function `cxm_detach': > /usr/ports/multimedia/pvr250/work/modules/cxm/cxm/../../../dev/cxm/cxm.c:1963: > error: `PCIR_MAPS' undeclared (first use in this function) > /usr/ports/multimedia/pvr250/work/modules/cxm/cxm/../../../dev/cxm/cxm.c: > In function `cxm_intr': > /usr/ports/multimedia/pvr250/work/modules/cxm/cxm/../../../dev/cxm/cxm.c:2010: > warning: passing arg 1 of `wakeup' discards qualifiers from pointer > target type > /usr/ports/multimedia/pvr250/work/modules/cxm/cxm/../../../dev/cxm/cxm.c: > In function `cxm_read': > /usr/ports/multimedia/pvr250/work/modules/cxm/cxm/../../../dev/cxm/cxm.c:2207: > warning: passing arg 1 of `msleep' discards qualifiers from pointer > target type > *** Error code 1 > > Stop in /usr/ports/multimedia/pvr250/work/modules/cxm/cxm. > *** Error code 1 > > Stop in /usr/ports/multimedia/pvr250/work/modules/cxm. > *** Error code 1 > > Stop in /usr/ports/multimedia/pvr250. > > I might need to retrace my steps as I don't recall seeing this before > and the date stamp on the tar is quite old. I also don't know the > history of the needed ioctl's, hopefully they were known at the time > of this driver's writing so there is a possibility of them being > supported once the build issues are ironed out. i will try to package my latest version of the pvrxxx asap. - it downloads the firmware images from ivtv - it supports the v4l2 interface you need ( or you'll need to tweak mythtv to support the bsdstyle of accessing the device ) i hope to have it ready tomorrow. regards, usleep
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c39ec84c0612281449q6e62ac56pb54d42cd790fadd5>