Bug 536274

Summary: yast2 tv-configuration with ivtv drivers completely broken
Product: [openSUSE] openSUSE 11.2 Reporter: Johan Persson <johanp>
Component: YaST2Assignee: Ladislav Slezák <lslezak>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None    
Version: Milestone 6   
Target Milestone: ---   
Hardware: x86   
OS: SUSE Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: A patch for /usr/share/YaST2/data/tv_dvbfirmware.ycp file

Description Johan Persson 2009-09-02 13:54:41 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.2) Gecko/20090730 SUSE/3.5.2-3.1 Firefox/3.5.2

The configuration setup for ivtv drives are obsolete and broken

I have a WinTV PVR 350 which yast2 TV detects properly it also detects that it must load the ivtv drivers (or informs that the drivers are installed). However in the information after configuring yast2 informs that:

Configured as TV card number 0
Driver ivtv
Package: ivtv (Installed)
Package: ivtv-firmware (Installed)
Package: ivtv-kmp-default (Not Installed)

There is two problems with this.

1) Package: ivtv-kmp-default does not exist. These drivers are included in the kernel by default so it will result in an error if yast2 tries to find and install this. So this should not be a dependency any more this is obsolete.

2) When yast2 tries to install ivtv-firmware (even though it is already installed) it crashes and results in all configuration are lost.

Furthermore the channel scan in yast2 is also broken.

However, if the ivtv drivers are installed via software configuration they are correctly installed (since they can be used by for example mythtv) so there is nothing inherent wrong with the drivers, they work as expected. This seems to only be a problem in the yast2-tv module.


Reproducible: Always

Steps to Reproduce:
1. Install a suitable TV card that uses ivtv drivers, for example Hauppage WinTV PVR 350
2. Try to configure via Yast2

Actual Results:  
Yast2 crashes

Expected Results:  
TV card properly configured

This TV card works fine in other distributions. (e.g. Ubuntu)
Comment 1 Martin Vidner 2009-09-09 09:31:40 UTC
Let the yast screeners sort the yast bugs.
Comment 2 Ladislav Slezák 2009-09-22 13:01:58 UTC
The ivtv-kmp-default problem has been fixed in yast2-tv-2.18.3 (factory).

Please, test the new package and attach YaST log if it crashes.
Comment 3 Johan Persson 2009-09-23 12:27:44 UTC
I will test this but I'm afraid I cannot find this updated package. If I look at

http://download.opensuse.org/factory/repo/oss/suse/noarch/

there is only the old yast2-tv-2.18.2-2.32

I've also tried searching for 2.18.3 but I cannot find it. Can you provide a URL where I can get this updated package?
Comment 4 Ladislav Slezák 2009-09-23 13:53:58 UTC
Created attachment 319516 [details]
A patch for /usr/share/YaST2/data/tv_dvbfirmware.ycp file

It seems that the build server is very busy now and it takes quite long time to build a package. Even in YaST:HEAD repository it hasn't been built yet...

But you can try this patch - it should fix the KMP problem, but I'm not sure if fixes the crash.

If it still crashes then attach the Yast log please.
Comment 5 Johan Persson 2009-09-23 14:27:35 UTC
I can confirm that this patch fixes the crash problem with yast and it will now remember the settings.

The channel scan in Yast now also seems to work.
Comment 6 Ladislav Slezák 2009-09-24 06:37:47 UTC
Thank you for the feedback, closing as FIXED.
Comment 7 Brandon Philips 2009-12-04 17:24:58 UTC
*** Bug 536532 has been marked as a duplicate of this bug. ***