Plays WAVs, But Not Audio CDs

Plays WAVs, But Not Audio CDs

Post by LvgZomb » Tue, 11 Jan 2000 04:00:00



I'm running RH Linux 6.0 (Kernel 2.2.5-15).  I have an OPTi MAD16 sound card
(82C928) with a Sony CDU-31A CD-ROM drive attached to the card's proprietary
interface.  I've configured the sound & CD drivers to the best of my
understanding of all the RH docs, HOWTO's, & newsgroup posts I could find, but
I'm still having trouble playing audio CDs (i.e., don't hear any sound).

I can mount the CD-ROM drive and view ISO9660 format CDs, and I can play .WAV
files---so my setup _basically_ works. However, I _cannot_ play audio CDs.
I've tried using the CD players xclients that come w/ GNOME & KDE.  I've also
tried using the generic xplaycd xclient ... but there's no sound from my
speakers.

Like I said ... I can play .WAV files just fine.  I just can't play audio CDs.
(Can't play MIDI files yet, either ... see output from "dmesg" below ... I'm
still working on the correct MIDI settings ... but I can live without MIDI, for
now).

I've already scanned the newsgroups & RH docs ... didn't come up with any
answers.

Does anyone out there know what the problem might be (or how to go about
troubleshooting it)? Better yet, is there a fix for it?!?  :-)

Relevant config files & diagnostic stuff is below.  Thx for any help you can
provide.


--------------------------------------------------------------------------
-----------------
--------- [ /etc/conf.modules ] --------------------

###########################
# Sony CDU-31A
###########################
options cdu31a cdu31a_port=0x340
###########################
# end Sony CDU-31A
###########################
###########################
# PC Parallel Port
###########################
alias parport_lowlevel parport_pc
###########################
# end PC Parallel Port
###########################
###########################
# PCMCIA Support
###########################
pre-install pcmcia_core /etc/rc.d/init.d/pcmcia start
###########################
# end PCMCIA Support
###########################
###########################
# OPTi MAD16 82C928
###########################
#alias char-major-14 mad16
alias sound mad16
alias audio mad16
alias sequencer mad16
alias mixer mad16
pre-install sound insmod sound dmabuf=1
alias midi opl3
options opl3 io=0x388
options sb mad16=1
options mad16 io=0x530 irq=9 dma=1 dma16=0 joystick=1 cdtype=0x02 cdport=0x340
cdirq=0 cddma=3
###########################
# end OPTi MAD16 82C928
###########################

--------- [ /dev/sndstat ] --------------------

OSS/Free:3.8s2++-971130
Load type: Driver loaded as a module
Kernel: Linux localhost.localdomain 2.2.5-15 #1 Mon Apr 19 21:39:28 EDT 1999
i486
Config options: 0

Installed drivers:

Card config:

Audio devices:
0: MAD16 WSS (AD1848)

Synth devices:
0: Yamaha OPL3

Midi devices:

Timers:
0: System clock

Mixers:
0: MAD16 WSS (AD1848)

--------- [ Sound- & CD-related output from "dmesg" command ]
--------------------

Soundblaster audio driver Copyright (C) by Hannu Savolainen 1993-1996
ad1848/cs4248 codec driver Copyright (C) by Hannu Savolainen 1993-1996
MAD16 audio driver Copyright (C) by Hannu Savolainen 1993-1996
CDROM Sony CDU31A, DMA 3, no IRQ.
Joystick port enabled.
mad16/Mozart: Invalid MIDI IRQ
YM3812 and OPL-3 driver Copyright (C) by Hannu Savolainen, Rob Hooft 1993-1996

------------ [ Questions You May Ask ] -----------------------------

- [YES] My RH6 kernel is compiled w/ appropriate sound driver support for Sony
CDU-31A, ISP16, MSS/WSS, SB/SB16/SBPRO, OPL3 & 4, etc. (actually, the sound
support is configured as "kernel loadable modules."  See my /etc/conf.modules
and /dev/sndstat below.

- [YES] I _believe_ I have appropriate settings & options in /etc/conf.modules

  -- Using CDU31A driver instead of ISP16 ... couldn't get RH Linux to
recognize/mount the CD-ROM drive using ISP16 driver ... but it at least mounts
CDs w/ the CDU31A driver.

  -- I'm using the DEFAULTS for the DMA and IRQ settings (DMA=3 and IRQ
disabled), since I don't _even_ know what to supply for those.  Even with the
default settings for DMA & IRQ, I _can_ mount iso9660 data CDs.