Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* recording sound on UDB
@ 1997-09-04  8:02 Roman Martonak
  0 siblings, 0 replies; 2+ messages in thread
From: Roman Martonak @ 1997-09-04  8:02 UTC (permalink / raw)


I can play sound files on my UDB (RedHat 4.2), but cannot record.
When I try it with the command

dd bs=8k count=4 < /dev/audio > sample.au

as suggested in Sound-HOWTO, I get the message

dd: standard input: Input/output error
0+0 records in
0+0 records out

and in dmesg I find the following

Sound: DMA (input) timed out - IRQ/DRQ config error?

Did I do something wrong in the configuration ? During boot process,
I get a message

Sound initialization started
<MSS audio codec (CS4231)> at 0x534 irq 9 dma 3,3
Sound initialization complete

and cat /dev/sndstat gives the following output:
 
Sound Driver:3.5.4-960630 (Sat Aug 23 21:52:12 WEST 1997 root,
Linux weisskopf.physik.uni-mainz.de 2.0.30 #1 Tue Apr 22 16:15:17 EDT 1997 alpha unknown)
Kernel: Linux weisskopf.physik.uni-mainz.de 2.0.30 #1 Sat Aug 23 22:00:52 WEST 1997 alpha
Config options: 880204

Installed drivers: 
Type 10: MS Sound System
Type 24: MS Sound System (AXP)
Type 27: Compaq Deskpro XL
Type 1: OPL-2/OPL-3 FM

Card config: 
MS Sound System at 0x530 irq 9 drq 3
(OPL-2/OPL-3 FM at 0x388 drq 0)

Audio devices:
0: MSS audio codec (CS4231)

Synth devices:

Midi devices: NOT ENABLED IN CONFIG

Timers:
0: System clock
1: MSS audio codec (CS4231)

Mixers:
0: MSS audio codec (CS4231)

In particular, is it O.K. that during booting it writes 0x534 
while the above cat command yields 0x530 ?

	Thanks a lot in advance,

	Roman Martonak 			    	
	Johannes Gutenberg-Universit"at  	
	Institut f"ur Physik, WA 331           	tel.:   +49 +6131 393323
	D-55099 Mainz	        		fax.:   +49 +6131 395441
	Germany                e-mail: martonak@nero.physik.uni-mainz.de

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: recording sound on UDB
       [not found] <9709040802.AA25887@nero.physik.uni-mainz.de>
@ 1997-09-04 15:49 ` Andrew Litt
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Litt @ 1997-09-04 15:49 UTC (permalink / raw)


On Thu, 4 Sep 1997, Roman Martonak wrote:

> I can play sound files on my UDB (RedHat 4.2), but cannot record.
> When I try it with the command
(snip)
> 
> Audio devices:
> 0: MSS audio codec (CS4231)
> 

I get the same results on my UDB. I remember some while ago someone posted
that they have sound working on their UDB perfectly. In /proc/ioports,
instead of a CS4231 his showed a CS4231A. However, a quick look at the
/linux/drivers/sound/ad1848.c shows that the CS4231A driver is downwards
compatible with the CS4231. So in theory, if it's using a compatible
driver, it should still work fine. The differences between the two aren't
large enough that the wave channel shouldn't work properly. 

But this is real life, and it is indeed mis-identifying the chip to start
with, which in my relatively kernel-clueless mind suggests that there's a
fault in talking to the control registers on the chip. I don't think I can
hunt this down on my own, but if anyone can give me suggestions I'll do
what I can. Here's my /dev/sndstat and my /proc/ioports for your own
edification:

Sound Driver:3.5.4-960630 (Thu Aug 28 23:38:24 CDT 1997 root,
Linux llama.dorm.utexas.edu 2.0.30 #11 Thu Aug 14 12:03:06 CDT 1997 alpha unknown)
Kernel: Linux llama.dorm.utexas.edu 2.0.30 #12 Thu Aug 28 23:46:04 CDT 1997 alpha
Config options: 80200

Installed drivers: 
Type 10: MS Sound System
Type 24: MS Sound System (AXP)
Type 27: Compaq Deskpro XL

Card config: 
MS Sound System at 0x530 irq 9 drq 3

Audio devices:
0: MSS audio codec (CS4231)

Synth devices: NOT ENABLED IN CONFIG

Midi devices: NOT ENABLED IN CONFIG

Timers:

Mixers:
0: MSS audio codec (CS4231)

-------------

0060-006f : keyboard
02f8-02ff : serial(auto)
03f0-03f5 : floppy
03f7-03f7 : floppy DIR
03f8-03ff : serial(auto)
0530-0533 : WSS config
0534-0537 : CS4231
b000-b07f : QSILVER's
b400-b47f : ncr53c7,8xx

------------

Thanks!

*Andrew Litt KC5APJ ajlitt@mail.utexas.edu http://www.ece.utexas.edu/~litt
*"What's the point of science if nobody gets hurt?"-Prof.Chromedome,The Tick

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-09-04 15:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-09-04  8:02 recording sound on UDB Roman Martonak
     [not found] <9709040802.AA25887@nero.physik.uni-mainz.de>
1997-09-04 15:49 ` Andrew Litt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox