Bug 906806

Summary: DVB does not establish the /dev/video0 device in openSUSE 13.2 as it did in previous versions
Product: [openSUSE] openSUSE Distribution Reporter: Forgotten User 7Vd19u3Vod <forgotten_7Vd19u3Vod>
Component: OtherAssignee: E-mail List <bnc-team-screening>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P3 - Medium CC: casper.pedersen, dimstar, forgotten_7Vd19u3Vod, tiwai
Version: 13.2   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 13.2   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Error message screenshot from kaffeine
DVB hardware info from YaST

Description Forgotten User 7Vd19u3Vod 2014-11-24 11:05:15 UTC
Created attachment 614702 [details]
Error message screenshot from kaffeine

After upgrade from openSUSE 13.1 to openSUSE 13.2  I am unable to watch TV with my DVB-C card and kaffeine as it worked previously without problems on previous openSUSE versions, although I am using the identical set up and configuration settings. 

Attached screenshot shows situation when selecting "Watch Digital TV" on the kaffeine start page. The screenshot shows also the TV channel selection created under openSUSE 13.1.

It seems that the problem is that no "videox" was created when DVB was initialised by the kernel:

apollo:~ # ls -l /dev/v*
crw------- 1 root root      10,  58 Nov 24 10:43 /dev/vboxdrv
crw-rw-rw- 1 root root      10,  57 Nov 24 10:43 /dev/vboxdrvu
crw------- 1 root root      10,  56 Nov 24 10:43 /dev/vboxnetctl
crw-rw---- 1 root tty        7,   0 Nov 24 10:43 /dev/vcs
crw-rw---- 1 root tty        7,   1 Nov 24 10:43 /dev/vcs1
crw-rw---- 1 root tty        7,  10 Nov 24 10:43 /dev/vcs10
crw-rw---- 1 root tty        7,   2 Nov 24 10:43 /dev/vcs2
crw-rw---- 1 root tty        7,   3 Nov 24 10:43 /dev/vcs3
crw-rw---- 1 root tty        7,   4 Nov 24 10:43 /dev/vcs4
crw-rw---- 1 root tty        7,   5 Nov 24 10:43 /dev/vcs5
crw-rw---- 1 root tty        7,   6 Nov 24 10:43 /dev/vcs6
crw-rw---- 1 root tty        7,   7 Nov 24 10:43 /dev/vcs7
crw-rw---- 1 root tty        7, 128 Nov 24 10:43 /dev/vcsa
crw-rw---- 1 root tty        7, 129 Nov 24 10:43 /dev/vcsa1
crw-rw---- 1 root tty        7, 138 Nov 24 10:43 /dev/vcsa10
crw-rw---- 1 root tty        7, 130 Nov 24 10:43 /dev/vcsa2
crw-rw---- 1 root tty        7, 131 Nov 24 10:43 /dev/vcsa3
crw-rw---- 1 root tty        7, 132 Nov 24 10:43 /dev/vcsa4
crw-rw---- 1 root tty        7, 133 Nov 24 10:43 /dev/vcsa5
crw-rw---- 1 root tty        7, 134 Nov 24 10:43 /dev/vcsa6
crw-rw---- 1 root tty        7, 135 Nov 24 10:43 /dev/vcsa7
crw------- 1 root root      10,  63 Nov 24 10:43 /dev/vga_arbiter
crw------- 1 root root      10, 137 Nov 24 10:43 /dev/vhci
crw------- 1 root root      10, 238 Nov 24 10:43 /dev/vhost-net

/dev/vboxusb:
total 0
drwxr-x--- 2 root vboxusers 140 Nov 24 10:43 003

/dev/vfio:
total 0
crw------- 1 root root 10, 196 Nov 24 10:43 vfio



However the related section in /var/log/messages does not contain any error:

2014-11-20T09:46:52.745785+01:00 apollo kernel: [   25.138480] saa7146: found saa7146 @ mem ffffc9000695a000 (revision 1, irq 19) (0x13c2,0x0002)
2014-11-20T09:46:52.929786+01:00 apollo kernel: [   25.321812] DVB: registering new adapter (Technotrend/Hauppauge WinTV DVB-C rev2.X)
2014-11-20T09:46:52.948774+01:00 apollo kernel: [   25.340764] adapter has MAC addr = 00:d0:5c:22:e3:f5
2014-11-20T09:46:53.278320+01:00 apollo kernel: [   25.671206] dvb-ttpci: gpioirq unknown type=0 len=0
2014-11-20T09:46:53.297123+01:00 apollo kernel: [   25.689857] dvb-ttpci: info @ card 0: firm f0240009, rtsl b0250018, vid 71010068, app 80002622
2014-11-20T09:46:53.297126+01:00 apollo kernel: [   25.689859] dvb-ttpci: firmware @ card 0 supports CI link layer interface
2014-11-20T09:46:53.369789+01:00 apollo kernel: [   25.761746] dvb-ttpci: adac type set to 0 @ card 0
2014-11-20T09:46:53.371762+01:00 apollo kernel: [   25.763796] saa7146_vv: saa7146 (0): registered device video0 [v4l2]
2014-11-20T09:46:53.402764+01:00 apollo kernel: [   25.795092] av7110 0000:05:01.0: DVB: registering adapter 0 frontend 0 (VLSI VES1820 DVB-C)...
2014-11-20T09:46:53.402768+01:00 apollo kernel: [   25.795183] input: DVB on-card IR receiver as /devices/pci0000:00/0000:00:1c.6/0000:04:00.0/0000:05:01.0/input/input13
2014-11-20T09:46:53.402769+01:00 apollo kernel: [   25.795230] dvb-ttpci: found av7110-0.

The same set of messages from the boot with openSUSE 13.1 appears identical, but a /dev/video0 had been created:

2014-11-07T14:51:22.279318+01:00 apollo kernel: [   24.670268] av7110 0000:05:01.0: enabling device (0000 -> 0002)
2014-11-07T14:51:22.279328+01:00 apollo kernel: [   24.670383] saa7146: found saa7146 @ mem ffffc900040c4000 (revision 1, irq 19) (0x13c2,0x0002)
2014-11-07T14:51:22.290119+01:00 apollo kernel: [   24.681337] DVB: registering new adapter (Technotrend/Hauppauge WinTV DVB-C rev2.X)
2014-11-07T14:51:22.309109+01:00 apollo kernel: [   24.699802] adapter has MAC addr = 00:d0:5c:22:e3:f5
2014-11-07T14:51:22.561111+01:00 apollo kernel: [   24.947177] dvb-ttpci: gpioirq unknown type=0 len=0
2014-11-07T14:51:22.595086+01:00 apollo kernel: [   24.965886] dvb-ttpci: info @ card 0: firm f0240009, rtsl b0250018, vid 71010068, app 80002622
2014-11-07T14:51:22.595089+01:00 apollo kernel: [   24.965886] dvb-ttpci: firmware @ card 0 supports CI link layer interface
2014-11-07T14:51:22.647128+01:00 apollo kernel: [   25.037741] dvb-ttpci: adac type set to 0 @ card 0
2014-11-07T14:51:22.649113+01:00 apollo kernel: [   25.039858] saa7146_vv: saa7146 (0): registered device video0 [v4l2]
2014-11-07T14:51:22.654099+01:00 apollo kernel: [   25.044940] NVRM: Your system is not currently configured to drive a VGA console
2014-11-07T14:51:22.654107+01:00 apollo kernel: [   25.044944] NVRM: on the primary VGA device. The NVIDIA Linux graphics driver
2014-11-07T14:51:22.654108+01:00 apollo kernel: [   25.044946] NVRM: requires the use of a text-mode VGA console. Use of other console
2014-11-07T14:51:22.654109+01:00 apollo kernel: [   25.044947] NVRM: drivers including, but not limited to, vesafb, may result in
2014-11-07T14:51:22.654110+01:00 apollo kernel: [   25.044949] NVRM: corruption and stability problems, and is not supported.
2014-11-07T14:51:22.680088+01:00 apollo kernel: [   25.071138] av7110 0000:05:01.0: DVB: registering adapter 0 frontend 0 (VLSI VES1820 DVB-C)...
2014-11-07T14:51:22.680092+01:00 apollo kernel: [   25.071306] input: DVB on-card IR receiver as /devices/pci0000:00/0000:00:1c.6/0000:04:00.0/0000:05:01.0/input/input13
2014-11-07T14:51:22.680093+01:00 apollo kernel: [   25.071403] dvb-ttpci: found av7110-0.
Comment 1 Forgotten User 7Vd19u3Vod 2014-11-24 11:13:34 UTC
Created attachment 614703 [details]
DVB hardware info from YaST
Comment 2 Forgotten User 7Vd19u3Vod 2014-11-24 11:18:29 UTC
lsmod on openSUSE 13.2 seems to show all relvant modules active:

apollo:~ # lsmod
Module                  Size  Used by
lp                     17759  0 
parport_pc             41414  1 
st                     44725  0 
fuse                  100461  3 
bnep                   19624  2 
bluetooth             483238  5 bnep
6lowpan_iphc           18702  1 bluetooth
rfkill                 26772  2 bluetooth
xt_pkttype             12504  3 
xt_LOG                 17718  26 
xt_limit               12711  26 
iscsi_ibft             12862  0 
iscsi_boot_sysfs       16000  1 iscsi_ibft
af_packet              40034  0 
ip6t_REJECT            12939  3 
xt_tcpudp              12884  41 
nf_conntrack_ipv6      14798  3 
nf_defrag_ipv6         34768  1 nf_conntrack_ipv6
ip6table_raw           12683  1 
ipt_REJECT             12541  3 
iptable_raw            12678  1 
xt_CT                  12956  4 
iptable_filter         12810  1 
ip6table_mangle        12700  0 
nf_conntrack_netbios_ns    12665  0 
nf_conntrack_broadcast    12589  1 nf_conntrack_netbios_ns
nf_conntrack_ipv4      14806  3 
nf_defrag_ipv4         12758  1 nf_conntrack_ipv4
ip_tables              27240  2 iptable_filter,iptable_raw
xt_conntrack           12760  6 
nf_conntrack          114273  6 xt_CT,nf_conntrack_netbios_ns,xt_conntrack,nf_conntrack_broadcast,nf_conntrack_ipv4,nf_conntrack_ipv6
ip6table_filter        12815  1 
ip6_tables             27026  3 ip6table_filter,ip6table_mangle,ip6table_raw
x_tables               34059  15 xt_pkttype,ip6table_filter,xt_CT,ip6table_mangle,ip_tables,xt_tcpudp,xt_limit,xt_conntrack,xt_LOG,iptable_filter,ip6table_raw,ipt_REJECT,ip6_tables,iptable_raw,ip6t_REJECT
vboxpci                27323  0 
vboxnetadp             25670  0 
vboxnetflt             23517  0 
vboxdrv               426156  3 vboxnetadp,vboxnetflt,vboxpci
gspca_ov519            52840  0 
gspca_main             32596  1 gspca_ov519
nls_iso8859_1          12713  1 
nls_cp437              16991  1 
vfat                   17411  1 
fat                    70078  1 vfat
joydev                 17344  0 
nvidia_uvm             39162  0 
nvidia              10565309  47 nvidia_uvm
snd_hda_codec_hdmi     55740  1 
snd_hda_codec_realtek    80983  1 
snd_hda_codec_generic    77129  1 snd_hda_codec_realtek
snd_hda_intel          34475  5 
snd_hda_controller     35103  1 snd_hda_intel
snd_hda_codec         151970  5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
snd_hwdep              13602  1 snd_hda_codec
snd_pcm               116857  4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
snd_seq                71266  0 
snd_seq_device         14497  1 snd_seq
snd_timer              33609  2 snd_pcm,snd_seq
snd                    87947  20 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_seq,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_seq_device
iTCO_wdt               13480  0 
iTCO_vendor_support    13718  1 iTCO_wdt
ppdev                  17671  0 
x86_pkg_temp_thermal    14205  0 
intel_powerclamp       18823  0 
coretemp               13441  0 
kvm_intel             151748  0 
kvm                   501446  1 kvm_intel
crct10dif_pclmul       14268  0 
crc32_pclmul           13133  0 
crc32c_intel           22094  0 
ghash_clmulni_intel    13230  0 
aesni_intel           152552  0 
aes_x86_64             17131  1 aesni_intel
lrw                    13286  1 aesni_intel
gf128mul               14951  1 lrw
glue_helper            13990  1 aesni_intel
ablk_helper            13597  1 aesni_intel
cryptd                 16263  3 ghash_clmulni_intel,aesni_intel,ablk_helper
serio_raw              13434  0 
pcspkr                 12718  0 
i2c_i801               22454  0 
dvb_ttpci             121203  0 
saa7146_vv             70022  1 dvb_ttpci
videobuf_dma_sg        19262  1 saa7146_vv
ttpci_eeprom           12828  1 dvb_ttpci
saa7146                29197  2 saa7146_vv,dvb_ttpci
dvb_core              129753  1 dvb_ttpci
v4l2_common            15265  1 saa7146_vv
videodev              157329  4 saa7146_vv,gspca_main,v4l2_common,gspca_ov519
lpc_ich                21093  0 
videobuf_core          30119  2 videobuf_dma_sg,saa7146_vv
mfd_core               13435  1 lpc_ich
r8169                  75790  0 
mii                    13934  1 r8169
drm                   335594  3 nvidia
soundcore              15047  2 snd,snd_hda_codec
mei_me                 23664  0 
mei                    96067  1 mei_me
shpchp                 32951  0 
fan                    13018  0 
thermal                22971  0 
battery                23237  0 
parport                46395  3 lp,ppdev,parport_pc
tpm_infineon           17131  0 
tpm_tis                18581  0 
tpm                    39966  2 tpm_tis,tpm_infineon
intel_smartconnect     12637  0 
processor              40484  0 
dm_mod                111114  0 
efivarfs               13268  0 
uas                    27255  0 
usb_storage            62302  1 uas
mxm_wmi                13021  0 
sr_mod                 22416  0 
cdrom                  60734  1 sr_mod
aic7xxx               139077  0 
scsi_transport_spi     34828  1 aic7xxx
xhci_hcd              178893  0 
wmi                    19193  1 mxm_wmi
video                  24419  0 
button                 13971  0 
sg                     40630  0
Comment 3 Dominique Leuenberger 2014-11-24 11:20:05 UTC
I don't understand the dependency on the VMWare bug 904373; can you please elaborate on that?
Comment 4 Forgotten User 7Vd19u3Vod 2014-11-24 11:34:43 UTC
There is no direct technical dependency on the VMWare bug 904373. I just used the Bugzilla clone option in order to get the same "Product", "Component" attributes for my bug, which I am unable to select via the standard Bugzilla product selection menu. The only one I can select there is "openSUSE Build Service" - unfortunately also if going via clone.
Comment 5 Forgotten User 7Vd19u3Vod 2014-11-24 12:13:01 UTC
Correction to the first description of the problem:

I just realised that the both segments from /var/log/messages I listed are from openSUSE 13.1.

The messages file created by openSUSE 13.2 boots do not contain any "DVB" or reference to the Hauppauge card.
Comment 6 Takashi Iwai 2014-11-24 12:54:23 UTC
Please give the output of dmesg in the non-working case.

Also, try to intsall openSUSE 13.1 kernel on the 13.2 base system additionally, boot to it, and confirm that the DVB is wokring there.  If yes, get the kernel messages again (via dmesg), and attach to buzailla, too.
Comment 7 Forgotten User 7Vd19u3Vod 2014-11-24 13:27:28 UTC
(In reply to Takashi Iwai from comment #6)
> Please give the output of dmesg in the non-working case.
> 
> Also, try to intsall openSUSE 13.1 kernel on the 13.2 base system
> additionally, boot to it, and confirm that the DVB is wokring there.  If
> yes, get the kernel messages again (via dmesg), and attach to buzailla, too.

Hello,

I just resolved the problem myself.
The reason was that the necessary firmware file "dvb-ttpci-01.fw" was missing in /lib/firmware. Obviously this was not installed with 13.2 as with previous versions.
I took one from 
http://www.linuxtv.org/downloads/firmware/
and copied it ti /lib/firmware.
/dev/video0 is being created now at boot time. Th kaffeine message disappeared. However, my impression is that the signal reception quality is worse than previously - I need to check whether my TV cable signal is the reason.

My proposal is to downgrade this error to the request to keep the firmware file for dvb-ttpci included in openSUSE 13.2.

The relevant sections form /var/log messages are now:
2014-11-24T13:41:37.294501+01:00 apollo kernel: [   24.058202] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
2014-11-24T13:41:37.294501+01:00 apollo kernel: [   24.107208] DVB: registering new adapter (Technotrend/Hauppauge WinTV DVB-C rev2.X)

2014-11-24T13:41:37.294527+01:00 apollo kernel: [   24.374537] dvb-ttpci: info @ card 0: firm f0240009, rtsl b0250018, vid 71010068, app 80002622
2014-11-24T13:41:37.294527+01:00 apollo kernel: [   24.374539] dvb-ttpci: firmware @ card 0 supports CI link layer interface
2014-11-24T13:41:37.294527+01:00 apollo kernel: [   24.446468] dvb-ttpci: adac type set to 0 @ card 0
2014-11-24T13:41:37.294529+01:00 apollo kernel: [   24.448535] saa7146_vv: saa7146 (0): registered device video0 [v4l2]
2014-11-24T13:41:37.294529+01:00 apollo kernel: [   24.512809] av7110 0000:05:01.0: DVB: registering adapter 0 frontend 0 (VLSI VES1820 DVB-C)...
2014-11-24T13:41:37.294530+01:00 apollo kernel: [   24.512931] input: DVB on-card IR receiver as /devices/pci0000:00/0000:00:1c.6/0000:04:00.0/0000:05:01.0/input/input16
2014-11-24T13:41:37.294530+01:00 apollo kernel: [   24.512981] dvb-ttpci: found av7110-0.
Comment 8 Takashi Iwai 2014-11-24 13:35:27 UTC
OK, good to hear that the issue was resolved.

Note that this firmware file has never been officially distributed from SUSE due to legal reasons.  You must have installed from somewhere else and lost after upgrades.
Comment 9 Forgotten User 7Vd19u3Vod 2014-11-24 15:19:51 UTC
(In reply to Takashi Iwai from comment #8)
> OK, good to hear that the issue was resolved.
> 
> Note that this firmware file has never been officially distributed from SUSE
> due to legal reasons.  You must have installed from somewhere else and lost
> after upgrades.

Thanks as well for attempting to help.
However, I do not remember ever having picked up this firmware from somewhere else (or forgot!). I am surprised that this DVB card worked with kaffeine after installation of openSUSE 13.1 on a new fresh computer.
BTW: after finding a newer version of the firmware at 
http://www.escape-edv.de/endriss/firmware/ and installing it I have now the same TV quality back as I had on openSUSE 13.1.