Skip to content

Instantly share code, notes, and snippets.

@ustreamer-01647 ustreamer-01647/a.txt.md
Last active Aug 29, 2015

Embed
What would you like to do?
tvtime.xml and others

dmesg

[11047.832423] usb 1-2: USB disconnect, device number 7
[11047.832685] em28xx #0: disconnecting em28xx #0 video
[11047.832704] em28xx #0: V4L2 device video1 deregistered
[11047.833226] tda9887 9-0043: destroying instance
[11047.833398] tuner-simple 9-0063: destroying instance
[11054.380124] usb 1-2: new high-speed USB device number 8 using ehci_hcd
[11054.516671] usb 1-2: New USB device found, idVendor=04bb, idProduct=0515
[11054.516689] usb 1-2: New USB device strings: Mfr=2, Product=1, SerialNumber=0
[11054.516703] usb 1-2: Product: GV-MVP/SZ
[11054.516713] usb 1-2: Manufacturer: I-O DATA
[11054.517735] em28xx: New device I-O DATA GV-MVP/SZ @ 480 Mbps (04bb:0515, interface 0, class 0)
[11054.517903] em28xx #0: chip ID is em2820 (or em2710)
[11055.022275] em28xx #0: i2c eeprom 00: 1a eb 67 95 bb 04 15 05 18 00 1c 03 7e 16 6a 14
[11055.022326] em28xx #0: i2c eeprom 10: 00 00 06 57 6e 00 00 00 60 f4 00 00 02 02 00 00
[11055.022372] em28xx #0: i2c eeprom 20: 16 00 01 02 00 00 00 00 b8 00 00 00 00 00 00 00
[11055.022416] em28xx #0: i2c eeprom 30: 00 00 20 40 20 80 00 20 01 01 00 00 00 00 00 00
[11055.022460] em28xx #0: i2c eeprom 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[11055.022503] em28xx #0: i2c eeprom 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[11055.022546] em28xx #0: i2c eeprom 60: 00 00 00 00 00 00 00 00 00 00 14 03 49 00 2d 00
[11055.022590] em28xx #0: i2c eeprom 70: 4f 00 20 00 44 00 41 00 54 00 41 00 00 00 16 03
[11055.022634] em28xx #0: i2c eeprom 80: 47 00 56 00 2d 00 4d 00 56 00 50 00 2f 00 53 00
[11055.022679] em28xx #0: i2c eeprom 90: 5a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[11055.022722] em28xx #0: i2c eeprom a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[11055.022765] em28xx #0: i2c eeprom b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[11055.022809] em28xx #0: i2c eeprom c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[11055.022852] em28xx #0: i2c eeprom d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[11055.022895] em28xx #0: i2c eeprom e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[11055.022938] em28xx #0: i2c eeprom f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[11055.022987] em28xx #0: EEPROM ID= 0x9567eb1a, EEPROM hash = 0x1a6834b2
[11055.022997] em28xx #0: EEPROM info:
[11055.023005] em28xx #0:	AC97 audio (5 sample rates)
[11055.023013] em28xx #0:	USB Remote wakeup capable
[11055.023021] em28xx #0:	500mA max power
[11055.023032] em28xx #0:	Table at 0x06, strings=0x167e, 0x146a, 0x0000
[11055.024276] em28xx #0: Identified as IO-DATA GV-MVP/SZ (card=65)
[11055.031486] tvp5150 9-005c: chip found @ 0xb8 (em28xx #0)
[11055.140531] tvp5150 9-005c: tvp5150am1 detected.
[11055.217339] tda9887 9-0043: creating new instance
[11055.217353] tda9887 9-0043: tda988[5/6/7] found
[11055.228296] tuner 9-0043: Tuner 74 found with type(s) Radio TV.
[11055.236307] tuner 9-0063: Tuner -1 found with type(s) Radio TV.
[11055.236898] tuner-simple 9-0063: creating new instance
[11055.236914] tuner-simple 9-0063: type set to 43 (Philips NTSC MK3 (FM1236MK3 or FM1236/F))
[11055.308403] em28xx #0: Config register raw data: 0x18
[11055.332283] em28xx #0: AC97 vendor ID = 0xffffffff
[11055.344287] em28xx #0: AC97 features = 0x6a90
[11055.344299] em28xx #0: Empia 202 AC97 audio processor detected
[11057.960286] em28xx #0: v4l2 driver version 0.1.3
[11058.904439] em28xx #0: V4L2 video device registered as video1
[11058.916574] em28xx audio device (04bb:0515): interface 1, class 1
[11058.916918] em28xx audio device (04bb:0515): interface 2, class 1

v4l2-ctl -d /dev/video1 --all

Driver Info (not using libv4l2):
	Driver name   : em28xx
	Card type     : IO-DATA GV-MVP/SZ
	Bus info      : usb-0000:00:1d.7-2
	Driver version: 3.2.60
	Capabilities  : 0x05030041
		Video Capture
		Sliced VBI Capture
		Tuner
		Audio
		Read/Write
		Streaming
Format Video Capture:
	Width/Height  : 720/576
	Pixel Format  : 'YUYV'
	Field         : Interlaced
	Bytes per Line: 1440
	Size Image    : 829440
	Colorspace    : Broadcast NTSC/PAL (SMPTE170M/ITU601)
Format VBI Capture:
	Sampling Rate   : 13500000 Hz
	Offset          : 0 samples (0 secs after leading edge)
	Samples per Line: 720
	Sample Format   : GREY
	Start 1st Field : 6
	Count 1st Field : 18
	Start 2nd Field : 318
	Count 2nd Field : 18
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 720, Height 576
	Default     : Left 0, Top 0, Width 720, Height 576
	Pixel Aspect: 54/59
Video input : 0 (Television: ok)
Audio input : 0 (Television)
Frequency: 9076 (567.250000 MHz)
Video Standard = 0x000000ff
	PAL-B/B1/G/H/I/D/D1/K
Streaming Parameters Video Capture:
	Frames per second: 25.000 (25/1)
	Read buffers     : 0
Tuner:
	Name                 : Tuner
	Capabilities         : 62.5 kHz multi-standard 
	Frequency range      : 44.0 MHz - 958.0 MHz
	Signal strength/AFC  : 0%/187500
	Current audio mode   : mono
	Available subchannels: 

tvtime-configure --help

Reading configuration from /etc/tvtime/tvtime.xml
usage: tvtime-configure [OPTION]...

  -a, --widescreen           16:9 mode.
  -A, --nowidescreen         4:3 mode.
  -b, --vbidevice=DEVICE     VBI device (defaults to /dev/vbi0).
  -c, --channel=CHANNEL      Tune to the specified channel on startup.
  -d, --device=DEVICE        video4linux device (defaults to /dev/video0).
  -f, --frequencies=NAME     The frequency table to use for the tuner.
                             (defaults to us-cable).

                             Valid values are:
                                 us-cable
                                 us-cable100
                                 us-broadcast
                                 china-broadcast
                                 southafrica
                                 japan-cable
                                 japan-broadcast
                                 europe
                                 australia
                                 australia-optus
                                 newzealand
                                 france
                                 russia
                                 custom (first run tvtime-scanner)

  -F, --configfile=FILE      Additional config file to load settings from.
  -h, --help                 Show this help message.
  -g, --geometry=GEOMETRY    Sets the output window size.
  -i, --input=INPUTNUM       video4linux input number (defaults to 0).
  -I, --inputwidth=SAMPLING  Horizontal resolution of input
                             (defaults to 720 pixels).
  -m, --fullscreen           Start tvtime in fullscreen mode.
  -M, --window               Start tvtime in window mode.
  -n, --norm=NORM            The norm to use for the input.  tvtime supports:
                             NTSC, NTSC-JP, SECAM, PAL, PAL-Nc, PAL-M,
                             PAL-N or PAL-60 (defaults to NTSC).
  -R, --priority=PRI         Sets the process priority to run tvtime at.
  -t, --xmltv=FILE           Read XMLTV listings from the given file.
  -l, --xmltvlanguage=LANG   Use XMLTV data in given language, if available.
  -x, --mixer=DEVICE[:CH]    The mixer device and channel to control.
                             (defaults to /dev/mixer:line)

                             Valid channels are:
                                 vol, bass, treble, synth, pcm, speaker, line,
                                 mic, cd, mix, pcm2, rec, igain, ogain, line1,
                                 line2, line3, dig1, dig2, dig3, phin, phout,
                                 video, radio, monitor

lsusb -t

/:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
    |__ Port 1: Dev 2, If 0, Class=HID, Driver=usbhid, 1.5M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/8p, 480M
    |__ Port 2: Dev 10, If 0, Class=vend., Driver=em28xx, 480M
    |__ Port 2: Dev 10, If 1, Class=audio, Driver=, 480M
    |__ Port 2: Dev 10, If 2, Class=audio, Driver=, 480M
    |__ Port 5: Dev 6, If 0, Class='bInterfaceClass 0x0e not yet handled', Driver=uvcvideo, 480M
    |__ Port 5: Dev 6, If 1, Class='bInterfaceClass 0x0e not yet handled', Driver=uvcvideo, 480M
<?xml version="1.0"?>
<!DOCTYPE tvtime PUBLIC "-//tvtime//DTD tvtime 1.0//EN" "http://tvtime.sourceforge.net/DTD/tvtime1.dtd">
<tvtime xmlns="http://tvtime.sourceforge.net/DTD/">
<option name="DefaultBrightness" value="-1"/>
<option name="DefaultContrast" value="-1"/>
<option name="DefaultSaturation" value="-1"/>
<option name="DefaultHue" value="-1"/>
<option name="PrevChannel" value="1"/>
<option name="Channel" value="2"/>
<option name="OverScan" value="3.5"/>
<option name="CheckForSignal" value="1"/>
<option name="AudioBoost" value="-1"/>
<option name="AlwaysOnTop" value="0"/>
<option name="QuietScreenshots" value="0"/>
<option name="UnmuteVolume" value="-1"/>
<option name="Muted" value="0"/>
<option name="AudioMode" value="stereo"/>
<option name="PalDKMode" value="0"/>
<option name="FullScreen" value="0"/>
<!-- Debice Path -->
<option name="V4LDevice" value="/dev/video1"/>
<!-- GV-MVP/SZ Input ID. 0:Tuner, 1:Composite, 2:Separate -->
<option name="V4LInput" value="1"/>
<!-- NTSC 29.97fps top->bottom -->
<option name="FramerateMode" value="1"/>
<!-- ScreenShot saves to ... -->
<option name="ScreenShotDir" value="~/Pictures"/>
<!-- Effects to Screen and ScreenShotFilename
strftime(3) http://linuxjm.sourceforge.jp/html/LDP_man-pages/man3/strftime.3.html -->
<option name="TimeFormat" value="%x%X"/>
</tvtime>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.