[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Alsa on Dell OptiPlex GX1 (Debian/2.4.17/CS4236B)



Thanks for the input Elizabeth.  I have, with your suggestion, now been
able to get sound working.  For future reference (and maybe help someone
else along the way, this is my configuration:

System:
  Dell OptiPlex GX1
  Kernel 2.4.17
  Debian 2.2 upgraded to current unstable
  CS4236B On Board Audio
  PIII 600

1) Alsa compiled with isapnp=yes and debug=detect
2) Here is /etc/modules
	soundcore
	sound
	snd-card-cs4236
	snd-mixer-oss
3) Here is /etc/modules.conf
	# Sound Config
	alias /dev/dsp sound-server-0-3
	alias snd-slot-0 snd-card-0
	alias sound-service-0-0 snd-mixer-oss
	alias sound-service-0-1 snd-seq-oss
	alias sound-service-0-3 snd-pcm-oss
	alias sound-service-0-8 snd-seq-oss
	alias sound-service-0-12 snd-pcm-oss
	alias char-major-116 snd
	alias char-major-14 soundcore
	options snd snd_major=116 snd_cards_limit=1
	alias snd-card-0 snd-card-cs4236
	options snd_index=1 snd-card-cs4236 snd_port=0x534 \
	snd_cport=0x210 snd_mpu_port=0x220 snd_fm_port=0x388 \
	snd_irq=5 snd_mpu_irq=7 snd_dma1=1
4) Here is /etc/isapnp.conf
	(CONFIGURE CSC6835/-1 (LD 0
	(DMA 0 (CHANNEL 1))
	(DMA 1 (CHANNEL 0))
	(INT 0 (IRQ 5 (MODE +E)))
	(IO 0 (SIZE 4) (BASE 0x0534))
	(IO 1 (SIZE 8) (BASE 0x0388))
	(IO 2 (SIZE 16) (BASE 0x0220))
	(NAME "CSC6835/-1[0]{WSS/SB             }")
	(ACT Y)
	))

With the above setup, all is well after a reboot.  I was actually quite
surprised that on my first try with the isapnp.conf configuration that I
got everything to work.

Again, thanks Elizabeth for the suggestion,

Darren

-----Original Message-----
From: Elizabeth Barham [mailto:soggytrousers@yahoo.com] 
Sent: Wednesday, February 06, 2002 8:46 AM
To: Greer, Darren (MED)
Cc: 'alsa-user@alsa-project.org'; 'debian-user@lists.debian.org'
Subject: Re: Alsa on Dell OptiPlex GX1 (Debian/2.4.17/CS4236B)


"Greer, Darren (MED)" <Darren.Greer@med.ge.com> writes:

> First, after running /etc/init.d/alsasound start (output shown below),

> I cannot open the mixer...running aumix says "error opening mixer". 
> However, if I "modprobe snd-mixer-oss" it works.  So, the mixer thing 
> is my first challenge as to why it doesn't load up at first.

Consider adding snd-mixer-oss to your /etc/modules file. These are
loaded per default on boot.

> Second, after all is started up, I can hear the beep inmy speakers 
> when I hit backspace at an empty line on the console, but that is the 
> only audio I get.  Anything else I do results in: "Cannot open 
> /dev/dsp or /dev/sound/dsp".  Or trying to cat something to /dev/dsp 
> results in:
> "bash: /dev/dsp: No such device".  /dev/dsp does exist, and I have
> re-compile alsa and re-run ./snddevices to be sure they are being
> created.

I had this problem on my ppc machine because the correct modules were
not loaded. By adding them to /etc/modules, the problem was corrected.

> Third, I read somewhere that the cannot IRQ 0 is due to PnP OS being 
> on in the BIOS.  Well, on this machine that is not an option in the 
> BIOS. I have just flashed the BIOS to the newest version to be sure I 
> was not missing anything.  So, suggestions there would be great.  
> Although, I am not using midi on this thing, so if MPU401 is strictly 
> needed for midi, I could pass if no one has a solution.

Hopefully I won't be telling you anything you don't already know:

If you have the isapnptools package installed, you should have the
command-line tools isapnp(8) and pnpdump(8)available. pnpdump(8)
provides you with a listing of PNP devices in your machine somewhat akin
to /proc/isapnp. By saving pnpdump's output to a file, you have a pretty
handy isapnp configuration file which you can edit and modify with any
text editor - making sure you enable the device and change (if
necessary) it's IRQ's and memory to something the machine can work with.
See the manpages for more information.

hope this helps,
Elizabeth


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org



Reply to: