PDA

View Full Version : [SOLVED] HVR-2200 Device 8980



map7
July 24th, 2010, 06:05 AM
I've just brought a second HVR-2200 and noticed that it is not found properly at boot time:



[ 30.445763] TDA18271HD/C2 detected @ 7-0060
[ 30.783956] DVB: registering new adapter (saa7164)
[ 30.783959] DVB: registering adapter 0 frontend 0 (NXP TDA10048HN DVB-T)...
[ 30.812218] tda18271 8-0060: creating new instance
[ 30.816342] TDA18271HD/C2 detected @ 8-0060
[ 31.162489] tda18271: performing RF tracking filter calibration
[ 33.790764] tda18271: RF tracking filter calibration complete
[ 33.790872] DVB: registering new adapter (saa7164)
[ 33.790874] DVB: registering adapter 1 frontend 0 (NXP TDA10048HN DVB-T)...
[ 33.791067] saa7164 0000:07:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[ 33.791070] saa7164[1]: Your board isn't known (yet) to the driver.
[ 33.791071] saa7164[1]: Try to pick one of the existing card configs via
[ 33.791071] saa7164[1]: card=<n> insmod option. Updating to the latest
[ 33.791072] saa7164[1]: version might help as well.
[ 33.791074] saa7164[1]: Here are valid choices for the card=<n> insmod option:
[ 33.791075] saa7164[1]: card=0 -> Unknown
[ 33.791077] saa7164[1]: card=1 -> Generic Rev2
[ 33.791078] saa7164[1]: card=2 -> Generic Rev3
[ 33.791079] saa7164[1]: card=3 -> Hauppauge WinTV-HVR2250
[ 33.791080] saa7164[1]: card=4 -> Hauppauge WinTV-HVR2200
[ 33.791082] saa7164[1]: card=5 -> Hauppauge WinTV-HVR2200
[ 33.791083] saa7164[1]: card=6 -> Hauppauge WinTV-HVR2200
[ 33.791084] saa7164[1]: card=7 -> Hauppauge WinTV-HVR2250
[ 33.791085] saa7164[1]: card=8 -> Hauppauge WinTV-HVR2250
[ 33.791455] CORE saa7164[1]: subsystem: 0070:8940, board: Unknown [card=0,autodetected]
[ 33.791460] saa7164[1]/0: found at 0000:07:00.0, rev: 129, irq: 18, latency: 0, mmio: 0xfb000000
[ 33.791465] saa7164 0000:07:00.0: setting latency timer to 64
[ 33.791468] IRQ 18/saa7164[1]: IRQF_DISABLED is not guaranteed on shared IRQs
[ 33.791475] saa7164_initdev() Unsupported board detected, registering without firmware
[ 34.058159] tda10048_firmware_upload: waiting for firmware upload (dvb-fe-tda10048-1.0.fw)...
[ 34.058169] saa7164 0000:08:00.0: firmware: requesting dvb-fe-tda10048-1.0.fw
[ 34.060180] tda10048_firmware_upload: firmware read 24878 bytes.
[ 34.060182] tda10048_firmware_upload: firmware uploading
[ 37.008330] tda10048_firmware_upload: firmware uploaded
[ 37.063030] tda18271: performing RF tracking filter calibration
[ 39.689214] tda18271: RF tracking filter calibration complete
[ 39.967527] tda10048_firmware_upload: waiting for firmware upload (dvb-fe-tda10048-1.0.fw)...
[ 39.967530] saa7164 0000:08:00.0: firmware: requesting dvb-fe-tda10048-1.0.fw
[ 39.968859] tda10048_firmware_upload: firmware read 24878 bytes.
[ 39.968865] tda10048_firmware_upload: firmware uploading
[ 42.926186] tda10048_firmware_upload: firmware uploaded


I'm using the driver in the kernel. My first card is working but it's slightly different.

Here are the differences


07:00.0 Multimedia controller: Philips Semiconductors Device 7164 (rev 81)
Subsystem: Hauppauge computer works Inc. Device 8940
Flags: bus master, fast devsel, latency 0, IRQ 18
Memory at fb000000 (64-bit, non-prefetchable) [size=4M]
Memory at fac00000 (64-bit, non-prefetchable) [size=4M]
Capabilities: <access denied>
Kernel driver in use: saa7164
Kernel modules: saa7164

08:00.0 Multimedia controller: Philips Semiconductors Device 7164 (rev 81)
Subsystem: Hauppauge computer works Inc. Device 8980
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at fb800000 (64-bit, non-prefetchable) [size=4M]
Memory at fb400000 (64-bit, non-prefetchable) [size=4M]
Capabilities: <access denied>
Kernel driver in use: saa7164
Kernel modules: saa7164



Device 8940 works
Device 8980 has the problem.

I have tried creating a file "/etc/modprobe.d/saa7164.conf" with the following in it:


options saa7164 card=4


That didn't help.

I tried to download the saa7164 source code to compile but it kept timing out when using the command:
hg clone http://kernellabs.com/hg/~stoth/saa7164-dev/
or
hg clone http://kernellabs.com/hg/saa7164-dev/

Should I be compiling the latest saa7164?
If I should be where is the latest saa7164?
Or is it a simple case of setting the right option in saa7164.conf. It's the second card so should I be using saa7164[1] or something?

Caysho
July 25th, 2010, 05:50 AM
pvruser@pvr:~$ modinfo saa7164
filename: /lib/modules/2.6.32-23-generic-pae/kernel/drivers/media/video/saa7164/saa7164.ko
license: GPL
author: Steven Toth <stoth@kernellabs.com>
description: Driver for NXP SAA7164 based TV cards
srcversion: DF21DBFF808C94A35134C8F
alias: pci:v00001131d00007164sv*sd*bc*sc*i*
depends: dvb-core,tveeprom
vermagic: 2.6.32-23-generic-pae SMP mod_unload modversions 586TSC
parm: adapter_nr:DVB adapter numbers (array of short)
parm: waitsecs:int
parm: debug:enable debug messages (int)
parm: card:card type (array of int)


I have the version that does not work for you:


04:00.0 Multimedia controller: Philips Semiconductors Device 7164 (rev 81)
Subsystem: Hauppauge computer works Inc. Device 8980


I guess you need to provide both the number of adapters in use and the card types, and maybe turn on debug messages.

I am using it under 10.04, which has the correct driver already.

map7
July 25th, 2010, 06:30 AM
I've got two HVR-2200's tuner cards in the computer. That's the only adapters/tv-tuners I have in the machine. I'm using Mythbuntu 10.04 64-bit.

How do I turn on the debug options? Do you mean debug options on the kernel whilst booting?

Caysho
July 25th, 2010, 12:46 PM
Use the parameters from modinfo details.
You need to put them on the saa7164 module configuration, but I do not know where ubuntu does this.
Some distributions use modules.conf.

map7
July 26th, 2010, 11:37 AM
I've now had time to test the cards one at a time. Meaning it's the only tuner in the computer. Both worked independently.

So the problem is when I have them both in there.

map7
July 26th, 2010, 03:37 PM
I figured it out. I needed to install the latest drivers, like so:
Upgrading drivers

$ hg clone http://kernellabs.com/hg/saa7164-stable/


$ make menuconfig
$ perl -p -i -e 's/FIREDTV=m/FIREDTV=n/' v4l/.config
$ edit as needed but should have all enabled that is needed

$ sudo make CONFIG_DVB_FIREDTV:=n || return
$ sudo make install
$ sudo reboot


Upgrading firmware to the files in:


Download new firmware from

http://www.steventoth.net/linux/hvr22xx/firmwares/4038864/


Now copy that into the kernel firmware dir.

sudo cp *fw /lib/firmware/`uname -r`