pvr-350 not working - how to debug?

Rick Nekus solarux at hotmail.com
Tue Apr 10 22:34:19 UTC 2007


Hi all,

uname -a:
FreeBSD 6.2-STABLE-200703 FreeBSD 6.2-STABLE-200703 #0: Tue Mar  6 22:32:15 
UTC 2007     root at dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP  i386

ok, well I've upgraded to 6.2-STABLE, that is, from ie. the .iso (i386) from
..../pub/FreeBSD/snapshots/200703
Is this correct, or stable enuf ? if not, please let me know.

-the other thing is my newer STABLE "firmware.h" file is or should be 
correct now, although now it actually doesn't even get that far when using 
the pvrxxx-20070904 from usleep.
I tried a couple older versions of the pvrxxx port with same non-completed 
results. -with no cxm drivers being loaded.
-again, this however somehow worked fine when I used the older 
multimedia/pvr250 port ? last week, but of course now I can't reproduce that 
since I've re-installed. -i know, backups are great.

anyway here's the make output again :
------------------------------------------------------------------------------------------------------
[rick at tiger /usr/ports/multimedia/pvrxxx]$ sudo make makesum
===>  Vulnerability check disabled, database not found
=> cxm-20051030.shar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from http://usleepless.110mb.com/.
cxm-20051030.shar.gz                          100% of   35 kB   60 kBps
=> pvr250-1.2.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from http://usleepless.110mb.com/.
pvr250-1.2.tar.gz                             100% of 3946  B 1397 kBps
=> pvrxxx_gpl-09042007.tgz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from http://usleepless.110mb.com/.
pvrxxx_gpl-09042007.tgz                       100% of   45 kB   68 kBps
=> firmware.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from http://usleepless.110mb.com/.
fetch: http://usleepless.110mb.com/firmware.tar.gz: Moved Temporarily
=> Attempting to fetch from http://dl.ivtvdriver.org/ivtv/firmware/.
firmware.tar.gz                               100% of  121 kB   80 kBps

[rick at tiger /usr/ports/multimedia/pvrxxx]$ sudo make
===>  Vulnerability check disabled, database not found
===>  Extracting for pvrxxx-20070904
=> MD5 Checksum OK for cxm-20051030.shar.gz.
=> SHA256 Checksum OK for cxm-20051030.shar.gz.
=> MD5 Checksum OK for pvr250-1.2.tar.gz.
=> SHA256 Checksum OK for pvr250-1.2.tar.gz.
/bin/mkdir -p /usr/ports/multimedia/pvrxxx/work
cd /usr/ports/multimedia/pvrxxx/work;  cat 
/usr/ports/distfiles/cxm-20051030.shar.gz | gunzip | /bin/sh;  /usr/bin/gzip 
-nf -9 -dc /usr/ports/distfiles//pvr250-1.2.tar.gz | /usr/bin/tar -xf -;  cd 
modules/cxm/cxm;  /usr/bin/gzip -nf -9 -dc 
/usr/ports/distfiles//pvrxxx_gpl-09042007.tgz | /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 pvrxxx-20070904
===>  Applying FreeBSD patches for pvrxxx-20070904
/usr/bin/sed -i.bak -e 's/tuner0/cxm0/'  
/usr/ports/multimedia/pvrxxx/work/pvr250-1.2/setchannel.c
===>  Configuring for pvrxxx-20070904
cd /usr/ports/multimedia/pvrxxx/work/modules/cxm;  cd cxm_cx25840fw; tar xzf 
/usr/ports/distfiles//firmware.tar.gz v4l-cx25840.fw;  cd ../cxm_decfw; tar 
xzf /usr/ports/distfiles//firmware.tar.gz v4l-cx2341x-dec.fw;  cd 
../cxm_encfw; tar xzf /usr/ports/distfiles//firmware.tar.gz 
v4l-cx2341x-enc.fw
===>  Building for pvrxxx-20070904
cd /usr/ports/multimedia/pvrxxx/work/modules/cxm; make
===> cxm (all)
Warning: Object directory not changed from original 
/usr/ports/multimedia/pvrxxx/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/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c
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/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm_audio.c
/usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm_audio.c: 
In function `cxm_msp_dpl_write':
/usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm_audio.c:280: 
warning: passing arg 2 of `iicbus_write' discards qualifiers from pointer 
target type
*** Error code 1

Stop in /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm.
*** Error code 1

Stop in /usr/ports/multimedia/pvrxxx/work/modules/cxm.
*** Error code 1

Stop in /usr/ports/multimedia/pvrxxx.
-----------------------------------------------------------------------------------------------------------

>From: usleepless at gmail.com
>To: "Rick Nekus" <solarux at hotmail.com>
>CC: freebsd-multimedia at freebsd.org
>Subject: Re: pvr-350 not working - how to debug?
>Date: Mon, 9 Apr 2007 17:54:38 +0200
>
>On 4/9/07, Rick Nekus <solarux at hotmail.com> wrote:
>>
>>    yup, I'm gonna upgrade to STABLE
>>
>>    (I thought the CD .iso's were sort-of stable )
>>
>>     :)
>
>i just checked your firmware.h: it is different from mine.
>
>sorry i didn't notice it before.
>
>regards,
>
>usleep
>
>>        ______________________________________________________________
>>
>>      From:  usleepless at gmail.com
>>      To:  "Rick Nekus" <solarux at hotmail.com>
>>      CC:  freebsd-multimedia at freebsd.org
>>      Subject:  Re: pvr-350 not working - how to debug?
>>      Date:  Mon, 9 Apr 2007 17:29:46 +0200
>>      >Anders,
>>      >
>>      >On 4/9/07, Rick Nekus <solarux at hotmail.com> wrote:
>>      >>
>>      >>    Hi Anders
>>      >>
>>      >>    ok, thanks, ya I was gonna try that next now too,
>>      >>
>>      >>    btw, the new port you mentioned i assume includes the "new"
>>      >>patch for
>>      >>    cxm drivers right ?
>>      >>
>>      >>    thanks.
>>      >>
>>      >>    Rick.
>>      >>
>>      >>    >
>>      >>    >I had the same on 6.2-RELESE but after a upgrade to STABLE
>>      and
>>      >>a new
>>      >>    >patch for cxm the new port from usleep builds just fine!
>>      >
>>      >thank you for your input: so the pvrxxx port fails to build on
>>      >6.2-RELEASE.
>>      >
>>      >Rick, are you willing and capable to go to STABLE?
>>      >
>>      >Anders, Torfinn:
>>      >
>>      >now this is sorted, i will try to address the "only static
>>      picture"
>>      >problem today / this evening. have you both double-checked that a
>>      >signal is present on the cable? and the cable is in the right
>>      input?
>>      >(
>>      >this has happened before .... )
>>      >
>>      >and you are both using 350s, right?
>>      >
>>      >regards,
>>      >
>>      >usleep
>>      _________________________________________________________________
>>
>>    [1]Everyone Are Talking About!
>>
>>References
>>
>>    1. http://g.msn.com/8HMBENCA/2749??PS=47575
>>_______________________________________________
>>freebsd-multimedia at freebsd.org mailing list
>>http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia
>>To unsubscribe, send any mail to 
>>"freebsd-multimedia-unsubscribe at freebsd.org"
>>

_________________________________________________________________
Don’t waste time standing in line—try shopping online. Visit Sympatico / MSN 
Shopping today! http://shopping.sympatico.msn.ca



More information about the freebsd-multimedia mailing list