Re: RTL2831U kernel driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Did you have any luck?

I have successfully built the drivers on 2.6.23 and 2.6.21 (which they 
say they are for) on AMD64 and x86, they always compile cleanly and 
modprobe successfully, creating the relevant devices. However I can't 
get any further.

dmesg:
dvb-usb: found a 'Freecom USB 2.0 DVB-T Device' in warm state.
dvb-usb: will pass the complete MPEG2 transport stream to the software 
demuxer.
DVB: registering new adapter (Freecom USB 2.0 DVB-T Device)
+rtd2831u_fe_attach
-rtd2831u_fe_attach
DVB: registering frontend 0 (Realtek RTD2830 DVB-T)...
input: IR-receiver inside an USB DVB receiver as /class/input/input7
dvb-usb: schedule remote query interval to 300 msecs.
dvb-usb: Freecom USB 2.0 DVB-T Device successfully initialized and 
connected.
usbcore: registered new interface driver dvb_usb_rtd2831u

devices:
/dev/dvb/adapter0
/dev/dvb/adapter0/demux0
/dev/dvb/adapter0/frontend0
/dev/dvb/adapter0/net0
/dev/dvb/adapter0/dvr0
/dev/input/by-path/pci-1-1--event-ir
/dev/input/event7

cat /dev/input/event7
Doesn't generating anything when the remote is pressed.

dvbscan  /usr/share/dvb/dvb-t/uk-CrystalPalace

Generates:

scanning /usr/share/dvb/dvb-t/uk-CrystalPalace
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
initial transponder 505833000 0 3 9 1 0 0 0
initial transponder 481833000 0 2 9 3 0 0 0
initial transponder 561833000 0 2 9 3 0 0 0
initial transponder 529833000 0 3 9 1 0 0 0
initial transponder 578167000 0 3 9 1 0 0 0
initial transponder 537833000 0 3 9 1 0 0 0
 >>> tune to: 
505833000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_3_4:FEC_AUTO:QAM_16:TRANSMISSION_MODE_2K:GUARD_INTERVAL_1_32:HIERARCHY_NONE
WARNING: >>> tuning failed!!!
 >>> tune to: 
505833000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_3_4:FEC_AUTO:QAM_16:TRANSMISSION_MODE_2K:GUARD_INTERVAL_1_32:HIERARCHY_NONE 
(tuning failed)
WARNING: >>> tuning failed!!!

... and so on. (But dose turn the devices LED on!)

Which adds the following to dmesg:

+ ########################## rtd2830_init: 446: init once
#####################################################TD2831_RMAP_INDEX_USB_STAT=
0x3
HIGH SPEED
#####################################################RTD2831_RMAP_INDEX_SYS_GPO=
0x15
#####################################################RTD2831_RMAP_INDEX_SYS_GPO=
0x15
#####################################################RTD2831_RMAP_INDEX_SYS_GPO=
0x15
This device has the MXL5005 onboard.....(Default)
###################rtd2830_general_init:
rtd2830_general_init : demod know tuner type MXL5005
rtd2830_general_init
- rtd2830_init
rtd2830_get_tune_settings: Do Nothing
+ rtd2830_set_parameters
   rtd2830_read_status ******FSM = 3******
+ rtd2830_set_parameters
  maxlinear_mxl5005_set : MXL tuner frequency = 505833000Hz
+rtd2830_soft_reset
-rtd2830_soft_reset
rtd2830_scan_channel_procedure : *****TPS_NON_LOCK*****
rtd2830_scan_channel_procedure : ***** Signal NOT Present*****
- rtd2830_set_parameters
   rtd2830_read_status ******FSM = 9******
   rtd2830_read_status ******FSM = 3******
+ rtd2830_set_parameters
   rtd2830_read_status ******FSM = 3******
+ rtd2830_set_parameters
  maxlinear_mxl5005_set : MXL tuner frequency = 505833000Hz
+rtd2830_soft_reset
-rtd2830_soft_reset
rtd2830_scan_channel_procedure : *****TPS_NON_LOCK*****
rtd2830_scan_channel_procedure : ***** Signal NOT Present*****

I am afraid I am well out of my depth. Put I am prepared to put some 
work into solving this, if anyone can suggest where I should start.

I am testing with a connection to my roof aerial, and am close to 
Crystal Palace, a cheep digibox picks up every channel with no problems.

I notice that MXL5005 now has a new driver in frontends. I have also 
tried building and modprobing this (no errors, but no visible sign of 
success either). I doesn't seem to have any effect. (Though the RTL2831U 
driver looks to include it's own tuner code so I am assuming this is for 
something else anyway).

I can't see anything relating to firmware in the windows drive, and the 
device is detected as "warm". Am I right in thinking the should be no 
need to load a firmware BLOB as with some other drivers.

Barnaby



David Reynolds wrote:
> 
> On 23 Jannews.gmane.org 2008, at 12:04 pm, tiwag wrote:
> 
>>
>> replying to a previous posting
>> From: Mauro Carvalho Chehab <mchehab@...>
>> To: <kernel@...>
>> Cc: <linux-kernel@...>, v4l-dvb maintainer list <v4l-dvb-maintainer@...>
>> Subject: Re: RTL2831U kernel driver
>> Date: Thursday, November 22, 2007 - 2:11 pm
>>
>> ...
>>
>> It would be nice if you can subscribe to Linux DVB mailing [1] list and
>> post the driver there. The list is open to users and to developers, so,
>> maybe it would be interesting for you to participate there.
>>
>> [1] http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb ...
>>
>>
>> i couldn't find any response to the previous posting,
>> so i asked Realtek about a linux kernel driver for this rtl2831u
>> chipset (used in Freecom rev 4 DVB-T USB 2.0)
>>
>> they've sent me the attached package, i hope it is usefull for the 
>> experts here.
>>
>> i want to try to build this driver on ubuntu 7.10 x86 (32 bit) with 
>> 2.6.22 kernel
>> but need some assistance, tutorial or FAQ, how i can start to do that.
>>
>> i'm not sure if i can build the driver with using the v4l
> 
> It seems to tell you what to do inside the Doc folder...
> 
> I shall hopefully be trying this later tonight.
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> linux-dvb mailing list
> linux-dvb@xxxxxxxxxxx
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux