Hauppauge hvr-2200 firmware not included

Bug #579783 reported by Aaron Whitehouse
38
This bug affects 6 people
Affects Status Importance Assigned to Milestone
linux-firmware-nonfree (Ubuntu)
In Progress
Medium
Unassigned

Bug Description

I have a Hauppauge hvr-2200 and am using it on Mythbuntu Lucid. The firmware for the card is not included in Mythbuntu and has to be manually extracted and moved to the lib firmware folder each kernel update.

I've managed to make the card work by:
(1) putting it in the machine and then reading dmesg, which said that it couldn't load the firmware (someone else's output follows):
[ 5.065271] saa7164[0]: Your board isn't known (yet) to the driver.
[ 5.065272] saa7164[0]: Try to pick one of the existing card configs via
[ 5.065273] saa7164[0]: card=<n> insmod option. Updating to the latest
[ 5.065273] saa7164[0]: version might help as well.
[ 5.065276] saa7164[0]: Here are valid choices for the card=<n> insmod option:
[ 5.065278] saa7164[0]: card=0 -> Unknown
[ 5.065280] saa7164[0]: card=1 -> Generic Rev2
[ 5.065281] saa7164[0]: card=2 -> Generic Rev3
[ 5.065283] saa7164[0]: card=3 -> Hauppauge WinTV-HVR2250
[ 5.065285] saa7164[0]: card=4 -> Hauppauge WinTV-HVR2200
[ 5.065286] saa7164[0]: card=5 -> Hauppauge WinTV-HVR2200
[ 5.065288] saa7164[0]: card=6 -> Hauppauge WinTV-HVR2200
[ 5.065290] saa7164[0]: card=7 -> Hauppauge WinTV-HVR2250
[ 5.065291] saa7164[0]: card=8 -> Hauppauge WinTV-HVR2250

(2) I then followed these instructions http://www.xpmediacentre.com.au/community/showthread.php/38864-Hauppauge-HVR-2200-Tuner-Install-Guide?p=286124&viewfull=1 to do a modprobe card=4 and add it to the options file so that it stays after reboot.
(3) this didn't work and gave an error about not finding the firmware to upload, so I had to extract the firmware with the instructions here http://ubuntu-virginia.ubuntuforums.org/showthread.php?p=7344302

I understand why my card is not yet supported, but I don't understand why the firmware is not included. Is it a licensing issue?

Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Hi Aaron,

Please be sure to confirm this issue exists with the latest development release of Ubuntu. ISO CD images are available from http://cdimage.ubuntu.com/releases/ . If the issue remains, please run the following command from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux 579783

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

    [This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: needs-kernel-logs
tags: added: needs-upstream-testing
tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Robert Garshaw (robert-garshaw) wrote :

This is still an issue with lucid. Would be great if this firmware could be included in linux-firmware, or linux-firmware-nonfree at least.

affects: linux (Ubuntu) → linux-firmware-nonfree (Ubuntu)
Changed in linux-firmware-nonfree (Ubuntu):
status: Incomplete → Triaged
Revision history for this message
Chase Douglas (chasedouglas) wrote :

Please test the attached firmware package.

Changed in linux-firmware-nonfree (Ubuntu):
status: Triaged → In Progress
assignee: nobody → Chase Douglas (chasedouglas)
importance: Undecided → Medium
Revision history for this message
Robert Garshaw (robert-garshaw) wrote :

I've been planning to test the package and will hopefully get to it in the near future (it's on my myth box which is finally working). I've just got to make sure I undo everything already there before I do.

Revision history for this message
Aaron Whitehouse (aaron-whitehouse) wrote :

(Note that putting the extracted firmware in /lib/firmware/, rather than /lib/firmware/`uname -r`/, seems to make it persist through kernel updates, but I haven't managed to test this explicitly. I haven't had a chance to test the .deb yet, sorry.)

Revision history for this message
Aaron Whitehouse (aaron-whitehouse) wrote :

I've tested the file and it works brilliantly. For your info, the three files that appear to be needed are:
dvb-fe-tda10048-1.0.fw v4l-saa7164-1.0.2.fw v4l-saa7164-1.0.3.fw
These files are in the deb above, but not in the package in the repos for Lucid.

Once the updated package is included, it would be great if jockey could suggest the linux-firmware-nonfree package for people with an hvr-2200, so that they didn't have to manually diagnose the problem and install the package.

Thanks a lot for your help. I will keep using this package and will report any problems, but it appears to be working fine.

Revision history for this message
Aaron Whitehouse (aaron-whitehouse) wrote :

This is still a problem in 10.10.

Should we file a bug in Jockey to have it pop up and offer to install linux-firmware-nonfree (I really would prefer the files to be split out so I had less non-free firmware)?

Revision history for this message
Aaron Whitehouse (aaron-whitehouse) wrote :

Note that the version of linux-firmware-nonfree that is in the 10.10 repositories does not include the necessary files. It would be great to get this into the repos for 11.04.

Revision history for this message
Chase Douglas (chasedouglas) wrote :

I unassigned myself because I don't have the time needed to see this to completion. Hopefully someone else will pick this up.

Changed in linux-firmware-nonfree (Ubuntu):
assignee: Chase Douglas (chasedouglas) → nobody
Revision history for this message
Aaron Whitehouse (aaron-whitehouse) wrote :

Because Steven has added experimental analogue support, the card now requires an extra firmware file to load.

The file is:
http://www.steventoth.net/linux/hvr22xx/firmwares/4019072/NXP7164-2010-03-10.1.fw

http://www.kernellabs.com/blog/?p=1443
http://www.steventoth.net/linux/hvr22xx/firmwares/4019072/

Revision history for this message
Aaron Whitehouse (aaron-whitehouse) wrote :

And I have now tested this in Natty and this is still required.

Revision history for this message
Alex Wauck (awauck) wrote :

I can also confirm that this linux-firmware-nonfree in the natty repository does not have the needed firmware. The firmware in the package posted by Chase fixes the problem.

Revision history for this message
Caysho (caysho) wrote :

What needs to be done to get all the firmwares listed at
http://www.steventoth.net/linux/hvr22xx/firmwares/
into the linux-firmware-nonfree package ?
Having this available for jockey or via package management would be very nice.

Revision history for this message
Aaron Whitehouse (aaron-whitehouse) wrote :

This is still an issue and I have to manually come back to this page and download this .deb and that other firmware file every time that I reinstall. It would be great if someone could please just push this package into the repos.

Revision history for this message
Caysho (caysho) wrote :

I have asked on the ubuntu-motu mailing list about this package update, ubuntu-motu subscribed to this bug.
https://lists.ubuntu.com/archives/ubuntu-motu/2011-November/007172.html

Revision history for this message
Aaron Whitehouse (aaron-whitehouse) wrote :

Thanks Caysho.

Alex/Caysho--do you need the NXP7164-2010-03-10.1.fw file to get the driver to load, or is the .deb in this bug report sufficient for you?

I haven't tried without the file, so would be keen to know if the .deb here is sufficient or needs to be updated.

As another note, it would be awesome to have a new version of the .deb file simply so that Upgrade Manager doesn't keep telling me to update!

Revision history for this message
Caysho (caysho) wrote :

The NXP7164 chip needs the firmware for the driver work.
I am not a motu - I just wanted to make sure people are aware it needs to be packaged.
There are eight files in total, and if I was familiar with building packages I would do a new one :)

Revision history for this message
lowsky (jpc1208) wrote :

Hi guys I have the current instructions for installation here, also a direct link for every firmware in a convenient zip.
http://ubuntuforums.org/showpost.php?p=11533898&postcount=454

It would be still great if we didn't have to run all these extra steps for a 5 year old TV card.

Revision history for this message
Caysho (caysho) wrote :

I have removed MOTU from the subscribed users as it got no attention from them.
I have subscribed the Ubuntu Kernel Team instead.

Revision history for this message
Caysho (caysho) wrote : apport information

ApportVersion: 2.17.2-0ubuntu1
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: ubuntu 2238 F.... pulseaudio
 /dev/snd/controlC0: ubuntu 2238 F.... pulseaudio
CasperVersion: 1.360
CurrentDesktop: Unity
DistroRelease: Ubuntu 15.04
IwConfig:
 lo no wireless extensions.

 eth0 no wireless extensions.

 eth1 no wireless extensions.
LiveMediaBuild: Ubuntu 15.04 "Vivid Vervet" - Release i386 (20150422)
MachineType: Gigabyte Technology Co., Ltd. EP45-UD3L
Package: linux (not installed)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: 0 nouveaufb
ProcKernelCmdLine: noprompt cdrom-detect/try-usb=true file=/cdrom/preseed/username.seed boot=casper initrd=/casper/initrd.lz quiet splash --- BOOT_IMAGE=/casper/vmlinuz
ProcVersionSignature: Ubuntu 3.19.0-15.15-generic 3.19.3
RelatedPackageVersions:
 linux-restricted-modules-3.19.0-15-generic N/A
 linux-backports-modules-3.19.0-15-generic N/A
 linux-firmware 1.143
RfKill:

Tags: vivid
UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
Uname: Linux 3.19.0-15-generic i686
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 01/27/2010
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: F9
dmi.board.name: EP45-UD3L
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrF9:bd01/27/2010:svnGigabyteTechnologyCo.,Ltd.:pnEP45-UD3L:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnEP45-UD3L:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
dmi.product.name: EP45-UD3L
dmi.sys.vendor: Gigabyte Technology Co., Ltd.

tags: added: apport-collected vivid
Revision history for this message
Caysho (caysho) wrote : AlsaInfo.txt

apport information

Revision history for this message
Caysho (caysho) wrote : CRDA.txt

apport information

Revision history for this message
Caysho (caysho) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Caysho (caysho) wrote : JournalErrors.txt

apport information

Revision history for this message
Caysho (caysho) wrote : Lspci.txt

apport information

Revision history for this message
Caysho (caysho) wrote : Lsusb.txt

apport information

Revision history for this message
Caysho (caysho) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Caysho (caysho) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Caysho (caysho) wrote : ProcModules.txt

apport information

Revision history for this message
Caysho (caysho) wrote : PulseList.txt

apport information

Revision history for this message
Caysho (caysho) wrote : UdevDb.txt

apport information

Revision history for this message
Caysho (caysho) wrote : WifiSyslog.txt

apport information

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.