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 #81 mialeo

  • Member
  • 2 posts

0
Neutral

Posted 7 June 2012 - 19:25

Hello,

Thank you for letting me post in your forum. I'm a linux newbie so please forgive me if i make mistakes.

I'm an happy owner of a Raspberry Pi, and I would like to try my DVB-T usb stick.
I've tried to compile Ambrosa's drivers but unfortunatly we don't have kernel headers package yet for the Debian RPI, so I had to compile the whole kernel (though for a first try).
I've tried this one https://github.com/t...ernel-3.0.0.git and it's the same.
My kernel is 3.1.9 so I took 3.0.0 library. Same if I try 3.2.0.

I managed to do it with some copies & adapts. Compile is ok and the stick is mounted (see log below).
My problem is that it cannot see channels. I think it comes from the fact that bandwidth=0, but channel is ok when I check logs in debug mode.
I've tried tvheadend, but it sees nothing. w-scan idem. Kaffeine cannot see the stick.

If I could force default bandwidth to 8Mhz I think it would solve the problem. How can I do that ?

Thanks in advance and thank you for your drivers.

Kind regards
Marc




usb 1-1.2: new high speed USB device number 5 using dwc_otg
usb 1-1.2: New USB device found, idVendor=1b80, idProduct=d393
usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 1-1.2: Product: usbtv
usb 1-1.2: Manufacturer: realtek
dvb-usb: found a 'USB DVB-T DEVICE' in warm state.
dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
DVB: registering new adapter (USB DVB-T DEVICE)
RTL2832U usb_init_bulk_setting : USB2.0 HIGH SPEED (480Mb/s)
RTL2832U check_tuner_type : FC0012 tuner on board...
DVB: registering adapter 0 frontend 0 (Realtek DVB-T RTL2832)...
input: IR-receiver inside an USB DVB receiver as /devices/platform/bcm2708_usb/usb1/1-1/1-1.2/input/input1
dvb-usb: schedule remote query interval to 287 msecs.
dvb-usb: USB DVB-T DEVICE successfully initialized and connected.




rtl2832_set_parameters : fc0012/e4000 update first
rtl2832_set_parameters : fc0012/e4000 update 2nd
-rtl2832_set_parameters
+rtl2832_update_functions
+rtl2832_update_functions run update
-rtl2832_update_functions
+rtl2832u_ioctl_override[20101201_1828] ioctl
-rtl2832u_ioctl_override ioctl - ret= 0 stage=0
rtl2832_read_status :******RTL2832 Signal Lock=0******
rtl2832_read_status : ber_num = 65535
rtl2832_read_status : snr = -12
+rtl2832u_ioctl_override[20101201_1828] ioctl
-rtl2832u_ioctl_override ioctl - ret= 0 stage=1
+rtl2832_update_functions
+rtl2832_update_functions run update
+rtl2832u_ioctl_override[20101201_1828] ioctl
-rtl2832u_ioctl_override ioctl - ret= 0 stage=0
-rtl2832_update_functions
rtl2832_read_status :******RTL2832 Signal Lock=0******
rtl2832_read_status : ber_num = 65535
rtl2832_read_status : snr = -12
+rtl2832u_ioctl_override[20101201_1828] ioctl
-rtl2832u_ioctl_override ioctl - ret= 0 stage=1
+rtl2832_update_functions
+rtl2832_update_functions run update
-rtl2832_update_functions
+rtl2832u_ioctl_override[20101201_1828] ioctl
-rtl2832u_ioctl_override ioctl - ret= 0 stage=0
rtl2832_get_tune_settings : Do Nothing
+rtl2832u_ioctl_override[20101201_1828] ioctl
-rtl2832u_ioctl_override ioctl - ret= 0 stage=1
+rtl2832_set_parameters frequency = 482000000 , bandwidth = 0
+check_dvbt_reset_parameters
-check_dvbt_reset_parameters
rtl2832_set_parameters : Tuner :FC0012 V-band (GPIO6 high)
rtl2832_set_parameters : ****** Signal Present = 0 ******
rtl2832_set_parameters : fc0012/e4000 update first
rtl2832_set_parameters : fc0012/e4000 update 2nd

Re: RTL2832U chipset support proposal #82 Gennar1

  • Senior Member
  • 296 posts

+31
Good

Posted 8 June 2012 - 09:13

I put back my yesterday's image, install manualy kernel.ipk, module, modprobe and it seems, now it searching dvb-t programs (16 programs - include radio). And works :)


Nice :)

Re: RTL2832U chipset support proposal #83 Gennar1

  • Senior Member
  • 296 posts

+31
Good

Posted 8 June 2012 - 09:23

I managed to do it with some copies & adapts. Compile is ok and the stick is mounted (see log below).
My problem is that it cannot see channels. I think it comes from the fact that bandwidth=0, but channel is ok when I check logs in debug mode.
I've tried tvheadend, but it sees nothing. w-scan idem. Kaffeine cannot see the stick.

If I could force default bandwidth to 8Mhz I think it would solve the problem. How can I do that ?

+rtl2832_set_parameters frequency = 482000000 , bandwidth = 0


Tuning parameters are OK. bandwidth=0 means 8MHz in the DVBv3 API, so that's fine with kernels older than 3.3.
The problem is that, for some reason, the driver can't get a lock on the given frequency.

Re: RTL2832U chipset support proposal #84 mialeo

  • Member
  • 2 posts

0
Neutral

Posted 8 June 2012 - 23:16


I managed to do it with some copies & adapts. Compile is ok and the stick is mounted (see log below).
My problem is that it cannot see channels. I think it comes from the fact that bandwidth=0, but channel is ok when I check logs in debug mode.
I've tried tvheadend, but it sees nothing. w-scan idem. Kaffeine cannot see the stick.

If I could force default bandwidth to 8Mhz I think it would solve the problem. How can I do that ?

+rtl2832_set_parameters frequency = 482000000 , bandwidth = 0


Tuning parameters are OK. bandwidth=0 means 8MHz in the DVBv3 API, so that's fine with kernels older than 3.3.
The problem is that, for some reason, the driver can't get a lock on the given frequency.


Thank you !

In fact it came from the fact that the RPi doesn't give enough power. I have to use a powered usb hub.
I also have to double check if it works on both usb ports because I've just finished my test and on one port it didn't work.

Thank you again.

Re: RTL2832U chipset support proposal #85 matt56

  • Member
  • 7 posts

+3
Neutral

Posted 10 June 2012 - 15:24

Can i have a ipk file for the 8000 please? I'll test it with the NOXON USB DAB stick.

Dreambox 8000 HD PVR S/T/C Open Pli4 / Opticum HD x406p / NOXON DAB+ stick

Visiosat Big Bisat / Technisat Digidish


Re: RTL2832U chipset support proposal #86 ims

  • PLi® Core member
  • 13,781 posts

+214
Excellent

Posted 10 June 2012 - 16:33

I will try build it for 8000.
Kdo nic nedělá, nic nezkazí!

Re: RTL2832U chipset support proposal #87 Anzo

  • Senior Member
  • 313 posts

+5
Neutral

Posted 10 June 2012 - 17:23

I will try build it for 8000.


Thanks in advance, I would appreciate that very much. I have also a Noxon stick.

Groet, André

:blink:


Re: RTL2832U chipset support proposal #88 ims

  • PLi® Core member
  • 13,781 posts

+214
Excellent

Posted 10 June 2012 - 18:22

Try it.

Install it, then in telnet/ssh run:
modprobe dvb-usb-rtl2832
and restart GUI.
set tuner in menu and then search services


If it will be work, then for running after reboot: in telnet/ssh run
echo "dvb-usb-rtl2832" > /etc/modules-load.d/dvb-usb-rtl2832.conf
and then
update-modules

Note: If will be problem with mounting hdd's/usb devices after reboot ( as it is on my dm800se), rename dvb-usb-rtl2832.conf to z.conf and run again:
update-modules

Attached Files


Kdo nic nedělá, nic nezkazí!

Re: RTL2832U chipset support proposal #89 Anzo

  • Senior Member
  • 313 posts

+5
Neutral

Posted 10 June 2012 - 19:02

Try it.

Install it, then in telnet/ssh run:

modprobe dvb-usb-rtl2832
and restart GUI.
set tuner in menu and then search services


If it will be work, then for running after reboot: in telnet/ssh run
echo "dvb-usb-rtl2832" > /etc/modules-load.d/dvb-usb-rtl2832.conf
and then
update-modules

Note: If will be problem with mounting hdd's/usb devices after reboot ( as it is on my dm800se), rename dvb-usb-rtl2832.conf to z.conf and run again:
update-modules


Installing didn't get me far, sorry...
http://twitpic.com/9v1a6h

Groet, André

:blink:


Re: RTL2832U chipset support proposal #90 ims

  • PLi® Core member
  • 13,781 posts

+214
Excellent

Posted 10 June 2012 - 19:06

do you have updated your 3.0 ? kernel-module-dvb-usb and kernel-module-rc-core are installable ( tried on 800se and today's night build).
try opkg update/upgrade before...

Edited by ims, 10 June 2012 - 19:07.

Kdo nic nedělá, nic nezkazí!

Re: RTL2832U chipset support proposal #91 Anzo

  • Senior Member
  • 313 posts

+5
Neutral

Posted 10 June 2012 - 19:20

still on openpli 2.1 because of the fawlty openpli 3

Groet, André

:blink:


Re: RTL2832U chipset support proposal #92 ims

  • PLi® Core member
  • 13,781 posts

+214
Excellent

Posted 10 June 2012 - 19:21

oh... this patch is for 3.0 Alpha only... 2.1 has old kernel.
Kdo nic nedělá, nic nezkazí!

Re: RTL2832U chipset support proposal #93 Anzo

  • Senior Member
  • 313 posts

+5
Neutral

Posted 10 June 2012 - 19:27

you're telling me to take the risk of installing the openpli 3.0 image on my DM8000? Tricky

Groet, André

:blink:


Re: RTL2832U chipset support proposal #94 ims

  • PLi® Core member
  • 13,781 posts

+214
Excellent

Posted 10 June 2012 - 19:31

No, will be patient, when it will be beta! ... I thought, that you are trying alpha.
Kdo nic nedělá, nic nezkazí!

Re: RTL2832U chipset support proposal #95 martinmarinov

  • Member
  • 2 posts

0
Neutral

Posted 9 August 2012 - 00:47

Ok, guys, I use Ubuntu 10.04 and kernel 3.0.0-21-generic. When I follow the directions in https://github.com/a...d_kernel-3.0.0/ I get


user@host:folder$ sudo make
make -C /usr/src/linux-headers-`uname -r` SUBDIRS= modules
make[1]: Entering directory `/usr/src/linux-headers-3.0.0-21-generic'
  CHK	 include/linux/version.h
  CHK	 include/generated/utsrelease.h
make[2]: *** No rule to make target `kernel/bounds.c', needed by `kernel/bounds.s'.  Stop.
make[1]: *** [prepare0] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.0.0-21-generic'
make: *** [default] Error 2
Any suggestions on how to fix that? I tried with kernel 2.6.x and the same problem appears. I have the headers, but this file kernel/bounds.c is missing from the directory. But should it be there in first place? Those are headers after all?

Any help would be much appreciated!

Re: RTL2832U chipset support proposal #96 martinmarinov

  • Member
  • 2 posts

0
Neutral

Posted 13 August 2012 - 22:07

Ok, got it working on Ubuntu, now time to make it working on Android :)

I have successfully compiled the module for Android but when I do

# insmod dvb-usb-rtl2832u.ko
insmod: init_module 'dvb-usb-rtl2832u.ko' failed (No such file or directory)

And dmesg says

dvb_usb_rtl2832u: Unknown symbol dvb_usb_device_init (err 0)
dvb_usb_rtl2832u: Unknown symbol dvb_usb_device_exit (err 0)


Re: RTL2832U chipset support proposal #97 bulledk

  • Member
  • 1 posts

0
Neutral

Posted 14 August 2012 - 00:21

Hi Gennar1,

I've temporary replaced the .conf opkg feed files of OpenPLi with the VIX ones. And after an opkg update, I've found a driver for RTL2832 that I managed to install via Telnet.
And... Everything works fine ! My two USB tuners are working without any problem :)

Too bad this driver is not in the OpenPLi feed !
Anyway, thanks for this tip !

-cyb-


Hi -cyb-

How did you do that?

Re: RTL2832U chipset support proposal #98 Anzo

  • Senior Member
  • 313 posts

+5
Neutral

Posted 16 September 2012 - 16:06

test with OE2

Attached Files


Edited by Anzo, 16 September 2012 - 16:06.

Groet, André

:blink:


Re: RTL2832U chipset support proposal #99 erkkisdt

  • Member
  • 1 posts

0
Neutral

Posted 2 October 2012 - 17:14

I guess the driver (0ccd:00d3) is not yet available for OpenPLi-3.0-beta-vuuno as I get

root@vuuno:~# modprobe dvb-usb-rtl2832
FATAL: Module dvb_usb_rtl2832 not found.


and

root@vuuno:~# opkg install kernel-module-dvb-usb-rtl2832
Unknown package 'kernel-module-dvb-usb-rtl2832'.
Collected errors:
* opkg_install_cmd: Cannot install package kernel-module-dvb-usb-rtl2832.


My Terratec Cinergy TStick RC would be happy to do work for me, if the driver would be there.

Erkki
VU+Uno DVB-S2 + Terratec Cinergy TStick RC + HDD

Re: RTL2832U chipset support proposal #100 guirigui

  • Senior Member
  • 297 posts

0
Neutral

Posted 4 October 2012 - 15:07

On X-Trend ET6000, the Twintech UT30(RTL2832u) is very easy to make it work..
Just searching the name of the circuit in the packet list, install it,
After tuner set up with the correct frequency steps, 8Mhz for instance; scan and that's it.
It works flowless on both SD ans HD with DD+(E-aC3)
For the tuner installation be finished, I had only to switch off the box so that the tuner be recognized.
Only caveart, there is still the nasty bug when closing down the Box on HD+EAC3 chanel. When it start again, the picture trough HDMI is all corrupted...
No idea about to solve this issue???

Edited by guirigui, 4 October 2012 - 15:09.

ET6000 mounted in triple tuners with DVB-S2 Anysee E7 S2 + DVB-T Twintech UT30



2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users