Jump to content


Photo

RTL2832U chipset support proposal

DVB-T

  • Please log in to reply
170 replies to this topic

Re: RTL2832U chipset support proposal #21 Gennar1

  • Senior Member
  • 296 posts

+31
Good

Posted 11 December 2011 - 23:06

Probably you built the module for a 32 bit architecture, while Ambrosa is using a 64 bit architecture. 64 bit binaries are always bigger than 32 bit ones.

Re: RTL2832U chipset support proposal #22 johnyb

  • Member
  • 1 posts

0
Neutral

Posted 20 December 2011 - 10:23

Is 07ca:3867 AVerMedia Technologies, Inc Supported?
If yes which driver should work?

Re: RTL2832U chipset support proposal #23 Gennar1

  • Senior Member
  • 296 posts

+31
Good

Posted 20 December 2011 - 11:02

07ca:3867 should be supported in the A867 driver.
You can install this kernel module:
opkg install kernel-module-dvb-usb-a867
and then please report if it works or not.

Re: RTL2832U chipset support proposal #24 george84

  • Member
  • 1 posts

0
Neutral

Posted 21 December 2011 - 22:08

I have 32 bit machine 3.0.0-14 kernel. When doing modprobe I get



FATAL: Error inserting dvb_usb_rtl2832u (/lib/modules/3.0.0-14-generic/kernel/drivers/media/dvb/dvb-usb/dvb-usb-rtl2832u.ko): Invalid argument
walter@HTPC1010:~/DVB-Realtek-RTL2832U-2.2.2-10tuner-mod_kernel-3.0.0/RTL2832-2.2.2_kernel-3.0.0$


make was without errors. No idea what this invalid argument means.
In dmesg i have




1454.510655] dvb_usb_rtl2832u: Unknown symbol dvb_usb_device_init (err -22)
[ 1719.473171] dvb_usb_rtl2832u: disagrees about version of symbol dvb_usb_device_init


Any idea?

Re: RTL2832U chipset support proposal #25 andyblac

  • Senior Member
  • 465 posts

+18
Neutral

Posted 22 December 2011 - 21:09

it is missing some depended modules, either that or you are try to load into the wrong kernel version it was built for.

Edited by andyblac, 22 December 2011 - 21:11.


Re: RTL2832U chipset support proposal #26 hlu

  • Member
  • 1 posts

0
Neutral

Posted 23 December 2011 - 23:09

Hi Ambrosa,
Great work with the driver, my stick worked right away with VDR - except for the IR. Tried different protocols (Nec, rc5...) debug=4 etc, but I just cannot seem to get anything out from the IR. The actual device (detail below) is looking quite like http://linuxtv.org/w...ii-rev3-003.jpg and the remote is exactly like it.

But nothing from the remote.....

Any further debugging aid? Keymaps?

Also the IR seems to initiate OK:

[ 4683.240060] usb 1-4: new high speed USB device number 4 using ehci_hcd
[ 4683.392170] dvb-usb: found a 'DK DONGLE' in warm state.
[ 4683.392187] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[ 4683.393895] DVB: registering new adapter (DK DONGLE)
[ 4683.410213] RTL2832U usb_init_bulk_setting : USB2.0 HIGH SPEED (480Mb/s)
[ 4683.538759] RTL2832U check_tuner_type : FC2580 tuner on board...
[ 4684.154597] DVB: registering adapter 0 frontend 0 (Realtek DVB-T RTL2832)...
[ 4684.155012] input: IR-receiver inside an USB DVB receiver as /devices/pci0000:00/0000:00:1d.7/usb1/1-4/input/input16
[ 4684.155134] dvb-usb: schedule remote query interval to 287 msecs.
[ 4684.155145] dvb-usb: DK DONGLE successfully initialized and connected.
Bus 001 Device 004: ID 1d19:1101 Dexatek Technology Ltd. DK DVB-T Dongle
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x1d19 Dexatek Technology Ltd.
idProduct 0x1101 DK DVB-T Dongle
bcdDevice 1.00
iManufacturer 1 Realtek
iProduct 2 Rtl2832UDVB
iSerial 3 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 34
bNumInterfaces 2
bConfigurationValue 1
iConfiguration 4 USB2.0-Bulk&Iso
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 5 Bulk-In, Interface
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 5 Bulk-In, Interface
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 2
Device Status: 0x0000
(Bus Powered)

Re: RTL2832U chipset support proposal #27 grex

  • Member
  • 2 posts

0
Neutral

Posted 24 December 2011 - 14:29

Hi there,

i just googled for rtl2382u Kernel 3 and landed here.
I have a MSI Digivox II (w/ RTL2382u) and a running Debian Testing with Kernel 3.0.0-1.

I get a problem while "make":

make
make -C /usr/src/linux-headers-`uname -r` SUBDIRS=/home/grex/Downloads/DVB-Realtek-RTL2832U-2.2.2-10tuner-mod_kernel-3.0.0/RTL2832-2.2.2_kernel-3.0.0 modules
make[1]: Entering directory `/usr/src/linux-headers-3.0.0-1-amd64'
  CC [M]  /home/grex/Downloads/DVB-Realtek-RTL2832U-2.2.2-10tuner-mod_kernel-3.0.0/RTL2832-2.2.2_kernel-3.0.0/demod_rtl2832.o
In file included from /home/grex/Downloads/DVB-Realtek-RTL2832U-2.2.2-10tuner-mod_kernel-3.0.0/RTL2832-2.2.2_kernel-3.0.0/dvbt_demod_base.h:289:0,
				 from /home/grex/Downloads/DVB-Realtek-RTL2832U-2.2.2-10tuner-mod_kernel-3.0.0/RTL2832-2.2.2_kernel-3.0.0/demod_rtl2832.h:72,
				 from /home/grex/Downloads/DVB-Realtek-RTL2832U-2.2.2-10tuner-mod_kernel-3.0.0/RTL2832-2.2.2_kernel-3.0.0/demod_rtl2832.c:13:
/home/grex/Downloads/DVB-Realtek-RTL2832U-2.2.2-10tuner-mod_kernel-3.0.0/RTL2832-2.2.2_kernel-3.0.0/foundation.h:19:21: fatal error: dvb-usb.h: Datei oder Verzeichnis nicht gefunden
compilation terminated.
make[4]: *** [/home/grex/Downloads/DVB-Realtek-RTL2832U-2.2.2-10tuner-mod_kernel-3.0.0/RTL2832-2.2.2_kernel-3.0.0/demod_rtl2832.o] Fehler 1
make[3]: *** [_module_/home/grex/Downloads/DVB-Realtek-RTL2832U-2.2.2-10tuner-mod_kernel-3.0.0/RTL2832-2.2.2_kernel-3.0.0] Fehler 2
make[2]: *** [sub-make] Fehler 2
make[1]: *** [all] Fehler 2
make[1]: Leaving directory `/usr/src/linux-headers-3.0.0-1-amd64'
make: *** [default] Fehler 2

Well, the headers for this kernel are installed. Do you have any suggestion how to get further?

Best Wishes and thank you,

grex

Re: RTL2832U chipset support proposal #28 mathiasc

  • Member
  • 2 posts

0
Neutral

Posted 27 December 2011 - 18:13

I've an of interesting info.

Every DVB-T USB stick based on RTL2832U and tuners FC0012 or FC0013 or FC2580 or E4000 IS DAB RADIO CAPABLE
It's only a player issue (tnx Realtek for info).

Tested (by Xgaz) with my DIKOM USB DVBT stick with Windows Terratec DAB player http://ftp.terratec....tup_4.0.092.zip and original DIKOM driver.
Well .... It works !!

Posted Image

Ok, Enigma2 doesn't support DAB :( :( :( :(

Anyone knows a Linux DAB Player ? I wish to test my stick .... but I've found nothing about Linux (Ubuntu) and DAB ...


Hello,

Apart from opendab, there's also openmokast project: http://openmokast.org/crc-dabrms.html
It runs on linux and takes various inputs. It had been adapted to the Albrecht DAB USB stick (expired) so it could probably be adapted.

Now the question, is more "what's come out of the stick when in DAB" ? I'm not sure it is just the DAB subchannel, I heard that they send sort of a baseband sampling of the DAB signal and that everything is demodulated in software. An USB analysis from a friend had shown high bitrate transfer when in DAB mode, this could explain the thing.

Otherwise, if it is a demodulated signal, it can be either a fraction of the multiplex or the complete mux (1.5Mbits/s). Various formats exist ETI (Ensemble Transport Interface) or RDI (Receiver Data Interface).
If you have something already functional or a dump of a stream, I could try to have a look. It would be really nice to have an open receiver as no open receiver exists for DAB at the moment.

Mathias

Re: RTL2832U chipset support proposal #29 tromoto

  • Member
  • 2 posts

0
Neutral

Posted 27 December 2011 - 23:44

Well, the headers for this kernel are installed. Do you have any suggestion how to get further?

Well at least one header is not there, you might also try :http://www.dfragkopo...r/tag/rtl2832u/

Re: RTL2832U chipset support proposal #30 Gennar1

  • Senior Member
  • 296 posts

+31
Good

Posted 28 December 2011 - 13:25

Apart from opendab, there's also openmokast project: http://openmokast.org/crc-dabrms.html
It runs on linux and takes various inputs. It had been adapted to the Albrecht DAB USB stick (expired) so it could probably be adapted.


Thanks, this seems to be a nice implementation of DAB on mobile devices, and looks more promising than the OpenDAB project.

Now the question, is more "what's come out of the stick when in DAB" ? I'm not sure it is just the DAB subchannel, I heard that they send sort of a baseband sampling of the DAB signal and that everything is demodulated in software. An USB analysis from a friend had shown high bitrate transfer when in DAB mode, this could explain the thing.


Probably you are right, I doubt that Realtek bothered to develop a real DAB demodulator in hardware, due to the low market demand for this devices. The proprietary software demodulator will probably only run on x86 hardware, and probably only on Windows.
But let's wait and see, IIRC Realtek promised to release a SDK for DAB (for PC).

AFAIK, DAB mode is not supported in the Linux driver, at the moment.

Re: RTL2832U chipset support proposal #31 mathiasc

  • Member
  • 2 posts

0
Neutral

Posted 28 December 2011 - 21:40


Apart from opendab, there's also openmokast project: http://openmokast.org/crc-dabrms.html
It runs on linux and takes various inputs. It had been adapted to the Albrecht DAB USB stick (expired) so it could probably be adapted.


Thanks, this seems to be a nice implementation of DAB on mobile devices, and looks more promising than the OpenDAB project.

Now the question, is more "what's come out of the stick when in DAB" ? I'm not sure it is just the DAB subchannel, I heard that they send sort of a baseband sampling of the DAB signal and that everything is demodulated in software. An USB analysis from a friend had shown high bitrate transfer when in DAB mode, this could explain the thing.


Probably you are right, I doubt that Realtek bothered to develop a real DAB demodulator in hardware, due to the low market demand for this devices. The proprietary software demodulator will probably only run on x86 hardware, and probably only on Windows.
But let's wait and see, IIRC Realtek promised to release a SDK for DAB (for PC).

AFAIK, DAB mode is not supported in the Linux driver, at the moment.



Thank you.

I first thought it was supported with DTMB but it is the chinese television system not T-DMB the DAB based mobile television system :-(
At least I hoped it was possible to tune and get some raw stream.
Realtek said already last summer that they will add support for DAB in Linux but I have not seen news so far.

I heard also that it is Fraunhofer that has provided the DAB decoding suite on the PC, probably this:
http://www.iis.fraun.../pd/dab/dek.jsp

I hope that the linux implementation is not blocked by any NDA or other.
If the chip is giving the baseband signal, this could open the way to interesting application like getting the full content of the DAB mux at once, maybe even process impulse response of the channel.

I cannot wait, has anybody a hardware USB analyser to record DAB traces ? ;-)

Re: RTL2832U chipset support proposal #32 Gennar1

  • Senior Member
  • 296 posts

+31
Good

Posted 29 December 2011 - 12:20

I heard also that it is Fraunhofer that has provided the DAB decoding suite on the PC, probably this:
http://www.iis.fraun.../pd/dab/dek.jsp

I hope that the linux implementation is not blocked by any NDA or other.
If the chip is giving the baseband signal, this could open the way to interesting application like getting the full content of the DAB mux at once, maybe even process impulse response of the channel.


I'm not optimist about the performance of "a platform independent fixed point C-code optimized for DSP implementation" on a 400 MHz MIPS CPU. But of course the first obstacle is the closed license of the Fraunhofer solution, so it will probably never be available on Linux.

Re: RTL2832U chipset support proposal #33 grex

  • Member
  • 2 posts

0
Neutral

Posted 30 December 2011 - 01:24


Well, the headers for this kernel are installed. Do you have any suggestion how to get further?

Well at least one header is not there, you might also try :http://www.dfragkopo...r/tag/rtl2832u/


I got it just solved, with linking all missing *.h files from /usr/src/$kernesource to the driversource dir. Worked!

Re: RTL2832U chipset support proposal #34 malcolm11

  • Member
  • 6 posts

0
Neutral

Posted 7 January 2012 - 15:33

Hi,
I've got an august DVB-205 V2.0 and almost given up on getting it running under Opensuse 11.4. Kernel 3.2,
dmesg:

[ 1389.084041] usb 2-1: new high speed USB device number 6 using ehci_hcd
[ 1389.211950] usb 2-1: New USB device found, idVendor=1f4d, idProduct=a803
[ 1389.211954] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1389.211957] usb 2-1: Product: RTL2838UHIDIR
[ 1389.211959] usb 2-1: Manufacturer: Realtek
[ 1389.211961] usb 2-1: SerialNumber: 000000041
Tried using august provided t2o5 drivers and tried following TVLinux GIT howto.
Is there a RTL2838 patch for your kernel module?

Re: RTL2832U chipset support proposal #35 Gennar1

  • Senior Member
  • 296 posts

+31
Good

Posted 8 January 2012 - 00:04

Your device 1f4d:a803 is already supported by this driver. Moreover, I've already patched all drivers to compile and run on kernel 3.2. What's exactly your problem?

Re: RTL2832U chipset support proposal #36 malcolm11

  • Member
  • 6 posts

0
Neutral

Posted 8 January 2012 - 18:14

Hi Gennar1,
Sorry if I jumped nto this thread, butt as I said, I'm getting desperate.
My problem is I'm not a newbie, but this DVB stuff is really stretching me and cant make proper sense of posts on it.
I double checked and I am actually running the 3.0.4-2 kernel, Opensuse 11.4 64 bit
Followed http://linuxtv.org/w..._Device_Drivers
Compile kept crashing on 2.6 kernel, but now compiles ok on 3.0 kernel.
I know there is no realtek drivers in there, but not sure how to merge rtl2832 files and where to get the correct ones.
Do I need to install firmware, where can I find it

I had a look at your https://github.com/a...od_kernel-3.0.0 and keen to try it.
Do I need to do anything extra like edit the makefile.

Re: RTL2832U chipset support proposal #37 Gennar1

  • Senior Member
  • 296 posts

+31
Good

Posted 8 January 2012 - 19:26

I'm not sure about this (that's not my repo, it is mantained by Ambrosa), but you can give it a try. Even if the instructions are for Ubuntu, they should work with Opensuse as well.

If not, given there is some interest, I will try to give you a general method working with any distribution/kernel.

Re: RTL2832U chipset support proposal #38 malcolm11

  • Member
  • 6 posts

0
Neutral

Posted 8 January 2012 - 20:40

Thank Gennar1,
Still not sure if I need a fw file

Re: RTL2832U chipset support proposal #39 Gennar1

  • Senior Member
  • 296 posts

+31
Good

Posted 8 January 2012 - 21:10

No, no firmware file is needed.

Re: RTL2832U chipset support proposal #40 CyBoardR

  • Member
  • 1 posts

0
Neutral

Posted 12 January 2012 - 11:08

Here some more RTL2832U based sticks (all with Elonics E4000 tuner) which you may want to add:

TERRATEC Cinergy T Stick RC (Rev.3) [ID 0ccd:00d3]
TERRATEC Cinergy T Stick BLACK (Rev.2) [ID 0ccd:00d4]
TERRATEC NOXON DAB Stick (Rev.2) [ID 0ccd:00e0]



18 user(s) are reading this topic

0 members, 18 guests, 0 anonymous users