[mythtv-users] dsp audio with cx8800 cards
Jeremy Stribling
strib at amsterdam.lcs.mit.edu
Tue Sep 21 15:20:47 EDT 2004
Hi all,
I'm new to setting up MythTV boxes, and was wondering if anyone else out
there has a setup with a tuner card using a cx8800 chip. Basically,
video works great, and I can get audio when I watch TV through
applications such as xawtv and tvtime, but in MythTV, when it tries to
access the digital audio through /dev/dsp I get nothing, or sometimes
low static. This is the same for xawtv: if I mute xawtv and try to
'aplay /dev/dsp', I get nothing.
I'm using a Hauppauge WinTV-401 card, using the cx8800 chipset, with
alsa installed. I have a small cable connecting the audio output of
this card to the line-in input on my motherboard's sound (which uses
Intel8x0). I've made sure that the alsamixer settings are correct (i.e.
that Line is the capture device and everything is unmuted and set at an
appropriate level). I'm using Debian, with kernel 2.6.8.
I have tried using the btaudio module, but it doesn't recognize this
cx8800 chipset. I imagine someone out there has gotten this to work;
can you please tell me how you made the digital audio work? Any help
would be much appreciated. Below is some possibly useful information.
Thanks,
Jeremy
------------------------------------
# lspci -v
pcilib: Cannot open /sys/bus/pci/devices
0000:00:00.0 Host bridge: Intel Corp. 82875P Memory Controller Hub (rev 02)
Subsystem: Dell: Unknown device 0162
Flags: bus master, fast devsel, latency 0
Memory at e8000000 (32-bit, prefetchable) [size=128M]
Capabilities: [e4] #09 [2106]
Capabilities: [a0] AGP version 3.0
0000:00:01.0 PCI bridge: Intel Corp. 82875P Processor to AGP Controller
(rev 02) (prog-if 00 [Normal decode])
Flags: bus master, 66MHz, fast devsel, latency 64
Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
Memory behind bridge: fd000000-feafffff
Prefetchable memory behind bridge: f0000000-f7ffffff
0000:00:1d.0 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB
UHCI #1 (rev 02) (prog-if 00 [UHCI])
Subsystem: Dell: Unknown device 0162
Flags: bus master, medium devsel, latency 0, IRQ 16
I/O ports at ff80 [size=32]
0000:00:1d.1 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB
UHCI #2 (rev 02) (prog-if 00 [UHCI])
Subsystem: Dell: Unknown device 0162
Flags: bus master, medium devsel, latency 0, IRQ 19
I/O ports at ff60 [size=32]
0000:00:1d.2 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB
UHCI #3 (rev 02) (prog-if 00 [UHCI])
Subsystem: Dell: Unknown device 0162
Flags: bus master, medium devsel, latency 0, IRQ 18
I/O ports at ff40 [size=32]
0000:00:1d.3 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB
UHCI #4 (rev 02) (prog-if 00 [UHCI])
Subsystem: Dell: Unknown device 0162
Flags: bus master, medium devsel, latency 0, IRQ 16
I/O ports at ff20 [size=32]
0000:00:1d.7 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB2
EHCI Controller (rev 02) (prog-if 20 [EHCI])
Subsystem: Dell: Unknown device 0162
Flags: bus master, medium devsel, latency 0, IRQ 23
Memory at ffa80800 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] #0a [20a0]
0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev c2) (prog-if
00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=32
I/O behind bridge: 0000d000-0000dfff
Memory behind bridge: f9e00000-fcffffff
0000:00:1f.0 ISA bridge: Intel Corp. 82801EB/ER (ICH5/ICH5R) LPC Bridge
(rev 02) Flags: bus master, medium devsel, latency 0
0000:00:1f.1 IDE interface: Intel Corp. 82801EB/ER (ICH5/ICH5R) Ultra
ATA 100 Storage Controller (rev 02) (prog-if 8a [Master SecP PriP])
Subsystem: Dell: Unknown device 0162
Flags: bus master, medium devsel, latency 0, IRQ 18
I/O ports at <ignored>
I/O ports at <ignored>
I/O ports at <ignored>
I/O ports at <ignored>
I/O ports at ffa0 [size=16]
Memory at febffc00 (32-bit, non-prefetchable) [size=1K]
0000:00:1f.2 IDE interface: Intel Corp. 82801EB (ICH5) Serial ATA 150
Storage Controller (rev 02) (prog-if 8f [Master SecP SecO PriP PriO])
Subsystem: Dell: Unknown device 0162
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 18
I/O ports at fe00 [size=8]
I/O ports at fe10 [size=4]
I/O ports at fe20 [size=8]
I/O ports at fe30 [size=4]
I/O ports at fea0 [size=16]
0000:00:1f.3 SMBus: Intel Corp. 82801EB/ER (ICH5/ICH5R) SMBus Controller
(rev 02)
Subsystem: Dell: Unknown device 0162
Flags: medium devsel, IRQ 17
I/O ports at eda0 [size=32]
0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801EB/ER
(ICH5/ICH5R) AC'97 Audio Controller (rev 02)
Subsystem: Dell: Unknown device 0162
Flags: bus master, medium devsel, latency 0, IRQ 17
I/O ports at ee00 [size=256]
I/O ports at edc0 [size=64]
Memory at febffa00 (32-bit, non-prefetchable) [size=512]
Memory at febff900 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2
0000:01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce
FX 5200] (rev a1) (prog-if 00 [VGA])
Flags: bus master, 66MHz, medium devsel, latency 248, IRQ 16
Memory at fd000000 (32-bit, non-prefetchable) [size=16M]
Memory at f0000000 (32-bit, prefetchable) [size=128M]
Expansion ROM at fea00000 [disabled] [size=128K]
Capabilities: [60] Power Management version 2
Capabilities: [44] AGP version 3.0
0000:02:00.0 VGA compatible controller: ATI Technologies Inc Rage XL
(rev 27) (prog-if 00 [VGA])
Subsystem: ATI Technologies Inc Rage XL
Flags: stepping, medium devsel, IRQ 21
Memory at fa000000 (32-bit, non-prefetchable) [disabled] [size=16M]
I/O ports at de00 [disabled] [size=256]
Memory at f9edf000 (32-bit, non-prefetchable) [disabled] [size=4K]
Expansion ROM at f9f00000 [disabled] [size=128K]
Capabilities: [5c] Power Management version 2
0000:02:01.0 Multimedia video controller: Conexant Winfast TV2000 XP
(rev 05)
Subsystem: Hauppauge computer works Inc.: Unknown device 3401
Flags: bus master, medium devsel, latency 64, IRQ 22
Memory at fb000000 (32-bit, non-prefetchable) [size=16M]
Capabilities: [44] Vital Product Data
Capabilities: [4c] Power Management version 2
0000:02:01.1 Multimedia controller: Conexant: Unknown device 8801 (rev 05)
Subsystem: Hauppauge computer works Inc.: Unknown device 3401
Flags: bus master, medium devsel, latency 64, IRQ 22
Memory at fc000000 (32-bit, non-prefetchable) [size=16M]
Capabilities: [4c] Power Management version 2
0000:02:0c.0 Ethernet controller: Intel Corp. 82540EM Gigabit Ethernet
Controller (rev 02)
Subsystem: Dell: Unknown device 0156
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 18
Memory at f9ee0000 (32-bit, non-prefetchable) [size=128K]
I/O ports at ddc0 [size=64]
Capabilities: [dc] Power Management version 2
Capabilities: [e4] PCI-X non-bridge device.
Capabilities: [f0] Message Signalled Interrupts: 64bit+
Queue=0/0 Enable-
---------------------------------------------------------
# lsmod
Module Size Used by
cx8800 44444 1
snd_pcm_oss 50088 0
nvidia 4822356 12
btaudio 16528 0
ati_remote 11912 0
tuner 19728 0
cx88xx 19588 1 cx8800
video_buf 18820 2 cx8800,cx88xx
i2c_algo_bit 9992 1 cx8800
v4l1_compat 14596 1 cx8800
v4l2_common 6016 1 cx8800
btcx_risc 5000 2 cx8800,cx88xx
videodev 8576 2 cx8800
i2c_core 20480 4 cx8800,tuner,cx88xx,i2c_algo_bit
snd_seq_oss 33792 0
snd_seq_midi_event 7424 1 snd_seq_oss
snd_seq 53520 4 snd_seq_oss,snd_seq_midi_event
snd_mixer_oss 18688 1 snd_pcm_oss
snd_intel8x0 31240 1
snd_ac97_codec 66692 1 snd_intel8x0
snd_pcm 88352 2 snd_pcm_oss,snd_intel8x0
snd_timer 23684 2 snd_seq,snd_pcm
snd_page_alloc 10120 2 snd_intel8x0,snd_pcm
snd_mpu401_uart 7424 1 snd_intel8x0
snd_rawmidi 21952 1 snd_mpu401_uart
snd_seq_device 7816 3 snd_seq_oss,snd_seq,snd_rawmidi
snd 50148 14
snd_pcm_oss,snd_seq_oss,snd_seq_midi_event,snd_seq,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
e1000 80004 0
-----------------------------------------------------------
# dmesg | grep -i cx8800
cx8800[0]: found at 0000:02:01.0, rev: 5, irq: 22, latency: 64, mmio:
0xfb000000cx8800[0]: subsystem: 0070:3401, board: Hauppauge WinTV 34xxx
models [card=1,autodetected]
tuner: chip found at addr 0xc2 i2c-bus cx8800[0]
tuner: type set to 44 (Philips 4 in 1 (ATI TV Wonder Pro/Conexant)) by
cx8800[0]cx8800[0]: i2c attach [client=Philips 4 in 1 (ATI TV Wonder
Pro/Conexant)]
cx8800[0]: i2c register ok
cx8800[0]: hauppauge eeprom: model=34132, tuner=<NULL> (44), radio=yes
cx8800[0]: registered device video0 [v4l2]
cx8800[0]: registered device vbi0
cx8800[0]: registered device radio0
More information about the mythtv-users
mailing list