LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-13-2023, 12:14 PM   #1
TheNinthWave
LQ Newbie
 
Registered: Jan 2023
Posts: 3

Rep: Reputation: 0
Installing Hauppauge HVR-2250 on Linux Debian 11 Bullseye


Looking on the internet, I first read this old thread: https://www.linuxquestions.org/quest...ch-4175663191/

Code:
root@debianq35:~# locate saa7164 | grep $(uname -r)
/usr/lib/modules/5.10.0-20-amd64/kernel/drivers/media/pci/saa7164
/usr/lib/modules/5.10.0-20-amd64/kernel/drivers/media/pci/saa7164/saa7164.ko
Code:
root@debianq35:~# lsmod | grep saa7164
saa7164               147456  0
tveeprom               28672  1 saa7164
dvb_core              155648  1 saa7164
videodev              294912  1 saa7164
Then at boot

Code:
root@debianq35:~# journalctl -b | grep saa7164
Jan 13 12:55:11 debianq35 kernel: CORE saa7164[0]: subsystem: 0070:8851, board: Hauppauge WinTV-HVR2250 [card=7,autodetected]
Jan 13 12:55:11 debianq35 kernel: saa7164[0]/0: found at 0000:01:00.0, rev: 129, irq: 16, latency: 0, mmio: 0xc1000000
Jan 13 12:55:16 debianq35 kernel: saa7164_api_get_fw_version() error, ret = 0x32
Jan 13 12:55:27 debianq35 kernel: saa7164_api_modify_gpio() error, ret = 0x32
Jan 13 12:55:37 debianq35 kernel: saa7164_api_modify_gpio() error, ret = 0x32
Jan 13 12:55:47 debianq35 kernel: saa7164_api_modify_gpio() error, ret = 0x32
Jan 13 12:55:57 debianq35 kernel: saa7164_api_modify_gpio() error, ret = 0x32
Jan 13 12:56:08 debianq35 kernel: saa7164_api_i2c_read() error, ret(1) = 0x32
Jan 13 12:56:18 debianq35 kernel: saa7164_api_enum_subdevs() error, ret = 0x32
Jan 13 12:56:18 debianq35 kernel: saa7164_cmd_send() Invalid param
Jan 13 12:56:18 debianq35 kernel: saa7164_api_enum_subdevs() error, ret = 0x9
Jan 13 12:56:28 debianq35 kernel: saa7164_api_i2c_read() error, ret(1) = 0x32
Jan 13 12:56:28 debianq35 kernel: saa7164_dvb_register() Frontend initialization failed
Jan 13 12:56:28 debianq35 kernel: saa7164_initdev() Failed to register dvb adapters on porta
Jan 13 12:56:38 debianq35 kernel: saa7164_api_i2c_read() error, ret(1) = 0x32
Jan 13 12:56:38 debianq35 kernel: saa7164_dvb_register() Frontend initialization failed
Jan 13 12:56:38 debianq35 kernel: saa7164_initdev() Failed to register dvb adapters on portb
Jan 13 12:56:38 debianq35 kernel: saa7164_encoder_register() failed (errno = -19), NO PCI configuration
Jan 13 12:56:38 debianq35 kernel: saa7164_initdev() Failed to register mpeg encoder
Jan 13 12:56:38 debianq35 kernel: saa7164_encoder_register() failed (errno = -19), NO PCI configuration
Jan 13 12:56:38 debianq35 kernel: saa7164_initdev() Failed to register mpeg encoder
Jan 13 12:56:38 debianq35 kernel: saa7164_vbi_register() failed (errno = -19), NO PCI configuration
Jan 13 12:56:38 debianq35 kernel: saa7164_initdev() Failed to register vbi device
Jan 13 12:56:38 debianq35 kernel: saa7164_vbi_register() failed (errno = -19), NO PCI configuration
Jan 13 12:56:38 debianq35 kernel: saa7164_initdev() Failed to register vbi device
Jan 13 12:56:49 debianq35 kernel: saa7164_api_set_debug() error, ret = 0x32
Jan 13 12:56:59 debianq35 kernel: saa7164_api_set_debug() error, ret = 0x32
Jan 13 12:56:59 debianq35 kernel: saa7164 driver loaded
What am I missing here ?
 
Old 01-13-2023, 04:10 PM   #2
uteck
Senior Member
 
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: KDE Neon
Posts: 1,278

Rep: Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526
Looks like the driver is installed, it might need firmware?
This link has info for firmware:
https://www.linuxtv.org/wiki/index.p...WinTV-HVR-2200
 
Old 01-13-2023, 05:06 PM   #3
TheNinthWave
LQ Newbie
 
Registered: Jan 2023
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by uteck View Post
Looks like the driver is installed, it might need firmware?
This link has info for firmware:
https://www.linuxtv.org/wiki/index.p...WinTV-HVR-2200
Yeah, I found this page but to me it is confusing.

From reading it, I don't understand if Debian Bullseye beeing recent, everything is in the kernel or not.

I am not sure I have to compile something in the kernel.
If I do have to compile something in the kernel, I am not sure to execute this part because I don't wan't to run MythTV, I want to run Debian and NextPVR in a docker container.

https://i.imgur.com/Ol0lBzd.png

Any further "how to" would be appreciated.
 
Old 01-13-2023, 06:29 PM   #4
TheNinthWave
LQ Newbie
 
Registered: Jan 2023
Posts: 3

Original Poster
Rep: Reputation: 0
I cloned the VM

At first boot, it seems successful

Quote:
root@debianq35:~# dmesg | grep saa7164
[ 4.574779] CORE saa7164[0]: subsystem: 0070:8851, board: Hauppauge WinTV-HVR2250 [card=7,autodetected]
[ 4.574792] saa7164[0]/0: found at 0000:01:00.0, rev: 129, irq: 16, latency: 0, mmio: 0xc1000000
[ 4.797758] saa7164_downloadfirmware() no first image
[ 4.797785] saa7164_downloadfirmware() Waiting for firmware upload (NXP7164-2010-03-10.1.fw)
[ 5.053019] saa7164 0000:01:00.0: firmware: direct-loading firmware NXP7164-2010-03-10.1.fw
[ 5.053032] saa7164_downloadfirmware() firmware read 4019072 bytes.
[ 5.053032] saa7164_downloadfirmware() firmware loaded.
[ 5.053037] saa7164_downloadfirmware() SecBootLoader.FileSize = 4019072
[ 5.053043] saa7164_downloadfirmware() FirmwareSize = 0x1fd6
[ 5.053044] saa7164_downloadfirmware() BSLSize = 0x0
[ 5.053044] saa7164_downloadfirmware() Reserved = 0x0
[ 5.053045] saa7164_downloadfirmware() Version = 0x1661c00
[ 12.209708] saa7164_downloadimage() Image downloaded, booting...
[ 12.317710] saa7164_downloadimage() Image booted successfully.
[ 14.737715] saa7164_downloadimage() Image downloaded, booting...
[ 16.365715] saa7164_downloadimage() Image booted successfully.
[ 16.414096] saa7164[0]: Hauppauge eeprom: model=88061
[ 17.069233] dvbdev: DVB: registering new adapter (saa7164)
[ 17.069247] saa7164 0000:01:00.0: DVB: registering adapter 0 frontend 0 (Samsung S5H1411 QAM/8VSB Frontend)...
[ 20.214195] dvbdev: DVB: registering new adapter (saa7164)
[ 20.214200] saa7164 0000:01:00.0: DVB: registering adapter 1 frontend 0 (Samsung S5H1411 QAM/8VSB Frontend)...
[ 20.250340] saa7164[0]: registered device video0 [mpeg]
[ 20.476505] saa7164[0]: registered device video1 [mpeg]
[ 20.687741] saa7164[0]: registered device vbi0 [vbi]
[ 20.687844] saa7164[0]: registered device vbi1 [vbi]
[ 20.689754] saa7164 driver loaded
As soon as I reboot, it won't work anymore

Quote:
root@debianq35:~# dmesg | grep saa7164
[ 3.233549] CORE saa7164[0]: subsystem: 0070:8851, board: Hauppauge WinTV-HVR2250 [card=7,autodetected]
[ 3.233561] saa7164[0]/0: found at 0000:01:00.0, rev: 129, irq: 16, latency: 0, mmio: 0xc1000000
[ 13.321363] saa7164_api_get_fw_version() error, ret = 0x32
[ 23.561336] saa7164_api_modify_gpio() error, ret = 0x32
[ 33.801371] saa7164_api_modify_gpio() error, ret = 0x32
[ 44.041318] saa7164_api_modify_gpio() error, ret = 0x32
[ 54.281360] saa7164_api_modify_gpio() error, ret = 0x32
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Hauppauge WinTV-HVR 2250 and Debian OolyG Linux - Newbie 4 09-18-2014 05:55 PM
[SOLVED] Hauppauge win-tv hvr-2250 card mdq Linux - Newbie 2 08-13-2013 06:13 AM
Hauppauge! HVR-2250: saa7164: probe failed with error -22 lyle_s Linux - Hardware 2 10-02-2011 06:11 PM
[SOLVED] Hauppauge WinTV-HVR-2250 on Slackware64 13.1 problems to get going lpallard Linux - Hardware 20 12-26-2010 08:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration