Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jan 2000 13:15:18 +0000 (GMT)
From:      Steve Roome <steve@snuggly.demon.co.uk>
To:        multimedia@freebsd.org
Subject:   Fxtv/Alevt with ModularTech MM100TV(UK)
Message-ID:  <Pine.BSF.4.10.10001281310140.429-100000@snuggly.demon.co.uk>

next in thread | raw e-mail | index | archive | help
Firstly Apologies for the size of this email, I've tried to include ALL the
relevant information!

I need some help getting Alevt and Fxtv to work..

(please send or cc any replies to steve@snuggly.demon.co.uk, I've not yet
subscribed)

At the end of this message is a rather huge amount of infomation, (scroll down
to INFORMATION) other stuff to mention are that the version of XF86 I'm using I've
patched with NVidia's original glx patches (I've an AGP RIVA TNT2 Ultra card
32Mb, a "Maxi Gamer Xentor 32"), the mainboard is the FIC-SD11 (rev 1.7/1.8
can't remember). The case is beige and has LED's on it.

(I bet I've still forgotten to mention something!)

PART 1: FXTV
------------

Anyway, fxtv works, although I need to force it to PALBDGHI as I'm in the UK.

** Question 1) Is that right, or should it be PAL/N or something.

As far as getting fxtv to record though, it doesn't. Well, it takes snapshot
images, and it will "record" a series of snapshots in MPEG ready or something
but it won't encode them (the script seems to try and encode them as audio,
even with the audio recording option disabled).

** Question 2) I've followed the instructions with fxtv to the letter (I
think), so why do I not get mpegs (video) to encode, or more precisiely
where exactly should I look to find why it does this !?

If I press record with the audio capture enabled button on, then fxtv hangs,
indefinitely it would seem, kill -9 still works though.

** Question 3) Is this a known problem with the pcm driver or  with fxtv,
or what.. (btw my yamaha card still thinks the CD is connected as "synth",
and I've no individual mixer channel which controls the TV sound (I think
it's plugged into line in or mic in though)

[Side issue, any possibility of getting the mixer to work better for me?!]

PART 2: ALEVT
-------------

I've compile alevt straight from ports, and also vbidecode. (for version
numbers see below), however neither seem to work, and the minimal documentation
for vbidecode doesn't tell me very much, and it's idea of debugging is
appalling!

Alevt opens windows and operates as expected, apart from no teletext gets
received, alevt-date doesn't work and even the two text test programs from
luigi's homepage don't work (not got the link handy sorry).

So, I'm assuming the sysctl settings are wrong (well, i'm sure they are!!)

So, how do I fix it.. and decide what the settings are..

I can't base it on the windows driver, because that is the worst piece of
software I've ever seen (some app PCTV32.exe gets installed on my desktop
when windows first finds the card - mmm!), besides it only lets me watch TV at
about 5fps, (yes, five fps!), whereas FreeBSD with fxtv is superb.

** Question 4) Does anyone have the interface specs for /dev/vbi, I can't find
them! Or does anyone know if I need to use fxtv to change channel at the same
time as I'm using alevt, or whether I might stand a better chance trying to get
vbidecode to work ?

(now for some other questions, only vaguely related, but this is big already)

** Question 5) Is there a TV card than can decode digital cable yet, I've got
that at home too and I'd be interested in that one.

** Question 6) My cable box at home is a PACE box (provided by Telewest), I
beleive it's a rebadged DiTV1000. It's got an RJ45 plug on the back and from my
research chooses random IP addresses on bootup (fairly random it seems), it
seems to just do the odd arp request, not even sure it does arp responses
properly though. Has anyone else looked at these boxes in more detail and can
one get, say an mpeg stream out of them ?



	Thanks very much for your time, whoever you are reading this,

		Steve Roome [steve@snuggly.demon.co.uk]












-------- INFORMATION -------------



-------- output from "sysctl -A | grep bt848"
hw.bt848.card: -1
hw.bt848.tuner: -1
hw.bt848.reverse_mute: -1
hw.bt848.format: -1

-------- pciconf -l output
chip0@pci0:0:0: class=0x060000 card=0x00000000 chip=0x70061022 rev=0x23 hdr=0x00
chip1@pci0:1:0: class=0x060400 card=0x00000000 chip=0x70071022 rev=0x01 hdr=0x01
bktr0@pci0:4:0: class=0x040000 card=0x00000000 chip=0x0350109e rev=0x12 hdr=0x00
chip2@pci0:7:0: class=0x060100 card=0x00001106 chip=0x06861106 rev=0x14 hdr=0x00
ide_pci0@pci0:7:1:      class=0x01018a card=0x00000000 chip=0x05711106 rev=0x06 hdr=0x00
none0@pci0:7:4: class=0x0c0500 card=0x00000000 chip=0x30571106 rev=0x10 hdr=0x00
rl0@pci0:9:0:   class=0x020000 card=0x813910ec chip=0x813910ec rev=0x10 hdr=0x00
vga0@pci1:5:0:  class=0x030000 card=0x582014af chip=0x002910de rev=0x11 hdr=0x00


-------- dmesg output :
Copyright (c) 1992-1999 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California. All rights reserved.
FreeBSD 3.4-STABLE #0: Thu Jan 20 21:08:45 GMT 2000
    root@snuggly.demon.co.uk:/usr/src/sys/compile/SNUGGLY
Timecounter "i8254"  frequency 1193182 Hz
CPU: AMD-K7(tm) Processor (499.03-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x612  Stepping = 2
  Features=0x81f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,MMX>
  AMD Features=0xc0400000<<b22>,<b30>,3DNow!>
real memory  = 67108864 (65536K bytes)
config> en wdc1
config> po wdc1 0x170
config> ir wdc1 15
config> f wdc1 0xb0ffb0ff
config> en wdc0
config> po wdc0 0x1f0
config> ir wdc0 14
config> f wdc0 0xb0ffb0ff
config> pnp 1 0 os enable port0 0x220 port1 0x530 port2 0x388 port3 0x370
config> pnp 1 0 irq0 5 drq0 1 drq1 3
config> q
avail memory = 62566400 (61100K bytes)
Preloaded elf kernel "kernel" at 0xc0284000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc028409c.
Pentium Pro MTRR support enabled
Probing for devices on PCI bus 0:
chip0: <Host to PCI bridge (vendor=1022 device=7006)> rev 0x23 on pci0.0.0
chip1: <PCI to PCI bridge (vendor=1022 device=7007)> rev 0x01 on pci0.1.0
bktr0: <BrookTree 848A> rev 0x12 int a irq 10 on pci0.4.0
bti2c0: <bt848 Hard/Soft I2C controller>
iicbb0: <I2C generic bit-banging driver> on bti2c0
iicbus0: <Philips I2C bus> on iicbb0 master-only
smbus0: <System Management Bus> on bti2c0
Miro TV, Temic NTSC tuner.
chip2: <PCI to ISA bridge (vendor=1106 device=0686)> rev 0x14 on pci0.7.0
ide_pci0: <VIA 82C586x (Apollo) Bus-master IDE controller> rev 0x06 on pci0.7.1
rl0: <RealTek 8139 10/100BaseTX> rev 0x10 int a irq 11 on pci0.9.0
rl0: Ethernet address: 00:00:b4:bd:3d:3c
rl0: autoneg complete, link status good (full-duplex, 100Mbps)
Probing for devices on PCI bus 1:
vga0: <VGA-compatible display device> rev 0x11 int a irq 11 on pci1.5.0
Probing for PnP devices:
CSN 1 Vendor ID: YMH0800 [0x0008a865] Serial 0xffffffff Comp ID: PNPb02f [0x2fb0d041]
mss_attach <Yamaha YMF719 OPL-SA3>1 at 0x530 irq 5 dma 1:3 flags 0x13
setting up yamaha registers
set yamaha master volume to max
pcm1 (CS423x/Yamaha/AD1816 <Yamaha YMF719 OPL-SA3> sn 0xffffffff) at 0x530-0x537 irq 5 drq 1 flags 0x13 on isa
Probing for devices on the ISA bus:
sc0 on isa
sc0: VGA color <16 virtual consoles, flags=0x0>
atkbdc0 at 0x60-0x6f on motherboard
atkbd0 irq 1 on isa
psm0 irq 12 on isa
psm0: model Generic PS/2 mouse, device ID 0
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A
pcm0 not probed due to drq conflict with pcm1 at 1
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 flags 0xb0ffb0ff on isa
wdc0: unit 0 (wd0): <IBM-DPTA-373420>, LBA, DMA, 32-bit, multi-block-16
wd0: 32634MB (66835440 sectors), 4160 cyls, 255 heads, 63 S/T, 512 B/S
wdc1 at 0x170-0x177 irq 15 flags 0xb0ffb0ff on isa
wdc1: unit 0 (atapi): <IDE/ATAPI CD-ROM 40X/T0C3>, removable, accel, dma, iordy
acd0: drive speed 1375 - 2921KB/sec, 128KB cache
acd0: supported read types: CD-R, CD-RW, CD-DA, packet track
acd0: Audio: play, 255 volume levels
acd0: Mechanism: ejectable tray
acd0: Medium: CD-ROM 120mm data/audio disc loaded, unlocked
ppc0 at 0x378 irq 7 flags 0x40 on isa
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
lpt0: <generic printer> on ppbus 0
lpt0: Interrupt-driven port
vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
npx0 on motherboard
npx0: INT 16 interface
apm0 on isa
apm: found APM BIOS version 1.2
changing root device to wd0s1a


-------- Kernel Config File :
machine		"i386"
cpu		"I686_CPU"
ident		SNUGGLY
maxusers	64

options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
options		FFS_ROOT		#FFS usable as root device [keep this!]
options		MSDOSFS			#MSDOS Filesystem
options		"CD9660"		#ISO 9660 Filesystem
options		PROCFS			#Process filesystem
options		"COMPAT_43"		#Compatible with BSD 4.3 [KEEP THIS!]
options		UCONSOLE		#Allow users to grab the console
options		USERCONFIG		#boot -c editor
options		VISUAL_USERCONFIG	#visual boot -c editor
options		SOFTUPDATES

config		kernel	root on wd0

controller	isa0
controller	pnp0
controller	pci0

controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2
disk		fd0	at fdc0 drive 0

controller	wdc0	at isa? port "IO_WD1" bio irq 14 flags 0xb0ffb0ff
disk		wd0	at wdc0 drive 0
controller	wdc1	at isa? port "IO_WD2" bio irq 15 flags 0xb0ffb0ff
disk		wd3	at wdc1 drive 1

options		ATAPI		#Enable ATAPI support for IDE bus
options		ATAPI_STATIC	#Don't do it as an LKM
device		acd0		#IDE CD-ROM

# atkbdc0 controlls both the keyboard and the PS/2 mouse
controller	atkbdc0	at isa? port IO_KBD tty
device		atkbd0	at isa? tty irq 1
device		psm0	at isa? tty irq 12

device		vga0	at isa? port ? conflicts

# splash screen/screen saver
pseudo-device	splash

# syscons is the default console driver, resembling an SCO console
device		sc0	at isa? tty

device		npx0	at isa? port IO_NPX irq 13

device		sio0	at isa? port "IO_COM1" flags 0x10 tty irq 4

controller ppbus0
device		lpt0	at ppbus?

device rl0

pseudo-device	loop
pseudo-device	ether
pseudo-device	tun	1
pseudo-device	pty	256
pseudo-device	gzip		# Exec gzipped a.out's
pseudo-device	vn

options		SYSVSHM
options		SYSVMSG
options		SYSVSEM

pseudo-device	bpfilter 4	#Berkeley packet filter

device pcm0 at isa ? port ? tty irq 5 drq 1 flags 0x15
device		ppc0	at isa? port? flags 0x40 net irq 7

#This isn't a pentium
options	"NO_F00F_HACK"

#####################################################################
# POSIX P1003.1B

# Real time extensions added int the 1993 Posix
# P1003_1B: Infrastructure
# _KPOSIX_PRIORITY_SCHEDULING: Build in _POSIX_PRIORITY_SCHEDULING
# _KPOSIX_VERSION:             Version kernel is built for

options		"P1003_1B"
options		"_KPOSIX_PRIORITY_SCHEDULING"
options		"_KPOSIX_VERSION=199309L"

device		apm0	at isa?

# The 'bktr' device is a PCI video capture device using the Brooktree 
# bt848/bt848a/bt849/bt878/bt879 chipset. When used with a TV Tuner it forms a
# TV card, eg Miro PC/TV,Hauppauge WinCast/TV WinTV, VideoLogic Captivator,
# Intel Smart Video III, AverMedia, IMS Turbo. 
# The following options can be used to override the auto detection
#   options OVERRIDE_CARD=xxx
#   options OVERRIDE_TUNER=xxx
#   options OVERRIDE_MSP=1
#   options OVERRIDE_DBX=1
# The current values are found in src/sys/dev/bktr/bktr_card.h
#
#   option BROOKTREE_SYSTEM_DEFAULT=BROOKTREE_PAL
# This is required for Dual Crystal (28&35Mhz) boards where PAL is used
# to prevent hangs during initialisation.  eg VideoLogic Captivator PCI.
#
# PAL or SECAM users who have a 28Mhz crystal (and no 35Mhz crystal)
# must enable PLL mode with this option. eg some new Hauppauge cards.
#   option BKTR_USE_PLL
#
# Using sysctl(8) run-time overrides on a per-card basis can be made

# Brooktree driver has been ported to the new I2C framework. Thus,
# you'll need to have the following 3 lines in the kernel config.
controller smbus0
controller iicbus0
controller iicbb0
# The iic and smb devices are only needed if you want to control other
# I2C slaves connected to the external connector of some cards.
#
device		bktr0

-------- Packages/ports installed (from /bin/ls -1 in /var/db/pkg)
Mesa-3.0
XFree86-3.3.3.1
Xaw3d-1.5
acm-5.0
amp-0.7.6
autoconf-2.13
bash-2.03
cdd-1.0
cvsup-bin-16.0
dap-2.0.2
fping-1.20
fvwm-2.2
fxtv-1.02
gemdropx-0.4
ghostscript-5.50
gmake-3.77
gnuls-4.0
gsm-1.0.10
gv-3.5.8
healthd-0.2
imap-uw-4.7
jpeg-6b
lesstif-0.89.4
libtool-1.3.3
linux-realplayer-5.0
linux_glide-2.4
linux_lib-2.6.1
lynx-2.8.2dev.22
m4-1.4
mirrormagic-1.3
mp3encode-1.10
mp3info-0.2.16
mpeg_encode-1.5b
mpeg_play-2.4
mpg123-0.59r
mplex-1.1
netpbm-8.0
netscape-communicator-4.51
opengl-man-657
pine-4.10
pkg_version-0.1
png-1.0.3
rplay-3.2.0b6
sniffit-0.3.7b
sox-12.16
t1lib-1.0
tcl-7.6
tcl-8.0.5
tiff-3.4b37
tk-4.2
tk-8.0.5
trafshow-2.0
unzip-5.40
vat-4.0b2
vbidecode-1.1.3
x11amp-0.8
xanim-2.80.1
xaos-3.0
xboing-2.4
xcogitate-1.02
xemacs-20.4
xengine-1.0.1
xforms-0.88.1
xgammon-0.98
xlife-3.0
xlockmore-4.15
xmmix-1.2
xmountains-2.4
xoids-1.5
xonix-1.4
xpdf-0.90
xpilot-4.1.0
xpipeman-1.0
xpm-3.4k
xpuzzletama-1.5
xscavenger-1.3.5
xspacewarp-1.2
xtacy-1.14
xtet42-2.21
xv-3.10a
xvier-1.0
xworm-1.02
zsh-3.1.5


-------- INFORMATION ENDS (thanks for bothering to read this far!)




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10001281310140.429-100000>