cx88 radio working, a question though
- From: Malcolm V <farkit (at) iinet.net.au>
- Date: Sat, 13 May 2006 11:15:27 +1000
OK, not a userspace question ;) .
I've got the radio working now on my DTV2000, to a certain extent (no auto
tuning, but setting frequency works fine). The sound is piped via I2S to the
cx23881. This is enabled via bit 15 of AUD_CTL. I notice that the blackbird
code modifies this bit in places, but It's not really appropriate for my
card.
By adding a bit to the cx88_input structure card definition (unsigned int
i2s_input:1; ) it should be possible for me to switch these where required
with a simple:
if (!foo.blackbird && foo.i2s_input) /*or something to that effect */
As nothing but blackbird fiddles with this bit at present, making this
change shouldn't affect any existing cards* , and may allow some to enable
radio,etc too.
My card has a stereo audio input jack which also uses I2S input, so I need
this for radio, svideo in and composite in.
Should I sumbit this as two patches, one for the card without
radio/svideo/composite support, and one with the modifications required to
get them working?
*honest ... *blink* ... As far as I can see its never set (except in the
blackbird case), but assumed to always be 0. The change in code will mean if
i2s_input isn't set (the default is not set for every input), it will be
forced to 0. If there is a card in use which always has this bit set, the
code change will break it.
Cheers,
Malcolm V.
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request (at) redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list