Since the version 1.9.1, xdtv should work on the systems OpenBSD/NetBSD/FreeBSD. Since xdtv has been implemented originally under linux, xdtv will perhaps work less nicely than under linux. This work is still in developpement. If you think that you have found a bug, post an article at the URL: http://sourceforge.net/tracker/?atid=517405&group_id=67268 xdtv/bsd has been tested on OpenBSD 3.0/3.4 with pthread="GNU Pth 1.4.0" and FreeBSD 4.9, so if you have a different system it may not work.... To install xdtv use the commands: -- ./configure CPPFLAGS="-I/usr/local/include -I/usr/pkg/include" LDFLAGS="-L/usr/local/lib -L/usr/pkg/lib" make make install -- (change the CC argument of configure to your mind) The three new things which have been done for the portage: -- driver for bktr instead of bktr -- use of software threads. -- support of sun audio driver (only for openbsd and netbsd) Known problems 1) THREADS: In fact the threads seem to cause big problems. So if you think you have problems with threads, you can try with the "GNU Pth" threads, even if these threads are not preemptive, it should anyway work. (http://www.gnu.org/software/pth/pth.html) (In fact it seems to work only if they are compiled WITHOUT syscall-hard and WITHOUT syscall-soft....) To compile with linux threads under freebsd, you should do: ./configure CFLAGPTHREAD=-I/usr/local/include/pthread/linuxthreads LIBPTHREAD="-L/usr/local/lib -llthread -llgcc_r" (does not seem to work) See also: http://www.humanfactor.com/pthreads/ http://www.unobvious.com/bsd/freebsd-threads.html 2) YUV Format. Format YUV seems to cause problems (with my card a bt878) on OpenBSD (3.0 and 3.4) It does not work on continuous capture. You can force another format by the command: xdtv -grabfmt rgb24 It is quite slow so I use the limit to capture size, to have a goot full-screen: xdtv -grabfmt rgb24 -capt_width 384 -capt_height 576 Strangely on my card it work in "read" mode, but it is very slow. so it works (very slowly) with: xdtv -bktr_read 3) Teletext. At first, teletext works if /dev/vbi0 exists. On OpenBSD 3.0 you must create this device manually with the command mknod /dev/vbi0 c 49 32 It seems there are problems when recording, and seeing teletext in the same time. It is probably related to the used threads (GNU Pth...). 4) On OpenBSD 3.4, with the default installation gcc must have the option -Wl,-E to make dlopen work correctly moreover MMX is unsupported by the system, so you must use the option --disable-mmx to configure. 5) Under FreeBSD 4.9 (and probably others) The bktr driver are not installed by default. to install them do: (cd /dev; ./MAKEDEV bktr0) (cd /usr/src/sys/modules/bktr; make; make install) and put in /boot/defaults/loader.conf bktr_mem_load="YES" bktr_load="YES" and reboot The MP3 recording segaults with the default package lame-3.93.1 but it works if you install lame-3.95.1 (http://prdownloads.sourceforge.net/lame/lame-3.95.1.tar.gz) ##################################################### TESTED SYSTEMS (with a bt878 card): Here I give the options to configure and xdtv which were necessary to make xdtv work properly OpenBSD 3.0 with GNU Pth 1.4.0: ./configure CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib xdtv -noxv xdtv -grabfmt rgb24 OpenBSD 3.4 with GNU Pth 1.4.0 ./configure CPPFLAGS="-I/usr/local/include" \ LDFLAGS="-L/usr/local/lib -Wl,-E" --disable-mmx xdtv -noxv xdtv -grabfmt rgb24 FreeBSD 4.9: ./configure CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib xdtv