marcusbirkin / BGT3xxx

Blackgold 3xxx Linux Drivers
GNU Lesser General Public License v2.1
9 stars 5 forks source link

Only DVB-S no DVB-T #6

Closed BloomSN closed 8 years ago

BloomSN commented 8 years ago

Hey,

i was just wondering if you would know how to enable DVB-T support; set up driver for DVB-T chips? Only (STV090x Multistandard) are showing on lsdvb but not sony ones.

Any idea?

Thanks

marcusbirkin commented 8 years ago

Which card do you have? What is the output from: lsdvb lspci lspci -vn lsmod

BloomSN commented 8 years ago

Hi, first of all thanks for your quick reply.

I have BGT3600 model.

root@SIWS0003:~# lsdvb

        lsdvb: Simple utility to list PCI/PCIe DVB devices
        Version: 0.0.4
        Copyright (C) Manu Abraham

SAA7231 (1131:7231 14:3595) on PCI Domain:0 Bus:0 Device:0 Function:0
    DEVICE:0 ADAPTER:0 FRONTEND:0 (STV090x Multistandard) 
         FE_QPSK Fmin=950MHz Fmax=2150MHz
    DEVICE:0 ADAPTER:1 FRONTEND:0 (STV090x Multistandard) 
         FE_QPSK Fmin=950MHz Fmax=2150MHz
root@SIWS0003:~# lspci
00:00.0 Host bridge: Intel Corporation Haswell-E DMI2 (rev 02)
00:01.0 PCI bridge: Intel Corporation Haswell-E PCI Express Root Port 1 (rev 02)
00:01.1 PCI bridge: Intel Corporation Haswell-E PCI Express Root Port 1 (rev 02)
00:02.0 PCI bridge: Intel Corporation Haswell-E PCI Express Root Port 2 (rev 02)
00:03.0 PCI bridge: Intel Corporation Haswell-E PCI Express Root Port 3 (rev 02)
00:05.0 System peripheral: Intel Corporation Haswell-E Address Map, VTd_Misc, System Management (rev 02)
00:05.1 System peripheral: Intel Corporation Haswell-E Hot Plug (rev 02)
00:05.2 System peripheral: Intel Corporation Haswell-E RAS, Control Status and Global Errors (rev 02)
00:05.4 PIC: Intel Corporation Haswell-E I/O Apic (rev 02)
00:11.0 Unassigned class [ff00]: Intel Corporation Wellsburg SPSR (rev 05)
00:11.4 SATA controller: Intel Corporation Wellsburg sSATA Controller [AHCI mode] (rev 05)
00:14.0 USB controller: Intel Corporation Wellsburg USB xHCI Host Controller (rev 05)
00:16.0 Communication controller: Intel Corporation Wellsburg MEI Controller #1 (rev 05)
00:16.2 IDE interface: Intel Corporation Wellsburg IDE-r Controller (rev 05)
00:16.3 Serial controller: Intel Corporation Wellsburg KT Controller (rev 05)
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection (2) I218-LM (rev 05)
00:1a.0 USB controller: Intel Corporation Wellsburg USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation Wellsburg HD Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation Wellsburg PCI Express Root Port #1 (rev d5)
00:1c.1 PCI bridge: Intel Corporation Wellsburg PCI Express Root Port #2 (rev d5)
00:1c.4 PCI bridge: Intel Corporation Wellsburg PCI Express Root Port #5 (rev d5)
00:1d.0 USB controller: Intel Corporation Wellsburg USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation Wellsburg LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation Wellsburg 6-Port SATA Controller [AHCI mode] (rev 05)
00:1f.3 SMBus: Intel Corporation Wellsburg SMBus Controller (rev 05)
00:1f.6 Signal processing controller: Intel Corporation Wellsburg Thermal Subsystem (rev 05)
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Caicos [Radeon HD 6450/7450/8450 / R5 230 OEM]
03:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Caicos HDMI Audio [Radeon HD 6400 Series]
06:00.0 PCI bridge: Integrated Technology Express, Inc. Device 8893 (rev 41)
08:00.0 PCI bridge: PLX Technology, Inc. Device 8603 (rev ab)
09:01.0 PCI bridge: PLX Technology, Inc. Device 8603 (rev ab)
09:02.0 PCI bridge: PLX Technology, Inc. Device 8603 (rev ab)
0a:00.0 Multimedia controller: Philips Semiconductors SAA7231 (rev aa)
0b:00.0 Multimedia controller: Philips Semiconductors SAA7231 (rev aa)
ff:0b.0 System peripheral: Intel Corporation Haswell-E R3 QPI Link 0 & 1 Monitoring (rev 02)
ff:0b.1 Performance counters: Intel Corporation Haswell-E R3 QPI Link 0 & 1 Monitoring (rev 02)
ff:0b.2 Performance counters: Intel Corporation Haswell-E R3 QPI Link 0 & 1 Monitoring (rev 02)
ff:0c.0 System peripheral: Intel Corporation Haswell-E Unicast Registers (rev 02)
ff:0c.1 System peripheral: Intel Corporation Haswell-E Unicast Registers (rev 02)
ff:0c.2 System peripheral: Intel Corporation Haswell-E Unicast Registers (rev 02)
ff:0c.3 System peripheral: Intel Corporation Haswell-E Unicast Registers (rev 02)
ff:0f.0 System peripheral: Intel Corporation Haswell-E Buffered Ring Agent (rev 02)
ff:0f.1 System peripheral: Intel Corporation Haswell-E Buffered Ring Agent (rev 02)
ff:0f.4 System peripheral: Intel Corporation Haswell-E System Address Decoder & Broadcast Registers (rev 02)
ff:0f.5 System peripheral: Intel Corporation Haswell-E System Address Decoder & Broadcast Registers (rev 02)
ff:0f.6 System peripheral: Intel Corporation Haswell-E System Address Decoder & Broadcast Registers (rev 02)
ff:10.0 System peripheral: Intel Corporation Haswell-E PCIe Ring Interface (rev 02)
ff:10.1 Performance counters: Intel Corporation Haswell-E PCIe Ring Interface (rev 02)
ff:10.5 System peripheral: Intel Corporation Haswell-E Scratchpad & Semaphore Registers (rev 02)
ff:10.6 Performance counters: Intel Corporation Haswell-E Scratchpad & Semaphore Registers (rev 02)
ff:10.7 System peripheral: Intel Corporation Haswell-E Scratchpad & Semaphore Registers (rev 02)
ff:12.0 System peripheral: Intel Corporation Haswell-E Home Agent 0 (rev 02)
ff:12.1 Performance counters: Intel Corporation Haswell-E Home Agent 0 (rev 02)
ff:13.0 System peripheral: Intel Corporation Haswell-E Integrated Memory Controller 0 Target Address, Thermal & RAS Registers (rev 02)
ff:13.1 System peripheral: Intel Corporation Haswell-E Integrated Memory Controller 0 Target Address, Thermal & RAS Registers (rev 02)
ff:13.2 System peripheral: Intel Corporation Haswell-E Integrated Memory Controller 0 Channel Target Address Decoder (rev 02)
ff:13.3 System peripheral: Intel Corporation Haswell-E Integrated Memory Controller 0 Channel Target Address Decoder (rev 02)
ff:13.4 System peripheral: Intel Corporation Haswell-E Integrated Memory Controller 0 Channel Target Address Decoder (rev 02)
ff:13.5 System peripheral: Intel Corporation Haswell-E Integrated Memory Controller 0 Channel Target Address Decoder (rev 02)
ff:13.6 System peripheral: Intel Corporation Haswell-E DDRIO Channel 0/1 Broadcast (rev 02)
ff:13.7 System peripheral: Intel Corporation Haswell-E DDRIO Global Broadcast (rev 02)
ff:14.0 System peripheral: Intel Corporation Haswell-E Integrated Memory Controller 0 Channel 0 Thermal Control (rev 02)
ff:14.1 System peripheral: Intel Corporation Haswell-E Integrated Memory Controller 0 Channel 1 Thermal Control (rev 02)
ff:14.2 System peripheral: Intel Corporation Haswell-E Integrated Memory Controller 0 Channel 0 ERROR Registers (rev 02)
ff:14.3 System peripheral: Intel Corporation Haswell-E Integrated Memory Controller 0 Channel 1 ERROR Registers (rev 02)
ff:14.6 System peripheral: Intel Corporation Haswell-E DDRIO (VMSE) 0 & 1 (rev 02)
ff:14.7 System peripheral: Intel Corporation Haswell-E DDRIO (VMSE) 0 & 1 (rev 02)
ff:15.0 System peripheral: Intel Corporation Haswell-E Integrated Memory Controller 0 Channel 2 Thermal Control (rev 02)
ff:15.1 System peripheral: Intel Corporation Haswell-E Integrated Memory Controller 0 Channel 3 Thermal Control (rev 02)
ff:15.2 System peripheral: Intel Corporation Haswell-E Integrated Memory Controller 0 Channel 2 ERROR Registers (rev 02)
ff:15.3 System peripheral: Intel Corporation Haswell-E Integrated Memory Controller 0 Channel 3 ERROR Registers (rev 02)
ff:16.0 System peripheral: Intel Corporation Haswell-E Integrated Memory Controller 1 Target Address, Thermal & RAS Registers (rev 02)
ff:16.6 System peripheral: Intel Corporation Haswell-E DDRIO Channel 2/3 Broadcast (rev 02)
ff:16.7 System peripheral: Intel Corporation Haswell-E DDRIO Global Broadcast (rev 02)
ff:17.0 System peripheral: Intel Corporation Haswell-E Integrated Memory Controller 1 Channel 0 Thermal Control (rev 02)
ff:17.4 System peripheral: Intel Corporation Haswell-E DDRIO (VMSE) 2 & 3 (rev 02)
ff:17.5 System peripheral: Intel Corporation Haswell-E DDRIO (VMSE) 2 & 3 (rev 02)
ff:17.6 System peripheral: Intel Corporation Haswell-E DDRIO (VMSE) 2 & 3 (rev 02)
ff:17.7 System peripheral: Intel Corporation Haswell-E DDRIO (VMSE) 2 & 3 (rev 02)
ff:1e.0 System peripheral: Intel Corporation Haswell-E Power Control Unit (rev 02)
ff:1e.1 System peripheral: Intel Corporation Haswell-E Power Control Unit (rev 02)
ff:1e.2 System peripheral: Intel Corporation Haswell-E Power Control Unit (rev 02)
ff:1e.3 System peripheral: Intel Corporation Haswell-E Power Control Unit (rev 02)
ff:1e.4 System peripheral: Intel Corporation Haswell-E Power Control Unit (rev 02)
ff:1f.0 System peripheral: Intel Corporation Haswell-E VCU (rev 02)
ff:1f.2 System peripheral: Intel Corporation Haswell-E VCU (rev 02)
root@SIWS0003:~# lspci -vn
00:00.0 0600: 8086:2f00 (rev 02)
    Subsystem: 17aa:102f
    Flags: fast devsel
    Capabilities: [90] Express Root Port (Slot-), MSI 00
    Capabilities: [e0] Power Management version 3
    Capabilities: [100] Vendor Specific Information: ID=0002 Rev=0 Len=00c <?>
    Capabilities: [144] Vendor Specific Information: ID=0004 Rev=1 Len=03c <?>
    Capabilities: [1d0] Vendor Specific Information: ID=0003 Rev=1 Len=00a <?>
    Capabilities: [280] Vendor Specific Information: ID=0005 Rev=3 Len=018 <?>
    Capabilities: [300] Vendor Specific Information: ID=0008 Rev=0 Len=038 <?>

00:01.0 0604: 8086:2f02 (rev 02) (prog-if 00 [Normal decode])
    Flags: bus master, fast devsel, latency 0
    Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
    Capabilities: [40] Subsystem: 8086:0000
    Capabilities: [60] MSI: Enable+ Count=1/2 Maskable+ 64bit-
    Capabilities: [90] Express Root Port (Slot+), MSI 00
    Capabilities: [e0] Power Management version 3
    Capabilities: [100] Vendor Specific Information: ID=0002 Rev=0 Len=00c <?>
    Capabilities: [110] Access Control Services
    Capabilities: [148] Advanced Error Reporting
    Capabilities: [1d0] Vendor Specific Information: ID=0003 Rev=1 Len=00a <?>
    Capabilities: [250] #19
    Capabilities: [280] Vendor Specific Information: ID=0005 Rev=3 Len=018 <?>
    Capabilities: [300] Vendor Specific Information: ID=0008 Rev=0 Len=038 <?>
    Kernel driver in use: pcieport

00:01.1 0604: 8086:2f03 (rev 02) (prog-if 00 [Normal decode])
    Flags: bus master, fast devsel, latency 0
    Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
    Capabilities: [40] Subsystem: 8086:0000
    Capabilities: [60] MSI: Enable+ Count=1/2 Maskable+ 64bit-
    Capabilities: [90] Express Root Port (Slot+), MSI 00
    Capabilities: [e0] Power Management version 3
    Capabilities: [100] Vendor Specific Information: ID=0002 Rev=0 Len=00c <?>
    Capabilities: [110] Access Control Services
    Capabilities: [148] Advanced Error Reporting
    Capabilities: [1d0] Vendor Specific Information: ID=0003 Rev=1 Len=00a <?>
    Capabilities: [250] #19
    Capabilities: [280] Vendor Specific Information: ID=0005 Rev=3 Len=018 <?>
    Capabilities: [300] Vendor Specific Information: ID=0008 Rev=0 Len=038 <?>
    Kernel driver in use: pcieport

00:02.0 0604: 8086:2f04 (rev 02) (prog-if 00 [Normal decode])
    Flags: bus master, fast devsel, latency 0
    Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
    I/O behind bridge: 0000e000-0000efff
    Memory behind bridge: fbd00000-fbdfffff
    Prefetchable memory behind bridge: 00000000e0000000-00000000efffffff
    Capabilities: [40] Subsystem: 8086:0000
    Capabilities: [60] MSI: Enable+ Count=1/2 Maskable+ 64bit-
    Capabilities: [90] Express Root Port (Slot+), MSI 00
    Capabilities: [e0] Power Management version 3
    Capabilities: [100] Vendor Specific Information: ID=0002 Rev=0 Len=00c <?>
    Capabilities: [110] Access Control Services
    Capabilities: [148] Advanced Error Reporting
    Capabilities: [1d0] Vendor Specific Information: ID=0003 Rev=1 Len=00a <?>
    Capabilities: [250] #19
    Capabilities: [280] Vendor Specific Information: ID=0005 Rev=3 Len=018 <?>
    Capabilities: [300] Vendor Specific Information: ID=0008 Rev=0 Len=038 <?>
    Kernel driver in use: pcieport

00:03.0 0604: 8086:2f08 (rev 02) (prog-if 00 [Normal decode])
    Flags: bus master, fast devsel, latency 0
    Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
    Capabilities: [40] Subsystem: 8086:0000
    Capabilities: [60] MSI: Enable+ Count=1/2 Maskable+ 64bit-
    Capabilities: [90] Express Root Port (Slot+), MSI 00
    Capabilities: [e0] Power Management version 3
    Capabilities: [100] Vendor Specific Information: ID=0002 Rev=0 Len=00c <?>
    Capabilities: [110] Access Control Services
    Capabilities: [148] Advanced Error Reporting
    Capabilities: [1d0] Vendor Specific Information: ID=0003 Rev=1 Len=00a <?>
    Capabilities: [250] #19
    Capabilities: [280] Vendor Specific Information: ID=0005 Rev=3 Len=018 <?>
    Capabilities: [300] Vendor Specific Information: ID=0008 Rev=0 Len=038 <?>
    Kernel driver in use: pcieport

00:05.0 0880: 8086:2f28 (rev 02)
    Flags: fast devsel
    Capabilities: [40] Express Root Complex Integrated Endpoint, MSI 00

00:05.1 0880: 8086:2f29 (rev 02)
    Flags: fast devsel
    Capabilities: [40] Express Root Complex Integrated Endpoint, MSI 00
    Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit+
    Capabilities: [100] Vendor Specific Information: ID=0006 Rev=1 Len=010 <?>
    Capabilities: [110] Vendor Specific Information: ID=0006 Rev=1 Len=010 <?>
    Capabilities: [120] Vendor Specific Information: ID=0006 Rev=1 Len=010 <?>
    Capabilities: [130] Vendor Specific Information: ID=0006 Rev=1 Len=010 <?>

00:05.2 0880: 8086:2f2a (rev 02)
    Flags: fast devsel
    Capabilities: [40] Express Root Complex Integrated Endpoint, MSI 00

00:05.4 0800: 8086:2f2c (rev 02) (prog-if 20 [IO(X)-APIC])
    Subsystem: 8086:0000
    Flags: bus master, fast devsel, latency 0
    Memory at fbe3d000 (32-bit, non-prefetchable) [size=4K]
    Capabilities: [44] Express Root Complex Integrated Endpoint, MSI 00
    Capabilities: [e0] Power Management version 3

00:11.0 ff00: 8086:8d7c (rev 05)
    Subsystem: 17aa:102f
    Flags: bus master, fast devsel, latency 0
    Capabilities: [40] Express Root Complex Integrated Endpoint, MSI 00
    Capabilities: [80] Power Management version 3

00:11.4 0106: 8086:8d62 (rev 05) (prog-if 01 [AHCI 1.0])
    Subsystem: 17aa:102f
    Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 77
    I/O ports at f130 [size=8]
    I/O ports at f120 [size=4]
    I/O ports at f110 [size=8]
    I/O ports at f100 [size=4]
    I/O ports at f040 [size=32]
    Memory at fbe3c000 (32-bit, non-prefetchable) [size=2K]
    Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
    Capabilities: [70] Power Management version 3
    Capabilities: [a8] SATA HBA v1.0
    Kernel driver in use: ahci

00:14.0 0c03: 8086:8d31 (rev 05) (prog-if 30 [XHCI])
    Subsystem: 17aa:102f
    Flags: bus master, medium devsel, latency 0, IRQ 19
    Memory at fbe20000 (64-bit, non-prefetchable) [size=64K]
    Capabilities: [70] Power Management version 2
    Kernel driver in use: xhci_hcd

00:16.0 0780: 8086:8d3a (rev 05)
    Subsystem: 17aa:102f
    Flags: bus master, fast devsel, latency 0, IRQ 79
    Memory at fbe3b000 (64-bit, non-prefetchable) [size=16]
    Capabilities: [50] Power Management version 3
    Capabilities: [8c] MSI: Enable+ Count=1/1 Maskable- 64bit+
    Kernel driver in use: mei_me

00:16.2 0101: 8086:8d3c (rev 05) (prog-if 85 [Master SecO PriO])
    Subsystem: 17aa:102f
    Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 16
    I/O ports at f0f0 [size=8]
    I/O ports at f0e0 [size=4]
    I/O ports at f0d0 [size=8]
    I/O ports at f0c0 [size=4]
    I/O ports at f0b0 [size=16]
    Capabilities: [c8] Power Management version 3
    Capabilities: [d0] MSI: Enable- Count=1/1 Maskable- 64bit+
    Kernel driver in use: ata_generic

00:16.3 0700: 8086:8d3d (rev 05) (prog-if 02 [16550])
    Subsystem: 17aa:102f
    Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 17
    I/O ports at f0a0 [size=8]
    Memory at fbe3a000 (32-bit, non-prefetchable) [size=4K]
    Capabilities: [c8] Power Management version 3
    Capabilities: [d0] MSI: Enable- Count=1/1 Maskable- 64bit+
    Kernel driver in use: serial

00:19.0 0200: 8086:15a0 (rev 05)
    Subsystem: 17aa:102f
    Flags: bus master, fast devsel, latency 0, IRQ 76
    Memory at fbe00000 (32-bit, non-prefetchable) [size=128K]
    Memory at fbe39000 (32-bit, non-prefetchable) [size=4K]
    I/O ports at f020 [size=32]
    Capabilities: [c8] Power Management version 2
    Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
    Capabilities: [e0] PCI Advanced Features
    Kernel driver in use: e1000e

00:1a.0 0c03: 8086:8d2d (rev 05) (prog-if 20 [EHCI])
    Subsystem: 17aa:102f
    Flags: bus master, medium devsel, latency 0, IRQ 18
    Memory at fbe38000 (32-bit, non-prefetchable) [size=1K]
    Capabilities: [50] Power Management version 2
    Capabilities: [58] Debug port: BAR=1 offset=00a0
    Capabilities: [98] PCI Advanced Features
    Kernel driver in use: ehci-pci

00:1b.0 0403: 8086:8d20 (rev 05)
    Subsystem: 17aa:102f
    Flags: bus master, fast devsel, latency 0, IRQ 80
    Memory at fbe30000 (64-bit, non-prefetchable) [size=16K]
    Capabilities: [50] Power Management version 2
    Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
    Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
    Capabilities: [100] Virtual Channel
    Kernel driver in use: snd_hda_intel

00:1c.0 0604: 8086:8d10 (rev d5) (prog-if 00 [Normal decode])
    Flags: bus master, fast devsel, latency 0
    Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
    I/O behind bridge: 00001000-00001fff
    Memory behind bridge: 90000000-901fffff
    Prefetchable memory behind bridge: 0000000090200000-00000000903fffff
    Capabilities: [40] Express Root Port (Slot+), MSI 00
    Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
    Capabilities: [90] Subsystem: 17aa:102f
    Capabilities: [a0] Power Management version 3
    Kernel driver in use: pcieport

00:1c.1 0604: 8086:8d12 (rev d5) (prog-if 00 [Normal decode])
    Flags: bus master, fast devsel, latency 0
    Bus: primary=00, secondary=06, subordinate=07, sec-latency=0
    Capabilities: [40] Express Root Port (Slot+), MSI 00
    Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
    Capabilities: [90] Subsystem: 17aa:102f
    Capabilities: [a0] Power Management version 3
    Kernel driver in use: pcieport

00:1c.4 0604: 8086:8d18 (rev d5) (prog-if 00 [Normal decode])
    Flags: bus master, fast devsel, latency 0
    Bus: primary=00, secondary=08, subordinate=0b, sec-latency=0
    I/O behind bridge: 00002000-00002fff
    Memory behind bridge: fac00000-fbcfffff
    Prefetchable memory behind bridge: 0000000090400000-00000000905fffff
    Capabilities: [40] Express Root Port (Slot+), MSI 00
    Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
    Capabilities: [90] Subsystem: 17aa:102f
    Capabilities: [a0] Power Management version 3
    Kernel driver in use: pcieport

00:1d.0 0c03: 8086:8d26 (rev 05) (prog-if 20 [EHCI])
    Subsystem: 17aa:102f
    Flags: bus master, medium devsel, latency 0, IRQ 18
    Memory at fbe37000 (32-bit, non-prefetchable) [size=1K]
    Capabilities: [50] Power Management version 2
    Capabilities: [58] Debug port: BAR=1 offset=00a0
    Capabilities: [98] PCI Advanced Features
    Kernel driver in use: ehci-pci

00:1f.0 0601: 8086:8d44 (rev 05)
    Subsystem: 17aa:102f
    Flags: bus master, medium devsel, latency 0
    Capabilities: [e0] Vendor Specific Information: Len=0c <?>
    Kernel driver in use: lpc_ich

00:1f.2 0106: 8086:8d02 (rev 05) (prog-if 01 [AHCI 1.0])
    Subsystem: 17aa:102f
    Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 78
    I/O ports at f090 [size=8]
    I/O ports at f080 [size=4]
    I/O ports at f070 [size=8]
    I/O ports at f060 [size=4]
    I/O ports at f000 [size=32]
    Memory at fbe36000 (32-bit, non-prefetchable) [size=2K]
    Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
    Capabilities: [70] Power Management version 3
    Capabilities: [a8] SATA HBA v1.0
    Kernel driver in use: ahci

00:1f.3 0c05: 8086:8d22 (rev 05)
    Subsystem: 17aa:102f
    Flags: medium devsel, IRQ 18
    Memory at fbe35000 (64-bit, non-prefetchable) [size=256]
    I/O ports at 0580 [size=32]
    Kernel driver in use: i801_smbus

00:1f.6 1180: 8086:8d24 (rev 05)
    Subsystem: 17aa:102f
    Flags: bus master, fast devsel, latency 0, IRQ 11
    Memory at fbe34000 (64-bit, non-prefetchable) [size=4K]
    Capabilities: [50] Power Management version 3
    Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-

03:00.0 0300: 1002:6779 (prog-if 00 [VGA controller])
    Subsystem: 1043:3017
    Physical Slot: 2
    Flags: bus master, fast devsel, latency 0, IRQ 11
    Memory at e0000000 (64-bit, prefetchable) [size=256M]
    Memory at fbd20000 (64-bit, non-prefetchable) [size=128K]
    I/O ports at e000 [size=256]
    Expansion ROM at fbd00000 [disabled] [size=128K]
    Capabilities: [50] Power Management version 3
    Capabilities: [58] Express Legacy Endpoint, MSI 00
    Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
    Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
    Capabilities: [150] Advanced Error Reporting

03:00.1 0403: 1002:aa98
    Subsystem: 1043:aa98
    Physical Slot: 2
    Flags: bus master, fast devsel, latency 0, IRQ 81
    Memory at fbd40000 (64-bit, non-prefetchable) [size=16K]
    Capabilities: [50] Power Management version 3
    Capabilities: [58] Express Legacy Endpoint, MSI 00
    Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
    Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
    Capabilities: [150] Advanced Error Reporting
    Kernel driver in use: snd_hda_intel

06:00.0 0604: 1283:8893 (rev 41) (prog-if 01 [Subtractive decode])
    Flags: bus master, fast devsel, latency 0
    Bus: primary=06, secondary=07, subordinate=07, sec-latency=32
    Capabilities: [90] Power Management version 2
    Capabilities: [a0] Subsystem: 17aa:102f

08:00.0 0604: 10b5:8603 (rev ab) (prog-if 00 [Normal decode])
    Flags: bus master, fast devsel, latency 0
    Memory at fbc00000 (32-bit, non-prefetchable) [size=16K]
    Bus: primary=08, secondary=09, subordinate=0b, sec-latency=0
    I/O behind bridge: 00002000-00002fff
    Memory behind bridge: fac00000-fbbfffff
    Prefetchable memory behind bridge: 0000000090400000-00000000905fffff
    Capabilities: [40] Power Management version 3
    Capabilities: [48] MSI: Enable+ Count=1/4 Maskable+ 64bit+
    Capabilities: [68] Express Upstream Port, MSI 00
    Capabilities: [a4] Subsystem: 10b5:8603
    Capabilities: [100] Device Serial Number ab-86-02-10-b5-df-0e-00
    Capabilities: [fb4] Advanced Error Reporting
    Capabilities: [138] Power Budgeting <?>
    Capabilities: [148] Virtual Channel
    Capabilities: [950] Vendor Specific Information: ID=0001 Rev=0 Len=028 <?>
    Kernel driver in use: pcieport

09:01.0 0604: 10b5:8603 (rev ab) (prog-if 00 [Normal decode])
    Flags: bus master, fast devsel, latency 0
    Bus: primary=09, secondary=0a, subordinate=0a, sec-latency=0
    I/O behind bridge: 00002000-00002fff
    Memory behind bridge: fb400000-fbbfffff
    Prefetchable memory behind bridge: 0000000090400000-00000000905fffff
    Capabilities: [40] Power Management version 3
    Capabilities: [48] MSI: Enable+ Count=1/4 Maskable+ 64bit+
    Capabilities: [68] Express Downstream Port (Slot+), MSI 00
    Capabilities: [a4] Subsystem: 10b5:8603
    Capabilities: [100] Device Serial Number ab-86-02-10-b5-df-0e-00
    Capabilities: [fb4] Advanced Error Reporting
    Capabilities: [148] Virtual Channel
    Capabilities: [520] Access Control Services
    Capabilities: [950] Vendor Specific Information: ID=0001 Rev=0 Len=028 <?>
    Kernel driver in use: pcieport

09:02.0 0604: 10b5:8603 (rev ab) (prog-if 00 [Normal decode])
    Flags: bus master, fast devsel, latency 0
    Bus: primary=09, secondary=0b, subordinate=0b, sec-latency=0
    Memory behind bridge: fac00000-fb3fffff
    Capabilities: [40] Power Management version 3
    Capabilities: [48] MSI: Enable+ Count=1/4 Maskable+ 64bit+
    Capabilities: [68] Express Downstream Port (Slot+), MSI 00
    Capabilities: [a4] Subsystem: 10b5:8603
    Capabilities: [100] Device Serial Number ab-86-02-10-b5-df-0e-00
    Capabilities: [fb4] Advanced Error Reporting
    Capabilities: [148] Virtual Channel
    Capabilities: [520] Access Control Services
    Capabilities: [950] Vendor Specific Information: ID=0001 Rev=0 Len=028 <?>
    Kernel driver in use: pcieport

0a:00.0 0480: 1131:7231 (rev aa)
    Subsystem: 14c7:3595
    Flags: bus master, fast devsel, latency 0, IRQ 17
    Memory at fb800000 (64-bit, non-prefetchable) [size=4M]
    Memory at fb400000 (64-bit, non-prefetchable) [size=4M]
    Capabilities: [40] MSI: Enable- Count=1/16 Maskable- 64bit+
    Capabilities: [50] Express Endpoint, MSI 00
    Capabilities: [74] Power Management version 3
    Capabilities: [7c] Vendor Specific Information: Len=84 <?>
    Capabilities: [100] Vendor Specific Information: ID=0000 Rev=0 Len=094 <?>
    Kernel driver in use: SAA7231

0b:00.0 0480: 1131:7231 (rev aa)
    Subsystem: 14c7:3602
    Flags: bus master, fast devsel, latency 0, IRQ 11
    Memory at fb000000 (64-bit, non-prefetchable) [size=4M]
    Memory at fac00000 (64-bit, non-prefetchable) [size=4M]
    Capabilities: [40] MSI: Enable- Count=1/16 Maskable- 64bit+
    Capabilities: [50] Express Endpoint, MSI 00
    Capabilities: [74] Power Management version 3
    Capabilities: [7c] Vendor Specific Information: Len=84 <?>
    Capabilities: [100] Vendor Specific Information: ID=0000 Rev=0 Len=094 <?>

ff:0b.0 0880: 8086:2f81 (rev 02)
    Subsystem: 8086:2f81
    Flags: fast devsel

ff:0b.1 1101: 8086:2f36 (rev 02)
    Subsystem: 8086:2f36
    Flags: fast devsel

ff:0b.2 1101: 8086:2f37 (rev 02)
    Subsystem: 8086:2f37
    Flags: fast devsel

ff:0c.0 0880: 8086:2fe0 (rev 02)
    Subsystem: 8086:2fe0
    Flags: fast devsel

ff:0c.1 0880: 8086:2fe1 (rev 02)
    Subsystem: 8086:2fe1
    Flags: fast devsel

ff:0c.2 0880: 8086:2fe2 (rev 02)
    Subsystem: 8086:2fe2
    Flags: fast devsel

ff:0c.3 0880: 8086:2fe3 (rev 02)
    Subsystem: 8086:2fe3
    Flags: fast devsel

ff:0f.0 0880: 8086:2ff8 (rev 02)
    Flags: fast devsel

ff:0f.1 0880: 8086:2ff9 (rev 02)
    Flags: fast devsel

ff:0f.4 0880: 8086:2ffc (rev 02)
    Subsystem: 8086:2fe0
    Flags: fast devsel

ff:0f.5 0880: 8086:2ffd (rev 02)
    Subsystem: 8086:2fe0
    Flags: fast devsel

ff:0f.6 0880: 8086:2ffe (rev 02)
    Subsystem: 8086:2fe0
    Flags: fast devsel

ff:10.0 0880: 8086:2f1d (rev 02)
    Subsystem: 8086:2f1d
    Flags: fast devsel

ff:10.1 1101: 8086:2f34 (rev 02)
    Subsystem: 8086:2f34
    Flags: fast devsel

ff:10.5 0880: 8086:2f1e (rev 02)
    Subsystem: 8086:2f1e
    Flags: fast devsel

ff:10.6 1101: 8086:2f7d (rev 02)
    Subsystem: 8086:2f7d
    Flags: fast devsel

ff:10.7 0880: 8086:2f1f (rev 02)
    Subsystem: 8086:2f1f
    Flags: fast devsel

ff:12.0 0880: 8086:2fa0 (rev 02)
    Subsystem: 8086:2fa0
    Flags: fast devsel

ff:12.1 1101: 8086:2f30 (rev 02)
    Subsystem: 8086:2f30
    Flags: fast devsel

ff:13.0 0880: 8086:2fa8 (rev 02)
    Subsystem: 8086:2fa8
    Flags: fast devsel

ff:13.1 0880: 8086:2f71 (rev 02)
    Subsystem: 8086:2f71
    Flags: fast devsel

ff:13.2 0880: 8086:2faa (rev 02)
    Subsystem: 8086:2faa
    Flags: fast devsel

ff:13.3 0880: 8086:2fab (rev 02)
    Subsystem: 8086:2fab
    Flags: fast devsel

ff:13.4 0880: 8086:2fac (rev 02)
    Subsystem: 8086:2fac
    Flags: fast devsel

ff:13.5 0880: 8086:2fad (rev 02)
    Subsystem: 8086:2fad
    Flags: fast devsel

ff:13.6 0880: 8086:2fae (rev 02)
    Flags: fast devsel

ff:13.7 0880: 8086:2faf (rev 02)
    Flags: fast devsel

ff:14.0 0880: 8086:2fb0 (rev 02)
    Subsystem: 8086:2fb0
    Flags: fast devsel

ff:14.1 0880: 8086:2fb1 (rev 02)
    Subsystem: 8086:2fb1
    Flags: fast devsel

ff:14.2 0880: 8086:2fb2 (rev 02)
    Subsystem: 8086:2fb2
    Flags: fast devsel

ff:14.3 0880: 8086:2fb3 (rev 02)
    Subsystem: 8086:2fb3
    Flags: fast devsel

ff:14.6 0880: 8086:2fbe (rev 02)
    Flags: fast devsel

ff:14.7 0880: 8086:2fbf (rev 02)
    Flags: fast devsel

ff:15.0 0880: 8086:2fb4 (rev 02)
    Subsystem: 8086:2fb4
    Flags: fast devsel

ff:15.1 0880: 8086:2fb5 (rev 02)
    Subsystem: 8086:2fb5
    Flags: fast devsel

ff:15.2 0880: 8086:2fb6 (rev 02)
    Subsystem: 8086:2fb6
    Flags: fast devsel

ff:15.3 0880: 8086:2fb7 (rev 02)
    Subsystem: 8086:2fb7
    Flags: fast devsel

ff:16.0 0880: 8086:2f68 (rev 02)
    Flags: fast devsel

ff:16.6 0880: 8086:2f6e (rev 02)
    Flags: fast devsel

ff:16.7 0880: 8086:2f6f (rev 02)
    Flags: fast devsel

ff:17.0 0880: 8086:2fd0 (rev 02)
    Flags: fast devsel

ff:17.4 0880: 8086:2fb8 (rev 02)
    Flags: fast devsel

ff:17.5 0880: 8086:2fb9 (rev 02)
    Flags: fast devsel

ff:17.6 0880: 8086:2fba (rev 02)
    Flags: fast devsel

ff:17.7 0880: 8086:2fbb (rev 02)
    Flags: fast devsel

ff:1e.0 0880: 8086:2f98 (rev 02)
    Subsystem: 8086:2f98
    Flags: fast devsel

ff:1e.1 0880: 8086:2f99 (rev 02)
    Subsystem: 8086:2f99
    Flags: fast devsel

ff:1e.2 0880: 8086:2f9a (rev 02)
    Subsystem: 8086:2f9a
    Flags: fast devsel

ff:1e.3 0880: 8086:2fc0 (rev 02)
    Subsystem: 8086:2fc0
    Flags: fast devsel
    Memory at <ignored> (64-bit, prefetchable) [disabled]

ff:1e.4 0880: 8086:2f9c (rev 02)
    Subsystem: 8086:2f9c
    Flags: fast devsel

ff:1f.0 0880: 8086:2f88 (rev 02)
    Flags: fast devsel

ff:1f.2 0880: 8086:2f8a (rev 02)
    Flags: fast devsel
root@SIWS0003:~# lsmod
Module                  Size  Used by
cxd2820r               27153  0 
binfmt_misc            16949  1 
arc4                   12536  0 
ecb                    12737  0 
md4                    12529  0 
hmac                   12753  1 
vmnet                  50245  13 
ppdev                  16782  0 
parport_pc             26300  0 
parport                35749  2 ppdev,parport_pc
vmw_vsock_vmci_transport    25862  0 
vsock                  30772  1 vmw_vsock_vmci_transport
vmw_vmci               55383  1 vmw_vsock_vmci_transport
pci_stub               12429  1 
vboxpci                23077  0 
vboxnetadp             25443  0 
vboxnetflt             23324  0 
vmmon                  81251  0 
vboxdrv               340067  3 vboxnetadp,vboxnetflt,vboxpci
nls_utf8               12456  1 
cifs                  443521  2 
dns_resolver           12641  1 cifs
fscache                45542  1 cifs
cfg80211              405538  0 
rfkill                 18867  1 cfg80211
rtsx_usb_sdmmc         25280  0 
rtsx_usb_ms            16899  0 
mmc_core              102374  1 rtsx_usb_sdmmc
memstick               13696  1 rtsx_usb_ms
rtsx_usb               17541  2 rtsx_usb_sdmmc,rtsx_usb_ms
hid_generic            12393  0 
usbhid                 44460  0 
hid                   102264  2 hid_generic,usbhid
lnbp21                 12576  2 
stv6110x               12979  2 
stv090x                67207  2 
iTCO_wdt               12831  0 
iTCO_vendor_support    12649  1 iTCO_wdt
evdev                  17445  15 
x86_pkg_temp_thermal    12951  0 
intel_powerclamp       17159  0 
snd_hda_codec_realtek    67127  1 
intel_rapl             17356  0 
snd_hda_codec_generic    63181  1 snd_hda_codec_realtek
coretemp               12820  0 
kvm_intel             139116  0 
kvm                   388784  1 kvm_intel
crc32_pclmul           12915  0 
snd_hda_codec_hdmi     45118  1 
cryptd                 14516  0 
psmouse                99249  0 
pcspkr                 12595  0 
serio_raw              12849  0 
snd_hda_intel          26327  5 
saa7231_drv            16826  0 
snd_hda_controller     26646  1 snd_hda_intel
saa7231_core           55922  1 saa7231_drv
snd_hda_codec         104500  5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
dvb_core              106141  2 saa7231_core,cxd2820r
snd_hwdep              13148  1 snd_hda_codec
snd_pcm                88662  4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
i2c_i801               16965  0 
snd_timer              26614  1 snd_pcm
i2c_core               46012  6 i2c_i801,saa7231_core,stv090x,lnbp21,cxd2820r,stv6110x
lpc_ich                20768  0 
snd                    65244  18 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
mfd_core               12601  2 lpc_ich,rtsx_usb
soundcore              13026  2 snd,snd_hda_codec
shpchp                 31121  0 
mei_me                 17941  0 
mei                    74977  1 mei_me
tpm_tis                17231  0 
tpm                    31511  1 tpm_tis
wmi                    17339  0 
processor              28221  0 
thermal_sys            27642  3 intel_powerclamp,processor,x86_pkg_temp_thermal
button                 12944  0 
loop                   26605  0 
fuse                   83350  3 
autofs4                35529  2 
ext4                  473802  4 
crc16                  12343  1 ext4
mbcache                17171  1 ext4
jbd2                   82522  1 ext4
sg                     29973  0 
sr_mod                 21903  0 
sd_mod                 44356  7 
cdrom                  47424  1 sr_mod
crc_t10dif             12431  1 sd_mod
crct10dif_generic      12581  0 
ahci                   33334  5 
ata_generic            12490  0 
libahci                27158  1 ahci
e1000e                212128  0 
ptp                    17692  1 e1000e
pps_core               17225  1 ptp
crct10dif_pclmul       13387  1 
crct10dif_common       12356  3 crct10dif_pclmul,crct10dif_generic,crc_t10dif
xhci_hcd              152977  0 
ehci_pci               12512  0 
ehci_hcd               69837  1 ehci_pci
libata                177508  3 ahci,libahci,ata_generic
crc32c_intel           21809  0 
scsi_mod              191405  4 sg,libata,sd_mod,sr_mod
usbcore               195427  5 rtsx_usb,ehci_hcd,ehci_pci,usbhid,xhci_hcd
usb_common             12440  1 usbcore
marcusbirkin commented 8 years ago

How odd the driver has been loaded, but not picked up the hardware! Could you also give me the output from: modinfo cxd2820r

BloomSN commented 8 years ago
root@SIWS0003:~# modinfo cxd2820r
filename:       /lib/modules/3.16.0-4-amd64/updates/dkms/cxd2820r.ko
license:        GPL
description:    Sony CXD2820R demodulator driver
author:         Antti Palosaari <crope@iki.fi>
depends:        i2c-core,dvb-core
vermagic:       3.16.0-4-amd64 SMP mod_unload modversions 
marcusbirkin commented 8 years ago

Did this card work on previous Linux versions? Are you able to check if the card works in Windows? On 29 Dec 2015 12:42, "Nejc Landeker" notifications@github.com wrote:

root@SIWS0003:~# modinfo cxd2820r filename: /lib/modules/3.16.0-4-amd64/updates/dkms/cxd2820r.ko license: GPL description: Sony CXD2820R demodulator driver author: Antti Palosaari crope@iki.fi depends: i2c-core,dvb-core vermagic: 3.16.0-4-amd64 SMP mod_unload modversions

— Reply to this email directly or view it on GitHub https://github.com/marcusbirkin/BGT3xxx/issues/6#issuecomment-167781928.

gulikoza commented 8 years ago

Hi,

I'm using the same card as BloomSN. The card shows 2 PCI devices:

0a:00.0 Multimedia controller: Philips Semiconductors SAA7231 (rev aa) 0b:00.0 Multimedia controller: Philips Semiconductors SAA7231 (rev aa)

The first one is recognized by the driver, but the second one isn't. It uses 14c7:3602 PCI subsystem ID which the driver does not support (see the above output from lspci).

Additionally, the CXD2837 is used as a DVB-T demodulator on the 0x3602 so it fails there as well...

I have hacked 0x3650 ID to recognize 0x3602 and call cxd2843_attach (from the dddvb) instead and now I get all 4 frontends:

[ 6410.744712] saa7231_pci_init (0): Loading SAA7231 ver 0.0.91 .. [ 6410.745147] saa7231_pci_init (0): found a Blackgold Technology BGT3595 Dual DVB-S/S2 + Analog device [ 6410.745689] saa7231_pci_init (0): BAR 0 Offset: 04 BAR 2 Offset: 04 [ 6410.746421] saa7231_pci_init (0): BAR0 Start=f9400000 length=4M [ 6410.747166] saa7231_pci_init (0): BAR2 Start=f9000000 length=4M [ 6410.747937] SAA7231GE [14c7:3595], irq: 18, mmio(0): 0xffffc90001800000 mmio(2): 0xffffc90003800000 [ 6410.749379] SAA7231 64Bit, MSI Disabled, MSI-X=1 msgs [ 6410.750091] saa7231_cgu_init (0): Initializing CGU [ 6411.011050] DVB: registering new adapter (SAA7231 DVB External Adapter:1) [ 6411.191875] stv6110x_attach: Attaching STV6110x [ 6411.243662] LNBx2x attached on addr=9 [ 6411.243944] SAA7231 0000:04:00.0: DVB: registering adapter 0 frontend 0 (STV090x Multistandard)... [ 6411.245039] cgu_getclk_instance (0): ret=0 [ 6411.256050] saa7231_stream_init (0): INFO: Initialized MODE:0x20 for PORT:10 [ 6411.256367] DVB: registering new adapter (SAA7231 DVB External Adapter:0) [ 6411.257339] stv6110x_attach: Attaching STV6110x [ 6411.288386] LNBx2x attached on addr=a [ 6411.288668] SAA7231 0000:04:00.0: DVB: registering adapter 1 frontend 0 (STV090x Multistandard)... [ 6411.289434] cgu_getclk_instance (0): ret=0 [ 6411.300048] saa7231_stream_init (0): INFO: Initialized MODE:0x20 for PORT:11 [ 6411.300485] saa7231_pci_init (1): Loading SAA7231 ver 0.0.91 .. [ 6411.300892] saa7231_pci_init (1): found a Blackgold Technology BGT3650 Dual DVB-T/T2 + Analog device [ 6411.301672] saa7231_pci_init (1): BAR 0 Offset: 04 BAR 2 Offset: 04 [ 6411.302362] saa7231_pci_init (1): BAR0 Start=f9c00000 length=4M [ 6411.303086] saa7231_pci_init (1): BAR2 Start=f9800000 length=4M [ 6411.303815] SAA7231GE [14c7:3602], irq: 17, mmio(0): 0xffffc90006800000 mmio(2): 0xffffc90007000000 [ 6411.305208] SAA7231 64Bit, MSI Disabled, MSI-X=1 msgs [ 6411.305888] saa7231_cgu_init (1): Initializing CGU [ 6411.567059] DVB: registering new adapter (SAA7231 DVB External Adapter:1) [ 6411.970847] SAA7231 0000:05:00.0: DVB: registering adapter 2 frontend 0 (CXD2837 DVB-C DVB-T/T2)... [ 6411.971765] cgu_getclk_instance (1): ret=0 [ 6411.983050] saa7231_stream_init (1): INFO: Initialized MODE:0x20 for PORT:10 [ 6411.983421] DVB: registering new adapter (SAA7231 DVB External Adapter:0) [ 6412.436827] SAA7231 0000:05:00.0: DVB: registering adapter 3 frontend 0 (CXD2837 DVB-C DVB-T/T2)... [ 6412.437436] cgu_getclk_instance (1): ret=0 [ 6412.448062] saa7231_stream_init (1): INFO: Initialized MODE:0x20 for PORT:11

Unfortunately I can't seem to tune into anything... so I guess I'm still missing something...

BTW: does analog part work, should it appear in /dev/video0? I haven't found anything regarding how hybrid dvb/analog tuners are supposed to appear in linux...

BloomSN commented 8 years ago

I believe the chip to be detected is wrongly presented (0xff) should be 0xb1 ? Here is a link to forum stating same

https://www.avforums.com/threads/building-black-gold-bgt3xxx-dvb-t2-drivers-for-linux.1886692/

marcusbirkin commented 8 years ago

Thanks for the info, I've started a BGT3600 fork. I don't have a BGT3600 to test this on, so you will have to keep an eye on it and test it when I make changes. If you have code updates, please submit this as a pull request!!

gulikoza commented 8 years ago

There's already some code at http://www.cblinux.co.uk:5010/BGT3xxx-fork-for-cxd2837 by carlb. Perhaps you can collaborate not to fork this further, duplicating the effort. He also has some datasheets from bgt.

My code detects the demod and tuner, but it doesn't work as I was just blindly copy/pasting from other parts of the code. A clean solution will obviously be better. Thanks!

cbtrident commented 8 years ago

hi marcusbirking this is carlb have to say thanks for you changed that you did have got the cxd2837 working now but i know my code need a clean up if you want to check it over please do and say what i need to change

the cxd 2843 code come from flensrocker but had to remove c2 support for now anway if you say if i can improve it that be great

cbtrident commented 8 years ago

hi again it not scanning so anyone seen what i did wrong please say thanks

marcusbirkin commented 8 years ago

Did you pull down and try my BGT3600 branch? Does lsdvb show 4 tuners? On 7 Feb 2016 20:56, "cbtrident" notifications@github.com wrote:

hi again it not scanning so anyone seen what i did wrong please say thanks

— Reply to this email directly or view it on GitHub https://github.com/marcusbirkin/BGT3xxx/issues/6#issuecomment-181114769.

cbtrident commented 8 years ago

hi marcusbirkin as you dont have the cxd2843 code you not going to see the turner

root@slack:~# lsdvb

            lsdvb: Simple utility to list PCI/PCIe DVB devices
            Version: 0.0.4
            Copyright (C) Manu Abraham

SAA7231 (1131:7231 14:3595) on PCI Domain:0 Bus:6 Device:0 Function:0 DEVICE:0 ADAPTER:0 FRONTEND:0 (STV090x Multistandard) FE_QPSK Fmin=950MHz Fmax=2150MHz DEVICE:0 ADAPTER:1 FRONTEND:0 (STV090x Multistandard) FE_QPSK Fmin=950MHz Fmax=2150MHz

the cards use cxd2837 that replaced the CXD2820 if you check my code base you see i have it detecting and loading the cxd2843 even defaults to dvb-t just not scanning

unless i did not see in your branch (sorry if i missed) you going to need the cxd2843

thanks Carlb

cbtrident commented 8 years ago

and sorry forgot to say there two version of the 3600 this is what caused the problem you need to detect both version my messy code

case SUBSYS_INFO(BLACKGOLD_TECHNOLOGY, BLACKGOLD_BGT3600):
    dvb->fe = dvb_attach(cxd2820r_attach,
                 &bgt3620_cxd2820r_config,
                 &saa7231->i2c[1 + frontend].i2c_adapter,
                 NULL);

    if (!dvb->fe) {
            dprintk(SAA7231_ERROR, 1, "Frontend:%d attach failed", frontend);
            dvb->fe = dvb_attach(cxd2843_attach,
                        &bgt3602_cxd2843_cfg,
                        &saa7231->i2c[1 + frontend].i2c_adapter);
            if(!dvb->fe) {
            dprintk(SAA7231_ERROR, 1, "Frontend:%d attach failed", frontend);
            ret = -ENODEV;
            goto exit; }
        else {
            dvb_attach(tda18272_attach,
            dvb->fe,
            &saa7231->i2c[1 + frontend].i2c_adapter,
            &bgt3620_tda18272_config[frontend]);
    }} 
    else {
        dvb_attach(tda18272_attach,
               dvb->fe,
               &saa7231->i2c[1 + frontend].i2c_adapter,
               &bgt3620_tda18272_config[frontend]);
    }
    ret = 0;
    break;
marcusbirkin commented 8 years ago

Hello,

As I don't have a 3600. Please feel free to fork the code and push any changes you make.

Regards,

Marcus On 7 Feb 2016 21:50, "cbtrident" notifications@github.com wrote:

and sorry forgot to say there two version of the 3600 this is what caused the problem you need to detect both version my messy code case SUBSYS_INFO(BLACKGOLD_TECHNOLOGY, BLACKGOLD_BGT3600): dvb->fe = dvb_attach(cxd2820r_attach, &bgt3620_cxd2820r_config, &saa7231->i2c[1 + frontend].i2c_adapter, NULL);

if (!dvb->fe) {
        dprintk(SAA7231_ERROR, 1, "Frontend:%d attach failed", frontend);
        dvb->fe = dvb_attach(cxd2843_attach,
                    &bgt3602_cxd2843_cfg,
                    &saa7231->i2c[1 + frontend].i2c_adapter);
        if(!dvb->fe) {
        dprintk(SAA7231_ERROR, 1, "Frontend:%d attach failed", frontend);
        ret = -ENODEV;
        goto exit; }
    else {
        dvb_attach(tda18272_attach,
        dvb->fe,
        &saa7231->i2c[1 + frontend].i2c_adapter,
        &bgt3620_tda18272_config[frontend]);
}}
else {
    dvb_attach(tda18272_attach,
           dvb->fe,
           &saa7231->i2c[1 + frontend].i2c_adapter,
           &bgt3620_tda18272_config[frontend]);
}
ret = 0;
break;

— Reply to this email directly or view it on GitHub https://github.com/marcusbirkin/BGT3xxx/issues/6#issuecomment-181128451.

cbtrident commented 8 years ago

i did to my own git server http://www.cblinux.co.uk:5010/BGT3xxx-fork-for-cxd2837

but i will fork you 3600 branch and add all my stuff 3600 and 3602 i have and i have most blackgold cards as i do a lot of testing for them and fixing windows stuff lol

but for now am working on getting the 2843 to scan, it load and you can select dvb-t/2 or dvb-c and the information is showing up just not scanning

thanks Carl

cbtrident commented 8 years ago

seen a report the bgt 3620 is not scaning have got the card and test and seen the problem it does use CXD2820R chips, anyway i will do more testing and see if i can find out what is wrong marcusbirkin if you got the card you may want to test as well

thanks Carl

marcusbirkin commented 8 years ago

3620 is the only card I do have (in fact I have 2). They definitely work! On 14 Feb 2016 20:14, "cbtrident" notifications@github.com wrote:

seen a report the bgt 3620 is not scaning have got the card and test and seen the problem it does use CXD2820R chips, anyway i will do more testing and see if i can find out what is wrong marcusbirkin if you got the card you may want to test as well

thanks Carl

— Reply to this email directly or view it on GitHub https://github.com/marcusbirkin/BGT3xxx/issues/6#issuecomment-183966547.

goneawa commented 8 years ago

Failing to get 3620 working on Ubuntu 14.4.3. Your DKMS driver installed, successful. Adapter listed by demesg. W_scan finds live multiplexers but does not find any data (NIT) and so lists no services. Which Linux version do you use? Which other are know to work with 3620? Carl has suggested a board fault but it was ok in Windows 10 up to December 2015, (now abandoned!) Unless another idea occurs, I will try to copy your set up onto one of my systems in the hope of success.

Thanks.

marcusbirkin commented 8 years ago

I'm currently on Ubuntu 14.04.3 LTS (GNU/Linux 3.13.0-74-generic x86_64) On 20 Feb 2016 17:50, "postwatcher" notifications@github.com wrote:

Failing to get 3620 working on Ubuntu 14.4.3. Your DKMS driver installed, successful. Adapter listed by demesg. W_scan finds live multiplexers but does not find any data (NIT) and so lists no services. Which Linux version do you use? Which other are know to work with 3620? Carl has suggested a board fault but it was ok in Windows 10 up to December 2015, (now abandoned!) Unless another idea occurs, I will try to copy your set up onto one of my systems in the hope of success.

Thanks.

— Reply to this email directly or view it on GitHub https://github.com/marcusbirkin/BGT3xxx/issues/6#issuecomment-186658375.

goneawa commented 8 years ago

for information, the solution was to move the BGT card as far as possible from the graphics card. Close proximity causes problems on my Asus motherboard. Thanks for your work on the driver, now working perfectly on multichannel HD recordings.

cbtrident commented 8 years ago

update on my side for the cxd2843 driver getting the the tuner to talk now

[ 842.921967] tune: setting tuner ??? [ 842.921970] tda18272_set_params: freq=857833000, bw=8000000 [ 842.921972] tda18272_set_params: Loading DVB-T 8MHz coeffecients... [ 842.921973] tda18272_set_frequency: set freq=857833000 [ 842.921975] [ 842.921976] saa7231_i2c_xfer (1): Bus(10a000) I2C transfer [ 842.921980]

just not getting as lock on the channel but am getting there