Bug 202565 - Kernel 4.20.* does not register Hauppauge WinTV-HVR-955Q as dvb device
Summary: Kernel 4.20.* does not register Hauppauge WinTV-HVR-955Q as dvb device
Status: RESOLVED CODE_FIX
Alias: None
Product: v4l-dvb
Classification: Unclassified
Component: v4l-core (show other bugs)
Hardware: x86-64 Linux
: P1 normal
Assignee: v4l-dvb_v4l-core@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-12 02:38 UTC by Mark Zimmerman
Modified: 2019-04-01 20:27 UTC (History)
3 users (show)

See Also:
Kernel Version: 4.20.6, 5.0-rc6
Subsystem:
Regression: Yes
Bisected commit-id:


Attachments
git bisect output and dmesg excerpt (3.33 KB, text/plain)
2019-02-12 02:38 UTC, Mark Zimmerman
Details

Description Mark Zimmerman 2019-02-12 02:38:16 UTC
Created attachment 281109 [details]
git bisect output and dmesg excerpt

Device will not register as a DVB device. I did a git bisect and identified the commit that caused the problem. Output from the git bisect and a dmesg showing the failure are attached.

Later kernels have a more detailed failure message:

"usb 2-2: couldn't get decoder output pad for V4L I/O"
Comment 1 Mark Zimmerman 2019-02-13 02:56:27 UTC
The bug is still present in 5.0-rc6. Dmesg excerpt:

[   93.052706] cx231xx 2-1:1.1: v4l2 driver version 0.0.3
[   93.139969] cx231xx 2-1:1.1: Unknown tuner type configuring SIF
[   93.183827] cx231xx 2-1:1.1: Registered video device video0 [v4l2]
[   93.184069] cx231xx 2-1:1.1: Registered VBI device vbi0
[   93.184076] cx231xx 2-1:1.1: video EndPoint Addr 0x84, Alternate settings: 5
[   93.184081] cx231xx 2-1:1.1: VBI EndPoint Addr 0x85, Alternate settings: 2
[   93.184085] cx231xx 2-1:1.1: sliced CC EndPoint Addr 0x86, Alternate settings: 2
[   93.184089] cx231xx 2-1:1.1: TS EndPoint Addr 0x81, Alternate settings: 6
[   93.184131] usb 2-1: couldn't get decoder output pad for V4L I/O
[   93.184135] cx231xx 2-1:1.1: V4L2 device vbi0 deregistered
[   93.184256] cx231xx 2-1:1.1: V4L2 device video0 deregistered
[   93.184696] cx231xx: probe of 2-1:1.1 failed with error -22
[   93.184801] usbcore: registered new interface driver cx231xx
Comment 2 olci 2019-02-13 20:51:35 UTC
here is the fix 

https://patchwork.kernel.org/patch/10763655/
Comment 3 Mark Zimmerman 2019-02-14 03:27:02 UTC
Much better. Here is how 5.0-rc6 looks with this patch:

[   32.965819] cx231xx 2-1:1.1: New device Hauppauge Hauppauge Device @ 480 Mbps
 (2040:b123) with 7 interfaces
[   32.966227] cx231xx 2-1:1.1: Identified as Hauppauge WinTV-HVR-955Q (111401) 
(card=21)
[   32.967759] i2c i2c-13: Added multiplexed i2c bus 15
[   32.967857] i2c i2c-13: Added multiplexed i2c bus 16
[   33.170499] cx25840 12-0044: cx23102 A/V decoder found @ 0x88 (cx231xx #0-0)
[   35.559648] cx25840 12-0044: loaded v4l-cx231xx-avcore-01.fw firmware (16382 
bytes)
[   35.663783] tveeprom: Hauppauge model 111401, rev E3I6, serial# 4036046040
[   35.663788] tveeprom: MAC address is 00:0d:fe:91:2c:d8
[   35.663790] tveeprom: tuner model is SiLabs Si2157 (idx 186, type 4)
[   35.663794] tveeprom: TV standards NTSC(M) ATSC/DVB Digital (eeprom 0x88)
[   35.663796] tveeprom: audio processor is CX23102 (idx 47)
[   35.663798] tveeprom: decoder processor is CX23102 (idx 46)
[   35.663799] tveeprom: has no radio, has IR receiver, has no IR transmitter
[   35.663808] cx231xx 2-1:1.1: v4l2 driver version 0.0.3
[   35.754403] cx231xx 2-1:1.1: Unknown tuner type configuring SIF
[   35.798275] cx231xx 2-1:1.1: Registered video device video0 [v4l2]
[   35.798457] cx231xx 2-1:1.1: Registered VBI device vbi0
[   35.798464] cx231xx 2-1:1.1: video EndPoint Addr 0x84, Alternate settings: 5
[   35.798468] cx231xx 2-1:1.1: VBI EndPoint Addr 0x85, Alternate settings: 2
[   35.798472] cx231xx 2-1:1.1: sliced CC EndPoint Addr 0x86, Alternate settings
: 2
[   35.798476] cx231xx 2-1:1.1: TS EndPoint Addr 0x81, Alternate settings: 6
[   35.798746] usbcore: registered new interface driver cx231xx
[   35.834052] cx231xx 2-1:1.1: audio EndPoint Addr 0x83, Alternate settings: 3
[   35.834057] cx231xx 2-1:1.1: Cx231xx Audio Extension initialized
[   35.958955] i2c i2c-16: Added multiplexed i2c bus 17
[   35.958959] lgdt3306a 16-0059: LG Electronics LGDT3306A successfully identifi
ed
[   35.966189] si2157 16-0060: Silicon Labs Si2147/2148/2157/2158 successfully a
ttached
[   35.966230] dvbdev: DVB: registering new adapter (cx231xx #0)
[   35.966236] cx231xx 2-1:1.1: DVB: registering adapter 0 frontend 0 (LG Electr
onics LGDT3306A VSB/QAM Frontend)...
[   35.967516] cx231xx 2-1:1.1: Successfully loaded cx231xx-dvb
[   35.967520] cx231xx 2-1:1.1: Cx231xx dvb Extension initialized
Comment 4 Mike Roest 2019-02-17 23:39:18 UTC
I was able to apply this patch against 4.20.10 and it has resolved my issues with my 955Q as well

[    9.688504] videodev: Linux video capture interface: v2.00
[    9.726055] cx231xx 3-2:1.1: New device Hauppauge Hauppauge Device @ 480 Mbps (2040:b123) with 7 interfaces
[    9.726096] cx231xx 3-2:1.1: Identified as Hauppauge WinTV-HVR-955Q (111401) (card=21)
[    9.726391] i2c i2c-11: Added multiplexed i2c bus 13
[    9.726428] i2c i2c-11: Added multiplexed i2c bus 14
[    9.977729] cx25840 10-0044: cx23102 A/V decoder found @ 0x88 (cx231xx #0-0)
[   11.849903] cx25840 10-0044: loaded v4l-cx231xx-avcore-01.fw firmware (16382 bytes)
[   11.903897] tveeprom: Hauppauge model 111401, rev E1I6, serial# 4035654587
[   11.903898] tveeprom: MAC address is 00:0d:fe:8b:33:bb
[   11.903898] tveeprom: tuner model is SiLabs Si2157 (idx 186, type 4)
[   11.903899] tveeprom: TV standards NTSC(M) ATSC/DVB Digital (eeprom 0x88)
[   11.903900] tveeprom: audio processor is CX23102 (idx 47)
[   11.903900] tveeprom: decoder processor is CX23102 (idx 46)
[   11.903901] tveeprom: has no radio, has IR receiver, has no IR transmitter
[   11.903903] cx231xx 3-2:1.1: v4l2 driver version 0.0.3
[   11.964012] cx231xx 3-2:1.1: Unknown tuner type configuring SIF
[   11.987592] cx231xx 3-2:1.1: Registered video device video0 [v4l2]
[   11.987611] cx231xx 3-2:1.1: Registered VBI device vbi0
[   11.987613] cx231xx 3-2:1.1: video EndPoint Addr 0x84, Alternate settings: 5
[   11.987614] cx231xx 3-2:1.1: VBI EndPoint Addr 0x85, Alternate settings: 2
[   11.987616] cx231xx 3-2:1.1: sliced CC EndPoint Addr 0x86, Alternate settings: 2
[   11.987616] cx231xx 3-2:1.1: TS EndPoint Addr 0x81, Alternate settings: 6
[   11.987690] usbcore: registered new interface driver cx231xx
[   11.993671] cx231xx 3-2:1.1: audio EndPoint Addr 0x83, Alternate settings: 3
[   11.993672] cx231xx 3-2:1.1: Cx231xx Audio Extension initialized
[   12.063860] i2c i2c-14: Added multiplexed i2c bus 15
[   12.063862] lgdt3306a 14-0059: LG Electronics LGDT3306A successfully identified
[   12.065775] si2157 14-0060: Silicon Labs Si2147/2148/2157/2158 successfully attached
[   12.065782] dvbdev: DVB: registering new adapter (cx231xx #0)
[   12.065784] cx231xx 3-2:1.1: DVB: registering adapter 0 frontend 0 (LG Electronics LGDT3306A VSB/QAM Frontend)...
[   12.065955] cx231xx 3-2:1.1: Successfully loaded cx231xx-dvb
[   12.065956] cx231xx 3-2:1.1: Cx231xx dvb Extension initialized
Comment 5 Mark Zimmerman 2019-04-01 20:27:35 UTC
Fixed in 5.0.5

Note You need to log in before you can comment on or make changes to this bug.