Page 1 of 8 123 ... LastLast
Results 1 to 10 of 80

Thread: Freecom DVB-T USB Stick Revision 4 (RTL2831U chipset)

  1. #1
    Join Date
    Apr 2006
    Location
    UK
    Beans
    6,646
    Distro
    Ubuntu 12.04 Precise Pangolin

    Freecom DVB-T USB Stick Revision 4 (RTL2831U chipset)

    This is a new thread for Freecom DVB-T USB stick (Rev 4) owners.

    A Linux driver exists for the Hardy kernel as discussed in the Archives - quoted below.

    Quote Originally Posted by ugm6hr View Post
    I'm toying with the idea of upgrading to Hardy now. Does this still work with the final Hardy?

    PS: Has anyone tried the AMD64 Hardy with this?

    EDIT: The rapidshare link doesn't work - try the German forum link for download: http://forum.ubuntuusers.de/download/9970/

    CONFIRMED:
    This works just fine in Hardy 64-bit

    In the uncompressed folder - just:
    Code:
    make
    sudo make install
    This is a new thread for further discussion - specifically with regard to anyone who has had success with the new Intrepid kernel.

  2. #2
    Join Date
    Sep 2008
    Beans
    9

    Re: Freecom DVB-T USB Stick Revision 4 (RTL2831U chipset)

    If I try to compile and install it under ubuntu 8.10 (64 bit), the stick isn't recognised after installation. I hoped the driver for this stick would be integrated in the 8.10 kernel but this isn't obviously the case...

    greetz,
    Willi

  3. #3
    Join Date
    Apr 2006
    Location
    UK
    Beans
    6,646
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Freecom DVB-T USB Stick Revision 4 (RTL2831U chipset)

    Quote Originally Posted by WILLI View Post
    If I try to compile and install it under ubuntu 8.10 (64 bit), the stick isn't recognised after installation. I hoped the driver for this stick would be integrated in the 8.10 kernel but this isn't obviously the case...
    Shame. Looks like I'll be sticking with Hardy for the foreseeable future then.

    As for the kernel integration of the driver - I can't see much discussion about development of that since the original driver was released.

  4. #4
    Join Date
    Sep 2008
    Beans
    9

    Re: Freecom DVB-T USB Stick Revision 4 (RTL2831U chipset)

    Hey all,

    This is what dmesg gives me when I connect my conceptronic dvb-t usb stick:

    Nov 3 15:10:01 Robert kernel: [ 22.531576] dvb-usb: found a 'Freecom USB 2.0 DVB-T Device' in warm state.
    Nov 3 15:10:01 Robert kernel: [ 22.531585] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
    Nov 3 15:10:01 Robert kernel: [ 22.531952] PGD 7ace5067 PUD 7ace4067 PMD 0
    Nov 3 15:10:01 Robert kernel: [ 22.532006] CPU 0
    Nov 3 15:10:01 Robert kernel: [ 22.532006] Modules linked in: dvb_usb_rtl2831u(+) dvb_usb dvb_core i2c_core psmouse pcspkr(+) serio_raw iwl3945(+) evdev yenta_socket rfkill rsrc_nonstatic pcmcia_core snd_hda_intel iTCO_wdt iTCO_vendor_support snd_pcm_oss snd_mixer_oss mac80211 led_class snd_pcm parport_pc parport snd_seq_dummy cfg80211 snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device container snd video output wmi soundcore button battery shpchp pci_hotplug intel_agp ac snd_page_alloc ext3 jbd mbcache sr_mod cdrom pata_acpi sd_mod crc_t10dif ata_generic b44 sg usb_storage libusual ahci ata_piix libata scsi_mod dock ssb mii ohci1394 ieee1394 ehci_hcd uhci_hcd usbcore thermal processor fan fbcon tileblit font bitblit softcursor fuse
    Nov 3 15:10:01 Robert kernel: [ 22.532006] Pid: 2914, comm: modprobe Not tainted 2.6.27-7-generic #1
    Nov 3 15:10:01 Robert kernel: [ 22.532006] RIP: 0010:[<ffffffffa043049b>] [<ffffffffa043049b>] dvb_register_adapter+0x3b/0x150 [dvb_core]
    Nov 3 15:10:01 Robert kernel: [ 22.532006] RSP: 0018:ffff88007accdb68 EFLAGS: 00010246
    Nov 3 15:10:01 Robert kernel: [ 22.532006] RAX: 0000000000000000 RBX: ffff88007d9a8d50 RCX: 0000000000000000
    Nov 3 15:10:01 Robert kernel: [ 22.532006] RDX: ffffffffa046b100 RSI: ffffffffa0445be0 RDI: ffffffffa0445bf0
    Nov 3 15:10:01 Robert kernel: [ 22.532006] RBP: ffff88007accdb98 R08: 0000000000000000 R09: ffff88007c456000
    Nov 3 15:10:01 Robert kernel: [ 22.532006] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
    Nov 3 15:10:01 Robert kernel: [ 22.532006] R13: ffff88007d9a8db8 R14: ffffffffa04664bd R15: ffffffffa046b100
    Nov 3 15:10:01 Robert kernel: [ 22.532006] FS: 00007ff1ff3116e0(0000) GS:ffffffff806e1a80(0000) knlGS:0000000000000000
    Nov 3 15:10:01 Robert kernel: [ 22.532006] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
    Nov 3 15:10:01 Robert kernel: [ 22.532006] CR2: 0000000000000000 CR3: 000000007ace1000 CR4: 00000000000006e0
    Nov 3 15:10:01 Robert kernel: [ 22.532006] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
    Nov 3 15:10:01 Robert kernel: [ 22.532006] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
    Nov 3 15:10:01 Robert kernel: [ 22.532006] Process modprobe (pid: 2914, threadinfo ffff88007accc000, task ffff88007acd1670)
    Nov 3 15:10:01 Robert kernel: [ 22.532006] Stack: ffff88007b06d088 ffff88007d9a8d50 ffff88007d9a8000 ffff88007d9a8000
    Nov 3 15:10:01 Robert kernel: [ 22.532006] ffff88007d9a8db8 0000000000000000 ffff88007accdbd8<6>iwl3945: Tunable channels: 13 802.11bg, 23 802.11a channels
    Nov 3 15:10:01 Robert kernel: [ 22.532006] ffffffffa044b281
    Nov 3 15:10:01 Robert kernel: [ 22.532006] 0000000200000010 ffff88007d9a8d50 ffff88007d9a8d50 ffff88007d9a8000
    Nov 3 15:10:01 Robert kernel: [ 22.532006] Call Trace:
    Nov 3 15:10:01 Robert kernel: [ 22.532006] [<ffffffffa044b281>] dvb_usb_adapter_dvb_init+0x51/0x1d0 [dvb_usb]
    Nov 3 15:10:01 Robert kernel: [ 22.532006] [<ffffffffa044a632>] dvb_usb_adapter_init+0xf2/0x2d0 [dvb_usb]
    Nov 3 15:10:01 Robert kernel: [ 22.532006] [<ffffffffa044a8b4>] dvb_usb_init+0xa4/0x110 [dvb_usb]
    Nov 3 15:10:01 Robert kernel: [ 22.532006] [<ffffffffa044ab1e>] dvb_usb_device_init+0x1fe/0x2e0 [dvb_usb]
    Nov 3 15:10:01 Robert kernel: [ 22.532006] [<ffffffffa0463eb6>] rtd2831u_usb_probe+0x26/0x60 [dvb_usb_rtl2831u]
    Nov 3 15:10:01 Robert kernel: [ 22.532006] [<ffffffffa00586fc>] usb_probe_interface+0xcc/0x180 [usbcore]
    Nov 3 15:10:01 Robert kernel: [ 22.532006] [<ffffffff80430552>] really_probe+0x72/0x1a0
    Nov 3 15:10:01 Robert kernel: [ 22.532006] [<ffffffff804306d0>] driver_probe_device+0x50/0x60
    Nov 3 15:10:01 Robert kernel: [ 22.532006] [<ffffffff8043076b>] __driver_attach+0x8b/0x90
    Nov 3 15:10:01 Robert kernel: [ 22.532006] [<ffffffff804306e0>] ? __driver_attach+0x0/0x90
    Nov 3 15:10:01 Robert kernel: [ 22.532006] [<ffffffff8042fcdb>] bus_for_each_dev+0x6b/0xa0
    Nov 3 15:10:01 Robert kernel: [ 22.532006] [<ffffffff802e1ecb>] ? kmem_cache_alloc+0x8b/0xd0
    Nov 3 15:10:01 Robert kernel: [ 22.532006] [<ffffffff804303b1>] driver_attach+0x21/0x30
    Nov 3 15:10:01 Robert kernel: [ 22.532006] [<ffffffff8042f548>] bus_add_driver+0x1f8/0x270
    Nov 3 15:10:01 Robert kernel: [ 22.532006] [<ffffffff80430965>] driver_register+0x75/0x170
    Nov 3 15:10:01 Robert kernel: [ 22.532006] [<ffffffffa0058a69>] usb_register_driver+0xa9/0x120 [usbcore]
    Nov 3 15:10:01 Robert kernel: [ 22.532006] [<ffffffffa00bc000>] ? rtd2831u_usb_module_init+0x0/0x49 [dvb_usb_rtl2831u]
    Nov 3 15:10:01 Robert kernel: [ 22.532006] [<ffffffffa00bc028>] rtd2831u_usb_module_init+0x28/0x49 [dvb_usb_rtl2831u]
    Nov 3 15:10:01 Robert kernel: [ 22.532006] [<ffffffff8020a041>] do_one_initcall+0x41/0x170
    Nov 3 15:10:01 Robert kernel: [ 22.532006] [<ffffffff8026c261>] ? __blocking_notifier_call_chain+0x21/0x90
    Nov 3 15:10:01 Robert kernel: [ 22.532006] [<ffffffff8027d085>] sys_init_module+0xb5/0x1f0
    Nov 3 15:10:01 Robert kernel: [ 22.532006] [<ffffffff8021285a>] system_call_fastpath+0x16/0x1b
    Nov 3 15:10:01 Robert kernel: [ 22.532006]
    Nov 3 15:10:01 Robert kernel: [ 22.532006]
    Nov 3 15:10:01 Robert kernel: [ 22.532006] RSP <ffff88007accdb68>
    Nov 3 15:10:01 Robert kernel: [ 22.541152] ---[ end trace 049bf7af02fbd2cc ]---

    Anyone who can make something from it?

    Thanks,
    Willi

  5. #5
    Join Date
    Nov 2008
    Beans
    1

    Smile Re: Freecom DVB-T USB Stick Revision 4 (RTL2831U chipset)

    Got it working in Intrepid.

    1. Open the attachment.
    2. Extract it.
    3. make
    4. sudo make install

    The source in the archive is based on: rtl2831u_dvb-usb_v0.0.2mod.tar.gz

    I have updated the following files with the sources from 2.6.27-7 as explained in Doc/Readmeubuntu.txt:
    demux.h
    dmxdev.h
    dvb_demux.h
    dvbdev.h
    dvb_frontend.h
    dvb_net.h
    dvb-pll.h
    dvb_ringbuffer.h
    dvb-usb.h
    dvb-usb-ids.h

    I could not find the source of dvbt_demod_base.h, and I have left the original from 2.6.22-14 in place.

    After this I have updated rtd2830u.c as follows:
    1. inserted the line

    DVB_DEFINE_MOD_OPT_ADAPTER_NR(adapter_nr);

    after

    MODULE_PARM_DESC(debug, "set debugging level (1=info,xfer=2 (or-able))." DVB_USB_DEBUG_STATUS);

    2. changed

    if (dvb_usb_device_init(intf,&rtd2831u_properties,THI S_MODULE,NULL) == 0 ||
    dvb_usb_device_init(intf,&haihua_properties,THIS_M ODULE,NULL) == 0 )

    to

    if (dvb_usb_device_init(intf,&rtd2831u_properties,THI S_MODULE,NULL,adapter_nr) == 0 ||
    dvb_usb_device_init(intf,&haihua_properties,THIS_M ODULE,NULL,adapter_nr) == 0 )

    That seemed to do the trick. Everything compiles with the usual warnings.
    Attached Files Attached Files

  6. #6
    Join Date
    Sep 2008
    Beans
    9

    Re: Freecom DVB-T USB Stick Revision 4 (RTL2831U chipset)

    Hey,

    I want to thank you, this works like a charm!!

    Thank you,
    Willi

  7. #7
    Join Date
    Nov 2008
    Beans
    1

    Re: Freecom DVB-T USB Stick Revision 4 (RTL2831U chipset)

    Thanks a lot, bas.doodeman


    Your fix workes on my system.

    One remark: I first overread the line "the fix is based on..." and downloaded the wrong file, which didn't worked in intrepid of course. Reading carefully helps. So a Warning: For intrepid: Download the file at the end of Bas post!

    Thanks again, Ralle

  8. #8
    Join Date
    Oct 2006
    Beans
    Hidden!

    Re: Freecom DVB-T USB Stick Revision 4 (RTL2831U chipset)

    Thank you! This fix works great. I can tune and watch using Xine. I tried using mythtv as well but that isn't working. Could this be a failure of the driver or is it mythtv?

  9. #9
    Join Date
    Apr 2006
    Location
    UK
    Beans
    6,646
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Freecom DVB-T USB Stick Revision 4 (RTL2831U chipset)

    Quote Originally Posted by ranjo View Post
    Thank you! This fix works great. I can tune and watch using Xine. I tried using mythtv as well but that isn't working. Could this be a failure of the driver or is it mythtv?
    How do you use xine? I use me-tv (which has an xine base), but it is very slow. Kaffeine is better (but KDE based).

    And will xine record?

  10. #10
    Join Date
    Oct 2006
    Beans
    Hidden!

    Re: Freecom DVB-T USB Stick Revision 4 (RTL2831U chipset)

    Thanks for your help!

    Mythtv was my problem, when scanning channels it makes mistakes with filling the database correctly. The transport frequencies weren't filled in or were wrong. Now it's working perfectly and I can record four channels at the same time (from the same frequency). So this cheap usb device is working great! I hope that these drivers will be added into the linux kernel, that would make my mythtv box working without compiling anything

Page 1 of 8 123 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •