Bug 130098 - YAST2 does not install the TV card Hauppauge PVR 250 correctly
Summary: YAST2 does not install the TV card Hauppauge PVR 250 correctly
Status: RESOLVED FIXED
: 119827 144616 (view as bug list)
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: YaST2 (show other bugs)
Version: unspecified
Hardware: x86-64 Other
: P5 - None : Normal
Target Milestone: ---
Assignee: Ladislav Slezák
QA Contact: Klaus Kämpf
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-21 21:15 UTC by F. Seidel
Modified: 2007-06-25 05:49 UTC (History)
5 users (show)

See Also:
Found By: Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description F. Seidel 2005-10-21 21:15:51 UTC
YAST2 detects the PVR 250 correctly, but the installation process failed. This
means: /dev/video0 does not exist after installation and programs like kdetv
does not found any devices.
Comment 1 Berthold Gunreben 2005-10-25 15:21:25 UTC
Please have a look at
http://www.opensuse.org/Submit_a_bug#Reporting_a_Bug

All SUSE Linux OSS bugs should go into the product SUSE LINUX 10.0 or
newer, because SUSE Linux is based on the SUSE Linux OSS code base.
Always choose the right product when reporting a bug
Comment 2 Martin Lasarsch 2005-10-26 14:35:24 UTC
kdetv will not work, pvr cards output a mpeg2 stream unlike bttv cards which will work with kdetv or other applications. The interface to the card is totally different.

You also need to install the firmware for the card.

Ladislav: is it possible, or already is, a message that these cards not work with most of the tv applications when you configure them with YaST?
Comment 3 F. Seidel 2005-10-26 17:31:48 UTC
Which program works with the PVR card? Yast installed the PVR automatically, so i think the firmware is installed. Yast displayed no message. The install result is:

WinTV PVR 250

As TV card number 0 configured
Driver ivtv
Comment 4 Martin Lasarsch 2005-10-27 09:29:14 UTC
AFAIK there is no program included. You might can watch the stream directly with realplayer. External programs like mplayer or xine work too. But this is just to watch the mpeg2 stream (so just do programname /dev/video0).

If you want a real tv like expierience, take a look at mythtv and maybe freevo. Both are not included, but at least for mythtv a rpm's are available, don't remember where. Take a look at http://www.opensuse.org/Additional_YaST_Package_Repositories

Firmware: the firmware is not installed. check messages.
Comment 5 Ladislav Slezák 2005-10-27 10:33:48 UTC
The driver is installed, but without firmware it won't work. The license of the firmware is not known and I would expect it wouldn't allow us to redistribute it.

I will adapt the yast module to display some information about firmware issue, or it can ask a user for FW files (they need to be obtained manually by the user, so the user had to read/confirm the license before).

(See http://ivtvdriver.org for more information about the driver, firmware and tools.)
Comment 6 F. Seidel 2005-10-27 20:45:05 UTC
Yes, you are right, it's the firmware which causes the error. I installed it like the firmware how-to from ivtvdriver.org but it fails too. I found in /var/log/messages the following lines after installing the firmware driver:

Oct 27 22:32:08 linux kernel: ivtv: firmware load failed
Oct 27 22:32:08 linux kernel: ivtv: failed loading encoder firmware
Oct 27 22:32:08 linux kernel: ivtv: Error loading firmware -3!
Oct 27 22:32:08 linux kernel: ivtv: Error -3 initializing firmware.
Oct 27 22:32:08 linux kernel: ivtv: Error -12 on initialization
Oct 27 22:32:08 linux kernel: ivtv-iTVC15_16_mpg2_encoder_card: probe of 0000:05:08.0 failed with error -12

In the folder /lib/modules are now the three files HcwMakoA.ROM, ivtv-fw-dec.bin and ivtv-fw-enc.bin. I think the folder /lib/modules is not the correct one for SuSE Linux 10.0.

There is no license text for the firmware files, so the best way is to download the firmware files during auto-installing the card with Yast2. This is for a normal user the easiest way.
Comment 7 Ladislav Slezák 2005-10-31 12:58:23 UTC
You should use /usr/lib/hotplug/firmware/ directory for the firmware files.

I don't think that no explicit license means that yast is allowed to automatically download and install the firmware files. Christopher?
Comment 8 Christopher De Nicolo 2005-10-31 14:11:10 UTC
#7: right, we need an explicit permission for distribution. 
Comment 9 Ladislav Slezák 2005-10-31 15:39:43 UTC
For distribution yes, of course. But for downloading and installing from web? What if there is no explicic license? Can the yast module download and install the firmware on a user request?
Comment 10 Martin Lasarsch 2005-11-02 15:55:44 UTC
F.: have you tried /usr/lib/hotplug/firmware/? I just scanned through some old mails and found /lib/firmware/ (this was on 9.2 or 9.3).

#9: if YaST can't donwload it during configuration of the card, an entry in YOU would be nice.
Comment 11 F. Seidel 2005-11-02 19:04:34 UTC
#10: Yes i tried it with the path from Ladislav (#7). Now the card works correctly.

Thanks to all!
Comment 12 Christopher De Nicolo 2005-11-03 09:14:21 UTC
#9: Yast would provide only a link  to an externel server and the user decides to 
download the firmware, so that should be ok. But it should be made clear to the
user from where the firmware will be downloaded.
Comment 13 Jiri Srain 2007-05-21 11:52:03 UTC
*** Bug 119827 has been marked as a duplicate of this bug. ***
Comment 14 Ladislav Slezák 2007-06-04 13:49:02 UTC
*** Bug 144616 has been marked as a duplicate of this bug. ***
Comment 15 Ladislav Slezák 2007-06-04 13:52:34 UTC
BTW openSUSE10.3 contains 'ivtv', 'ivtv-kmp-default' and 'ivtv-firmware' packages.

AFAIK the ivtv drivers should be included in kernel-2.6.22, the installation process should be then very easy... I'll enhance the yast module when it's released.
Comment 16 Ladislav Slezák 2007-06-06 09:32:58 UTC
OK, I will not wait for 2.6.22...

Yast now installs 'ivtv', 'ivtv-kmp-default' and 'ivtv-firmware' packages. Later (when 2.6.22 is out) I'll remove 'ivtv-kmp-default' from the list.

Fixed in yast2-tv-2.15.6 (will be included in 10.3 Aplha5). The card should work out of the box now.
Comment 17 Ted Bullock 2007-06-25 05:49:00 UTC
Very promising, thanks for the action on this.  Obviously, this has been a problem that more or less went hand in hand with having an out-of-tree driver.

I haven't installed 10.3 alpha 5 onto my media machine yet (waiting until beta 1 since the machine is in production), so I haven't been able to test this stuff for myself.

However, I know that the firmware itself is redistributed/used under a specific license from Hauppauge.  Does the installation of the ivtv-firmware package present a click-through acceptance box upon installation, or is acceptance implied by use of the card?