帮助解决 ubuntu 13.04 上的 hauppauge wintv-hvr-2250 问题

帮助解决 ubuntu 13.04 上的 hauppauge wintv-hvr-2250 问题

我一直遵循此网站上的说明:http://www.linuxtv.org/wiki/index.php/Hauppauge_WinTV-HVR-2200

我绝不是一个专家,我被困在标题为“让它发挥作用”的部分。其中写道:

要让这张卡工作,你必须

apply the this patch
download v4l-saa7164-1.0.2-3.fw and copy it to /lib/modules

我不知道如何应用补丁,我正在寻求帮助。谢谢。

答案1

我最近买了一张同样的卡,但对电视调谐卡和 Linux 一无所知。我花了很长时间才设置好它,有一次我差点就把卡退回去,觉得这是一次错误的购买。

我很高兴我没有这么做,因为该卡与我的设置配合得很好。

这是我所做的

我复制了这些文件

NXP7164-2010-03-10.1.fw
v4l-saa7164-1.0.2-3.fw
v4l-saa7164-1.0.3-3.fw

/lib/firmware

你可以从这里获取 http://www.steventoth.net/linux/hvr22xx/firmwares/

只需查看文件夹你就会找到它们。

重新启动然后它们就应该加载。

你可以检查dmesg | grep saa7164

这是我的输出


[   23.126026] saa7164 driver loaded
[   23.126116] saa7164 0000:05:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[   23.128214] CORE saa7164[0]: subsystem: 0070:8851, board: Hauppauge WinTV-HVR2250 [card=7,autodetected]
[   23.128224] saa7164[0]/0: found at 0000:05:00.0, rev: 129, irq: 16, latency: 0, mmio: 0xfd800000
[   23.128234] saa7164 0000:05:00.0: setting latency timer to 64
[   23.305001] saa7164_downloadfirmware() no first image
[   23.305024] saa7164_downloadfirmware() Waiting for firmware upload (NXP7164-2010-03-10.1.fw)
[   24.346108] saa7164_downloadfirmware() firmware read 4019072 bytes.
[   24.346113] saa7164_downloadfirmware() firmware loaded.
[   24.346129] saa7164_downloadfirmware() SecBootLoader.FileSize = 4019072
[   24.346136] saa7164_downloadfirmware() FirmwareSize = 0x1fd6
[   24.346139] saa7164_downloadfirmware() BSLSize = 0x0
[   24.346142] saa7164_downloadfirmware() Reserved = 0x0
[   24.346145] saa7164_downloadfirmware() Version = 0x1661c00
[   31.208034] saa7164_downloadimage() Image downloaded, booting...
[   31.312020] saa7164_downloadimage() Image booted successfully.
[   33.436032] saa7164_downloadimage() Image downloaded, booting...
[   35.308041] saa7164_downloadimage() Image booted successfully.
[   35.352417] saa7164[0]: Hauppauge eeprom: model=88061
[   35.961461] DVB: registering new adapter (saa7164)
[   38.890487] DVB: registering new adapter (saa7164)
[   38.891328] saa7164[0]: registered device video0 [mpeg]
[   39.122255] saa7164[0]: registered device video1 [mpeg]
[   39.332681] saa7164[0]: registered device vbi0 [vbi]
[   39.332747] saa7164[0]: registered device vbi1 [vbi]

我使用过该卡的模拟和数字部分,但目前我只使用模拟部分,因为我的有线电视提供商只向我提供我目前通过模拟方式支付的费用。

我相信你已经知道了,但是

ivtv-utils 和 vlc 是出色的测试和调试工具

答案2

简短的回答:您不需要该补丁。

Hauppauge_WinTV -HVR-2500 需要几个文件才能被检测到。这些是我的/lib/firmware/3.8.0-27-generic目录中包含的文件:dvb-fe-tda10048-1.0.fw,,,,。如果您从以下位置获取文件NXP7164-2010-03-10.1.fwv4l-saa7164-1.0.2.fwv4l-saa7164-1.0.3.fwv4l-saa7164-1.0.3-3.fwhttp://onwww.steventoth.net,如网页上的说明http://www.linuxtv.org/wiki/index.php/Hauppauge_WinTV-HVR-2200,并运行脚本:

sh extract.sh

必要的文件应该位于你的主目录中。你需要做的就是在终端中导航到你的主目录并使用 cp 命令来复制它们:

sudo cp *fw /lib/firmware/3.8.0-27-generic  [enter your password when prompted].  

这会将所有带有后缀的文件复制.fw到固件子目录中。然后重新启动。

要查看您的卡是否被识别,请打开终端并输入:

dmesg | grep 7164

你应该看到类似这样的内容:

[    0.253798] pci 0000:02:00.0: [1131:7164] type 00 class 0x048000  
[   15.412176] saa7164 driver loaded  
[   15.412653] CORE saa7164[0]: subsystem: 0070:8851, board: Hauppauge WinTV-HVR2250 [card=7,autodetected]  
[   15.412658] saa7164[0]/0: found at 0000:02:00.0, rev: 129, irq: 16, latency:
0, mmio: 0xfe400000  
[   15.648146] saa7164_downloadfirmware() no first image  
[   15.648213] saa7164_downloadfirmware() Waiting for firmware upload 
(NXP7164-2010-03-10.1.fw)  
[   17.518041] saa7164_downloadfirmware() firmware read 4019072 bytes.  
[   17.518044] saa7164_downloadfirmware() firmware loaded.  
[   17.518077] saa7164_downloadfirmware() SecBootLoader.FileSize = 4019072  
[   17.518082] saa7164_downloadfirmware() FirmwareSize = 0x1fd6  
[   17.518083] saa7164_downloadfirmware() BSLSize = 0x0  
[   17.518084] saa7164_downloadfirmware() Reserved = 0x0  
[   17.518085] saa7164_downloadfirmware() Version = 0x1661c00  
[   24.396922] saa7164_downloadimage() Image downloaded, booting...  
[   24.501486] saa7164_downloadimage() Image booted successfully.  
[   27.220221] saa7164_downloadimage() Image downloaded, booting...  
[   29.086382] saa7164_downloadimage() Image booted successfully.  
[   29.136008] tveeprom 6-0000: audio processor is SAA7164 (idx 43)  
[   29.136009] tveeprom 6-0000: decoder processor is SAA7164 (idx 40)  
[   29.136011] saa7164[0]: Hauppauge eeprom: model=88061  
[   29.887825] DVB: registering new adapter (saa7164)  
[   29.887831] saa7164 0000:02:00.0: DVB: registering adapter 0 frontend 0 (Samsung S5H1411 QAM/8VSB Frontend)...  
[   32.832640] DVB: registering new adapter (saa7164)  
[   32.832646] saa7164 0000:02:00.0: DVB: registering adapter 1 frontend 0 (Samsung S5H1411 QAM/8VSB Frontend)...  
[   32.832982] saa7164[0]: registered device video0 [mpeg]  
[   33.063193] saa7164[0]: registered device video1 [mpeg]  
[   33.274041] saa7164[0]: registered device vbi0 [vbi]  
[   33.274065] saa7164[0]: registered device vbi1 [vbi]  

希望这可以帮助。

答案3

很好的答案,我也遇到了卡在挂起后无法正常工作的问题。我发现,如果我在挂起之前移除设备并在挂起后恢复,一切都会好起来。这可以按如下方式完成:

在 /etc/pm/sleep.d/06_saa7164 中添加文件(使之可执行)

##!/bin/sh
## Fix some issues with mythtv

if [ "$1" = "suspend" ]
then
    stop mythtv-backend 
    sleep 2
    modprobe -r saa7164 
fi
if [ "$1" = "resume" ]
then
        modprobe saa7164 
        sleep 2
        start mythtv-backend
fi

我为此挣扎了很长一段时间,希望它能有所帮助。

相关内容