Jump to content


Photo

ATSC usb tuner

em28xx atsc usbtuner atsc em28xx usbtuner

  • Please log in to reply
27 replies to this topic

#1 elchubi

  • Member
  • 8 posts

0
Neutral

Posted 27 May 2012 - 01:56

when configuring my atsc usb tuner I got to this point
Posted Image

all modules are loaded and dmesg shows no errors.


Is there a way I can map manually ATSC channels? can you add native support for this? dreambox can play natively the TS and the usb hardware does the demodulation so, it should work.

thanks

Re: ATSC usb tuner #2 Gennar1

  • Senior Member
  • 296 posts

+31
Good

Posted 27 May 2012 - 11:30

Hi elchubi,
I think there is no default frequency table for ATSC in current OpenPli images. Probably there is very little demand for this standard.

Anyway, making it work should not be too difficult. All you need is a terrestrial.xml file with a list of all the possible frequencies used in your country.
For ATSC, the relevant parameters are frequency, bandwidth and modulation type (often called also "constellation").
See the file /etc/tuxbox/terrestrial.xml for examples (for the DVB-T and DVB-C standards).

If I remember correctly, ATSC bandwidth is always 6 MHz and modulation type is always 8-VSB for terrestrial and QAM256 for cable. Anyway, I think you can just set this parameters to "auto". So in the end you just need a list of frequency for your country.

Re: ATSC usb tuner #3 elchubi

  • Member
  • 8 posts

0
Neutral

Posted 27 May 2012 - 20:48

thanks for your attention

I thought about terrestrial.xml, I even edit mine, problem is the list is not being picked up by enigma and it keeps showing "nothing". At parenthesis you can see how it is recognized as ATSC instead of DVB-T, I haven't looked at enigma sourcecode but it might be because of that that it doesn't read terrestrial.xml.

In another linux box with w_scan (would you please add as well dvb-apps from v4l? dvbsnoop works only for dvb) I got this frequencies
A 545000000 8VSB
A 563000000 8VSB
A 569000000 8VSB
A 581000000 8VSB
A 593000000 8VSB
A 629000000 8VSB
A 635000000 8VSB

the file "us-ATSC-center-frequencies-8VSB" is often use as reference

# US ATSC center frequencies, use if in doubt
A 57028615 8VSB
A 63028615 8VSB
A 69028615 8VSB
A 79028615 8VSB
A 85028615 8VSB
A 177028615 8VSB
A 183028615 8VSB
A 189028615 8VSB
A 195028615 8VSB
A 201028615 8VSB
A 207028615 8VSB
A 213028615 8VSB
A 473028615 8VSB
A 479028615 8VSB
A 485028615 8VSB
A 491028615 8VSB
A 497028615 8VSB
A 503028615 8VSB
A 509028615 8VSB
A 515028615 8VSB
A 521028615 8VSB
A 527028615 8VSB
A 533028615 8VSB
A 539028615 8VSB
A 545028615 8VSB
A 551028615 8VSB
A 557028615 8VSB
A 563028615 8VSB
A 569028615 8VSB
A 575028615 8VSB
A 581028615 8VSB
A 587028615 8VSB
A 593028615 8VSB
A 599028615 8VSB
A 605028615 8VSB
A 611028615 8VSB
A 617028615 8VSB
A 623028615 8VSB
A 629028615 8VSB
A 635028615 8VSB
A 641028615 8VSB
A 647028615 8VSB
A 653028615 8VSB
A 659028615 8VSB
A 665028615 8VSB
A 671028615 8VSB
A 677028615 8VSB
A 683028615 8VSB
A 689028615 8VSB
A 695028615 8VSB
A 701028615 8VSB
A 707028615 8VSB
A 713028615 8VSB
A 719028615 8VSB
A 725028615 8VSB
A 731028615 8VSB
A 737028615 8VSB
A 743028615 8VSB
A 749028615 8VSB
A 755028615 8VSB
A 761028615 8VSB
A 767028615 8VSB
A 773028615 8VSB
A 779028615 8VSB
A 785028615 8VSB
A 791028615 8VSB
A 797028615 8VSB
A 803028615 8VSB

thanks for your help

Edited by elchubi, 27 May 2012 - 20:50.


Re: ATSC usb tuner #4 elchubi

  • Member
  • 8 posts

0
Neutral

Posted 27 May 2012 - 21:26

I don't know if this helps somehow, but this is the output of dmesg when I plug my usb tuner

usb 1-2: new high speed USB device using brcm-ehci and address 2
usb 1-2: configuration #1 chosen from 1 choice
em28xx: New device Pinnacle Systems PCTV 800e @ 480 Mbps (2304:0227, interface 0, class 0)
em28xx #0: chip ID is em2882/em2883
em28xx #0: i2c eeprom 00: 1a eb 67 95 04 23 27 02 d0 12 5c 03 8e 16 a4 1c
em28xx #0: i2c eeprom 10: 6a 24 27 57 46 07 01 00 00 00 00 00 00 00 00 00
em28xx #0: i2c eeprom 20: 46 00 01 00 f0 10 02 00 b8 00 00 00 5b 1c 00 00
em28xx #0: i2c eeprom 30: 00 00 20 40 20 80 02 20 01 01 00 00 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 24 03 50 00 69 00
em28xx #0: i2c eeprom 70: 6e 00 6e 00 61 00 63 00 6c 00 65 00 20 00 53 00
em28xx #0: i2c eeprom 80: 79 00 73 00 74 00 65 00 6d 00 73 00 00 00 16 03
em28xx #0: i2c eeprom 90: 50 00 43 00 54 00 56 00 20 00 38 00 30 00 30 00
em28xx #0: i2c eeprom a0: 65 00 00 00 1c 03 30 00 37 00 30 00 39 00 30 00
em28xx #0: i2c eeprom b0: 31 00 30 00 38 00 32 00 32 00 31 00 30 00 00 00
em28xx #0: i2c eeprom c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
em28xx #0: i2c eeprom d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
em28xx #0: i2c eeprom e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
em28xx #0: i2c eeprom f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
em28xx #0: EEPROM ID= 0x9567eb1a, EEPROM hash = 0x02e5a4bf
em28xx #0: EEPROM info:
em28xx #0:	  AC97 audio (5 sample rates)
em28xx #0:	  500mA max power
em28xx #0:	  Table at 0x27, strings=0x168e, 0x1ca4, 0x246a
em28xx #0: Identified as Pinnacle PCTV HD Pro Stick (card=17)
em28xx #0: Config register raw data: 0xd0
em28xx #0: AC97 vendor ID = 0xffffffff
em28xx #0: AC97 features = 0x6a90
em28xx #0: Empia 202 AC97 audio processor 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
em28xx-audio.c: probing for em28x1 non standard usbaudio
em28xx-audio.c: Copyright (C) 2006 Markus Rechberger
Em28xx: Initialized (Em28xx Audio Extension) extension
xc2028 5-0061: creating new instance
xc2028 5-0061: type set to XCeive xc2028/xc3028 tuner
em28xx #0: em28xx #0/2: xc3028 attached
DVB: registering new adapter (em28xx #0)
DVB: registering adapter 1 frontend 0 (LG Electronics LGDT3303 VSB/QAM Frontend)...
em28xx #0: Successfully loaded em28xx-dvb
Em28xx: Initialized (Em28xx dvb Extension) extension


Re: ATSC usb tuner #5 Gennar1

  • Senior Member
  • 296 posts

+31
Good

Posted 27 May 2012 - 22:35

The support for ATSC should be already enabled in new images:

http://openpli.git.s...90c883ee149b514

Lurking in the code, I see a reference to an "atsc.xml" file. Try to rename the terrestrial.xml file in this way.
But the code may be still incomplete:

http://openpli.git.s...c34756b1f4fc641

Re: ATSC usb tuner #6 elchubi

  • Member
  • 8 posts

0
Neutral

Posted 27 May 2012 - 23:23

you are right, it is incomplete :(

running enigma2 --gst-debug-level=2

...
Reading satellites.xml
Reading atsc.xml
pls add support for this frontend type! ATSC
sec config cleared
setSlotInfo for dvb frontend 0 to slotid 0, descr Alps BSBE2, need rotorworkaround Yes, enabled Yes, DVB-S2 Yes
setSlotInfo for dvb frontend 1 to slotid 1, descr PCTV 800e, need rotorworkaround No, enabled No, DVB-S2 No
...

Edited by elchubi, 27 May 2012 - 23:23.


Re: ATSC usb tuner #7 littlesat

  • PLi® Core member
  • 56,272 posts

+691
Excellent

Posted 28 May 2012 - 07:30

I suggest we need help here from someone who lives in the USA to get it complete.... As we have DVB-T here so we are not able to debug/test from here.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: ATSC usb tuner #8 elchubi

  • Member
  • 8 posts

0
Neutral

Posted 28 May 2012 - 09:24

I can give access to my box to someone willing to do so.

In the meantime, would you please include "dvb-apps" to the repository? I want to be sure usb tuner is working fine at dm800/openpli-2.1; I have used that tool with a pc/debian to test it.

http://www.linuxtv.o...inuxTV_dvb-apps

Tx

Re: ATSC usb tuner #9 el bandido

  • Senior Member
  • 364 posts

+13
Neutral

Posted 1 August 2014 - 14:55

I suggest we need help here from someone who lives in the USA to get it complete.... As we have DVB-T here so we are not able to debug/test from here.

What can I do to help? Has any progress been made with "atsc.xml"?
 

I have a WinTV-HVR 850 usb device for atsc. My main receiver is a Vu+ Duo2. When this atsc device is plugged into the Duo2, it is not recognized by the current OpenPLi image. 


Any help in this area would be appreciated.  Thanks. EB



Re: ATSC usb tuner #10 el bandido

  • Senior Member
  • 364 posts

+13
Neutral

Posted 3 August 2014 - 02:13

ATSC .xml file attached.

Attached Files

  • Attached File  atsc.zip   1.18KB   25 downloads


Re: ATSC usb tuner #11 tagpower

  • Member
  • 1 posts

0
Neutral

Posted 15 February 2015 - 18:14

good friends i know this an old tread i would like to know how did you get your atsc tuner setup to get it to show under nims?

 

I also have WIN-TV hvr 950q  with all the drivers loaded and i can also use the dvb-apps and tstools from debian mipsel to scan and display channels to an external machine.

 

i used usbtunerhelper file that was written by one of the great people that has the atsc detection built in and was able to compile it so it will run on my mips azboxme.

 

the problem that i run into is that the vtuner0 relate itself to frontend0 rather than frontend1 were frontend0 is the internal dvbs2 tuner.

 

so any help would be appreciated 



Re: ATSC usb tuner #12 sundtek

  • Senior Member
  • 170 posts

+8
Neutral

Posted 22 February 2015 - 16:48

To follow up here we are going to add support for our ATSC devices as well, the first units have been shipped to US already.

 

http://support.sundt...pic,1796.0.html

 

The guys at legitfta.com are testing it with various settopboxes.



Re: ATSC usb tuner #13 sundtek

  • Senior Member
  • 170 posts

+8
Neutral

Posted 22 February 2015 - 16:54

For Settopboxes we dynamically rewrite the ATSC stream tables to report as native DVB-T:

 

 

 

tuner_configuration_atsc_small.jpg

 

 

it is work in progress but it already works. We only used this image because it was pre-installed, however the OpenPLI Image is better of course.


Edited by sundtek, 22 February 2015 - 16:56.


Re: ATSC usb tuner #14 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 9 April 2016 - 07:24

Hi,

I have enabled additional support for ATSC tuners.

Here is the patch https://github.com/a...b2b35abf95a1e6e

Anyone to test?
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: ATSC usb tuner #15 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 15 April 2016 - 09:57

...coming soon...

1_0_1_3_6_F_0_EEEE0000_0_0_0.jpg

78_Chanel_Win_TV_scan.jpg
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: ATSC usb tuner #16 pop_eye

  • Senior Member
  • 240 posts

+9
Neutral

Posted 15 April 2016 - 18:23

Good work @athoik, finally someone picked up the slack.



Re: ATSC usb tuner #17 el bandido

  • Senior Member
  • 364 posts

+13
Neutral

Posted 9 September 2016 - 03:06

ATSC is now working in OpenPLi images using the Hauppauge 850 usb device. Special Thanks to Athoik, OpenPLi, and others that made this possible!

The only problems I see are the satfinder does not show a signal strength and there is no astc.xml file located in etc/tuxbox. I have attached an updated atsc.xml and hope it can be added to the image. Channels may be scanned and they play fine Thanks again for all the work! EB

 

Attached File  1_0_1_3_2E7_0_EEEE0000_0_0_0.jpg   70.11KB   5 downloads

Attached File  ATSC _Pli_SatFinder.jpg   55.71KB   3 downloads

Attached File  ATSC_Pli_Scan_85.jpg   54.27KB   3 downloads

 

Attached Files


Edited by el bandido, 9 September 2016 - 03:07.


Re: ATSC usb tuner #18 littlesat

  • PLi® Core member
  • 56,272 posts

+691
Excellent

Posted 9 September 2016 - 07:01

I see a small bar for the signal strength... It would br nice to know the values the tuner gives so we can rescale them.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: ATSC usb tuner #19 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 9 September 2016 - 07:25

I have it ready on SatDreamGr, I will commit this later.

+       else if(!strcmp(m_description, "WinTV HVR-850") || !strcmp(m_description, "Hauppauge"))
+       {
+               eDVBFrontendParametersATSC parm;
+               oparm.getATSC(parm);
+               switch (parm.modulation)
+               {
+               case eDVBFrontendParametersATSC::Modulation_QAM256: atsc_max = 4000; break;
+               case eDVBFrontendParametersATSC::Modulation_QAM64: atsc_max = 2900; break;
+               case eDVBFrontendParametersATSC::Modulation_VSB_8: atsc_max = 2700; break;
+               default: break;
+               }
+               ret = snr * 10;
+       }

Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: ATSC usb tuner #20 Dimitrij

  • PLi® Core member
  • 10,012 posts

+338
Excellent

Posted 9 September 2016 - 07:31

athoik

 

Where is the git of your image?


GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users