Skip to Content.
Sympa Menu

baslinux - [BL] /dev/sequencer and external midi problem Re: ltmodem, member contributions pages and misc.

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: sindi keesan <keesan AT sdf.lonestar.org>
  • To: baslinux AT lists.ibiblio.org
  • Subject: [BL] /dev/sequencer and external midi problem Re: ltmodem, member contributions pages and misc.
  • Date: Sun, 25 Jun 2006 15:14:41 +0000 (UTC)

Playmidi -e plays to the awe synthesizer not the external device (Yamaha electronic piano, which plays the same file properly in DOS).

I have the same problem with both libc5 and libc6 playmidi, in BL2 with kernels 2.4.31 and 2.2.16 (did not try BL3), in two computers, I think both with AWE64 card but the second one might be AWE32. (I also tried a non-AWE card earlier in one of them - I should it try again).

The first computer is the one that won't work with Xvesa even after booting with DOS 7.1 unless you bypass startup files. It is one of three that would not boot with loadlin except with MS DOS 6 or 7 but the other two work with Xvesa. It is circa 1998. The second computer is from 2000 (one of our newest) and has no known problems of any sort except that it refuses to work with non PS/2 keyboard (even with an adaptor).

DOS:
A220 I9 D1 H7 P300 E620 T6
LINUX:
insmod soundcore
insmod soundlow
insmod sound
(of sb_lib for 2.4.31 kernel and skip 1 or 2 of the above)
insmod v_midi
insmod uart401
insmod sb io=0x220 irq=9 dma=1 dma16=7 mpu_io=300
insmod awe_wave
insmod opl3 io=0x388

Second computer (based on DOS ctcm output):
insmod sb io=0x220 irq=5 dma=1 dma16=5 mpu_io=330

Both computers play opl3 (playmidi -4) or AWE (playmidi -a).
playmidi -e plays to awe not the piano.
If I remove awe_wave.o it does not play at all.

Cannot get info on soundcard
/dev/sequencer: Device or resource busy

/dev/sequencer is crxw... root root 14, 1 or cr-w.... and I am root

If I remove awe_wave it can't find /dev/sequencer, so it appears that /dev/sequencer is attached to the awe device not the external midi device. Maybe this is a bug with awe cards in linux?

/proc/ioports reports mpu_401_uart at 300 (or 330 with the other computer)
(I forgot to check it if is still there after removing awe_wave.o).

What does the T620 mean? mpu_io=0x620 did not help, neither -a nor -e worked with that. Maybe with an AWE card I need to do something additional or different? I want to use this card so I can also play midis other than piano.

Steven suggested 0x330 from the "default values for SoundBlaster
hardware". On my card it was 0x300.


I have two different cards with two different addresses in two different computers. (I also have network cards, one of which is ISA, and I think I could not get it to work as anything but 330 with the 3com program so had to use 300 for the sound card.)


dma16 is unnecessary for midi so I left it out. (IRQ 5 was taken by my modem.)

I needed it for something, maybe it was mp3.

Did you need to use isapnp?

Yes, but only because I have a pnp card and boot from lilo. If you
have a jumpered card, the value depends on the jumper setup; but if
you use DOS to initialize the card, you should be able to find the
settings in the DOS initializing tool.

I used DOS ctcm, and used the same settings for linux.

When I playmidi -e it plays to awe32, same as with playmidi -a.

What version of playmidi? BL2?

I tried both versions, in BL2 (libc6 and libc5) with two kernels and two computers (the second only with BL2 libc6 playmidi and 2.2.16).


David

All my sb16 cards are pnp. Would sb.o work with sbpro 8-bit card that has a midi port and jumpers?

The piano sounds nice in DOS but the DOS sequencer is shareware and looks more complicated.

Sindi




Archive powered by MHonArc 2.6.24.

Top of Page