Bug 2196033

Summary: No drivers for DVB TV tuner cards with saa7146
Product: [Fedora] Fedora Reporter: Klaas de Waal <klaas>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED COMPLETED QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 38CC: acaringi, adscvr, airlied, alciregi, bskeggs, hdegoede, hpa, jarodwilson, josef, kernel-maint, lgoncalv, linville, masami256, mchehab, ptalbert, steved
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-02 21:45:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Klaas de Waal 2023-05-07 17:18:57 UTC
My KNC-One DVB-C tuner cards are not supported anymore after upgrading to fedora 38 and the 6.2.14 linux kernel.
This card uses the saa7146 chip of which the driver is no longer present.
Card works OK on kernel 5.17.12-100.fc34.x86_64. 
Card info as given by "lspci -v" and "lspci -vnn" on the 5.17.12 kernel:
04:01.0 Multimedia controller: Philips Semiconductors SAA7146 (rev 01)
	Subsystem: KNC One Device 0022
	Flags: bus master, medium devsel, latency 32, IRQ 19
	Memory at fbcff000 (32-bit, non-prefetchable) [size=512]
	Kernel driver in use: budget_av
	Kernel modules: budget_av

04:03.0 0480: 1131:7146 (rev 01)
	Subsystem: 1894:0022
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 32 (3750ns min, 9500ns max)
	Interrupt: pin A routed to IRQ 16
	Region 0: Memory at fbcfe000 (32-bit, non-prefetchable) [size=512]
	Kernel driver in use: budget_av
	Kernel modules: budget_av


Reproducible: Always

Steps to Reproduce:
1.boot system
2.check for presence of /dev/dvb/*.* devices
3.
Actual Results:  
No /dev/dvb/*/* devices present anymore.

Expected Results:  
Expected result is that the drivers are loaded, the /dev/dvb/*/* devices are created and can be used to access the KNC-One cards.

Searching in the linux-media mailing list from linuxtv.org shows that the saa7134 driver is deprecated and recently removed from the linux kernel. It looks like there is work in progress to fix the driver or to create a new one.
The way forward can be to keep the old drivers in the fedora linux kernel until the drivers are available.

Comment 1 Klaas de Waal 2023-08-02 21:45:14 UTC
Tested with kernel 6.4.6-200 and the problem is solved. The KNC-One cards with the saa7146 work OK again. 
Bug report can be closed.