[this is a repost of an item I have on the linux-media list]
I have just upgraded to f24. I am now using the standard dvb_usb_rtl28xxu fe which logs messages suggesting all is well (I get the /dev/dvb/adapter? etc.) but I get no channels tuned when I run mythfrontend or scandvb.
Is anyone using this combination? Is this the correct way to use this frontend?
I also built the media tree from source but ended up with the same failure.
BTW:
Until f22 I was using the out of kernel driver from https://github.com/jaredquinn/DVB-Realtek-RTL2832U.git but I now get a compile error. I fixed the compile but at load time I see an error:
Sep 18 17:38:30 e7 kernel: dvbdev: DVB: registering new adapter (Leaktek WinFast DTV2000DS PLUS) Sep 18 17:38:30 e7 kernel: ------------[ cut here ]------------ Sep 18 17:38:30 e7 kernel: WARNING: CPU: 1 PID: 607 at drivers/usb/core/hcd.c:1587 usb_hcd_map_urb_for_dma+0x37f/0x570 Sep 18 17:38:30 e7 kernel: transfer buffer not dma capable Sep 18 17:38:30 e7 systemd: Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch. Sep 18 17:38:30 e7 kernel: Modules linked in: kvm snd_hwdep snd_seq btusb btrtl irqbypass btbcm snd_seq_device pl2303 dvb_usb_rtl2832u(OE+) btintel crct10dif_pclmul ie31200_edac crc32_pclmul joydev snd _pcm bluetooth ghash_clmulni_intel dvb_usb dvb_core intel_cstate intel_uncore snd_timer snd mei_me rfkill intel_rapl_perf i2c_i801 soundcore mei edac_core shpchp lpc_ich parport_pc nuvoton_cir rc_core parport tpm_tis tpm_tis_core tpm i915 e1000e i2c_algo_bit drm_kms_helper mvsas ptp libsas pps_core crc32c_intel drm scsi_transport_sas video Sep 18 17:38:30 e7 kernel: CPU: 1 PID: 607 Comm: systemd-udevd Tainted: G OE 4.11.12-100.fc24.x86_64 #1 Sep 18 17:38:30 e7 kernel: Hardware name: /DH77KC, BIOS KCH7710H.86A.0100.2012.0906.1136 09/06/2012 Sep 18 17:38:30 e7 kernel: Call Trace: Sep 18 17:38:30 e7 kernel: dump_stack+0x63/0x86 Sep 18 17:38:30 e7 kernel: __warn+0xcb/0xf0 Sep 18 17:38:30 e7 kernel: warn_slowpath_fmt+0x5a/0x80 Sep 18 17:38:30 e7 kernel: usb_hcd_map_urb_for_dma+0x37f/0x570 Sep 18 17:38:30 e7 kernel: usb_hcd_submit_urb+0x34e/0xb90 Sep 18 17:38:30 e7 kernel: ? __rmqueue+0x91/0x760 Sep 18 17:38:30 e7 kernel: usb_submit_urb+0x2f4/0x560 Sep 18 17:38:30 e7 kernel: ? get_page_from_freelist+0xb80/0xbf0 Sep 18 17:38:30 e7 kernel: usb_start_wait_urb+0x6e/0x170 Sep 18 17:38:30 e7 kernel: usb_control_msg+0xdc/0x120 Sep 18 17:38:30 e7 kernel: read_usb_sys_char_bytes+0xd1/0x1a0 [dvb_usb_rtl2832u] Sep 18 17:38:30 e7 kernel: ? dvb_usb_fe_sleep+0x60/0x60 [dvb_usb] Sep 18 17:38:30 e7 kernel: read_usb_sys_int_bytes+0x3b/0x90 [dvb_usb_rtl2832u] Sep 18 17:38:30 e7 kernel: read_usb_sys_register.isra.4+0x4d/0x80 [dvb_usb_rtl2832u] Sep 18 17:38:30 e7 kernel: usb_init_setting+0x45/0x400 [dvb_usb_rtl2832u] Sep 18 17:38:30 e7 kernel: rtl2832u_fe_attach+0x96/0xd70 [dvb_usb_rtl2832u] Sep 18 17:38:30 e7 kernel: rtl2832u_frontend_attach+0x15/0x30 [dvb_usb_rtl2832u] Sep 18 17:38:30 e7 kernel: dvb_usb_adapter_frontend_init+0xdf/0x190 [dvb_usb] Sep 18 17:38:30 e7 kernel: dvb_usb_device_init+0x4ca/0x630 [dvb_usb] Sep 18 17:38:30 e7 kernel: rtl2832u_usb_probe+0x115/0x180 [dvb_usb_rtl2832u] Sep 18 17:38:30 e7 kernel: usb_probe_interface+0x159/0x2d0 Sep 18 17:38:30 e7 kernel: driver_probe_device+0x2bb/0x460 Sep 18 17:38:30 e7 kernel: __driver_attach+0xdf/0xf0 Sep 18 17:38:30 e7 kernel: ? driver_probe_device+0x460/0x460 Sep 18 17:38:30 e7 kernel: bus_for_each_dev+0x6c/0xc0 Sep 18 17:38:30 e7 kernel: driver_attach+0x1e/0x20 Sep 18 17:38:30 e7 kernel: bus_add_driver+0x170/0x270 Sep 18 17:38:30 e7 kernel: driver_register+0x60/0xe0 Sep 18 17:38:30 e7 kernel: usb_register_driver+0x81/0x140 Sep 18 17:38:30 e7 kernel: ? 0xffffffffc0718000 Sep 18 17:38:30 e7 kernel: rtl2832u_usb_module_init+0x3b/0x1000 [dvb_usb_rtl2832u] Sep 18 17:38:30 e7 kernel: ? 0xffffffffc0718000 Sep 18 17:38:30 e7 kernel: do_one_initcall+0x52/0x1a0 Sep 18 17:38:30 e7 kernel: ? __vunmap+0x81/0xd0 Sep 18 17:38:30 e7 kernel: ? kfree+0x154/0x170 Sep 18 17:38:30 e7 kernel: ? kmem_cache_alloc_trace+0x159/0x1b0 Sep 18 17:38:30 e7 kernel: ? do_init_module+0x27/0x1f8 Sep 18 17:38:30 e7 kernel: do_init_module+0x5f/0x1f8 Sep 18 17:38:30 e7 kernel: load_module+0x27cc/0x2be0 Sep 18 17:38:30 e7 kernel: SYSC_finit_module+0xdf/0x110 Sep 18 17:38:30 e7 kernel: ? SYSC_finit_module+0xdf/0x110 Sep 18 17:38:30 e7 kernel: SyS_finit_module+0xe/0x10 Sep 18 17:38:30 e7 kernel: do_syscall_64+0x67/0x180 Sep 18 17:38:30 e7 kernel: entry_SYSCALL64_slow_path+0x25/0x25 Sep 18 17:38:30 e7 kernel: RIP: 0033:0x7f3ad1de3219 Sep 18 17:38:30 e7 kernel: RSP: 002b:00007ffc71e7cd38 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 Sep 18 17:38:30 e7 kernel: RAX: ffffffffffffffda RBX: 000000f0fdd83bc0 RCX: 00007f3ad1de3219 Sep 18 17:38:30 e7 kernel: RDX: 0000000000000000 RSI: 000000f0fdd85520 RDI: 0000000000000007 Sep 18 17:38:30 e7 kernel: RBP: 000000f0fdd85520 R08: 0000000000000000 R09: 0000000000000012 Sep 18 17:38:30 e7 kernel: R10: 0000000000000007 R11: 0000000000000246 R12: 0000000000000000 Sep 18 17:38:30 e7 kernel: R13: 000000f0fdd852d0 R14: 0000000000020000 R15: 000000f0fd6eaf2a Sep 18 17:38:30 e7 kernel: ---[ end trace 5cace06731689a9a ]--- Sep 18 17:38:30 e7 kernel: dvb-usb: no frontend was attached by 'Leaktek WinFast DTV2000DS PLUS'
TIA
On 09/18/2017 02:20 AM, Eyal Lebedinsky wrote:
I have just upgraded to f24. I am now using the standard dvb_usb_rtl28xxu fe which logs messages suggesting all is well (I get the /dev/dvb/adapter? etc.) but I get no channels tuned when I run mythfrontend or scandvb.
I strongly suggest you upgrade to a supported version of Fedora. It will have a newer kernel which could possibly solve your problem. F24 is EOL.
On 21/09/17 16:34, Samuel Sieb wrote:
On 09/18/2017 02:20 AM, Eyal Lebedinsky wrote:
I have just upgraded to f24. I am now using the standard dvb_usb_rtl28xxu fe which logs messages suggesting all is well (I get the /dev/dvb/adapter? etc.) but I get no channels tuned when I run mythfrontend or scandvb.
I strongly suggest you upgrade to a supported version of Fedora. It will have a newer kernel which could possibly solve your problem. F24 is EOL.
Thanks Samuel, as it turns out this morning I upgraded to f26.
dvb_usb_rtl28xxu has issues with this card, it fails to tune. However, once (the system was rebooted a number of times) running scandvb managed to tune one multiplex (out of five here), the same one on all four tuners (I have two cards installed and each has two USB tuners).
I am ready to provide logs and run tests if it helps.
I am now running with some old USB tuners I had around, with some failures which I will post separately.
cheers
On 09/20/2017 11:52 PM, Eyal Lebedinsky wrote:
dvb_usb_rtl28xxu has issues with this card, it fails to tune. However, once (the system was rebooted a number of times) running scandvb managed to tune one multiplex (out of five here), the same one on all four tuners (I have two cards installed and each has two USB tuners).
What do you mean by a card with USB tuners? Do you have USB expansion cards in your computer and you are plugging the tuners into those?
I would suggest that you try to use one tuner at a time first. That makes it easier to isolate problems and there is less chance of various applications getting confused about which tuner it is talking to.
On 21/09/17 16:57, Samuel Sieb wrote:
On 09/20/2017 11:52 PM, Eyal Lebedinsky wrote:
dvb_usb_rtl28xxu has issues with this card, it fails to tune. However, once (the system was rebooted a number of times) running scandvb managed to tune one multiplex (out of five here), the same one on all four tuners (I have two cards installed and each has two USB tuners).
What do you mean by a card with USB tuners? Do you have USB expansion cards in your computer and you are plugging the tuners into those?
No. The card (PCI Leadtek Winfast DTV2000 DS PLUS TV) is a PCI device but it actually has two USB devices on board. The card is not showing in 'lspci' because it only uses power from PCI. It shows as two USB devices in 'lsusb'.
I have two of these cards installed, hence four tuners. Removing a card is a bit more involved than just plugging a USB stick.
I would suggest that you try to use one tuner at a time first. That makes it easier to isolate problems and there is less chance of various applications getting confused about which tuner it is talking to.
Thanks
This thread continues on the linux-media list.
On 18/09/17 19:20, Eyal Lebedinsky wrote:
[this is a repost of an item I have on the linux-media list]
I have just upgraded to f24. I am now using the standard dvb_usb_rtl28xxu fe which logs messages suggesting all is well (I get the /dev/dvb/adapter? etc.) but I get no channels tuned when I run mythfrontend or scandvb.
Is anyone using this combination? Is this the correct way to use this frontend?
I also built the media tree from source but ended up with the same failure.
BTW:
Until f22 I was using the out of kernel driver from https://github.com/jaredquinn/DVB-Realtek-RTL2832U.git but I now get a compile error. I fixed the compile but at load time I see an error:
Sep 18 17:38:30 e7 kernel: dvbdev: DVB: registering new adapter (Leaktek WinFast DTV2000DS PLUS) Sep 18 17:38:30 e7 kernel: ------------[ cut here ]------------ Sep 18 17:38:30 e7 kernel: WARNING: CPU: 1 PID: 607 at drivers/usb/core/hcd.c:1587 usb_hcd_map_urb_for_dma+0x37f/0x570 Sep 18 17:38:30 e7 kernel: transfer buffer not dma capable
This seems to be due to usb_control_msg() having changed in recent kernels requiring dma capable transfer buffer.
ATM beyond me to fix.
Sep 18 17:38:30 e7 systemd: Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch. Sep 18 17:38:30 e7 kernel: Modules linked in: kvm snd_hwdep snd_seq btusb btrtl irqbypass btbcm snd_seq_device pl2303 dvb_usb_rtl2832u(OE+) btintel crct10dif_pclmul ie31200_edac crc32_pclmul joydev snd _pcm bluetooth ghash_clmulni_intel dvb_usb dvb_core intel_cstate intel_uncore snd_timer snd mei_me rfkill intel_rapl_perf i2c_i801 soundcore mei edac_core shpchp lpc_ich parport_pc nuvoton_cir rc_core parport tpm_tis tpm_tis_core tpm i915 e1000e i2c_algo_bit drm_kms_helper mvsas ptp libsas pps_core crc32c_intel drm scsi_transport_sas video Sep 18 17:38:30 e7 kernel: CPU: 1 PID: 607 Comm: systemd-udevd Tainted: G OE 4.11.12-100.fc24.x86_64 #1 Sep 18 17:38:30 e7 kernel: Hardware name: /DH77KC, BIOS KCH7710H.86A.0100.2012.0906.1136 09/06/2012 Sep 18 17:38:30 e7 kernel: Call Trace: Sep 18 17:38:30 e7 kernel: dump_stack+0x63/0x86 Sep 18 17:38:30 e7 kernel: __warn+0xcb/0xf0 Sep 18 17:38:30 e7 kernel: warn_slowpath_fmt+0x5a/0x80 Sep 18 17:38:30 e7 kernel: usb_hcd_map_urb_for_dma+0x37f/0x570 Sep 18 17:38:30 e7 kernel: usb_hcd_submit_urb+0x34e/0xb90 Sep 18 17:38:30 e7 kernel: ? __rmqueue+0x91/0x760 Sep 18 17:38:30 e7 kernel: usb_submit_urb+0x2f4/0x560 Sep 18 17:38:30 e7 kernel: ? get_page_from_freelist+0xb80/0xbf0 Sep 18 17:38:30 e7 kernel: usb_start_wait_urb+0x6e/0x170 Sep 18 17:38:30 e7 kernel: usb_control_msg+0xdc/0x120 Sep 18 17:38:30 e7 kernel: read_usb_sys_char_bytes+0xd1/0x1a0 [dvb_usb_rtl2832u] Sep 18 17:38:30 e7 kernel: ? dvb_usb_fe_sleep+0x60/0x60 [dvb_usb] Sep 18 17:38:30 e7 kernel: read_usb_sys_int_bytes+0x3b/0x90 [dvb_usb_rtl2832u] Sep 18 17:38:30 e7 kernel: read_usb_sys_register.isra.4+0x4d/0x80 [dvb_usb_rtl2832u] Sep 18 17:38:30 e7 kernel: usb_init_setting+0x45/0x400 [dvb_usb_rtl2832u] Sep 18 17:38:30 e7 kernel: rtl2832u_fe_attach+0x96/0xd70 [dvb_usb_rtl2832u] Sep 18 17:38:30 e7 kernel: rtl2832u_frontend_attach+0x15/0x30 [dvb_usb_rtl2832u] Sep 18 17:38:30 e7 kernel: dvb_usb_adapter_frontend_init+0xdf/0x190 [dvb_usb] Sep 18 17:38:30 e7 kernel: dvb_usb_device_init+0x4ca/0x630 [dvb_usb] Sep 18 17:38:30 e7 kernel: rtl2832u_usb_probe+0x115/0x180 [dvb_usb_rtl2832u] Sep 18 17:38:30 e7 kernel: usb_probe_interface+0x159/0x2d0 Sep 18 17:38:30 e7 kernel: driver_probe_device+0x2bb/0x460 Sep 18 17:38:30 e7 kernel: __driver_attach+0xdf/0xf0 Sep 18 17:38:30 e7 kernel: ? driver_probe_device+0x460/0x460 Sep 18 17:38:30 e7 kernel: bus_for_each_dev+0x6c/0xc0 Sep 18 17:38:30 e7 kernel: driver_attach+0x1e/0x20 Sep 18 17:38:30 e7 kernel: bus_add_driver+0x170/0x270 Sep 18 17:38:30 e7 kernel: driver_register+0x60/0xe0 Sep 18 17:38:30 e7 kernel: usb_register_driver+0x81/0x140 Sep 18 17:38:30 e7 kernel: ? 0xffffffffc0718000 Sep 18 17:38:30 e7 kernel: rtl2832u_usb_module_init+0x3b/0x1000 [dvb_usb_rtl2832u] Sep 18 17:38:30 e7 kernel: ? 0xffffffffc0718000 Sep 18 17:38:30 e7 kernel: do_one_initcall+0x52/0x1a0 Sep 18 17:38:30 e7 kernel: ? __vunmap+0x81/0xd0 Sep 18 17:38:30 e7 kernel: ? kfree+0x154/0x170 Sep 18 17:38:30 e7 kernel: ? kmem_cache_alloc_trace+0x159/0x1b0 Sep 18 17:38:30 e7 kernel: ? do_init_module+0x27/0x1f8 Sep 18 17:38:30 e7 kernel: do_init_module+0x5f/0x1f8 Sep 18 17:38:30 e7 kernel: load_module+0x27cc/0x2be0 Sep 18 17:38:30 e7 kernel: SYSC_finit_module+0xdf/0x110 Sep 18 17:38:30 e7 kernel: ? SYSC_finit_module+0xdf/0x110 Sep 18 17:38:30 e7 kernel: SyS_finit_module+0xe/0x10 Sep 18 17:38:30 e7 kernel: do_syscall_64+0x67/0x180 Sep 18 17:38:30 e7 kernel: entry_SYSCALL64_slow_path+0x25/0x25 Sep 18 17:38:30 e7 kernel: RIP: 0033:0x7f3ad1de3219 Sep 18 17:38:30 e7 kernel: RSP: 002b:00007ffc71e7cd38 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 Sep 18 17:38:30 e7 kernel: RAX: ffffffffffffffda RBX: 000000f0fdd83bc0 RCX: 00007f3ad1de3219 Sep 18 17:38:30 e7 kernel: RDX: 0000000000000000 RSI: 000000f0fdd85520 RDI: 0000000000000007 Sep 18 17:38:30 e7 kernel: RBP: 000000f0fdd85520 R08: 0000000000000000 R09: 0000000000000012 Sep 18 17:38:30 e7 kernel: R10: 0000000000000007 R11: 0000000000000246 R12: 0000000000000000 Sep 18 17:38:30 e7 kernel: R13: 000000f0fdd852d0 R14: 0000000000020000 R15: 000000f0fd6eaf2a Sep 18 17:38:30 e7 kernel: ---[ end trace 5cace06731689a9a ]--- Sep 18 17:38:30 e7 kernel: dvb-usb: no frontend was attached by 'Leaktek WinFast DTV2000DS PLUS'
TIA