WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: DVB-T in TinyCore 3.7.1?  (Read 3106 times)

Offline AlejandroPadrino

  • Full Member
  • ***
  • Posts: 143
DVB-T in TinyCore 3.7.1?
« on: July 14, 2011, 02:56:19 PM »
Can anyone play TV with TinyCore 3.7.1?  I want to play with VLC or MPlayer.  Don't found dvb-apps for TinyCore.  My receiver is Hauppauge WinTV-900, firmware xc3028-v27.fw downloaded.

Thank you.

Offline maro

  • Hero Member
  • *****
  • Posts: 1228
Re: DVB-T in TinyCore 3.7.1?
« Reply #1 on: July 14, 2011, 08:44:21 PM »
Haha, I've just tested that only a few days long ago: For me (using a Hauppauge Nova-T USB DVB-T receiver which also requires a firmware file) the absolute minimum steps on a "plain" TC system (i.e. booted from CD-ROM without any extensions installed) appear to be:
    tce-load -wi firmware v4l-dvb-$(uname -r) vlc ; alsactl init
If you don't have a 'channels.conf' but know at least the frequency of your TV transmitter (e.g. 690 MHz) you could use vlc dvb://frequency=690000000 as a simple test if all your hardware is playing together nicely.

I'm not suggesting that this is the absolute minimum, nor am I considering this to be any good for ongoing viewing pleasure (e.g. it only defaults to one of the channels that is in the transport stream), but it is at least a start.

Offline AlejandroPadrino

  • Full Member
  • ***
  • Posts: 143
Re: DVB-T in TinyCore 3.7.1?
« Reply #2 on: July 15, 2011, 03:49:56 AM »
Hello maro, I was follow some things founded at  http://forum.tinycorelinux.net/index.php?topic=751.0  but can't show TV.  My logs are next ...


system modules loaded

915resolution
alsa
alsa-modules-2.6.33.3-tinycore
alsa-oss
alsa-plugins
alsaconf
alsamixergui
alsaplayer
atk
bash
cairo
celt
curl
dbus
dbus-glib
dialog
dvb-apps
enca
expat2
faad
File
firefox
flac
flash10
fluff
fluidsynth
fontconfig
fribidi
gdk-pixbuf2
glib2
graphics-libs-1
gtk2
gzip
hicolor-icon-theme
hwmon-2.6.33.3-tinycore
i2c-2.6.33.3-tinycore
input-joystick-2.6.33.3-tinycore
jack
liba52
libao
libasound
libass
libavcodec
libavformat
libavutil
libcdaudio
libcddb
libcdio
libdca
libdvbpsi
libdvdnav
libdvdread
libebml
libgcrypt
libgpg-error
libiconv
libmad
libmatroska
libmodplug
libmpcdec
libmpeg2
libnotify
libogg
liborc
libpci
libpostproc
libproxy-2.7
libsamplerate
libschroedinger
libshout
libsndfile
libswscale
libtheora
libvorbis
libvpx
libx11-xcb
libxcb
libxcb-util
libxft
libxml2
lua
makeself
mktemp
ncurses
ncurses-common
nspr
nss
openssl-0.9.8
pango
pci-utils
pixman
qt-4.x-base
readline
recode
SDL
shared-mime-info
speex
sqlite3
squashfs-tools-4.x
taglib
twolame
v4l-dvb-2.6.33.3-tinycore
vlc
vlc-doc
vlc-locale
vorbis-tools
wifi
wireless-2.6.33.3-tinycore
wireless_tools
wpa_supplicant
Xorg-7.5-lib


dmesg

Linux version 2.6.33.3-tinycore (root@box) (gcc version 4.2.2) #2012 SMP Wed May 12 17:05:42 EEST 2010
BIOS-provided physical RAM map:
Linux video capture interface: v2.00
usb 1-1: new high speed USB device using ehci_hcd and address 4
em28xx: New device WinTV HVR-900 @ 480 Mbps (2040:6500, interface 0, class 0)
em28xx #0: chip ID is em2882/em2883
em28xx #0: i2c eeprom 00: 1a eb 67 95 40 20 00 65 50 12 5c 03 82 1e 6a 18
em28xx #0: i2c eeprom 10: 00 00 24 57 66 07 00 00 60 00 00 00 02 00 00 00
em28xx #0: i2c eeprom 20: 46 00 01 00 f0 10 02 00 b8 00 00 00 5b 00 00 00
em28xx #0: i2c eeprom 30: 00 00 20 40 20 6e 02 20 10 01 01 01 00 00 00 00
em28xx #0: i2c eeprom 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
em28xx #0: i2c eeprom 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
em28xx #0: i2c eeprom 60: 00 00 00 00 00 00 00 00 00 00 18 03 34 00 30 00
em28xx #0: i2c eeprom 70: 32 00 36 00 38 00 37 00 36 00 37 00 33 00 33 00
em28xx #0: i2c eeprom 80: 00 00 1e 03 57 00 69 00 6e 00 54 00 56 00 20 00
em28xx #0: i2c eeprom 90: 48 00 56 00 52 00 2d 00 39 00 30 00 30 00 00 00
em28xx #0: i2c eeprom a0: 84 12 00 00 05 50 1a 7f d4 78 23 f0 fd d0 18 85
em28xx #0: i2c eeprom b0: ff 00 00 00 04 84 0a 00 01 01 20 77 00 40 3d 43
em28xx #0: i2c eeprom c0: 05 f0 74 02 01 00 01 79 e3 00 00 00 00 00 00 00
em28xx #0: i2c eeprom d0: 84 12 00 00 05 50 1a 7f d4 78 23 f0 fd d0 18 85
em28xx #0: i2c eeprom e0: ff 00 00 00 04 84 0a 00 01 01 20 77 00 40 3d 43
em28xx #0: i2c eeprom f0: 05 f0 74 02 01 00 01 79 e3 00 00 00 00 00 00 00
em28xx #0: EEPROM ID= 0x9567eb1a, EEPROM hash = 0xfeef30dd
em28xx #0: EEPROM info:
em28xx #0:   AC97 audio (5 sample rates)
em28xx #0:   500mA max power
em28xx #0:   Table at 0x24, strings=0x1e82, 0x186a, 0x0000
em28xx #0: Identified as Hauppauge WinTV HVR 900 (card=10)
tveeprom 0-0050: Hauppauge model 65008, rev A1C0, serial# 344893
tveeprom 0-0050: tuner model is Xceive XC3028 (idx 120, type 71)
tveeprom 0-0050: TV standards PAL(B/G) PAL(I) PAL(D/D1/K) ATSC/DVB Digital (eeprom 0xd4)
tveeprom 0-0050: audio processor is None (idx 0)
tveeprom 0-0050: has radio
tvp5150 0-005c: chip found @ 0xb8 (em28xx #0)
tuner 0-0061: chip found @ 0xc2 (em28xx #0)
xc2028 0-0061: creating new instance
xc2028 0-0061: type set to XCeive xc2028/xc3028 tuner
usb 1-1: firmware: requesting xc3028-v27.fw
xc2028 0-0061: Loading 80 firmware images from xc3028-v27.fw, type: xc2028 firmware, ver 2.7
xc2028 0-0061: Loading firmware for type=BASE MTS (5), id 0000000000000000.
wlan0: deauthenticating from 00:22:f7:02:c1:6b by local choice (reason=3)
xc2028 0-0061: Loading firmware for type=MTS (4), id 000000000000b700.
input: em28xx IR (em28xx #0) as /devices/pci0000:00/0000:00:14.4/0000:02:07.2/usb1/1-1/input/input9
em28xx #0: Config register raw data: 0x50
em28xx #0: AC97 vendor ID = 0xffffffff
em28xx #0: AC97 features = 0x6a90
em28xx #0: Empia 202 AC97 audio processor detected
tvp5150 0-005c: tvp5150am1 detected.
em28xx #0: v4l2 driver version 0.1.2
em28xx #0: V4L2 video device registered as video0
em28xx #0: V4L2 VBI device registered as vbi0
xc2028 0-0061: attaching existing instance
xc2028 0-0061: type set to XCeive xc2028/xc3028 tuner
em28xx #0: em28xx #0/2: xc3028 attached
DVB: registering new adapter (em28xx #0)
DVB: registering adapter 0 frontend 0 (Zarlink ZL10353 DVB-T)...
em28xx #0: Successfully loaded em28xx-dvb


lsmod

Module                  Size  Used by    Not tainted
snd_seq                26036  0
zl10353                 4156  1
em28xx_dvb              4988  0
dvb_core               55588  1 em28xx_dvb
tuner_xc2028           13596  2
tuner                  12980  1
tvp5150                 8544  1
snd_usb_audio          44836  0
em28xx                 57668  1 em28xx_dvb
v4l2_common            11780  3 tuner,tvp5150,em28xx
snd_hwdep               3004  1 snd_usb_audio
videodev               25016  4 tuner,tvp5150,em28xx,v4l2_common
snd_usb_lib             9104  1 snd_usb_audio
v4l1_compat             9020  1 videodev
snd_rawmidi            10004  1 snd_usb_lib
videobuf_vmalloc        3192  1 em28xx
snd_seq_device          2808  2 snd_seq,snd_rawmidi
videobuf_core           8912  2 em28xx,videobuf_vmalloc
tveeprom                9220  1 em28xx
i2c_piix4               6624  0
i2c_core                9380  9 zl10353,tuner_xc2028,tuner,tvp5150,em28xx,v4l2_common,videodev,tveeprom,i2c_piix4
snd_atiixp              7160  0
snd_atiixp_modem        5056  0
snd_ac97_codec         66516  2 snd_atiixp,snd_atiixp_modem
ac97_bus                 412  1 snd_ac97_codec
snd_pcm                37628  4 snd_usb_audio,snd_atiixp,snd_atiixp_modem,snd_ac97_codec
snd_timer              10564  2 snd_seq,snd_pcm
snd                    26200 11 snd_seq,snd_usb_audio,snd_hwdep,snd_usb_lib,snd_rawmidi,snd_seq_device,snd_atiixp,snd_atiixp_modem,snd_ac97_codec,snd_pcm,snd_timer
soundcore               2640  1 snd
snd_page_alloc          4016  3 snd_atiixp,snd_atiixp_modem,snd_pcm
ppdev                   3732  0
video                  12712  0


vlc dvb://frequency=770000000

vlc media player 1.1.9
blocked: call to unsetenv("dbus_activation_address")
blocked: call to unsetenv("dbus_activation_bus_type")
[0x911938c] inhibit interface error: failed to connect to the d-bus session daemon: failed to
   connect to socket /tmp/dbus-54xP3YAmqD: connection refused
[0x911938c] main interface error: no suitable interface module
[0x8fce0d4] main libvlc: running vlc with the default interface.  use 'cvlc' to use vlc
   without interface.
blocked: call to setlocale(6, "")
xlib: extension "sync" missing on display ":0.0"
xlib: extension "sync" missing on display ":0.0"
[0x9178854] main stream error: cannot pre fill buffer

Note that d-bus service was activated manually from services panel.

I load TinyCore directly from .Iso image file with Grub4Dos.  All extensions in ondemand mode.

Offline maro

  • Hero Member
  • *****
  • Posts: 1228
Re: DVB-T in TinyCore 3.7.1?
« Reply #3 on: July 16, 2011, 12:57:51 AM »
That is a bit tricky to tell from here, but a few minor observations:
(1) Turning 'dbus' on or off doesn't make any difference for me, I'm also getting to see the same set of error or warning messages, BUT the last one (i.e. [0x9178854] main stream error: cannot pre fill buffer). Nevertheless I can still watch TV.
(2) What I've noticed when comparing your set of messages against mine are subtle differences in upper/lower case and the fact that here it shows 'VLC media player 1.1.9 The Luggage (revision exported)' as greeting. Therefore I wonder whether the extensions are the same (BTW, im using: 189dd82fd9fed038b83fab51e96cfc1c  vlc.tcz)
(3) Comparing your list of extensions against mine shows that you have quite a few more, so to get to a "baseline" I'd suggest you boot with 'base norestore' and only load your specific firmware and the two extension (plus their dependecies) that I are required (e.g. via tce-load -wi v4l-dvb-$(uname -r) vlc, plus enabling the sound card if that is needed). But do this only AFTER you've updated ALL involved extensions to the latest version from the repository.