Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Apr 2007 01:40:00 +0000
From:      "Rick Nekus" <solarux@hotmail.com>
To:        freebsd-multimedia@freebsd.org
Subject:   Re: pvr-350 not working - how to debug?
Message-ID:  <BAY134-F6C5CC1C7422DA75059CFFA15F0@phx.gbl>
In-Reply-To: <c39ec84c0704101646i4d20193ah5c4754afa7454116@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi, I got some success for my pvr-350
-on FreeBSD 6.2-STABLE-200703:

I was able to compile both of the below ports successfully, (patched/rebuilt 
kernel/loaded cxm drivers,...) using;
pvrxxx-20070904, and then the
pvrxxx-20071004  port.

-I've included the /var/log/messages of each of the above respectives ports, 
since the messages output was so radically different -maybe of interest ?

In either case, I could "cat /dev/cxm0 > file.mpg" (...then use mplayer) and 
see static screen.
Also, if I tried "pvr250-setchannel -a on -m 1 13" - everything hung and 
then just "crashed" the whole system.
-It didn't like no Tuner ?, and/or I guess we now have to preset the channel 
frequency for
testing a channel output?

Here's messages from last two newest ports;
----------------------------------------------------------------------------------------------
pvrxxx-20070904 (/var/log/messages):

Apr 10 20:08:14 tiger kernel: cxm0: <Conexant iTVC15 MPEG Coder> mem 
0xf4000000-0xf7ffffff irq 21 at device 10.0 on pci2
Apr 10 20:08:14 tiger kernel: cxm_iic0: <Conexant iTVC15 / iTVC16 I2C 
controller> on cxm0
Apr 10 20:08:14 tiger kernel: iicbb0: <I2C bit-banging driver> on cxm_iic0
Apr 10 20:08:14 tiger kernel: iicbus0: <Philips I2C bus> on iicbb0 
master-only
Apr 10 20:08:14 tiger kernel: <2>tveeprom: ivtv version
Apr 10 20:08:14 tiger kernel: <2>tveeprom: Hauppauge: model = 48132, rev = 
K268, serial# = 9939981
Apr 10 20:08:14 tiger kernel: <2>tveeprom: tuner = LG TAPE H001F MK3 (idx = 
68, type = 47)
Apr 10 20:08:14 tiger kernel: <2>tveeprom: tuner fmt = NTSC(M) (eeprom = 
0x08, v4l2 = 0x00001000)
Apr 10 20:08:14 tiger kernel: <2>tveeprom: audio processor = MSP4448 (type = 
1b)
Apr 10 20:08:14 tiger kernel: <2>tveeprom: decoder processor = SAA7115 (type 
= 13)
Apr 10 20:08:14 tiger kernel: tuner type: 47
Apr 10 20:08:14 tiger kernel: cxm0: SAA7115 rev 1 video decoder
Apr 10 20:08:14 tiger kernel: cxm0: MSP4448G-A2 audio decoder
Apr 10 20:08:14 tiger kernel: cxm0: IR Remote
Apr 10 20:08:14 tiger kernel: cxm0: Eeprom PAL
Apr 10 20:08:14 tiger kernel: tuner: type set to 47 (LG NTSC (TAPE series)) 
by cxm
Apr 10 20:08:14 tiger kernel: tuner: switching to v4l2
Apr 10 20:08:14 tiger kernel: <2>cxm 0-0000: Video signal:              not 
present
Apr 10 20:08:14 tiger kernel: <2>cxm 0-0000: Detected format:           0x0
Apr 10 20:08:14 tiger kernel: <2>cxm 0-0000: Detected audio mode:       mono
Apr 10 20:08:14 tiger kernel: <2>cxm 0-0000: Detected audio standard:   not 
defined
Apr 10 20:08:14 tiger kernel: <2>cxm 0-0000: Audio muted:               no
Apr 10 20:08:14 tiger kernel: <2>cxm 0-0000: Audio microcontroller:     
stopped
Apr 10 20:08:14 tiger kernel: <2>cxm 0-0000: Configured audio standard: 
undefined
Apr 10 20:08:14 tiger kernel: <2>cxm 0-0000: Configured audio mode:     
MONO1 (LANGUAGE A/Mono L+R channel for BTSC, EIAJ, A2)
Apr 10 20:08:14 tiger kernel: <2>cxm 0-0000: Specified standard:        
automatic detection
Apr 10 20:08:14 tiger kernel: <2>cxm 0-0000: Specified input:           
Tuner
Apr 10 20:08:14 tiger kernel: <2>cxm 0-0000: Specified audio input:     
Tuner
Apr 10 20:08:14 tiger kernel: <2>cxm 0-0000: Specified audioclock freq: 
undefined
Apr 10 20:08:14 tiger kernel: <2>cxm 0-0000: Preferred audio mode:      
mono/language A
Apr 10 20:08:14 tiger kernel: cxm0: [FAST]
Apr 10 20:08:16 tiger kernel: cxm0: encoder firmware version 0x2060039
Apr 10 20:08:16 tiger kernel: cxm0: decoder firmware version 0x2020023
Apr 10 20:12:13 tiger syslogd: kernel boot file is /boot/kernel/kernel
Apr 10 20:12:13 tiger kernel:
Apr 10 20:12:13 tiger kernel:
Apr 10 20:12:13 tiger kernel: Fatal trap 12: page fault while in kernel mode
Apr 10 20:12:13 tiger kernel: cpuid = 1; apic id = 01
Apr 10 20:12:13 tiger kernel: fault virtual address     = 0x4
Apr 10 20:12:13 tiger kernel: fault code                = supervisor read, 
page not present
Apr 10 20:12:13 tiger kernel: instruction pointer       = 0x20:0xc631a146
Apr 10 20:12:13 tiger kernel: stack pointer             = 0x28:0xefff4c44
Apr 10 20:12:13 tiger kernel: frame pointer             = 0x28:0xefff4c4c
Apr 10 20:12:13 tiger kernel: code segment              = base 0x0, limit 
0xfffff, type 0x1b
Apr 10 20:12:13 tiger kernel: = DPL 0, pres 1, def32 1, gran 1
Apr 10 20:12:13 tiger kernel: processor eflags  = interrupt enabled, resume, 
IOPL = 0
Apr 10 20:12:13 tiger kernel: current process           = 937 
(pvr250-setchannel)
Apr 10 20:12:13 tiger kernel: trap number               = 12
Apr 10 20:12:13 tiger kernel: panic: page fault
Apr 10 20:12:13 tiger kernel: cpuid = 1

------------------------------------------------------------------------------------
pvrxxx-20071004 (/var/log/messages):

Apr 10 20:53:20 tiger kernel: cxm0: <Conexant iTVC15 MPEG Coder> mem 
0xf4000000-0xf7ffffff irq 21 at device 10.0 on pci2
Apr 10 20:53:20 tiger kernel: cxm_iic0: <Conexant iTVC15 / iTVC16 I2C 
controller> on cxm0
Apr 10 20:53:20 tiger kernel: iicbb0: <I2C bit-banging driver> on cxm_iic0
Apr 10 20:53:20 tiger kernel: iicbus0: <Philips I2C bus> on iicbb0 
master-only
Apr 10 20:53:20 tiger kernel: <2>tveeprom: ivtv version
Apr 10 20:53:20 tiger kernel: <2>tveeprom: Hauppauge: model = 48132, rev = 
K268, serial# = 9939981
Apr 10 20:53:20 tiger kernel: <2>tveeprom: tuner = LG TAPE H001F MK3 (idx = 
68, type = 47)
Apr 10 20:53:20 tiger kernel: <2>tveeprom: tuner fmt = NTSC(M) (eeprom = 
0x08, v4l2 = 0x00001000)
Apr 10 20:53:20 tiger kernel: <2>tveeprom: audio processor = MSP4448 (type = 
1b)
Apr 10 20:53:20 tiger kernel: <2>tveeprom: decoder processor = SAA7115 (type 
= 13)
Apr 10 20:53:20 tiger kernel: tuner type: 47
Apr 10 20:53:20 tiger kernel: cxm0: Eeprom PAL
Apr 10 20:53:20 tiger kernel: tuner: type set to 47 (LG NTSC (TAPE series)) 
by cxm
Apr 10 20:53:20 tiger kernel: tuner: switching to v4l2
Apr 10 20:53:20 tiger kernel: tuner: tv freq set to 55.25
Apr 10 20:53:20 tiger kernel: tuner: tv 0x06 0x50 0x8e 0x01
Apr 10 20:53:20 tiger kernel: cxm0: SAA7115 rev 1 video decoder
Apr 10 20:53:20 tiger kernel: cxm0: MSP4448G-A2 audio decoder
Apr 10 20:53:20 tiger kernel: cxm0: IR Remote
Apr 10 20:53:20 tiger kernel: cxm0: [FAST]
Apr 10 20:53:22 tiger kernel: cxm0: encoder firmware version 0x2060039
Apr 10 20:53:22 tiger kernel: cxm0: decoder firmware version 0x2020023
-----------------------------------------------------------------------------------------------------------



>From: usleepless@gmail.com
>To: "Sean West" <sean.west@gmail.com>
>CC: "Rick Nekus" <solarux@hotmail.com>, freebsd-multimedia@freebsd.org, 
>freebsd-hackers@freebsd.org
>Subject: Re: pvr-350 not working - how to debug?
>Date: Wed, 11 Apr 2007 01:46:52 +0200
>
>Sean,
>
>On 4/11/07, Sean West <sean.west@gmail.com> wrote:
>> > if that works, fetch a new version ( fixes support for ntsc ):
>> >   http://usleepless.110mb.com/pvrxxx_port-10042007.tgz
>>
>>Complies, installs and loads fine here (outputs 'cxm0: Eeprom PAL', is
>>this an issue?). Still static for me, though.
>
>thank you for testing. it is indeed an issue. can you post the
>relevant parts of /var/log/messages?
>
>regards,
>
>usleep

_________________________________________________________________
Your Space. Your Friends. Your Stories. Share your world with Windows Live 
Spaces. http://spaces.live.com/?mkt=en-ca




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BAY134-F6C5CC1C7422DA75059CFFA15F0>