From owner-freebsd-multimedia@FreeBSD.ORG Sun Apr 8 20:06:02 2007 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 BBDDE16A400 for ; Sun, 8 Apr 2007 20:06:02 +0000 (UTC) (envelope-from sean.west@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.236]) by mx1.freebsd.org (Postfix) with ESMTP id 7569713C465 for ; Sun, 8 Apr 2007 20:06:02 +0000 (UTC) (envelope-from sean.west@gmail.com) Received: by nz-out-0506.google.com with SMTP id r28so928651nza for ; Sun, 08 Apr 2007 13:06:02 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=m5HdznYPNG+OFbk/faMIBreWgGytZNmoQjmpYwZSk97ZWlaLIdg/kUtHu81aW6XSC/p/eVgZFNTuxIzUPoTjmvFFPRp4JGWwINnZox7cxoR0RMmBgF/zJ2B+JzOCcnSIqmlKKjBxELDgn8bbwUYQBjneWSsYAGnAnMAP6C+YWCM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TyQqmJguFrrO2CcGQtnhDa1tu4ynai1YD2RWvnYnsFFTSzPrTq0naFFUFq62cXLEkS2N3L9bpBbce2pQyB/kKxODaalDSwm4v4MwbEnizdl9zlYP6CMHe+1OmcacjafW5Kdc7NI3zzU2UHAOgleExjzq9Gr6JLoh5wAYLx04Pks= Received: by 10.114.157.1 with SMTP id f1mr2043724wae.1176062761473; Sun, 08 Apr 2007 13:06:01 -0700 (PDT) Received: by 10.114.121.4 with HTTP; Sun, 8 Apr 2007 13:06:01 -0700 (PDT) Message-ID: <50feecaf0704081306r6d94b89bh9fdf5e07fb7244f1@mail.gmail.com> Date: Sun, 8 Apr 2007 13:06:01 -0700 From: "Sean West" To: "usleepless@gmail.com" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070407194836.d725b2f3.torfinn.ingolfsen@broadpark.no> <20070408132915.784476c3@devil.troback.com> <20070408140116.52189ca7@devil.troback.com> <20070408154643.4dd4c20c@devil.troback.com> <20070408212347.3d00e8ae@devil.troback.com> Cc: FreeBSD Subject: Re: pvr-350 not working - how to debug? 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: Sun, 08 Apr 2007 20:06:02 -0000 On 4/8/07, usleepless@gmail.com wrote: > Anders, > > On 4/8/07, Anders Troback wrote: > > On Sun, 8 Apr 2007 16:01:23 +0200 > > usleepless@gmail.com wrote: > > > > > Anders, > > > > > > On 4/8/07, Anders Troback wrote: > > > > > > > > # pvr250-setchannel 280.25 > > > > > > > > ==> /var/log/messages <== > > > > Apr 8 15:40:45 tv kernel: before tuner_command! > > > > Apr 8 15:40:45 tv kernel: tuner: tv freq set to 540.00 > > > > > > ^^^^^ > > > > > > my bad! i hardcoded a frequency! > > > > > > > Apr 8 15:40:45 tv kernel: tuner: Huh? tv_set is NULL? > > > > Apr 8 15:40:45 tv kernel: cxm0: tuner failed to lock > > > > > > we will have to see if this disappears as well. try: > > > http://usleepless.110mb.com/pvrxxx_port-08042007.tgz > > > > > > regards, > > > > > > usleep > > > > OK, if I: > > tv# pvr250-setchannel 175.25 > > > > /var/log/messages says: > > Apr 8 21:20:05 tv kernel: before tuner_command! > > Apr 8 21:20:05 tv kernel: tuner: tv freq set to 175.00 > > Apr 8 21:20:05 tv kernel: tuner: Huh? tv_set is NULL? > > Apr 8 21:20:05 tv kernel: cxm0: tuner failed to lock > > > > > > Please let me know if I can assist you in any way!!! > > Anders, thank you for your time. As it turns out, i implemented the > initialization of the linux-tuner only for pvr500 cards... > I just installed 08042007. I can tune with MHz or channel, but doing a -m 2 causes a page fault. ---- /var/log/messages output ---- Apr 8 11:44:10 unf kernel: cxm0: mem 0xe0000000-0xe3ffffff irq 17 at device 8.0 on pci2 Apr 8 11:44:10 unf kernel: cxm_iic0: on cxm0 Apr 8 11:44:10 unf kernel: iicbb0: on cxm_iic0 Apr 8 11:44:10 unf kernel: iicbus0: on iicbb0 master-only Apr 8 11:44:10 unf kernel: <2>tveeprom: Second (radio) tuner idx 101 Apr 8 11:44:10 unf kernel: <2>tveeprom: ivtv version Apr 8 11:44:10 unf kernel: <2>tveeprom: Hauppauge: model = 23552, rev = D492, serial# = 8024262 Apr 8 11:44:10 unf kernel: <2>tveeprom: tuner = Philips FQ1236A MK4 (idx = 92, type = 57) Apr 8 11:44:10 unf kernel: <2>tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000) Apr 8 11:44:10 unf kernel: <2>tveeprom: audio processor = CX25843 (type = 25) Apr 8 11:44:10 unf kernel: <2>tveeprom: decoder processor = CX25843 (type = 1e) Apr 8 11:44:10 unf kernel: tuner type: 57 Apr 8 11:44:10 unf kernel: tuner: type set to 57 (Philips FQ1236A MK4) by cxm Apr 8 11:44:10 unf kernel: tuner: switching to v4l2 Apr 8 11:44:10 unf kernel: cxm0: Eeprom PAL Apr 8 11:44:10 unf kernel: <2>cxm 0-0000: Video signal: not present Apr 8 11:44:10 unf kernel: <2>cxm 0-0000: Detected format: NTSC-M Apr 8 11:44:10 unf kernel: <2>cxm 0-0000: Detected audio mode: forced mode Apr 8 11:44:10 unf kernel: <2>cxm 0-0000: Detected audio standard: forced audio standard Apr 8 11:44:10 unf kernel: <2>cxm 0-0000: Audio muted: no Apr 8 11:44:10 unf kernel: <2>cxm 0-0000: Audio microcontroller: running Apr 8 11:44:10 unf kernel: <2>cxm 0-0000: Configured audio standard: A2-BG Apr 8 11:44:10 unf kernel: <2>cxm 0-0000: Configured audio mode: undefined Apr 8 11:44:10 unf kernel: <2>cxm 0-0000: Specified standard: PAL-BDGHI Apr 8 11:44:10 unf kernel: <2>cxm 0-0000: Specified input: Tuner Apr 8 11:44:10 unf kernel: <2>cxm 0-0000: Specified audio input: Tuner Apr 8 11:44:10 unf kernel: <2>cxm 0-0000: Specified audioclock freq: 48 kHz Apr 8 11:44:10 unf kernel: <2>cxm 0-0000: Preferred audio mode: stereo Apr 8 11:44:10 unf kernel: <2>cxm 0-0000: Selected 65 MHz format: autodetect Apr 8 11:44:10 unf kernel: <2>cxm 0-0000: Selected 45 MHz format: chroma Apr 8 11:44:10 unf kernel: cxm0: [FAST] Apr 8 11:44:10 unf kernel: cxm0: encoder firmware version 0x2060039 Apr 8 11:44:10 unf kernel: cxm1: mem 0xe4000000-0xe7ffffff irq 18 at device 9.0 on pci2 Apr 8 11:44:10 unf kernel: cxm_iic1: on cxm1 Apr 8 11:44:10 unf kernel: iicbb1: on cxm_iic1 Apr 8 11:44:10 unf kernel: iicbus1: on iicbb1 master-only Apr 8 11:44:10 unf kernel: <2>tveeprom: Second (radio) tuner idx 101 Apr 8 11:44:10 unf kernel: <2>tveeprom: ivtv version Apr 8 11:44:10 unf kernel: <2>tveeprom: Hauppauge: model = 23552, rev = D492, serial# = 8024262 Apr 8 11:44:10 unf kernel: <2>tveeprom: tuner = Philips FQ1236A MK4 (idx = 92, type = 57) Apr 8 11:44:10 unf kernel: <2>tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000) Apr 8 11:44:10 unf kernel: <2>tveeprom: audio processor = CX25843 (type = 25) Apr 8 11:44:10 unf kernel: <2>tveeprom: decoder processor = CX25843 (type = 1e) Apr 8 11:44:10 unf kernel: tuner type: 57 Apr 8 11:44:10 unf kernel: tuner: type set to 57 (Philips FQ1236A MK4) by cxm Apr 8 11:44:10 unf kernel: tuner: switching to v4l2 Apr 8 11:44:10 unf kernel: cxm1: Eeprom PAL Apr 8 11:44:10 unf kernel: <2>cxm 0-0000: Video signal: not present Apr 8 11:44:10 unf kernel: <2>cxm 0-0000: Detected format: NTSC-M Apr 8 11:44:10 unf kernel: <2>cxm 0-0000: Detected audio mode: forced mode Apr 8 11:44:10 unf kernel: <2>cxm 0-0000: Detected audio standard: forced audio standard Apr 8 11:44:10 unf kernel: <2>cxm 0-0000: Audio muted: no Apr 8 11:44:10 unf kernel: <2>cxm 0-0000: Audio microcontroller: running Apr 8 11:44:10 unf kernel: <2>cxm 0-0000: Configured audio standard: A2-BG Apr 8 11:44:10 unf kernel: <2>cxm 0-0000: Configured audio mode: undefined Apr 8 11:44:10 unf kernel: <2>cxm 0-0000: Specified standard: PAL-BDGHI Apr 8 11:44:10 unf kernel: <2>cxm 0-0000: Specified input: Tuner Apr 8 11:44:10 unf kernel: <2>cxm 0-0000: Specified audio input: Tuner Apr 8 11:44:10 unf kernel: <2>cxm 0-0000: Specified audioclock freq: 48 kHz Apr 8 11:44:10 unf kernel: <2>cxm 0-0000: Preferred audio mode: stereo Apr 8 11:44:10 unf kernel: <2>cxm 0-0000: Selected 65 MHz format: autodetect Apr 8 11:44:10 unf kernel: <2>cxm 0-0000: Selected 45 MHz format: chroma Apr 8 11:44:10 unf kernel: cxm1: [FAST] Apr 8 11:44:10 unf kernel: cxm1: encoder firmware version 0x2060039 Apr 8 11:44:58 unf kernel: before tuner_command! Apr 8 11:44:58 unf kernel: tuner: tv freq set to 280.00 Apr 8 11:44:58 unf kernel: tuner: tv 0x14 0x5c 0x8e 0x02 Apr 8 11:44:58 unf kernel: done waiting for cx25840 = 21 Apr 8 11:44:58 unf kernel: mmmmmmsmmmmmsssssssss ----- Maybe "video signal: not present" is a clue? Sean