[Plugin] Linuxserver.io - Unraid DVB


Recommended Posts

13 hours ago, du.perin said:

No luck with rc3 too

modprobe: FATAL: Module CX23885 not found in directory /lib/modules/4.18.7-unRAID

 

now back to 6.5.3 and the card is working properly again. however the modprobe shows the same error ?!?!

modprobe: FATAL: Module CX23885 not found in directory /lib/modules/4.14.49-unRAID

 

Currently Installed Build
unRAID Version: 6.5.3
Linux Kernel Version:  4.14.49
DVB Version: LibreELEC
Driver Version: 1.2.2
DVB Kernel: Detected
DVB Adapter Drivers:  Detected
DVB Adapter 0: Silicon Labs Si2168
DVB Adapter 1: Silicon Labs Si2168
DVB Adapter 2: Silicon Labs Si2168
DVB Adapter 3: Silicon Labs Si2168

 

I've recompiled and updated the builds.  Can you try RC4 again, don't ask me why but I have a sneaky suspicion it won't solve your issue.  Might be wrong but I think it's more than me making the same error twice.

2018-09-19_12-24.png.15ceb4303ec91d38f13c0bffd3e96c76.png2018-09-19_12-27.png.f439719614015c894e749f59d1dc5a5c.png

  • Like 1
Link to comment
23 minutes ago, CHBMB said:

That's weird.  What card have you got?

Hauppauge 1607 Wintv-Quadhd Pcie Tv Receiver

 

lspci -v

Multimedia video controller: Conexant Systems, Inc. CX23885 PCI Video and Audio Decoder (rev 04)
Subsystem: Hauppauge computer works Inc. CX23885 PCI Video and Audio Decoder
Flags: bus master, fast devsel, latency 0, IRQ 44
Memory at fe800000 (64-bit, non-prefetchable) Capabilities: [40] Express Endpoint, MSI 00
Capabilities: [80] Power Management version 2
Capabilities: [90] Vital Product Data
Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [100] Advanced Error Reporting
Capabilities: [200] Virtual Channel
Kernel driver in use: cx23885
Kernel modules: cx23885

 

unRAID Version: 6.5.3
Linux Kernel Version: 4.14.49
DVB Version: LibreELEC
Driver Version: 1.2.2
DVB Kernel: Detected
DVB Adapter Drivers: Detected
DVB Adapter 0: Silicon Labs Si2168
DVB Adapter 1: Silicon Labs Si2168
DVB Adapter 2: Silicon Labs Si2168
DVB Adapter 3: Silicon Labs Si2168
   
Edited by du.perin
Link to comment

@du.perin it looks like cx23885 is missing when the kernel compiles despite being selected as a module.  Tried three times now to ensure it's not a PEBKAC error, log doesn't show any attempt at building it and /lib/modules/4.18.8-unRAID/kernel/drivers/media/pci/cx23885/ doesn't exist.

 

2018-09-19_22-47.png.e187e312607be51ae08d7ffed3e89740.png

 

Scouring the log of the compilation doesn't seem to show any mention of it that I can see.  You can take a look here.

 

Looking at the kernel bug list, the only one I can find that may be relevant is this one, but I'm unconvinced that's the issue as it's a crash on unloading and it's a bit tricky to unload something that isn't present.....

 

Long and the short of it, I haven't got a clue what the issue is and have asked one of the LibreELEC experts for his opinion (Always my go-to guy for this sort of thing)

 

In the meantime I don't think there's much else I can suggest, the only thing I wondered is if it might be an idea to try the CrazyCat build as it's from a different tree, and there's an outside chance it might work.

 

EDIT: Had a look, it's not in that build either.

 

If anyone else has any ideas I'm all ears.

 

Edited by CHBMB
  • Like 1
Link to comment

Hi guys,

 

I've recently picked up a TBS 6209 PCIe card & I'm having problems using it with the unRAID DVB Edition builds. I've tried both the open source and CrazyCat builds, up to the latest 6.6.0 RC. The card is detected with all tuners available, but any attempts to scan for channels fail.

 

After contacting TBS support, they've sent me a link to a new package to try (http://www.tbsdtv.com/download/document/linux/media_build-2018-0822.tar.bz2). I'm fine with building the package myself; is it possible to install these drivers into an existing installation of unRAID so they survive a reboot?

 

Thanks!

Link to comment
6 hours ago, jam said:

Hi guys,

 

I've recently picked up a TBS 6209 PCIe card & I'm having problems using it with the unRAID DVB Edition builds. I've tried both the open source and CrazyCat builds, up to the latest 6.6.0 RC. The card is detected with all tuners available, but any attempts to scan for channels fail.

 

After contacting TBS support, they've sent me a link to a new package to try (http://www.tbsdtv.com/download/document/linux/media_build-2018-0822.tar.bz2). I'm fine with building the package myself; is it possible to install these drivers into an existing installation of unRAID so they survive a reboot?

 

Thanks!

Yes, but you know that's the mediabuild I use for the opensource builds don't you?

Link to comment

@du.perin

 

Success!

 

Linux 4.18.8-unRAID.
root@matrix:~# modinfo cx23885
filename:       /lib/modules/4.18.8-unRAID/kernel/drivers/media/pci/cx23885/cx23885.ko.xz
license:        GPL
author:         Steven Toth <[email protected]>
description:    v4l2 driver module for cx23885 based TV cards
version:        0.0.4
license:        GPL
author:         Steven Toth <[email protected]>
description:    Driver for cx23885 based TV cards
firmware:       v4l-cx23885-enc.fw
srcversion:     8ADC71FA648F7640112C8A7
alias:          pci:v000014F1d00008880sv*sd*bc*sc*i*
alias:          pci:v000014F1d00008852sv*sd*bc*sc*i*
depends:        videobuf2-v4l2,videodev,altera-ci,v4l2-common,snd-pcm,tveeprom,i2c-core,cx2341x,videobuf2-dvb,dvb-core,videobuf2-common,snd,tda18271,altera-stapl,videobuf2-dma-sg,m88ds3103
retpoline:      Y
intree:         Y
name:           cx23885
vermagic:       4.18.8-unRAID SMP mod_unload 
parm:           disable_analog_audio:disable analog audio ALSA driver (int)
parm:           audio_debug:enable debug messages [analog audio] (int)
parm:           ci_dbg:Enable CI debugging (int)
parm:           ci_irq_enable:Enable IRQ from CAM (int)
parm:           ir_888_debug:enable debug messages [CX23888 IR controller] (int)
parm:           mpegbufs:number of mpeg buffers, range 2-32 (int)
parm:           mpeglines:number of lines in an MPEG buffer, range 2-32 (int)
parm:           mpeglinesize:number of bytes in each line of an MPEG buffer, range 512-1024 (int)
parm:           v4l_debug:enable V4L debug messages (int)
parm:           alt_tuner:Enable alternate tuner configuration (int)
parm:           adapter_nr:DVB adapter numbers (array of short)
parm:           i2c_debug:enable debug messages [i2c] (int)
parm:           i2c_scan:scan i2c bus at insmod time (int)
parm:           debug:enable debug messages (int)
parm:           card:card type (array of int)
parm:           vbibufs:number of vbi buffers, range 2-32 (int)
parm:           vbi_debug:enable debug messages [vbi] (int)
parm:           video_nr:video device numbers (array of int)
parm:           vbi_nr:vbi device numbers (array of int)
parm:           video_debug:enable debug messages [video] (int)
parm:           irq_debug:enable debug messages [IRQ handler] (int)
parm:           vid_limit:capture memory limit in megabytes (int)
parm:           netup_card_rev:NetUP Dual DVB-T/C CI card revision (int)
parm:           enable_885_ir:Enable integrated IR controller for supported
		    CX2388[57] boards that are wired for it:
			HVR-1250 (reported safe)
			TerraTec Cinergy T PCIe Dual (not well tested, appears to be safe)
			TeVii S470 (reported unsafe)
		    This can cause an interrupt storm with some cards.
		    Default: 0 [Disabled] (int)
root@matrix:~# 

Turns out cx2388x isn't the correct module at all, it's a completely different module to cx23885.  I hadn't activated a prerequisite for cx23885 to appear.  My bad, got some help from LibreELEC and got to say, don't think I would have spotted it without a second pair of eye.  v6.6.0 builds all updated now.

 

CrazyCat has removed his linux_media repo again, so I've done his build against the vanilla TBS linux_media.  Should work ok.  

  • Like 1
  • Upvote 1
Link to comment
1 hour ago, CHBMB said:

@du.perin

 

Success!

 


Linux 4.18.8-unRAID.
root@matrix:~# modinfo cx23885
filename:       /lib/modules/4.18.8-unRAID/kernel/drivers/media/pci/cx23885/cx23885.ko.xz
license:        GPL
author:         Steven Toth <[email protected]>
description:    v4l2 driver module for cx23885 based TV cards
version:        0.0.4
license:        GPL
author:         Steven Toth <[email protected]>
description:    Driver for cx23885 based TV cards
firmware:       v4l-cx23885-enc.fw
srcversion:     8ADC71FA648F7640112C8A7
alias:          pci:v000014F1d00008880sv*sd*bc*sc*i*
alias:          pci:v000014F1d00008852sv*sd*bc*sc*i*
depends:        videobuf2-v4l2,videodev,altera-ci,v4l2-common,snd-pcm,tveeprom,i2c-core,cx2341x,videobuf2-dvb,dvb-core,videobuf2-common,snd,tda18271,altera-stapl,videobuf2-dma-sg,m88ds3103
retpoline:      Y
intree:         Y
name:           cx23885
vermagic:       4.18.8-unRAID SMP mod_unload 
parm:           disable_analog_audio:disable analog audio ALSA driver (int)
parm:           audio_debug:enable debug messages [analog audio] (int)
parm:           ci_dbg:Enable CI debugging (int)
parm:           ci_irq_enable:Enable IRQ from CAM (int)
parm:           ir_888_debug:enable debug messages [CX23888 IR controller] (int)
parm:           mpegbufs:number of mpeg buffers, range 2-32 (int)
parm:           mpeglines:number of lines in an MPEG buffer, range 2-32 (int)
parm:           mpeglinesize:number of bytes in each line of an MPEG buffer, range 512-1024 (int)
parm:           v4l_debug:enable V4L debug messages (int)
parm:           alt_tuner:Enable alternate tuner configuration (int)
parm:           adapter_nr:DVB adapter numbers (array of short)
parm:           i2c_debug:enable debug messages [i2c] (int)
parm:           i2c_scan:scan i2c bus at insmod time (int)
parm:           debug:enable debug messages (int)
parm:           card:card type (array of int)
parm:           vbibufs:number of vbi buffers, range 2-32 (int)
parm:           vbi_debug:enable debug messages [vbi] (int)
parm:           video_nr:video device numbers (array of int)
parm:           vbi_nr:vbi device numbers (array of int)
parm:           video_debug:enable debug messages [video] (int)
parm:           irq_debug:enable debug messages [IRQ handler] (int)
parm:           vid_limit:capture memory limit in megabytes (int)
parm:           netup_card_rev:NetUP Dual DVB-T/C CI card revision (int)
parm:           enable_885_ir:Enable integrated IR controller for supported
		    CX2388[57] boards that are wired for it:
			HVR-1250 (reported safe)
			TerraTec Cinergy T PCIe Dual (not well tested, appears to be safe)
			TeVii S470 (reported unsafe)
		    This can cause an interrupt storm with some cards.
		    Default: 0 [Disabled] (int)
root@matrix:~# 

Turns out cx2388x isn't the correct module at all, it's a completely different module to cx23885.  I hadn't activated a prerequisite for cx23885 to appear.  My bad, got some help from LibreELEC and got to say, don't think I would have spotted it without a second pair of eye.  v6.6.0 builds all updated now.

 

CrazyCat has removed his linux_media repo again, so I've done his build against the vanilla TBS linux_media.  Should work ok.  

omg, thanks so much for your efforts on this. I really appreciate all your help - I know you had to go out of your way to get this information. Going to try it later and let you know.

Link to comment
[mention=6219]CHBMB[/mention]
Can't thank you enough. TWO issues fixed with the latest release 
Card is working properly and the "cx23885.debug" setting is not needed anymore (workaround mentioned by [mention=61960]Zan[/mention] few weeks ago)
Good to hear, sorry about the hassle, PEBKAC error. Can't claim credit for the second issue, that's a kernel fix I think.

Thanks for testing and providing all the info.

Sent from my Mi A1 using Tapatalk

Link to comment

Hmmm, installed 6.6.0 Open Source tonight, but afterwards my cards (both TBS 6205) wouldn't tune in tvheadend. Have reverted to 6.5.3 and all back on. Any pointers would be appreciated.

Currently Installed Build
unRAID Version:	6.6.0
Linux Kernel Version:	4.18.8
DVB Version:	TBS (Open Source) & LibreELEC ATSC-C, DVB-C, DVB-S(2) & DVB-T(2)
Driver Version:	200918
DVB Kernel:	Detected
DVB Adapter Drivers:	Detected
DVB Adapter 0:	TurboSight TBS 6205 DVB-T/T2/C
DVB Adapter 1:	TurboSight TBS 6205 DVB-T/T2/C
DVB Adapter 2:	TurboSight TBS 6205 DVB-T/T2/C
DVB Adapter 3:	TurboSight TBS 6205 DVB-T/T2/C
DVB Adapter 4:	TurboSight TBS 6205 DVB-T/T2/C
DVB Adapter 5:	TurboSight TBS 6205 DVB-T/T2/C
DVB Adapter 6:	TurboSight TBS 6205 DVB-T/T2/C
DVB Adapter 7:	TurboSight TBS 6205 DVB-T/T2/C
lspci -v

04:00.0 Multimedia controller: TBS Technologies DVB-S2 4 Tuner PCIe Card
        Subsystem: TBS Technologies (wrong ID) TBS6205 DVB-T2/T/C Quad TV Tuner PCIe Card
        Flags: bus master, fast devsel, latency 0, IRQ 146
        Memory at df300000 (32-bit, non-prefetchable) [size=256K]
        Capabilities: [50] Power Management version 3
        Capabilities: [70] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [90] Express Endpoint, MSI 00
        Capabilities: [100] Device Serial Number 00-00-00-00-00-00-00-00
        Kernel driver in use: TBSECP3 driver
        Kernel modules: tbsecp3

06:00.0 Multimedia controller: TBS Technologies DVB-S2 4 Tuner PCIe Card
        Subsystem: TBS Technologies (wrong ID) TBS6205 DVB-T2/T/C Quad TV Tuner PCIe Card
        Flags: bus master, fast devsel, latency 0, IRQ 147
        Memory at df100000 (32-bit, non-prefetchable) [size=256K]
        Capabilities: [50] Power Management version 3
        Capabilities: [70] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [90] Express Endpoint, MSI 00
        Capabilities: [100] Device Serial Number 00-00-00-00-00-00-00-00
        Kernel driver in use: TBSECP3 driver
        Kernel modules: tbsecp3

TVHE log:

https://pastebin.com/J94drZx9

 

Edited by Rick Gillyon
Link to comment

Hello,

this morning I've been trying to upgrade to 6.6.0 and I can't get my tuner working. As per usual, I started by installing the TBS open source build, but there don't seem to be any firmware files included, which seems odd.

ls /lib/firmware
bnx2   isci               ctfw-3.2.5.1.bin           phanfw.bin          qat_c62x_mmp.bin
bnx2x  rtl_nic            dvb-fe-cx24117.fw          qat_895xcc.bin      unraid-media
cxgb3  tehuti             myri10ge_eth_z8e.dat       qat_895xcc_mmp.bin
cxgb4  tigon              myri10ge_ethp_z8e.dat      qat_c3xxx.bin
e100   ast_dp501_fw.bin   myri10ge_rss_eth_z8e.dat   qat_c3xxx_mmp.bin
i915   ct2fw-3.2.5.1.bin  myri10ge_rss_ethp_z8e.dat  qat_c62x.bin

Just copying the firmware file does't work either.

cp /mnt/user/misc/tbs-linux-drivers_v170330/dvb-usb-tbsqbox-id5923.fw /lib/firmware
cp: cannot create regular file '/lib/firmware/dvb-usb-tbsqbox-id5923.fw': Read-only file system

After this I've also tried the Crazy Cat (I used this one in past with success) build and the LibreELEC and while they do seem to have all the firmware files included, they don't seem to recognize the tuner at all. Am I doing something wrong here?

 

Any help would be appreciated, I'm kinda lost here.

Link to comment

@CHBMB did you change between RC4 and the full release?  I've just realised I've got no TV signal and just double-checking before I rollback.  Everything was definitely ok with RC4 TBS.

 

Thanks


Edit:  Just seen that RC4 isn't in the build list, will try 6.53

Edited by DZMM
Link to comment

Tried to update to 6.6.0 LibreELEC but got DVB Adapter Drivers: Not Detected for my Sony PlayTV.

 

Went back to 6.5.3 and it's working as expected:

unRAID Version: 6.5.3
Linux Kernel Version: 4.14.49
DVB Version: LibreELEC
Driver Version: 1.2.2
DVB Kernel: Detected
DVB Adapter Drivers: Detected
DVB Adapter 0: DiBcom 7000PC
DVB Adapter 1: DiBcom 7000PC

 

 

Missing drivers?

 

Link to comment
  • Squid locked this topic
Guest
This topic is now closed to further replies.