Support for Hauppauge WinTV HVR-3300

2011-08-06 Thread Steve Wolter
Dear linux-media list,

I have recently bought a Hauppauge WinTV HVR-3300 and am trying to make
it run with Linux.

Going by the output of lspci -v [1], I tried to go with the cx23885, which
doesn't recognize the card:

[24296.910574] cx23885 driver version 0.0.2 loaded
[24296.910612] cx23885 :01:00.0: PCI INT A - GSI 16 (level, low) - IRQ 16
[24296.910620] cx23885[0]: Your board isn't known (yet) to the driver.
[24296.910621] cx23885[0]: Try to pick one of the existing card configs via
[24296.910623] cx23885[0]: card=n insmod option.  Updating to the latest
[24296.910625] cx23885[0]: version might help as well.
[...]
[24296.911165] CORE cx23885[0]: subsystem: 0070:53f1, board: UNKNOWN/GENERIC 
[card=0,autodetected]
[24297.037221] cx23885_dev_checkrevision() Hardware revision = 0xd0
[24297.037228] cx23885[0]/0: found at :01:00.0, rev: 4, irq: 16, latency: 
0, mmio: 0xfe40
[24297.037236] cx23885 :01:00.0: setting latency timer to 64
[24297.037304] cx23885 :01:00.0: irq 48 for MSI/MSI-X

Seems like some work is necessary to do here, which I'd be willing to do.
Can anyone suggest which might be the most similar card or what I should try
to write a driver for this?

Best regards, Steve

[1] Output of lspci -v

01:00.0 Multimedia video controller: Conexant Systems, Inc. CX23887/8 PCIe 
Broadcast Audio and Video Decoder with 3D Comb (rev 04)
Subsystem: Hauppauge computer works Inc. Device 53f1
Flags: bus master, fast devsel, latency 0, IRQ 48
Memory at fe40 (64-bit, non-prefetchable) [size=2M]
Capabilities: access denied
Kernel driver in use: cx23885



-- 
 Steve Wolter ( Würzburg Univ.) | Web page: http://swolter.sdf1.org
| vCard:http://swolter.sdf1.org/swolter.vcf
 A witty saying proves nothing. | Schedule: http://swolter.sdf1.org/sched.cgi
-- Voltaire (1694-1778) | E-mail:   swol...@sdf.lonestar.org


signature.asc
Description: Digital signature


Re: Support for Hauppauge WinTV HVR-3300

2011-08-06 Thread Devin Heitmueller
On Sat, Aug 6, 2011 at 10:44 AM, Steve Wolter swol...@sdf.lonestar.org wrote:
 Dear linux-media list,

 I have recently bought a Hauppauge WinTV HVR-3300 and am trying to make
 it run with Linux.

 Going by the output of lspci -v [1], I tried to go with the cx23885, which
 doesn't recognize the card:

 [24296.910574] cx23885 driver version 0.0.2 loaded
 [24296.910612] cx23885 :01:00.0: PCI INT A - GSI 16 (level, low) - IRQ 
 16
 [24296.910620] cx23885[0]: Your board isn't known (yet) to the driver.
 [24296.910621] cx23885[0]: Try to pick one of the existing card configs via
 [24296.910623] cx23885[0]: card=n insmod option.  Updating to the latest
 [24296.910625] cx23885[0]: version might help as well.
 [...]
 [24296.911165] CORE cx23885[0]: subsystem: 0070:53f1, board: UNKNOWN/GENERIC 
 [card=0,autodetected]
 [24297.037221] cx23885_dev_checkrevision() Hardware revision = 0xd0
 [24297.037228] cx23885[0]/0: found at :01:00.0, rev: 4, irq: 16, latency: 
 0, mmio: 0xfe40
 [24297.037236] cx23885 :01:00.0: setting latency timer to 64
 [24297.037304] cx23885 :01:00.0: irq 48 for MSI/MSI-X

 Seems like some work is necessary to do here, which I'd be willing to do.
 Can anyone suggest which might be the most similar card or what I should try
 to write a driver for this?

Hi Steve,

Like the 4400 and 5500, the 3300 uses both DVB-S and DVB-T demodulator
chips for which there is currently no driver.  Somebody would have to
write those drivers from
scratch in order for any of those products to be supported.

In other words, it's not a case of just needing to add a few lines of
code for another board profile.

Cheers,

Devin

-- 
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Support for Hauppauge WinTV HVR-3300

2011-08-06 Thread Steve Wolter
Hi Devin,

Devin Heitmueller schrieb:
 On Sat, Aug 6, 2011 at 10:44 AM, Steve Wolter swol...@sdf.lonestar.org 
 wrote:
  Dear linux-media list,
 
  I have recently bought a Hauppauge WinTV HVR-3300 and am trying to make
  it run with Linux.
[...]
 
 Like the 4400 and 5500, the 3300 uses both DVB-S and DVB-T demodulator
 chips for which there is currently no driver.  Somebody would have to
 write those drivers from
 scratch in order for any of those products to be supported.
 
 In other words, it's not a case of just needing to add a few lines of
 code for another board profile.

Fair enough, thanks for the feedback, I think that project is out of my
scope for now. I'm mainly interested in the analog demodulation at the
moment, have the DVB capacity mainly for future use. Do you know anything
about the analog TV decoder in there? Is this decoupled from the DVB
stuff and could be made to work on its own?

If it's any help, I've tried to fiddle around with several forced card
options, and tveeprom auto-detects the tuners as:

 tveeprom 13-0050: Hauppauge model 53009, rev C1F5, serial# 6493293
 tveeprom 13-0050: MAC address is 00:0d:fe:63:14:6d
 tveeprom 13-0050: tuner model is NXP 18271C2 (idx 155, type 54)
 tveeprom 13-0050: TV standards PAL(B/G) PAL(I) SECAM(L/L') PAL(D/D1/K) 
ATSC/DVB Digital (eeprom 0xf4)
 tveeprom 13-0050: audio processor is CX23888 (idx 40)
 tveeprom 13-0050: decoder processor is CX23888 (idx 34)
 tveeprom 13-0050: has no radio, has IR receiver, has no IR transmitter

Best regards, Steve

-- 
 Steve Wolter ( Würzburg Univ.) | Web page: http://swolter.sdf1.org
| vCard:http://swolter.sdf1.org/swolter.vcf
 A witty saying proves nothing. | Schedule: http://swolter.sdf1.org/sched.cgi
-- Voltaire (1694-1778) | E-mail:   swol...@sdf.lonestar.org


signature.asc
Description: Digital signature


Re: Support for Hauppauge WinTV HVR-3300

2011-08-06 Thread Devin Heitmueller
On Sat, Aug 6, 2011 at 12:05 PM, Steve Wolter swol...@sdf.lonestar.org wrote:
 Fair enough, thanks for the feedback, I think that project is out of my
 scope for now. I'm mainly interested in the analog demodulation at the
 moment, have the DVB capacity mainly for future use. Do you know anything
 about the analog TV decoder in there? Is this decoupled from the DVB
 stuff and could be made to work on its own?

The support for dvb is indeed decoupled from analog.  However, the
cx23888 is different enough from the cx23885 where work needs to be
done on the core driver before analog could work.  Steven Toth did a
bunch of this work in a private tree, but it hasn't been merged into
the mainline kernel yet (and given how onerous the upstream submission
process has become, it is unclear when that will actually happen).

http://kernellabs.com/hg/~stoth/cx23888-encoder/

In other words, even for analog you would need a bunch of patches in
the mainline cx23885 driver before anything would start to work.

Devin

-- 
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html