Thomas's em8300 MPEG2 Decoder Collection

Sigma Designs RealMagic Hollywood+

The original, though not the oldest specimen. Besides colorful connectors it features the EM8300 9949 Rev B main chip together with the ADV7170KSU video out chip.
A sticker on the back hints that this card could be something called "rev s5"...

Creative Dxr3 CT7260

The famous one: Adding to the many variants of H+ many variants of this clone...here the CT7260 featuring lots of electrolyte condensors and decoder EM8300 9938 Rev B supported by BT865AKRF providing TV out.

Videologic DVD Player

The forgotten elder one. Despite the shiny "DVD8300 Ver 2.0" on the board, it has a venerable EM8300 9926.9 Rev B (you knew it would be a "B", didn't you? ;-) teaming with ADV7170KS and a hot 'n' heavy Transistor for cold winters.

em8300 Linux driver options

Here you can have a look at my em8300 (kindof) init script with some combinations and different module options of my cards with comments. I want to note that this media box is no cosy calm place for these cards, they have to fight with some other cards and the beta BIOS (to support a notebook cpu;-) for every resource...

#!/bin/bash

case "$1" in
	start)
		for m in em8300 adv717x bt865
		do
		    grep $m /proc/modules && rmmod $m
		done

		#used to work with H+ card alone
		#but sometimes needs second run to avoid green
		#modprobe adv717x pixelport_16bit=0 pixelport_other_pal=0
		#modprobe em8300 dicom_control=1 dicom_fix=1 dicom_other_pal=0

		#this gives working PAL with vlogic
		#modprobe adv717x pixelport_16bit=1 pixelport_other_pal=0
		#modprobe em8300 dicom_control=1 dicom_fix=1 

		#this seems to be correct for vlogic and both PAL/NTSC
		#modprobe adv717x pixelport_16bit=1 pixelport_other_pal=0
		#modprobe em8300 dicom_control=0 dicom_fix=0 dicom_other_pal=0

		#vlogic and h+
		#both ok so far... vlogic seems to have problems with color flicker
		#may be cabling problem (I _hate_ these mini-DIN connectors!)
		modprobe adv717x pixelport_16bit=1,0 pixelport_other_pal=0,0
		modprobe em8300 dicom_control=0,1 dicom_fix=0,1 dicom_other_pal=0,0
		
		#dxr3
		#good first time, after first module load/unload cycle I get split picture and deplaced color/luma
		#dunno what, but alone in pci slot 4 it is ok...
		#modprobe bt865 
		#modprobe em8300 use_bt865=1

		#h+, vl, dxr
		#adv717x devices: h+, vl
		#em8300: h+,vl,dxr3
		#this is the order they are plugged in the mobo
		#h+ and vl are ok... dxr3 has scary effect
		#noticed that dxr3 may get no mtrr and that the vl doesn`t want any...
		#modprobe adv717x pixelport_16bit=0,1 pixelport_other_pal=0,0
		#modprobe bt865
		#modprobe em8300 use_bt865=0,0,1 dicom_control=1,0,0 dicom_fix=1,0,0 dicom_other_pal=0,0,0
		
		#dxr3 and h+; slots 3 and 4; dvb-t card in slot 2 (not to forget the network card that blocks irq 11)
		#dxr3 scary, h+ good
		#modprobe adv717x pixelport_16bit=0 pixelport_other_pal=0
		#modprobe bt865
		#modprobe em8300 use_bt865=1,0 dicom_control=0,1 dicom_fix=0,1 dicom_other_pal=0,0
		
		#vl and dxr3
		#vl fine, dxr3 scary (with mtrr)
		#modprobe adv717x pixelport_16bit=1 pixelport_other_pal=0
		#modprobe bt865
		#modprobe em8300 use_bt865=0,1 dicom_control=0,0 dicom_fix=0,0 dicom_other_pal=0,0
		
		
		/extra/bin/em8300setup
		#see if some sleep hee helps the occasional green screen
		sleep 1
		/extra/bin/em8300setup -a -o		#insmod adv717x.ko # pixelport_16bit=1 pixelport_other_pal=0 swap_redblue_pal=0 color_bars=1
		#insmod bt865.ko   # color_bars=1
		#insmod em8300.ko  # use_bt865=0 bt865_ucode_timeout=1 dicom_fix=0 dicom_control=0 dicom_other_pal=0
		chown :audio /dev/em8300*
		;;

	stop)
		echo Nutzer der Dxr3 weg...
		fuser -k /dev/em8300-0 &&
		fuser -k /dev/em8300_mv-0 &&
		fuser -k /dev/em8300_ma-0 

		for m in em8300 adv717x bt865
		do
		    grep $m /proc/modules && rmmod $m
		done	
	;;

	restart)
		$0 stop
		$0 start
		;;

	status)
		ls -l /dev/em8300*
		;;

	*)
		echo "Usage: $0 {start|stop|reload|restart|status}"
		exit 1
		;;
esac

Scary Dxr3

This happend when I try to run the dxr3 together with one or both of the others... deplaced chroma/luma (there's a ghost behind her!) and split screen. Some mysteries remain, though the card is fine alone.