Skip to contentSkip to conversation

GUS MAX problem

DISCUSSION Benoit Rouits 2 participants 4 messages Dec 6, 1998 – Dec 7, 1998 Sound

lore
Share & tools
lore
#0 lore raw

Hello,
(I'm not subscribed, please use reply)

I've got a problem with my 2.0.31 kernel
and standard driver for GUS that is :

-When i use MIDI player first time, i get a segmentation fault. At the second time, the /dev/sequencer is said BUSY.But when i CAT foo.bar in /dev/ sequencer
, I can "hear" some midi message.(unsynchrnised of course) What's the problem?

- Secondly, wave sound works well but sometimes i get a big BUZZ when playing some file. I'm forced to reboot to get good sound again.

Any suggestion?

Thank's a lot .

P.S: My GUS MAX is an ISA one and works
well under Micro$oft and I'm sure to not have any irq or dma conflicts.

Benoit Rouits

#1 lore raw
Quoted 2 lines · Benoit Rouits

I've got a problem with my 2.0.31 kernel
and standard driver for GUS that is :

I have also GUS MAX 512k and it has always worked fine. But I have very rarely used the standard Linux sound drivers, because I have found that Linux Ultra Sound Project drivers work better. You might try them

http://home.pf.jcu.cz/~perex/ultra/

There's also ALSA project, but for me the Ultra drivers work better.

http://alsa.jcu.cz

I'm using kernel 2.0.36 right now but everything has worked fine with few older kernels too.

Quoted 1 line

well under Micro$oft and I'm sure to not have any irq or dma conflicts.

You might try giving commands
cat /proc/interrupts
and
cat /proc/ports
and
cat /proc/dma
(if i remembered the file names right. if not, peek around under /proc directory).
They should help resolving irq/dma conflicts _if_ you have one. But if you're sure it's not a conflict, you can ignore this.

Anyway, my GUS has DMA 5 and 6 and IRQ 11 and port 220h.

--

| Tuukka Toivonen <[email protected]>       [PGP public key
| Homepage: http://www.ee.oulu.fi/~tuukkat/       available]
| Try also finger -l [email protected]
| Studying information engineering at the University of Oulu

+-----------------------------------------------------------

#2 lore raw
In reply to Benoit Rouits

Hello again,

Thank you for the adress of the GUS Project that you gave me.I tried again to look for irq problems but did not found it, so I will use now the "Perex's driver" because i can't do anything with the standard one.And this old one do not manage really aGUS MAX (ie: 16 bit recording and 32 polyphonic voices) but a standard GUS thatis a 8-bit sample card. So, now i will be able to use TRUELY my GUS MAX.I also got the irq 11 for it but i added
irq 5 for the midi features and DMA 1 for output and DMA 3 four input
audio.

I'msurprised that you did not mentionned
the midi irq in your reply: is it because this is unused? or because this
mustbe the same as Gf1 irq? (i.e: 11 for me)

Maybe it is the reason for why my midi output doesn't work...I will try irq 11 for all the sound card
.
bye ! Benoit.

#3 lore raw
In reply to Benoit Rouits
Quoted 3 lines · Benoit Rouits

"Perex's driver" because i can't do anything with the standard one.And this old one do not manage really aGUS MAX (ie: 16 bit recording and 32 polyphonic voices) but a standard GUS thatis a 8-bit sample card. So, now i

The standard Linux sound driver (also called as OSS/Lite or just OSS, Open Sound System) should support GUS MAX too with all 32 voices and 16-bit recording.

Why I like more Perex Ultra drivers? Because it allows full-duplex sound between different programs (start one program which plays digitized sound and then you can start another program which can record digital audio).

It also has UltraMIDI, which can play MIDIs and nice Tcl/Tk GUI mixer.

Both drivers should support GUS MAX and not only classic GUS.

Quoted 3 lines

will be able to use TRUELY my GUS MAX.I also got the irq 11 for it but i added
irq 5 for the midi

Hmm. I can't check right now but I think that you can not even tell the driver what secondary IRQ to use. I think that the second IRQ is mainly meant for SB emulation and has no use in Linux.

When you set up OSS (using make config/menuconfig/xconfig) you should not select "General MIDI" or whatever the option was called... it would allow you to select another IRQ, but this option is not meant to be used with GUS.

(However, OSS worked althought I ignorantly selected the General MIDI and second IRQ at first).

Quoted 2 lines

features and DMA 1 for output and DMA 3 four input audio.

You should use DMAs higher than 3. DMA 1 and 3 are only 8-bit wide, while higher DMAs are 16-bit and should work at least little faster.

--

| Tuukka Toivonen <[email protected]>       [PGP public key
| Homepage: http://www.ee.oulu.fi/~tuukkat/       available]
| Try also finger -l [email protected]
| Studying information engineering at the University of Oulu

+-----------------------------------------------------------