[linux-dvb] Hauppauge HVR-1700 Support

Steven Toth stoth at linuxtv.org
Mon Apr 28 20:45:01 CEST 2008


Torben Viets wrote:
> Steven Toth wrote:
>> Torben Viets wrote:
>>> Steven Toth wrote:
>>>> Torben Viets wrote:
>>>>> Hello,
>>>>>
>>>>> thanks for the quick reply.
>>>>>
>>>>> Steven Toth wrote:
>>>>>> Torben Viets wrote:
>>>>>>> Hello,
>>>>>>>
>>>>>>> I have a Hauppauge HVR-1700 PCI Express, I have read all posts about
>>>>>>> this card here, but I didn't get it working, how does it work?
>>>>>>
>>>>>> It's working fine for me on a stock 7.10 ubuntu install.
>>>>>>
>>>>>>>
>>>>>>> Kernel: linux-2.6.25-git10
>>>>>>>
>>>>>>> Firmware-Files:
>>>>>>> ls -al /lib/firmware/2.6.25-git10/
>>>>>>> total 416
>>>>>>> drwxr-xr-x 2 root root     91 Apr 27 16:27 .
>>>>>>> drwxr-xr-x 3 root root     25 Apr 27 16:26 ..
>>>>>>> -rw-r--r-- 1 root root  24878 Apr 27 16:27 dvb-fe-tda10048-1.0.fw
>>>>>>> -r--r--r-- 1 root root  16382 Apr 27 16:27 v4l-cx23885-avcore-01.fw
>>>>>>> -r--r--r-- 1 root root 376836 Apr 27 16:26 v4l-cx23885-enc.fw
>>>>>>>
>>>>>>> The modules I use are from the actual v4l-dvb hg, if I type make 
>>>>>>> load,
>>>>>>> the only thing I get is a /dev/video0, but I have no picture with 
>>>>>>> xawtv...
>>>>>>
>>>>>> /dev/video doesn't work, it's not supported.
>>>>>>
>>>>> Are there any plans to support it?
>>>>
>>>>
>>>> No immediate plans.
>>>>
>>>>
>>>>>> You should aim to use the dvb-apps tools (tzap, scan) and mplayer 
>>>>>> as example tools, or MythTV as an app.
>>>>>>
>>>>>>
>>>>>>>
>>>>>>> The DVB doesn't work at all, I have no /dev/dvb*, here is my dmesg:
>>>>>>>
>>>>>>> cx23885 driver version 0.0.1 loaded
>>>>>>> ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 24 (level, low) -> IRQ 24
>>>>>>> CORE cx23885[0]: subsystem: 0070:8101, board: Hauppauge 
>>>>>>> WinTV-HVR1700
>>>>>>> [card=8,autodetected]
>>>>>>> cx23885[0]: i2c bus 0 registered
>>>>>>> cx23885[0]: i2c bus 1 registered
>>>>>>> cx23885[0]: i2c bus 2 registered
>>>>>>> tveeprom 0-0050: Huh, no eeprom present (err=-5)?
>>>>>>> tveeprom 0-0050: Encountered bad packet header [00].
>>>>>>> Corrupt or not a Hauppauge
>>>>>>> eeprom.
>>>>>>> cx23885[0]: warning: unknown hauppauge model #0
>>>>>>> cx23885[0]: hauppauge eeprom: model=0
>>>>>>> cx23885[0]: cx23885 based dvb card
>>>>>>> tda10048_readreg: readreg error (ret == -5)
>>>>>>> cx23885[0]: frontend initialization failed
>>>>>>> cx23885_dvb_register() dvb_register failed err = -1
>>>>>>> cx23885_dev_setup() Failed to register dvb on VID_C
>>>>>>> cx23885_dev_checkrevision() New hardware revision found 0x0
>>>>>>> cx23885_dev_checkrevision() Hardware revision unknown 0x0
>>>>>>> cx23885[0]/0: found at 0000:02:00.0, rev: 2, irq: 24, latency: 0, 
>>>>>>> mmio:
>>>>>>> 0xfe800000
>>>>>>
>>>>>> This looks bad, it looks like i2c is broken badly, so that the 
>>>>>> eeprom isn't detected and the demodulator isn't found during 
>>>>>> attach. This is the reason why your missing /dev/dvb/adapterX/
>>>>>>
>>>>>> No idea why. Try loading the cx23885 with debug=5 and report any 
>>>>>> log messages here - on this mailing list.
>>>>> here ist the debug=5 output
>>>>>
>>>>> cx23885[0]/0: cx23885_dev_setup() Memory configured for PCIe bridge 
>>>>> type 885
>>>>> cx23885[0]/0: cx23885_init_tsport(portno=2)
>>>>> CORE cx23885[0]: subsystem: 0070:8101, board: Hauppauge 
>>>>> WinTV-HVR1700 [card=8,autodetected]
>>>>> cx23885[0]/0: cx23885_pci_quirks()
>>>>> cx23885[0]/0: cx23885_dev_setup() tuner_type = 0x0 tuner_addr = 0x0
>>>>> cx23885[0]/0: cx23885_dev_setup() radio_type = 0x0 radio_addr = 0x0
>>>>> cx23885[0]/0: cx23885_reset()
>>>>> cx23885[0]/0: cx23885_sram_channel_setup() Configuring channel [VID A]
>>>>> cx23885[0]/0: cx23885_sram_channel_setup() 0x000107b0 <- 0x00000040
>>>>> cx23885[0]/0: cx23885_sram_channel_setup() 0x000107c0 <- 0x00000b80
>>>>> cx23885[0]/0: cx23885_sram_channel_setup() 0x000107d0 <- 0x000016c0
>>>>> cx23885[0]/0: [bridge 885] sram setup VID A: bpl=2880 lines=3
>>>>> cx23885[0]/0: cx23885_sram_channel_setup() Erasing channel [ch2]
>>>>> cx23885[0]/0: cx23885_sram_channel_setup() Configuring channel [TS1 B]
>>>>> cx23885[0]/0: cx23885_sram_channel_setup() 0x00010400 <- 0x00005000
>>>>> cx23885[0]/0: cx23885_sram_channel_setup() 0x00010410 <- 0x000052f0
>>>>> cx23885[0]/0: cx23885_sram_channel_setup() 0x00010420 <- 0x000055e0
>>>>> cx23885[0]/0: cx23885_sram_channel_setup() 0x00010430 <- 0x000058d0
>>>>> cx23885[0]/0: cx23885_sram_channel_setup() 0x00010440 <- 0x00005bc0
>>>>> cx23885[0]/0: [bridge 885] sram setup TS1 B: bpl=752 lines=5
>>>>> cx23885[0]/0: cx23885_sram_channel_setup() Erasing channel [ch4]
>>>>> cx23885[0]/0: cx23885_sram_channel_setup() Erasing channel [ch5]
>>>>> cx23885[0]/0: cx23885_sram_channel_setup() Configuring channel [TS2 C]
>>>>> cx23885[0]/0: cx23885_sram_channel_setup() 0x000108d0 <- 0x00006000
>>>>> cx23885[0]/0: cx23885_sram_channel_setup() 0x000108e0 <- 0x000062f0
>>>>> cx23885[0]/0: cx23885_sram_channel_setup() 0x000108f0 <- 0x000065e0
>>>>> cx23885[0]/0: cx23885_sram_channel_setup() 0x00010900 <- 0x000068d0
>>>>> cx23885[0]/0: cx23885_sram_channel_setup() 0x00010910 <- 0x00006bc0
>>>>> cx23885[0]/0: [bridge 885] sram setup TS2 C: bpl=752 lines=5
>>>>> cx23885[0]/0: cx23885_sram_channel_setup() Erasing channel [ch7]
>>>>> cx23885[0]/0: cx23885_sram_channel_setup() Erasing channel [ch8]
>>>>> cx23885[0]/0: cx23885_sram_channel_setup() Erasing channel [ch9]
>>>>> cx23885[0]: i2c bus 0 registered
>>>>> cx23885[0]: i2c bus 1 registered
>>>>> cx23885[0]: i2c bus 2 registered
>>>>
>>>> Everything looks fine up to this point, then i2c looks bad.
>>>>
>>>> Can you try again with modprobe cx23885 i2c_scan=1 and post the 
>>>> output again? (Output will be large - feel free to use pastebin.com 
>>>> and post the URL here).
>>>
>>> hmm, output doesn't change with it. here is a lsmod plus a complete 
>>> dmesg, is some module missing?
>>>
>>> http://pastebin.com/f4f9b58ed
>>>
>>
>> The module option isn't active.
>>
>> Unload the cx23885 module (and any dependencies) then try modprobe 
>> i2c_scan=1
>>
>> When the module option is set correctly, you'll see a lot of extra 
>> debug messages.
>>
>> - Steve
>>
>>
> 
> hmm, I've unload all modules that sounds interesting, but there is no 
> more output: http://pastebin.com/f157a3978

Hmm. No idea. i2c_scan is working for me and various other people. 
Something is wrong with your environment and I don't know what.

The only time I've seen i2c_scan output not work, is when i2c_scan is 
not passed as a module parameter.

Unload all modules, then use lsmod to ensure cx23885.ko is not loaded.
Then, modprobe cx23885 debug=5 i2c_scan=1

If that doesn't show i2c device scanning traffic then I'm stumped.

- Steve



More information about the linux-dvb mailing list