From owner-freebsd-multimedia@FreeBSD.ORG Fri Jun 20 20:32:12 2008 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36A0E1065682 for ; Fri, 20 Jun 2008 20:32:12 +0000 (UTC) (envelope-from danny@ricin.com) Received: from smtpq1.tilbu1.nb.home.nl (smtpq1.tilbu1.nb.home.nl [213.51.146.200]) by mx1.freebsd.org (Postfix) with ESMTP id C419C8FC16 for ; Fri, 20 Jun 2008 20:32:11 +0000 (UTC) (envelope-from danny@ricin.com) Received: from [213.51.146.190] (port=33336 helo=smtp1.tilbu1.nb.home.nl) by smtpq1.tilbu1.nb.home.nl with esmtp (Exim 4.60) (envelope-from ) id 1K9nHG-0004A6-6Z for freebsd-multimedia@freebsd.org; Fri, 20 Jun 2008 22:32:10 +0200 Received: from cp1228410-a.dbsch1.nb.home.nl ([84.27.119.97]:51135 helo=desktop.homenet) by smtp1.tilbu1.nb.home.nl with smtp (Exim 4.60) (envelope-from ) id 1K9nHF-0004pD-Dq for freebsd-multimedia@freebsd.org; Fri, 20 Jun 2008 22:32:10 +0200 Received: by desktop.homenet (sSMTP sendmail emulation); Fri, 20 Jun 2008 22:32:07 +0200 From: "Danny Pansters" To: freebsd-multimedia@freebsd.org Date: Fri, 20 Jun 2008 22:32:07 +0200 User-Agent: KMail/1.9.7 References: <849838.19445.qm@web63006.mail.re1.yahoo.com> In-Reply-To: <849838.19445.qm@web63006.mail.re1.yahoo.com> X-Face: (Zs+'ncTcchkOX|~t6{?Iii=O!G#WEK!+OD0|-F=i%1pvP5V_Sz4PaJC8o)=?utf-8?q?MiSnH/JMJFy=0A=09oBN-My?=, v":S7, (=?utf-8?q?mmkPm=27U=7BMgT+eM=2EBd=5Cp/P!dr=5DhOTXqpse21O!=25Ct=60SE=2EOodq?= =?utf-8?q?=5Dry=5E=23kU=5E=0A=09-?=GT.[8D}i$6P>=" =?utf-8?q?=23=0A=09*J+4d=7E?= MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200806202232.07227.danny@ricin.com> X-Spam-Score: 0.0 (/) Subject: Re: open("/dev/bktr0") failed: No such file or directory 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: Fri, 20 Jun 2008 20:32:12 -0000 On Friday 20 June 2008 03:11:08 Fritz Katz wrote: > On Sun, 1 Jun 2008, Wilson Thankachan wrote: > > I recently installed PCBSD in my PC and am trying to configure fxtv. I > > have a Phillips TV tuner. These are the things that I did. > > > > 1) I did a make under /usr/ports/multimedia/fxtv/ > > 2) added the following line in /boot/loader.conf > > > > bktr_load="YES" > > > > 3) rebooted the PC got the following message in demsg > > bktr_mem: memory holder loaded > > > > 4) when I run fxtv I get the follwing error > > open("/dev/bktr0") failed: No such file or directory The driver didnt attach, otherwise you'd have seen a few more 'bktr' lines in your dmesg. > > What am i missing? Do i have to install the BKTR driver if so where > > can I get it. By the I dont see this device under /dev > > > > Thanks, > > Wilson > > --------------- > > Hello Wilson, > > What kind of 'Philips TV tuner' do you have? Is it listed on > this page?: > http://www.freebsd.org/cgi/man.cgi?query=bktr&sektion=4 > > If it's a 'Philips SAA713x based card' and not a > 'BrookTree/Conexant BT8x8' then jump down to suggestion #3. > Otherwise, here's some suggestions. Other folks on this > list, please chime in on what works for you. > > 1) Is the bktr driver being loaded? > If so, then you should see lines similar to these in your dmesg: > > # dmesg > (....) > bktr_mem: memory holder loaded > (....) > bktr0: mem 0xcffff000-0xcfffffff irq 16 at device 10.0 on > pci1 bktr0: [GIANT-LOCKED] > bktr0: [ITHREAD] > bktr0: Hauppauge Model 44801 D110 > bktr0: Hauppauge WinCast/TV, Philips NTSC tuner. > > Here's my loader.conf which works for me: > # cat /boot/loader.conf > nvidia_load="YES" > snd_driver_load="YES" > bktr_load="YES" > iic_load="YES" > > You should see bktr.ko and bktr_mem.ko in this list: > # kldstat > Id Refs Address Size Name > 32 1 0xc0e49000 1258c bktr.ko > 33 2 0xc0e5c000 2000 bktr_mem.ko > > 2) Is the hardware even being being recognized? > Perhaps the PCI tuner card is not seated in the slot, > try moving to a different slot. > Maybe the card is non-functional? > pciconf is a diagnostic utility for the PCI bus: > > # pciconf -lcv > bktr0@pci0:1:10:0: class=0x040000 card=0x13eb0070 chip=0x036e109e rev=0x11 > hdr=0x00 vendor = 'Conexant (Was: Brooktree Corp)' > device = 'Bt878/Fusion 878A Mediastream Controller' > class = multimedia > subclass = video > cap 03[44] = VPD > cap 01[4c] = powerspec 2 supports D0 D3 current D0 > none3@pci0:1:10:1: class=0x048000 card=0x13eb0070 chip=0x0878109e rev=0x11 > hdr=0x00 vendor = 'Conexant (Was: Brooktree Corp)' > device = '7610144D&REV_02\4&1F7DBC9F&0&09F0 TV Video Capture' > class = multimedia > cap 03[44] = VPD > cap 01[4c] = powerspec 2 supports D0 D3 current D0 > > 3) add this port: > /usr/ports/multimedia/kbtv2 > 'make config' and select > CORE, GUI, and for your TV card i.e. SAA, SAA_KMOD > Then do a: > # btsetup > btsetup> help > help - Show this help text > show [cards|tuners|cameras|users] - Show config or list > cards/tuners/cams/users adduser - Add user to > operator group by login or UID kldload - Load the > bktr/saa/pwc/snd_driver module sysctl value - Set the > sysctl for bktr card/tuner to value commit - > Commit/write the config > quit - Quit btsetup > btsetup> kldload saa > btsetup> commit > btsetup> quit > > btsetup does a '# kldload saa.ko' as well as modifying > the boot/loader.conf I think you may have to reboot. > > Try running kbtv2. I think the interface is much nicer than fxtv. > > I was able to get the S-Video-in and audio-in working on my SAA card. > But could only tune TV channels audio -- video was just a blue-screen > (I suspect I need to set some 'sysctl' for the card but I'm > clueless about where to go next with it). > > If you want to watch TV on your FreeBSD system, you can still > find some old BT8x8 cards listed on eBay or Craigslist. If you > find one, snatch it up -- Brooktree stopped making them years > ago. Of course, you will only be able to watch TV for eight > months more using BT8x8 cards -- analog broadcasting will > stop Feb. 2009 in the US. FreeBSD really must support > newer TV-tuners as well as USB-Tuners. > > The Video for Linux-2 project (V4L2) seems better at supporting > newer tuners, including digital ATSC/DVB-T standards: > http://www.exploits.org/v4l > Anyone want to work with me on a 'V4B' project? > > Regards, > Fritz_Katz > -- frtzkatz(at)yahoo.com > > > > > > _______________________________________________ > freebsd-multimedia@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia > To unsubscribe, send any mail to > "freebsd-multimedia-unsubscribe@freebsd.org" btsetup is a tool from kbtv1, the sort-of equivalent for kbtv2 is kbtv2-setup. It has an even more braindead UI, just sets up any supported device found (well, I hope so..). btsetup had an option to set sysctls for bktr, this functionality has been dropped from kbtv2-setup (so do it manually if needed) Dan PS to Fritz: for your problem with bktr tuning try sysctl with another tuner type (see bktr(4). The introduction of the microtune code into bktr a few years ago seems to have made some of the old hauppauge wintv cards problematic. Also, some cards (eg leadtek and maybe also some hauppauge wintv cards from that era) may have an unsupported tuner.