LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   DigitalNow (DNTV) quad tuner with RTL2832U chipset won't tune to any channel (https://www.linuxquestions.org/questions/linux-hardware-18/digitalnow-dntv-quad-tuner-with-rtl2832u-chipset-wont-tune-to-any-channel-4175542313/)

demonacle 05-11-2015 06:03 PM

DigitalNow (DNTV) quad tuner with RTL2832U chipset won't tune to any channel
 
Hi,

This is my first post, so bear with me while I dig out all of the hardware info.

I bought this card years ago, and ran it under (bleagh!) windoze for years. About a year ago I finally got around to converting it to a linux system and eventually got it running smoothly under ubuntu. But we don't watch much TV, so it didn't really get used.

Then last month a drive crashed and I had to rebuild. I'm now using sabayon as a base to get the thing up and running quickly while I slowly turn it into a gentoo box in the background - basically removing the sabayon specific stuff and rebuilding.

All seems to be working quite well, especially considering the age of the beast, except the tuners.

It's a DigitalNow quad tuner, which uses an RTL2832U chipset. modules all seem to be loaded correctly, and both myth and tvheadend can scan for channels - although mythtv seems to have trouble with that sometimes too.

I've been able to record a couple of times, but usually recordings fail. TVheadend says 'waiting for stream' and mythtv seems to think it is recording, but nothing is written to disk.

Any help getting this sorted out would be much appreciated.

lspci:

Code:

00:00.0 RAM memory: NVIDIA Corporation MCP78S [GeForce 8200] Memory Controller (rev a2)
00:01.0 ISA bridge: NVIDIA Corporation MCP78S [GeForce 8200] LPC Bridge (rev a2)
00:01.1 SMBus: NVIDIA Corporation MCP78S [GeForce 8200] SMBus (rev a1)
00:01.2 RAM memory: NVIDIA Corporation MCP78S [GeForce 8200] Memory Controller (rev a1)
00:01.3 Co-processor: NVIDIA Corporation MCP78S [GeForce 8200] Co-Processor (rev a2)
00:01.4 RAM memory: NVIDIA Corporation MCP78S [GeForce 8200] Memory Controller (rev a1)
00:02.0 USB controller: NVIDIA Corporation MCP78S [GeForce 8200] OHCI USB 1.1 Controller (rev a1)
00:02.1 USB controller: NVIDIA Corporation MCP78S [GeForce 8200] EHCI USB 2.0 Controller (rev a1)
00:04.0 USB controller: NVIDIA Corporation MCP78S [GeForce 8200] OHCI USB 1.1 Controller (rev a1)
00:04.1 USB controller: NVIDIA Corporation MCP78S [GeForce 8200] EHCI USB 2.0 Controller (rev a1)
00:06.0 IDE interface: NVIDIA Corporation MCP78S [GeForce 8200] IDE (rev a1)
00:07.0 Audio device: NVIDIA Corporation MCP72XE/MCP72P/MCP78U/MCP78S High Definition Audio (rev a1)
00:08.0 PCI bridge: NVIDIA Corporation MCP78S [GeForce 8200] PCI Bridge (rev a1)
00:09.0 SATA controller: NVIDIA Corporation MCP78S [GeForce 8200] AHCI Controller (rev a2)
00:0a.0 Ethernet controller: NVIDIA Corporation MCP77 Ethernet (rev a2)
00:10.0 PCI bridge: NVIDIA Corporation MCP78S [GeForce 8200] PCI Express Bridge (rev a1)
00:12.0 PCI bridge: NVIDIA Corporation MCP78S [GeForce 8200] PCI Express Bridge (rev a1)
00:13.0 PCI bridge: NVIDIA Corporation MCP78S [GeForce 8200] PCI Bridge (rev a1)
00:14.0 PCI bridge: NVIDIA Corporation MCP78S [GeForce 8200] PCI Bridge (rev a1)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Caicos [Radeon HD 6450/7450/8450 / R5 230 OEM]
02:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Caicos HDMI Audio [Radeon HD 6400 Series]
05:00.0 PCI bridge: PLX Technology, Inc. PEX8112 x1 Lane PCI Express-to-PCI Bridge (rev aa)
06:00.0 USB controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 62)
06:00.1 USB controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 62)
06:00.2 USB controller: VIA Technologies, Inc. USB 2.0 (rev 65)

uname -r: 4.0.1-gentoo

lsusb:
Code:

Bus 003 Device 005: ID 0413:6680 Leadtek Research, Inc.
Bus 003 Device 004: ID 0413:6680 Leadtek Research, Inc.
Bus 003 Device 003: ID 0413:6680 Leadtek Research, Inc.
Bus 003 Device 002: ID 0413:6680 Leadtek Research, Inc.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 004: ID 15c2:0038 SoundGraph Inc. GD01 MX LCD Display/IR Receiver
Bus 004 Device 003: ID 046d:c52f Logitech, Inc. Unifying Receiver
Bus 004 Device 002: ID 1241:0503 Belkin
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

dmesg | grep -i DVB
Code:

[    0.944733] usb 3-1: Product: QuadDVBT
[    1.189080] usb 3-2: Product: QuadDVBT
[    1.431362] usb 3-3: Product: QuadDVBT
[    1.671447] usb 3-4: Product: QuadDVBT
[    3.935056] usb 3-1: dvb_usb_v2: found a 'DigitalNow Quad DVB-T Receiver' in warm state
[    3.972622] usb 3-1: dvb_usb_v2: will pass the complete MPEG2 transport stream to the software demuxer
[    3.972657] DVB: registering new adapter (DigitalNow Quad DVB-T Receiver)
[    4.025921] usb 3-1: DVB: registering adapter 0 frontend 0 (Realtek RTL2832 (DVB-T))...
[    4.086867] input: DigitalNow Quad DVB-T Receiver as /devices/pci0000:00/0000:00:14.0/0000:05:00.0/0000:06:00.2/usb3/3-1/rc/rc1/input24
[    4.087176] rc1: DigitalNow Quad DVB-T Receiver as /devices/pci0000:00/0000:00:14.0/0000:05:00.0/0000:06:00.2/usb3/3-1/rc/rc1
[    4.087371] input: MCE IR Keyboard/Mouse (dvb_usb_rtl28xxu) as /devices/virtual/input/input25
[    4.091576] rc rc1: lirc_dev: driver ir-lirc-codec (dvb_usb_rtl28xxu) registered at minor = 0
[    4.091580] usb 3-1: dvb_usb_v2: schedule remote query interval to 400 msecs
[    4.101979] usb 3-1: dvb_usb_v2: 'DigitalNow Quad DVB-T Receiver' successfully initialized and connected
[    4.103717] usb 3-2: dvb_usb_v2: found a 'DigitalNow Quad DVB-T Receiver' in warm state
[    4.142270] usb 3-2: dvb_usb_v2: will pass the complete MPEG2 transport stream to the software demuxer
[    4.142314] DVB: registering new adapter (DigitalNow Quad DVB-T Receiver)
[    4.162836] usb 3-2: DVB: registering adapter 1 frontend 0 (Realtek RTL2832 (DVB-T))...
[    4.204925] input: DigitalNow Quad DVB-T Receiver as /devices/pci0000:00/0000:00:14.0/0000:05:00.0/0000:06:00.2/usb3/3-2/rc/rc2/input26
[    4.205038] rc2: DigitalNow Quad DVB-T Receiver as /devices/pci0000:00/0000:00:14.0/0000:05:00.0/0000:06:00.2/usb3/3-2/rc/rc2
[    4.206278] input: MCE IR Keyboard/Mouse (dvb_usb_rtl28xxu) as /devices/virtual/input/input27
[    4.206521] rc rc2: lirc_dev: driver ir-lirc-codec (dvb_usb_rtl28xxu) registered at minor = 1
[    4.206526] usb 3-2: dvb_usb_v2: schedule remote query interval to 400 msecs
[    4.214983] usb 3-2: dvb_usb_v2: 'DigitalNow Quad DVB-T Receiver' successfully initialized and connected
[    4.216731] usb 3-3: dvb_usb_v2: found a 'DigitalNow Quad DVB-T Receiver' in warm state
[    4.248594] usb 3-3: dvb_usb_v2: will pass the complete MPEG2 transport stream to the software demuxer
[    4.248629] DVB: registering new adapter (DigitalNow Quad DVB-T Receiver)
[    4.256376] usb 3-3: DVB: registering adapter 2 frontend 0 (Realtek RTL2832 (DVB-T))...
[    4.287551] input: DigitalNow Quad DVB-T Receiver as /devices/pci0000:00/0000:00:14.0/0000:05:00.0/0000:06:00.2/usb3/3-3/rc/rc3/input28
[    4.288932] rc3: DigitalNow Quad DVB-T Receiver as /devices/pci0000:00/0000:00:14.0/0000:05:00.0/0000:06:00.2/usb3/3-3/rc/rc3
[    4.290216] input: MCE IR Keyboard/Mouse (dvb_usb_rtl28xxu) as /devices/virtual/input/input29
[    4.290714] rc rc3: lirc_dev: driver ir-lirc-codec (dvb_usb_rtl28xxu) registered at minor = 2
[    4.290719] usb 3-3: dvb_usb_v2: schedule remote query interval to 400 msecs
[    4.300894] usb 3-3: dvb_usb_v2: 'DigitalNow Quad DVB-T Receiver' successfully initialized and connected
[    4.302633] usb 3-4: dvb_usb_v2: found a 'DigitalNow Quad DVB-T Receiver' in warm state
[    4.364983] usb 3-4: dvb_usb_v2: will pass the complete MPEG2 transport stream to the software demuxer
[    4.365355] DVB: registering new adapter (DigitalNow Quad DVB-T Receiver)
[    4.374514] usb 3-4: DVB: registering adapter 3 frontend 0 (Realtek RTL2832 (DVB-T))...
[    4.406806] input: DigitalNow Quad DVB-T Receiver as /devices/pci0000:00/0000:00:14.0/0000:05:00.0/0000:06:00.2/usb3/3-4/rc/rc4/input30
[    4.407137] rc4: DigitalNow Quad DVB-T Receiver as /devices/pci0000:00/0000:00:14.0/0000:05:00.0/0000:06:00.2/usb3/3-4/rc/rc4
[    4.410115] input: MCE IR Keyboard/Mouse (dvb_usb_rtl28xxu) as /devices/virtual/input/input31
[    4.410496] rc rc4: lirc_dev: driver ir-lirc-codec (dvb_usb_rtl28xxu) registered at minor = 3
[    4.410502] usb 3-4: dvb_usb_v2: schedule remote query interval to 400 msecs
[    4.422763] usb 3-4: dvb_usb_v2: 'DigitalNow Quad DVB-T Receiver' successfully initialized and connected
[    4.422827] usbcore: registered new interface driver dvb_usb_rtl28xxu

If there's anything else I can tell you that would help, please let me know.

Thanks,
Demonacle

demonacle 05-13-2015 05:21 PM

Something from the logs:

mythbackend log on startup:
Code:

-- Logs begin at Wed 2015-05-06 07:33:34 AEST, end at Thu 2015-05-14 08:01:13 AEST. --
May 14 08:00:37 sabayonx86-64 systemd[1]: Started MythTV backend service.
May 14 08:00:37 sabayonx86-64 systemd[1]: Starting MythTV backend service...
May 14 08:00:38 sabayonx86-64 mythbackend[4488]: 2015-05-14 08:00:38.370208 C  mythbackend version: tag: v0.27.4 [e4f65c8] www.mythtv.org
May 14 08:00:38 sabayonx86-64 mythbackend[4488]: 2015-05-14 08:00:38.370248 C  Qt version: compile: 4.8.6, runtime: 4.8.6
May 14 08:00:38 sabayonx86-64 mythbackend[4488]: 2015-05-14 08:00:38.370260 N  Enabled verbose msgs:  general
May 14 08:00:38 sabayonx86-64 mythbackend[4488]: 2015-05-14 08:00:38.370274 N  Setting Log Level to LOG_NOTICE
May 14 08:00:38 sabayonx86-64 mythbackend[4488]: 2015-05-14 08:00:38.379443 N  Using runtime prefix = /usr
May 14 08:00:38 sabayonx86-64 mythbackend[4488]: 2015-05-14 08:00:38.379466 N  Read conf dir = /etc/mythtv
May 14 08:00:38 sabayonx86-64 mythbackend[4488]: 2015-05-14 08:00:38.379492 N  Using configuration directory = /etc/mythtv
May 14 08:00:38 sabayonx86-64 mythbackend[4488]: 2015-05-14 08:00:38.381547 W  This application expects to be running a locale that specifies a UTF-8 codeset, and many features may behave improperly with your current language settings.
May 14 08:00:38 sabayonx86-64 mythbackend[4488]: 2015-05-14 08:00:38.387234 N  Empty LocalHostName.
May 14 08:00:38 sabayonx86-64 mythbackend[4488]: 2015-05-14 08:00:38.503749 N  Setting QT default locale to en_AU
May 14 08:00:38 sabayonx86-64 mythbackend[4488]: 2015-05-14 08:00:38.506289 E  No locale defaults file for en_AU, skipping
May 14 08:00:38 sabayonx86-64 mythbackend[4488]: 2015-05-14 08:00:38.542243 N  MythBackend: Starting up as the master server.
May 14 08:00:38 sabayonx86-64 mythbackend[4488]: 2015-05-14 08:00:38.551476 E  Card 4 does not have a hostname defined.
May 14 08:00:38 sabayonx86-64 mythbackend[4488]: Please run setup and confirm all of the capture cards.
May 14 08:00:48 sabayonx86-64 mythbackend[4488]: 2015-05-14 08:00:48.128629 N  MediaServer:: Loopback address specified - 127.0.0.1. Disabling UPnP
May 14 08:00:48 sabayonx86-64 mythbackend[4488]: 2015-05-14 08:00:48.141315 E  AutoExpire: Filesystem Info cache is empty, unable to calculate necessary parameters.

In particular, 'Card 4 does not have a hostname defined.'

How and where do I define that hostname.

also mythtv-setup console log has this when I try to channel scan:
Code:

2015-05-14 08:09:05.660683 E  DVBChan[29](/dev/dvb/adapter0/frontend0): Getting Frontend uncorrected block count failed.
                        eno: Operation not supported (95)
2015-05-14 08:09:05.660703 W  DVBSigMon[-1](/dev/dvb/adapter0/frontend0): Cannot count Uncorrected Blocks
                        eno: Operation not supported (95)

Signal strength is fine, and as I said it was working previously.

Thanks again

demonacle 05-15-2015 12:56 AM

Well, that's annoying.

The DVB tuner uses a usb 2.0 interface on a PCIe card. So any user attempting to use those cards has to be in the usb and/or plugdev groups (I added them both, you may not need to) as well as video.

Added mythtv user to those groups, and now it can access the cards to record.

Thanks.


All times are GMT -5. The time now is 09:01 AM.