Although option 2 (see below) seemed less of a hack i only got option 1 to work:
Option 1: Blacklisting some of the drivers then activating later in boot:
edit this file;
nano /etc/modprobe.d/blacklist.conf
adding
#stop the Hauppauge S2 video card loading before
#TBS T2 card has assigned its adaptor numbers:
blacklist cx8800
blacklist cx8802
blacklist cx88-alsa
then add 'modprobe [the above listed modules]' to the file /etc/rc.local which will be activated a few moments after the TBS drivers have loaded
#!/bin/sh -e
# rc.local
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
# In order to enable or disable this script just change the execution
# bits.
# By default this script does nothing.
modprobe cx8800
modprobe cx8802
modprobe cx88-alsa
exit 0
I have done back up copies of these two files: //server//home/markp/techincal/mythtv for future builds
This shows the names of the modules that are associated with pci hardware:
lspci -vnn
e.g. after compiling the TBS driver (see other posting):
04:00.0 Multimedia controller [0480]: Philips Semiconductors SAA7160 [1131:7160] (rev 03)
Subsystem: Device [6280:0011]
Flags: bus master, fast devsel, latency 0, IRQ 19
Memory at ef000000 (64-bit, non-prefetchable) [size=1M]
Capabilities: [40] MSI: Enable- Count=1/32 Maskable- 64bit+
Capabilities: [50] Express Endpoint, MSI 00
Capabilities: [74] Power Management version 2
Capabilities: [80] Vendor Specific Information: Len=50 <?>
Capabilities: [100] Vendor Specific Information: ID=0000 Rev=0 Len=088 <?>
Kernel driver in use: SAA716x TBS
Kernel modules: saa716x_tbs-dvb
http://ubuntuforums.org/showthread.php?t=1311795&page=2
Option 2: Would this work?
create a /etc/modprobe.d/options-dvb.conf file
# TBS6280 PCI-e DVB-t2
options saa716x_tbs-dvb adapter_nr=0,1
Nope, resulted in only Nova S2 being seen and adaptor no.s v strange
I use a TBS6280 & TBS6981. To ensure a consistent name for each device, I create device files in udev by matching with the kernel module parameters. You can find these with udevadm as seen below. Apologies if line breaks are garbled. Hope that helps.
ReplyDelete# Identify serial nos etc for a Device call
# udevadm info -a -p $(udevadm info -q path -n /dev/dvb/adapter0/frontend0)
# Create symlinks for TBS DVB-T2 card
SUBSYSTEM=="dvb", ATTRS{subsystem_vendor}=="0x6280", PROGRAM="/usr/bin/perl -e '$_=q{%k}; /([a-z]+(\d))\.([a-z]+(\d))/; $n=$2%2; print qq{dvb/adapter-tbs6280/tuner-$n/$3};'" NAME="%c"
# Create symlinks for TBS DVB-S2 card
SUBSYSTEM=="dvb", ATTRS{subsystem_vendor}=="0x6981", PROGRAM="/usr/bin/perl -e '$_=q{%k}; /([a-z]+(\d))\.([a-z]+(\d))/; $n=$2%2; print qq{dvb/adapter-tbs6981/tuner-$n/$3};'" NAME="%c"