Date: Thu, 26 May 2005 07:19:40 -0700 (PDT) From: Rob <spamrefuse@yahoo.com> To: FreeBSD questions <freebsd-questions@freebsd.org> Subject: mplayer + WinTV/bktr not working at all Message-ID: <20050526141940.72586.qmail@web54002.mail.yahoo.com>
next in thread | raw e-mail | index | archive | help
Rob wrote: > Nicolas Blais wrote: > >>mplayer -nocache -tv driver=bsdbt848: >> device=/dev/bktr:input=1:norm=ntsc: >> chanlist=us-cable:channel=3 tv:// > > > I'm running 5-Stable. So, I did: > # kldload bktr > # kldload iicbus > # kldload iicbb > # kldload smbus > > Then in /var/log/messages, I get: > > bktr0: <BrookTree 878> mem 0xf5000000-0xf5000fff > irq 9 at device 11.0 on pci2 > bktr0: Hauppauge Model 44354 C221 > bktr0: Detected a MSP3415D-B3 at 0x80 > bktr0: Hauppauge WinCast/TV, Philips FR1216 PAL FM > tuner, msp3400c stereo, remote control. > > > Then I run your command above (as a regular user), > and I get: > > MPlayer 1.0pre7-3.4.2 (C) 2000-2005 MPlayer Team > CPU: Intel Pentium 4/Xeon/Celeron Foster > (Family: 8, Stepping: 4) > Detected cache-line size is 64 bytes > CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 > SSE: 1 SSE2: 1 > Compiled with runtime CPU detection - WARNING - > this is not optimal! > To get best performance, recompile MPlayer with > --disable-runtime-cpudetection. > > Playing tv://. > TV detected! ;-) > Selected driver: bsdbt848 > name: Brooktree848 Support > author: Charles Henrich > comment: in development > FMT:ioctl: Cannot allocate memory > SINPUT:ioctl: Cannot allocate memory > SFPS:ioctl: Cannot allocate memory > SGEO:ioctl: Cannot allocate memory > mmap: Invalid argument > Error: No video input present! > > Exiting... (End of file) I have tried without iicbus, iicbb and smbus, to no avail. I have ran the mplayer command with truss, see below. Does that give a clue as of what's going wrong? [...] write(1,0x86c4000,25) = 25 (0x19) open("/dev/bktr0",0x0,00) = 3 (0x3) ioctl(3,METEORSFMT,0x86c1244) ERR#12 'Cannot allocate memory' FMT:ioctl: Cannot allocate memory writev(0x2,0xbfbfca50,0x4) = 34 (0x22) ioctl(3,SERIAL_SETINVCLK,0x86c1238) ERR#12 'Cannot allocate memory' SINPUT:ioctl: Cannot allocate memory writev(0x2,0xbfbfca50,0x4) = 37 (0x25) ioctl(3,METEORSFPS,0xbfbfd2ba) ERR#12 'Cannot allocate memory' SFPS:ioctl: Cannot allocate memory writev(0x2,0xbfbfca50,0x4) = 35 (0x23) ioctl(3,METEORSETGEO,0x86c1250) ERR#12 'Cannot allocate memory' SGEO:ioctl: Cannot allocate memory writev(0x2,0xbfbfca50,0x4) = 35 (0x23) mmap(0x0,884736,(0x1)PROT_READ,(0x1)MAP_SHARED,3,0x0) ERR#22 'Invalid argument' mmap: Invalid argument [...] open("/dev/tuner0",0x0,00) = 4 (0x4) open("/dev/dsp",0x0,00) = 5 (0x5) ioctl(5,SNDCTL_DSP_SETFRAGMENT,0xbfbfd2b4) = 0 (0x0) ioctl(5,SNDCTL_DSP_SETFMT,0x86c120c) = 0 (0x0) ioctl(5,SNDCTL_DSP_STEREO,0x86c1210) = 0 (0x0) ioctl(5,SNDCTL_DSP_SPEED,0x86c1214) = 0 (0x0) ioctl(5,SNDCTL_DSP_SETFMT,0x86c1218) = 0 (0x0) Error: No video input present! I see a few "METEOR*" arguments above; but 'man meteor' says at the end in the BUGS section: "The meteor driver no longer works at all." Is that the problem? --------------------------------------------------- 'pciconf -lv' gives: bktr0@pci2:11:0: class=0x040000 card=0x13eb0070 chip=0x036e109e rev=0x11 hdr=0x00 vendor = 'Brooktree Corporation' device = 'Bt878 Mediastream Controller' class = multimedia subclass = video none1@pci2:11:1: class=0x048000 card=0x13eb0070 chip=0x0878109e rev=0x11 hdr=0x00 vendor = 'Brooktree Corporation' device = 'Bt878/Fusion878A Video Capture (Audio Section)' class = multimedia ----------------------------------------------- But the bktr device shares its interrupt; is that OK? $ vmstat -ia interrupt total rate [...] irq9: uhci1 bktr0+ 0 0 stray irq9 0 0 --------------------------------------------- I'm quite frustrated; I bought an expensive Win/TV brooktree-chip TV card, assuming that it would work with FreeBSD. I've got nothing so far! Thanks, Rob. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050526141940.72586.qmail>