summaryrefslogtreecommitdiff
path: root/linux/sound/pci
diff options
context:
space:
mode:
authorTrent Piepho <xyzzy@speakeasy.org>2007-07-21 17:26:40 -0700
committerTrent Piepho <xyzzy@speakeasy.org>2007-07-21 17:26:40 -0700
commit63e951dfac4a817b5686f39e13e5b0d8b9e456b7 (patch)
treeb5a5b63d99e4cce46d7d8d6042f232582a2cb3d5 /linux/sound/pci
parent09de97070903fecead7c3b0283a0234b28e28223 (diff)
downloadmediapointer-dvb-s2-63e951dfac4a817b5686f39e13e5b0d8b9e456b7.tar.gz
mediapointer-dvb-s2-63e951dfac4a817b5686f39e13e5b0d8b9e456b7.tar.bz2
bttv: Fix Viewcast Osprey 440 support
From: Trent Piepho <xyzzy@speakeasy.org> Various gpio and mux settings for the Osprey 440 weren't correct. Fix them and provide some documentation about how the gpios work. The osprey eeprom routine wasn't run for the 440, add it. It was also crap, re-written to be better. Add the Osprey 440 to the Bt878 ALSA driver's whitelist. Currently the sample rate is fixed at 32kHz, as the driver doesn't support different rates for digital input mode, though the card can select the rate from 32, 44.1, or 48 kHz via gpio. Setting the audio gain via ALSA isn't supported yet; a userspace tool that programs the X9221 via i2c-dev must be used. The Bt878 digital audio format isn't programmed correctly for the CS5331A ADC used, resulting in extremely garbled sound. That is fixed in a followup patch. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Diffstat (limited to 'linux/sound/pci')
-rw-r--r--linux/sound/pci/bt87x.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/sound/pci/bt87x.c b/linux/sound/pci/bt87x.c
index c0cddc589..cbbd22b4a 100644
--- a/linux/sound/pci/bt87x.c
+++ b/linux/sound/pci/bt87x.c
@@ -819,6 +819,8 @@ static struct pci_device_id snd_bt87x_ids[] = {
BT_DEVICE(PCI_DEVICE_ID_BROOKTREE_879, 0x0070, 0x13eb, 32000),
/* Viewcast Osprey 200 */
BT_DEVICE(PCI_DEVICE_ID_BROOKTREE_878, 0x0070, 0xff01, 44100),
+ /* Viewcast Osprey 440 (rate is configurable via gpio) */
+ BT_DEVICE(PCI_DEVICE_ID_BROOKTREE_878, 0x0070, 0xff07, 32000),
/* ATI TV-Wonder */
BT_DEVICE(PCI_DEVICE_ID_BROOKTREE_878, 0x1002, 0x0001, 32000),
/* Leadtek Winfast tv 2000xp delux */