* MSS in a Multia
@ 1997-09-23 4:00 Daniel Tryba
1997-09-23 4:00 ` Homonnai Mihaly
0 siblings, 1 reply; 7+ messages in thread
From: Daniel Tryba @ 1997-09-23 4:00 UTC (permalink / raw)
Since one week I running Linux on a Multia, and I would like to use the
onboard soundcard. Compiling it into the kernel with default settings (irq
11) conflicts with the NCR 810 which also wants to use 11 irq. What is the
cor4rect procedure to get everything to work? BTW kernel is 2.0.30 (and if
it makes any difference milo is 1.5), audio_test in the srm console works
fine.
--
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: MSS in a Multia
1997-09-23 4:00 MSS in a Multia Daniel Tryba
@ 1997-09-23 4:00 ` Homonnai Mihaly
1997-09-25 4:00 ` Chel van Gennip
1997-09-30 4:00 ` Daniel Tryba
0 siblings, 2 replies; 7+ messages in thread
From: Homonnai Mihaly @ 1997-09-23 4:00 UTC (permalink / raw)
Daniel Tryba (muaddib@stack.nl) wrote:
: Since one week I running Linux on a Multia, and I would like to use the
: onboard soundcard. Compiling it into the kernel with default settings (irq
: 11) conflicts with the NCR 810 which also wants to use 11 irq. What is the
: cor4rect procedure to get everything to work? BTW kernel is 2.0.30 (and if
The correct parameters are:
ioport=0x530, IRQ=9, DMA=3
Mihaly
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: MSS in a Multia
1997-09-23 4:00 ` Homonnai Mihaly
@ 1997-09-25 4:00 ` Chel van Gennip
1997-09-26 4:00 ` Homonnai Mihaly
1997-09-30 4:00 ` Daniel Tryba
1 sibling, 1 reply; 7+ messages in thread
From: Chel van Gennip @ 1997-09-25 4:00 UTC (permalink / raw)
Homonnai Mihaly wrote:
> Daniel Tryba (muaddib@stack.nl) wrote:
>
> : Since one week I running Linux on a Multia, and I would like to use the
> : onboard soundcard. Compiling it into the kernel with default settings (irq
> : 11) conflicts with the NCR 810 which also wants to use 11 irq. What is the
> : cor4rect procedure to get everything to work? BTW kernel is 2.0.30 (and if
>
> The correct parameters are:
> ioport=0x530, IRQ=9, DMA=3
>
> Mihaly
These values work fine for sound output. I tried to do sound input but I
failed.Has anyone sound input on the UDB working?
--
+--------------------------------------------------------------------------+
| Chel van Gennip, HISCOM BV afdeling Systeemgroep |
| Schipholweg 97, Postbus 901, 2300 AX Leiden, Nederland |
| Tel. +31 71 5256762, FAX +31 71 5216675, Email Chel.van.Gennip@hiscom.nl |
+--------------------------------------------------------------------------+
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: MSS in a Multia
1997-09-25 4:00 ` Chel van Gennip
@ 1997-09-26 4:00 ` Homonnai Mihaly
1997-09-28 4:00 ` Chel van Gennip
0 siblings, 1 reply; 7+ messages in thread
From: Homonnai Mihaly @ 1997-09-26 4:00 UTC (permalink / raw)
Chel van Gennip (cvgennip@hiscom.nl) wrote:
: Homonnai Mihaly wrote:
: > Daniel Tryba (muaddib@stack.nl) wrote:
: >
: > : Since one week I running Linux on a Multia, and I would like to use the
: > : onboard soundcard. Compiling it into the kernel with default settings (irq
: > : 11) conflicts with the NCR 810 which also wants to use 11 irq. What is the
: > : cor4rect procedure to get everything to work? BTW kernel is 2.0.30 (and if
: >
: > The correct parameters are:
: > ioport=0x530, IRQ=9, DMA=3
: >
: > Mihaly
: These values work fine for sound output. I tried to do sound input but I
: failed.Has anyone sound input on the UDB working?
Try this
cat /dev/dsp > test
<talk into the microphone>
cat test > /dev/dsp
<listen>
It should work IMHO
Mihaly
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: MSS in a Multia
1997-09-26 4:00 ` Homonnai Mihaly
@ 1997-09-28 4:00 ` Chel van Gennip
1997-09-28 4:00 ` Chel van Gennip
0 siblings, 1 reply; 7+ messages in thread
From: Chel van Gennip @ 1997-09-28 4:00 UTC (permalink / raw)
Homonnai Mihaly wrote:
>
> Chel van Gennip (cvgennip@hiscom.nl) wrote:
> : Homonnai Mihaly wrote:
>
> : > Daniel Tryba (muaddib@stack.nl) wrote:
...
> : > The correct parameters are:
> : > ioport=0x530, IRQ=9, DMA=3
..
> : These values work fine for sound output. I tried to do sound input but I
> : failed.Has anyone sound input on the UDB working?
>
> Try this
> cat /dev/dsp > test
> <talk into the microphone>
> cat test > /dev/dsp
> <listen>
> It should work IMHO
I think it should work too, however:
This is the result:
[root@gennip3 /root]# cat /dev/dsp > test
cat: /dev/dsp: Input/output error
[root@gennip3 /root]# ls -l test
-rw-r--r-- 1 root root 0 Sep 28 13:29 test
Looking in /var/log/messages:
Sep 28 13:28:37 gennip3 kernel: Linux version 2.0.30
(root@gennip3.vangennip.nl) (gcc version 2.7.2.1) #15 Fri Sep 19
17:45:40 MEST 1997
Sep 28 13:28:37 gennip3 kernel: Sound initialization started
Sep 28 13:28:37 gennip3 kernel: <MSS audio codec (CS4231)> at 0x534 irq
9 dma 3,3
Sep 28 13:28:37 gennip3 kernel: Sound initialization complete
Sep 28 13:29:55 gennip3 kernel: Sound: DMA (input) timed out - IRQ/DRQ
config error?
linux/autoconf.h
/*
* Sound
*/
#define CONFIG_SOUND 1
#undef CONFIG_PAS
#undef CONFIG_SB
#undef CONFIG_ADLIB
#undef CONFIG_GUS
#undef CONFIG_MPU401
#undef CONFIG_PSS
#undef CONFIG_GUS16
#undef CONFIG_GUSMAX
#define CONFIG_MSS 1
#undef CONFIG_SSCAPE
#undef CONFIG_TRIX
#undef CONFIG_MAD16
#undef CONFIG_CS4232
#undef CONFIG_MAUI
#undef CONFIG_YM3812
#define MSS_BASE 0x530
#define MSS_IRQ (9)
#define MSS_DMA (3)
#define MSS_DMA2 (-1)
#undef CONFIG_LOWLEVEL_SOUND
Off-line tests with the arc console shows no hardware errors
Chel
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: MSS in a Multia
1997-09-28 4:00 ` Chel van Gennip
@ 1997-09-28 4:00 ` Chel van Gennip
0 siblings, 0 replies; 7+ messages in thread
From: Chel van Gennip @ 1997-09-28 4:00 UTC (permalink / raw)
Chel van Gennip wrote:
>
> Homonnai Mihaly wrote:
> >
> > Chel van Gennip (cvgennip@hiscom.nl) wrote:
> > : Homonnai Mihaly wrote:
> >
> > : > Daniel Tryba (muaddib@stack.nl) wrote:
> ...
> > : > The correct parameters are:
> > : > ioport=0x530, IRQ=9, DMA=3
> ..
> > : These values work fine for sound output. I tried to do sound input but I
> > : failed.Has anyone sound input on the UDB working?
> >
> > Try this
> > cat /dev/dsp > test
> > <talk into the microphone>
> > cat test > /dev/dsp
> > <listen>
> > It should work IMHO
....
> #define MSS_DMA2 (-1)
Just after I posted I found out the config file I posted
was a 2.1.xx config file. In 2.0.30 the config file had no
MSS_DMA2 line.
So I tried to enable the second DMA, for a quick result I made
a small change in drives/sound/ad1848.c I added in ad1848_init
two lines:
void
ad1848_init (char *name, int io_base, int irq, int dma_playback, int
dma_capture, int share_dma, int *osp)
{
/*
* NOTE! If irq < 0, there is another driver which has allocated the
IRQ
* so that this driver doesn't need to allocate/deallocate it.
* The actually used IRQ is ABS(irq).
*/
int my_dev;
char dev_name[100];
ad1848_info *devc = &dev_info[nr_ad1848_devs];
int audio_flags = DMA_AUTOMODE;
/*chel*/
dma_playback=3;
dma_capture=1;
This solved the problem, so the settings for Multia sound should
be:
ioport=0x530, IRQ=9, DMA=3 DMA2=1
Chel
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: MSS in a Multia
1997-09-23 4:00 ` Homonnai Mihaly
1997-09-25 4:00 ` Chel van Gennip
@ 1997-09-30 4:00 ` Daniel Tryba
1 sibling, 0 replies; 7+ messages in thread
From: Daniel Tryba @ 1997-09-30 4:00 UTC (permalink / raw)
Homonnai Mihaly (homer@unicorn.sch.bme.hu) wrote:
: Daniel Tryba (muaddib@stack.nl) wrote:
: : Since one week I running Linux on a Multia, and I would like to use the
: : onboard soundcard. Compiling it into the kernel with default settings (irq
: : 11) conflicts with the NCR 810 which also wants to use 11 irq. What is the
: : cor4rect procedure to get everything to work? BTW kernel is 2.0.30 (and if
: The correct parameters are:
: ioport=0x530, IRQ=9, DMA=3
Thanks, I tried all kind of combos while using it as a module but that
resulted in a device or resource busy error.
But an other question: what are the specs of the card? I thought it was a
16bit thingy. But trying to play audio either 16bit or stereo (11kHz I
think) resulted in some weird noises. But while reading other replies to my
question I saw something about activating the second DMA???
--
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~1997-09-30 4:00 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-09-23 4:00 MSS in a Multia Daniel Tryba
1997-09-23 4:00 ` Homonnai Mihaly
1997-09-25 4:00 ` Chel van Gennip
1997-09-26 4:00 ` Homonnai Mihaly
1997-09-28 4:00 ` Chel van Gennip
1997-09-28 4:00 ` Chel van Gennip
1997-09-30 4:00 ` Daniel Tryba
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox