Autor Thema: Sundtek MediaTV HD ATSC Linux Installation  (Gelesen 28702 mal)

Sundtek

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 8604
    • Profil anzeigen
Sundtek MediaTV HD ATSC Linux Installation
« am: September 04, 2009, 01:19:57 Nachmittag »
Sundtek MediaTV HD USB / MiniPCIe are world class ATSC/QAM64/QAM256, AnalogTV (NTSC), Composite, S-Video, FM-Radio devices which are fully supported with Linux, our technology provides support for the entire 2.6.x Linux Kernel Series, unpatched Kernels are supported from 2.6.15 on.

The driver installation is currently mainly done on the console, we are working on providing a graphical installer lateron. The driver is developed by Sundtek Ltd. The driver runs as normal application (in userspace), if unexpected problems occur the system will not be affected by it, aside of that it has the advantage that it is not bound to any particular kernel version which makes difficult compiling unnecessary.

The driver also has Closed Captioning support which complies with the requirements of the FCC
Channel 1-4 and Text 1-4 decoding.

tvtime does not comply with those requirements.

Minimum System requirements Linux 2.6.15 32 or 64 bit (older kernels need small USB framework patches), 1.5 Ghz

Supported Architectures:



* Intel/AMD x86 (32/64 bit)
* ARM
* IBM PowerPC (eg. Sony Playstation 3 - first revision)
* MIPS
* further builds are available uppon request

This installer supports following operating systems:


* Linux
* FreeBSD 8.0
* Apple
* Solaris

http://www.sundtek.de/media (for driver releases)

Please note that the linux 2.6.27 and 2.6.28 series have a bug in the USB System wich makes the memory usage of the Linux system grow, this causes the system to run out of memory after some time. You can read more about this issue and how to fix it on the Linux USB Mailinglist, it is probably easier to use Linux 2.6.15 - 2.6.26 or 2.6.29+.

The latest driver version can be downloaded from the Driver Board (for ATSC please consider using the latest Beta driver)

open a console and run following command as root
Zitat
$ chmod 777 empia_installer*
$ sudo ./empia_installer_{version you downloaded}.sh

Welcome to the EETI em28xx linux driver setup

Legal notice:
This software comes without any warranty, use it at your own risk

Do you want to continue [Y/N]:
y
stopping old driver instance...
installing em28xx driver to /opt
unpacking...
checking system... 64Bit System detected
installing...
finalizing configuration... (can take a few seconds)  
installing libmediaclient interception library
Starting driver...
done.

For identifying the device in the system you can run following command:

Sundtek MediaTV HD ATSC:

$ /opt/bin/mediaclient -e
**** List of Media Hardware Devices ****
device 0: [MediaTV Pro III USB (US)]  ATSC, ANALOG-TV, FM-RADIO, REMOTE-CONTROL, OSS-AUDIO, RDS
  [INFO]:
     STATUS: ACTIVE
  [BUS]:
     ID: 1-1
  [SERIAL]:
     ID: U1501********
  [ATSC]:
     FRONTEND: /dev/dvb/adapter1/frontend0
     DVR: /dev/dvb/adapter1/dvr0
     DMX: /dev/dvb/adapter1/demux0
  [ANALOG-TV]:
     VIDEO0: /dev/video0
     VBI0: /dev/vbi0
  [FM-RADIO]:
     RADIO0: /dev/radio0
     RDS: /dev/rds0
  [REMOTECONTROL]:
     INPUT0: /dev/mediainput0
  [OSS]:
     OSS0: /dev/dsp0

Sundtek DualHD ATSC:

**** List of Media Hardware Devices ****
device 0: [ Sundtek DualHD ATSC]  ATSC, REMOTE-CONTROL, ATSC
  [ATSC]:
     FRONTEND: /dev/dvb/adapter0/frontend0
     DVR: /dev/dvb/adapter0/dvr0
     DMX: /dev/dvb/adapter0/demux0
  [REMOTECONTROL]:
     INPUT0: /dev/mediainput0
  [ATSC]:
     FRONTEND: /dev/dvb/adapter1/frontend0
     DVR: /dev/dvb/adapter1/dvr0
     DMX: /dev/dvb/adapter1/demux0

Analogue TV/Composite/S-Video

for starting analogTV with tvtime:
tvtime -d /dev/video1

by default most linux tv players do not support digital audio properly, in order to fix that problem our driver supports internal audio processing, which means that the driver automatically tries to play the available data to the default soundcard, while the TV application is just in charge of displaying the video.



(the screenshot was made with the PAL version, NTSC only supports 720x480@30 FPS)

For using the device with mplayer:
$ mplayer tv:// -tv driver=v4l2:device=/dev/video1
MPlayer SVN-r29305-4.3.2 (C) 2000-2009 MPlayer Team

Playing tv://.
TV file format detected.
Selected driver: v4l2
 name: Video 4 Linux 2 input
 author: Martin Olschewski <olschewski@zpr.uni-koeln.de>
 comment: first try, more to come ;-)
Selected device: Sundtek MediaTV
 Tuner cap: STEREO
 Tuner rxs:
 Capabilites:  video capture  VBI capture device  tuner  audio  read/write  streaming
 supported norms: 0 = NTSC-M;
 inputs: 0 = Television; 1 = Composite; 2 = S-Video;
 Current input: 0
 Current format: YUYV

The driver automatically tries to figure out the correct audio playback.



For using analogue TV with vlc, just start up VLC and select the corresponding capturedevice eg. /dev/video1 in our case



FM Radio

/opt/bin/mediaclient -f 90100000 -m RADIO -d /dev/radio0 -t 0

/opt/bin/mediaclient -m RADIO -d /dev/radio0 -c internal

/opt/bin/mediaclient -m RADIO -d /dev/radio0 --mute off

for disabling audio in the background:
/opt/bin/mediaclient -m RADIO -d /dev/radio0 --mute on

ATSC

mplayer

# scan us-TechnologyDrive
scanning us-TechnologyDrive
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
Frontend can not do INVERSION_AUTO, trying INVERSION_OFF instead
>>> tune to: 551000000:8VSB
service is running. Channel number: 7:1. Name: 'KGO-DT '
service is running. Channel number: 7:2. Name: 'KGO-DT '
service is running. Channel number: 7:3. Name: 'KGO DT '
dumping lists (3 services)
KGO-DT :551000000:8VSB:49:52:3
KGO-DT :551000000:8VSB:65:68:4
KGO DT :551000000:8VSB:81:84:5
Done.
$ cat /dev/dvb/adapter0/dvr0 | mplayer -cache 10240 -



----

to remove the driver from the system:
./empia_installer.sh -u

EETI em28xx linux driver setup

stopping em28xx driver...
removing driver
.......
driver successfully removed from system
« Letzte Änderung: Februar 24, 2015, 06:41:44 Vormittag von Sundtek »
Failure is a good thing! I'll fix it