From owner-freebsd-multimedia@FreeBSD.ORG Wed Nov 22 21:51:49 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 56D4C16A407 for ; Wed, 22 Nov 2006 21:51:49 +0000 (UTC) (envelope-from bsd-unix@earthlink.net) Received: from pop-satin.atl.sa.earthlink.net (pop-satin.atl.sa.earthlink.net [207.69.195.63]) by mx1.FreeBSD.org (Postfix) with ESMTP id 384CA43D58 for ; Wed, 22 Nov 2006 21:51:18 +0000 (GMT) (envelope-from bsd-unix@earthlink.net) Received: from fl-71-54-28-212.dhcp.embarqhsd.net ([71.54.28.212] helo=kt.weeeble.com) by pop-satin.atl.sa.earthlink.net with smtp (Exim 3.36 #1) id 1Gn00N-0002Mn-00 for freebsd-multimedia@freebsd.org; Wed, 22 Nov 2006 16:51:43 -0500 Date: Wed, 22 Nov 2006 16:51:41 -0500 From: Randy Pratt To: freebsd-multimedia@freebsd.org Message-Id: <20061122165141.62427953.bsd-unix@earthlink.net> X-Mailer: Sylpheed version 2.2.10 (GTK+ 2.10.6; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: PVR250 hanging X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Nov 2006 21:51:49 -0000 I've been trying to get my PVR250 card working using FreeBSD 6.2-PRERELEASE (sources from about a week ago) but I've ran into some difficulties. I've rebuilt the kernel with the patches and devices and do: # kldload cxm_iic # kldload cxm kldstat shows the modules loaded: Id Refs Address Size Name 1 15 0xc0400000 70896c kernel 2 1 0xc0b09000 61d4 snd_via8233.ko 3 2 0xc0b10000 22614 sound.ko 4 1 0xc0b33000 5c318 acpi.ko 5 1 0xc4ec1000 17000 linux.ko 6 1 0xc4faf000 2000 blank_saver.ko 7 2 0xc51ab000 3000 cxm_iic.ko 8 1 0xc51ae000 8e000 cxm.ko and dmesg shows: cxm0: mem 0xd8000000-0xdbffffff irq 19 at device 11.0 on pci0 cxm_iic0: on cxm0 iicbb0: on cxm_iic0 iicbus0: on iicbb0 master-only cxm0: LG Innotek TAPC-H701F tuner cxm0: SAA7115 rev 1 video decoder cxm0: MSP3445G-B8 audio decoder cxm0: IR Remote cxm0: [GIANT-LOCKED] cxm0: encoder firmware version 0x2050032 Finally, pciconf -lv gives me: cxm0@pci0:11:0: class=0x040000 card=0x40090070 chip=0x00164444 rev=0x01 hdr=0x00 vendor = 'Conexant Inc (Was: Globespan, ICompression Inc)' device = 'iTVC16/CX23416 MPEG Codec' class = multimedia subclass = video # pvr250-setchannel -m 1 (using US NTSC broadcast for testing) # pvr250-setchannel 11 (There is a strong local channel 11) ioctl( tfd, TVTUNER_SETCHNL ) failed.: Invalid argument The dmesg now has an entry of: cxm0: video decoder failed to lock If I repeat the commands, then it "seems" to accept it: # pvr250-setchannel -m 1 # pvr250-setchannel 11 # Do the pvr250-setchannel commands have to be done in some specific order? I'm flailing around with this and searching the archives doesn't seem to turn up anything definitive. I proceed on to a test: # cat /dev/cxm0 > foo.mpg the file (foo.mpg) will only get so large and stop growing. I've also tried "mplayer /dev/cxm0" and only get a little of tv before it quits. I did notice this in the output of "ps" after ctrl-c the test: # ps -auxww | grep cxm USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND root 826 0.0 0.0 0 8 ?? WL 4:33PM 0:00.00 [irq19: cxm0] I've had several freezes/hangs where the system is unresponsive and keyboard won't accept input forcing a power recycling and fsck. The pvr250 card is working under win so the card is functional. Any suggestions on things to try or tests I can do to find what the problem is? (or is it me?) Any clues would be much appreciated. Randy --