From owner-freebsd-multimedia@FreeBSD.ORG Sun Apr 8 23:10:26 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 C377216A400 for ; Sun, 8 Apr 2007 23:10:26 +0000 (UTC) (envelope-from usleepless@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.226]) by mx1.freebsd.org (Postfix) with ESMTP id 6A60D13C44B for ; Sun, 8 Apr 2007 23:10:26 +0000 (UTC) (envelope-from usleepless@gmail.com) Received: by nz-out-0506.google.com with SMTP id r28so949907nza for ; Sun, 08 Apr 2007 16:10:25 -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=bakt8TC3j6Mp0uhwAK3Nc+uX9W4MSUldD7Q+kkr0qoRelAXjJCrGrPgJAS63lEWLhzqwIfbJhWcLClmIz0A6ZH2Po4PnBf8mc6YpILMNsD3vbJxC1ZhfCRNa/TTeCdNAWfvqHgud/E4MXGAl8aMqcrgwOkYoHcvD8y2EHUfCQYk= 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=GPv78Thru82iahtReyXkEVj1WnykPOy0mFgWgQ4GLFc+w5ZugE9FTpJyvzTHGfqnm+Vve66iDS1vhxg+LlJKKk/a5/x4o039D6bFQhZ17w2bTG7GOslx4D2eiQIqeccunm5BUUpLk52vYFyUaeB33DLgBJDTjxwDsfvYw5aMWzA= Received: by 10.114.157.1 with SMTP id f1mr2089158wae.1176073825446; Sun, 08 Apr 2007 16:10:25 -0700 (PDT) Received: by 10.114.192.12 with HTTP; Sun, 8 Apr 2007 16:10:25 -0700 (PDT) Message-ID: Date: Mon, 9 Apr 2007 01:10:25 +0200 From: usleepless@gmail.com To: "Sean West" 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> <20070408154643.4dd4c20c@devil.troback.com> <20070408212347.3d00e8ae@devil.troback.com> <50feecaf0704081306r6d94b89bh9fdf5e07fb7244f1@mail.gmail.com> <50feecaf0704081401xc1fc42aqbf86cd21ac659d79@mail.gmail.com> <50feecaf0704081402s7325e294o833c4d242c49e678@mail.gmail.com> Cc: freebsd-multimedia@freebsd.org 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 23:10:26 -0000 Sean, List, On 4/9/07, usleepless@gmail.com wrote: > Sean, > > On 4/8/07, Sean West wrote: > > On 4/8/07, usleepless@gmail.com wrote: > > > Sean, > > > > > > On 4/8/07, Sean West wrote: > > > > 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. > > > > > > are you in PAL or NTSC land? you say you can tune, but not change the > > > channelset. > > > > NTSC > > > > > > > > what happens if you tune by frequency and cat /dev/cxm0 > test.mpg? > > > > I get static, probably because its not a valid frequency. Do you know > > a valid one? > > at this particular moment, i consider tuning + static without a crash > partial succes. there is also the problem that Anders observed: the > code seems to "round" frequencies to whole Mhzs. i will look into > that. > > you want to tune by the channel right? i will see if i can upload > support for that tomorrow. i investigated about the frequency / channel tuning. it turns out that the linux/v4l2-tuner only supports frequency tuning. you can look up frequencies in "libs/libmythtv/frequencies.c" in a mythtv-source-tree. i am not sure what to do: i think keeping "channels" out of the driver is sane: it's is a userland issue. feel free to enhance pvr250-setchannel. "what's the frequency kenneth?" regards, usleep