Linux Sound subsystem development
 help / color / mirror / Atom feed
From: Simon J Mudd <sjmudd@pobox.com>
To: linux-sound@vger.kernel.org
Subject: Re: Help configuring a CS4236 to work with Linux
Date: Tue, 10 Jun 2003 09:25:03 +0000	[thread overview]
Message-ID: <marc-linux-sound-105523713006960@msgid-missing> (raw)
In-Reply-To: <marc-linux-sound-105519659910416@msgid-missing>

Hello Michael,

On Mon, 9 Jun 2003, rautenkranzmt wrote:

> Having reviewed your settings incl., i wonder, with the pnpdump... does 
> your system run isapnp at start? and have you edited /etc/isapnp.conf to 
> reflect any settings at all for your sound card? red hat's sndconfig 
> does it automatically, and chooses it's own settings (in my experience), 
> but i've never seen it apply isapnp settings to the conf file.

Initially I didn't do anything (didn't add anything to /etc/modules.conf),
didn't have /etc/isapnp.conf, or have isapnptools on my machine) and let
RedHat's sndconfig "do it's stuff".

Running sndconfig gave me:
Model: Crystal codec: GAME
Can you hear the sample sound? I could so I typed yes. sndconfig modified
/etc/modules.conf adding:

alias sound-slot-0 cs4232
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove   sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
options sound dmabuf=1
alias synth0 opl3
options opl3 io=0x330
options cs4232 isapnp=1

Running the mpg321 somefile.mp3 _hung_ the machine.

I tried again, setting the values by hand, being able to choose options:

I/O Port IRQ DMA 1 DMA 2 MPU I/O MPU IRQ
0x530    5   0     0     0x330   5
0x534    7   1     1     0x300   7

Selecting 0x534,5,1,1,0x330,7

(note: IRQ 5 is being used by usb-ohci and I wasn't able to select IRQ 9
where /proc/interrupts tells me the cs4232 is "listening").

This didn't seem to work either, so I started looking around on the web
for "help", downloaded isapnptools from source and tried setting the
options by hand.

To be honest I don't really understand the isapnp.conf config file very
well, nor am I sure what I need to configure exactly, so I may well be
doing something obviously wrong.

To play "mp3 audio" I think I don't need to have the mpu401 configured,
and as I mentioned before while the IRQ and I/O port settings seem clear
to me (IRQ 9 and 0x534 appears to be what the card wants) I'm unsure about
the dma1 and dma2 settings.

> this corresponds exactly to the kind of trouble i was having a couple 
> years back with my opl-sa3 pnp card. i edited isapnp.conf (see 'man 
> isapnp.conf'), and had it load in rc.local. my problem was fixed.

Perhaps the problem is that I am unable to correctly interpret the
/proc/isapnp values to enable me to configure the card correctly.

Thanks for any insight you can give me.

Simon
-- 
Simon J Mudd, Postfix RPM Packager, Amsterdam, The Netherlands.
email: sjmudd@pobox.com, Tel: +31-627-592 627, http://postfix.WL0.org



  parent reply	other threads:[~2003-06-10  9:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-09 22:07 Help configuring a CS4236 to work with Linux Simon J Mudd
2003-06-10  4:27 ` rautenkranzmt
2003-06-10  9:25 ` Simon J Mudd [this message]
2003-06-12 21:44 ` Michael Rautenkranz
2003-06-14  7:57 ` Simon J Mudd

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-linux-sound-105523713006960@msgid-missing \
    --to=sjmudd@pobox.com \
    --cc=linux-sound@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox