Bug 452484 - linux kernel upgrade to 5.17.1 Kaffeine 2.0.18 fails to read DVB device
Summary: linux kernel upgrade to 5.17.1 Kaffeine 2.0.18 fails to read DVB device
Status: REPORTED
Alias: None
Product: kaffeine
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Mauro Carvalho Chehab
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-11 03:58 UTC by Avid
Modified: 2022-04-15 14:06 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Avid 2022-04-11 03:58:42 UTC
SUMMARY

Blank screen on channels, and scan of channels also fails and diagnostics lists the error as failure to read the device
 ioctl FE_READ_STATUS failed for frontend /dev/dvb/adapter2/frontend0
although Kaffeine sees the card:
Using built-in dvb device manager
10-04-22 23:49:39.175 [Info    ] kaffeine.dev: Found dvb device P14f1888000706a18: LG Electronics LGDT3306A VSB/QAM Frontend

STEPS TO REPRODUCE
1.  Upgraded linux kernel to latest archlinux kernel 5.17.1 kaffeine fails to play/scan the channels.
ran this:
pacman -Syu

2.  Downgrade to linux kernel 2022/03/15 kernel 5.16.4 Kaffeine works perfectly.
Using this mirror, by setting /etc/pacman.d/mirrorlist to contain:
http://archive.archlinux.org/repos/2022/03/15/core/os/x86_64/
and running 
pacman -Syyuud

OBSERVED RESULT
Slightly old kernel from March 2022 works and the newest April 2022  kernel fails to run Kaffeine.
Diagnostics menu inside kaffeine says:  ioctl FE_READ_STATUS failed for frontend /dev/dvb/adapter2/frontend0

EXPECTED RESULT
Easy linux upgrade, nothing special, should have worked. Kaffeine was not upgraded. 
It is the January 2022 Kaffeine version 2.0.18 in all cases.

SOFTWARE/OS VERSIONS
Archlinux kernel 5.17.1 April 10, 2022  Kaffeine fails.

Archlinux kernel 5.16.14-arch1-1 #1 SMP PREEMPT Fri, 11 Mar 2022 17:40:36 +0000 x86_64 GNU/Linux
Kaffeine works great.

ADDITIONAL INFORMATION
Comment 1 Mauro Carvalho Chehab 2022-04-11 19:18:11 UTC
That sounds a Kernel regression. What device? Please post the information from dmesg when the driver gets probed and used.
Comment 2 Avid 2022-04-11 20:03:33 UTC
kernel: tveeprom: Hauppauge model 165101, rev B4I6, serial# 4036109885
kernel: tveeprom: MAC address is 00:0d:fe:92:26:3d
kernel: tveeprom: tuner model is SiLabs Si2157 (idx 186, type 4)
kernel: tveeprom: TV standards NTSC(M) ATSC/DVB Digital (eeprom 0x88)
kernel: tveeprom: audio processor is CX23888 (idx 40)
kernel: tveeprom: decoder processor is CX23888 (idx 34)
kernel: tveeprom: has no radio
kernel: cx23885: cx23885[1]: hauppauge eeprom: model=165101
kernel: cx25840 6-0044: cx23888 A/V decoder found @ 0x88 (cx23885[1])
kernel: cx25840 6-0044: loaded v4l-cx23885-avcore-01.fw firmware (16382 bytes)
kernel: cx23885: cx23885[1]: registered device video1 [v4l2]
kernel: cx23885: cx23885[1]: registered device vbi1
kernel: cx23885: cx23885[1]: alsa: registered ALSA audio device
kernel: cx23885: cx23885_dvb_register() allocating 1 frontend(s)
kernel: cx23885: cx23885[1]: cx23885 based dvb card
kernel: cx23885: dvb_register(): board=57 port=1
kernel: si2157 5-0060: Silicon Labs Si2147/2148/2157/2158 successfully attached
kernel: cx23885: dvb_register(): QUADHD_ATSC analog setup
kernel: dvbdev: DVB: registering new adapter (cx23885[1])
kernel: cx23885 0000:06:00.0: DVB: registering adapter 2 frontend 0 (LG Electronics LGDT3306A VSB/QAM Frontend)...
kernel: cx23885: cx23885_dvb_register() allocating 1 frontend(s)
kernel: cx23885: cx23885[1]: cx23885 based dvb card
Comment 3 Avid 2022-04-11 20:05:27 UTC
(In reply to Mauro Carvalho Chehab from comment #1)
> That sounds a Kernel regression. What device? Please post the information
> from dmesg when the driver gets probed and used.

Done.
Comment 4 Mauro Carvalho Chehab 2022-04-11 21:41:05 UTC
(In reply to Avid from comment #2)

> kernel: si2157 5-0060: Silicon Labs Si2147/2148/2157/2158 successfully
> attached

Ok, there's a regression on this tuner. I submitted the patches today for upstream merge today:
  https://lore.kernel.org/linux-media/20220411233714.448cdc01@coco.lan/
hopefully in time for 5.17.2.

You can also pick it from:
https://git.linuxtv.org/media_tree.git/commit/?h=fixes&id=3ae87d2f25c0e998da2721ce332e2b80d3d53c39
Comment 5 Avid 2022-04-11 21:43:04 UTC
(In reply to Mauro Carvalho Chehab from comment #4)
> (In reply to Avid from comment #2)
> 
> > kernel: si2157 5-0060: Silicon Labs Si2147/2148/2157/2158 successfully
> > attached
> 
> Ok, there's a regression on this tuner. I submitted the patches today for
> upstream merge today:
>   https://lore.kernel.org/linux-media/20220411233714.448cdc01@coco.lan/
> hopefully in time for 5.17.2.
> 
> You can also pick it from:
> https://git.linuxtv.org/media_tree.git/commit/
> ?h=fixes&id=3ae87d2f25c0e998da2721ce332e2b80d3d53c39

Thank-you.
Comment 6 Avid 2022-04-15 14:06:43 UTC
I confirm the bugfix in linux kernel 5.17.3-arch1-1 #1 SMP PREEMPT Thu, 14 Apr 2022 01:18:36 +0000 x86_64 GNU/Linux
works with Kaffeine 2.0.18 with my device.