Hi there,
last week I bought the EzTV658 DVB-T usb stick.
My distro did not recognize it so I sent an email
to the manufacturer szforwardvideo to request the
linux driver. The reply was within the next few hours,
so I give them a credit for this. Also, I want to
mention that the below actions came from various
forums through web. I may just made some slight
modifications.
Anyway, they sent me a snapshot of v4l and drivers for
rtl2832u were included. I had some issues so my steps
to successful installation were:
> hg clone
http://linuxtv.org/hg/v4l-dvb
> merge the two copies, but update the Kconfig and Makefile under
/{path}/linux/drivers/media/dvb/dvb-usb
to consider the rtl2832u driver
More specific, add the below lines on each of the files.
Kconfig:
config DVB_USB_RTL2832U
tristate "Realtek RTL2832U DVB-T USB2.0 support"
depends on DVB_USB
help
Realtek RTL2832U DVB-T driver.
Makefile:
dvb-usb-rtl2832u-objs = demod_rtl2832.o dvbt_demod_base.o dvbt_nim_base.o foundation.o math_mpi.o nim_rtl2832_mxl5007t.o nim_rtl2832_fc2580.o nim_rtl2832_mt2266.o rtl2832u.o rtl2832u_fe.o rtl2832u_io.o tuner_mxl5007t.o tuner_fc2580.o tuner_mt2266.o tuner_tua9001.o nim_rtl2832_tua9001.o tuner_fc0012.o nim_rtl2832_fc0012.o demod_rtl2836.o dtmb_demod_base.o dtmb_nim_base.o nim_rtl2836_fc2580.o nim_rtl2836_mxl5007t.o tuner_e4000.o nim_rtl2832_e4000.o^M
obj-$(CONFIG_DVB_USB_RTL2832U) += dvb-usb-rtl2832u.o
Also in
v4l/compat.h (insert the lines which start
with "+" among the other ones in the file).
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 24)
#include <linux/i2c-dev.h>
#endif
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 33)
+ #include <linux/slab.h>
+ #endif
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 29)
static inline int pci_msi_enabled(void)
{
#ifndef CONFIG_PCI_MSI
return 0;
#else
return 1;
#endif
}
#endif
You might also need:
> cd /usr/src/linux
> make oldconfig
> make prepare
So under
/{path}/
> make menuconfig
make sure you will select the RTL2832 driver.
You will find it in
Multimedia support->DVB/ATSC adapters->Realtek RTL2832U DVB-T USB2.0 support
> make
> make install
So, finally the driver has been installed
> dmesg
[ 170.890034] usb 1-3: new high speed USB device using ehci_hcd and address 3
[ 171.019481] usb 1-3: New USB device found, idVendor=0bda, idProduct=2838
[ 171.019485] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 171.019488] usb 1-3: Product: RTL2838UHIDIR
[ 171.019489] usb 1-3: Manufacturer: Realtek
[ 171.044017] dvb-usb: found a 'RTL2832U DVB-T USB DEVICE' in warm state.
[ 171.044023] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[ 171.045613] DVB: registering new adapter (RTL2832U DVB-T USB DEVICE)
[ 171.045970] DVB: registering adapter 0 frontend 0 (Realtek RTL2832 DVB-T RTL2836 DTMB)...
[ 171.045998] dvb-usb: RTL2832U DVB-T USB DEVICE successfully initialized and connected.
[ 171.046007] dvb-usb: found a 'RTL2832U DVB-T USB DEVICE' in warm state.
[ 171.046011] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[ 171.047630] DVB: registering new adapter (RTL2832U DVB-T USB DEVICE)
[ 171.047986] DVB: registering adapter 1 frontend 0 (Realtek RTL2832 DVB-T RTL2836 DTMB)...
[ 171.048012] dvb-usb: RTL2832U DVB-T USB DEVICE successfully initialized and connected.
[ 171.048029] usbcore: registered new interface driver dvb_usb_rtl2832u
> lsmod |grep dvb
dvb_usb_rtl2832u 160918 0
dvb_usb 21568 1 dvb_usb_rtl2832u
dvb_core 108869 1 dvb_usb
The problem I'm facing is that when I try to scan for channels
through kaffeine or Me-tv the whole system hangs and the only
way to recover it, is power it down (using the button) and
up again. Also when I try to use dvbtune using a known frequence,
I get
Using DVB card "Realtek RTL2832 DVB-T RTL2836 DTMB", freq=671250
tuning DVB-T (in United Kingdom) to 671250000 Hz, Bandwidth: 8
Getting frontend status
Not able to lock to the signal on the given frequency
The usb works fine under Windows, so there is no HW issue I believe.
Anyway, my system is
OpenSuse 11.4 kernel:2.6.34-12-desktop
CPU: Intel Core2 Quad core Q9300 @ 2.50GHz
RAM: 4GB
Last comment. I have a thought that the actual problem might be with
the kernel, as I recently did the upgrade to version 11.3 from 11.2
and I saw some hangs.
I tried the exact same procedure on my laptop, where I have the same
distro installed (upgraded from 11.2) and I face the exact same problem.
My laptop is equipped with 2GB of memory and a T7200 Intel Centrino Duo CPU.
Any advice, what to do next is welcome.
Regards,
Georgios