[linux-audio-user] MIDI -???- setup

Tim Hall tim at glastonburymusic.org.uk
Mon Mar 3 14:11:01 EST 2003


Hello

I'm still having trouble configuring sound for my box. I'm using the 
2.4.18-596-demudi kernel and ALSA-0.9beta ... that comes with the distro.

I've successfully loaded my soundcard modules (by hand). But still no Joy.
I checked /proc/asound and all the inormation is there for both soundcards
- ESS Solo-1 and an sbawe64 all present and correct, although I've not
checked the /proc/asound files exhaustively.The /dev/snd directory is
present also.

As you see I have minimal / low powered setup.
I need to be able to access my external synthesiser keyboard (an old Roland
D10) and I'd like to use MusE / Rosegarden-4 to edit my MIDI files. I'm not
expecting wonders, but I do think it's possible without having to revert to
OSS.

It's clear that something is not configured right, some essential link in
the chain is missing or misdirected, but what? It would be useful to know
what these config utilities are supposed to do.
 I don't know what to do next. Please tell me if there's something obvious
that an experienced user would have done in these circumstances. Or if I
could be asking better questions or offering more focused information.
How do you define an $AUDIOSERVER?

cheers

tim hall

What follows is a healthy portion of Luncheon Meat fyi - please prompt me
if you need more | less focussed information than this.
*****************************************************************************
Errors:
Magpie can't parse the infolines so puts all demudi apps into 'unspecified'
category - this isn't of course a major problem.
Back at my desktop menu (I'm using fluxbox) Midi connection panel gives
'Error opening sequencer'
MusE fails to open and proceeds to thrash the cpu at 99% for some reason.
Alsa Mixer: function snd_ctl_open failed for default: Unknown error
Jack connection panel won't open.
Jack Audio server brings up an xterm flashes text too fast to read and then
exits.
AlsaPlayer tells me that there's no $AUDIOSERVER
GEM rather rudely hung the system.

Soundcard detection semi-works: giving:
 """
Storing ALSA mixer settings ... :done
Shutting down ALSA sound driver (version 0.9.cvs20021017) :done
Starting ALSA sound driver [..] :es1938 es1938 :done
Restoring ALSA mixer settings :done
Incorrect password. Try again? (y/n)
 """
It rewrites /etc/alsa/modutils/0.9 to launch two instances of es1938,
overwrting sbawe for card1 (???)
amixer on the command line produces lots of text output.
If I try to cat anything to /dev/snd/pcmC0D0p, I get:
cat: write error: File descriptor in bad state.
/var/log/messages doesn't have much to say except for a few lines of:
kernel: snd_es1938_write_cmd timeout (0x02c0/0x0280)
****************************************************************************

***************************************************************************
Contents of relevant /proc/ files:

[--] Contents of /asound/... (not including sub-dirs)

0 [es1938         ]: ES1938 - ESS ES1938 (Solo-1)
                      ESS ES1938 (Solo-1) rev 0, irq 12
1 [sbawe          ]: SB AWE - Sound Blaster 16
                      Sound Blaster 16 at 0x220, irq 5, dma 1&5
  0: [0- 0]: ctl
   8: [0- 0]: raw midi
 16: [0- 0]: digital audio playback
  24: [0- 0]: digital audio capture
  33:       : timer
  32: [1- 0]: ctl
  36: [1- 0]: hardware dependent
  40: [1- 0]: raw midi
  48: [1- 0]: digital audio playback
  56: [1- 0]: digital audio capture
 01-00: OPL3 FM
 00-00: es-1938-1946 : ESS Solo-1 : playback 2 : capture 1
 01-00: SB16 DSP : DSP v4.16 : playback 1 : capture 1
 G0: system timer : 10000.000us (10000000 ticks)
 P0-0-0: PCM playback 0-0-0 : SLAVE
 P0-0-1: PCM capture 0-0-1 : SLAVE
 P0-0-2: PCM playback 0-0-2 : SLAVE
 P1-0-0: PCM playback 1-0-0 : SLAVE
 P1-0-1: PCM capture 1-0-1 : SLAVE
 Advanced Linux Sound Architecture Driver Version 0.9.cvs20021017.
 Compiled on Oct 17 2002 for kernel 2.4.18-586-demudi with versioned
 symbols.

 [--] cpuinfo:
 processor	: 0
 vendor_id	: GenuineIntel
 cpu family	: 5
 model		: 2
 model name	: Pentium 75 - 200
 stepping	: 12
 cpu MHz		: 133.638
 fdiv_bug	: no
 hlt_bug		: no
 f00f_bug	: yes
 coma_bug	: no
 fpu		: yes
 fpu_exception	: yes
 cpuid level	: 1
 wp		: yes
 flags		: fpu vme de pse tsc msr mce cx8
 bogomips	: 266.24

 [--] devices:
 Character devices:
   1 mem
   2 pty
   3 ttyp
   4 ttyS
   5 cua
   7 vcs
  10 misc
  14 sound
  29 fb
 108 ppp
 116 alsa
 128 ptm
 136 pts
 162 raw

 Block devices:
   1 ramdisk
   3 ide0
  22 ide1
 [--] dma:
  1: SoundBlaster - 8bit
  4: cascade
  5: SoundBlaster - 16bit
 [--] execdomains:
 0-0	Linux           	[kernel]

 [--] interrupts:
            CPU0
   0:    6795186          XT-PIC  timer
   1:      10032          XT-PIC  keyboard
   2:          0          XT-PIC  cascade
   4:     139198          XT-PIC  serial
   5:          0          XT-PIC  SoundBlaster
   8:          3          XT-PIC  rtc
  14:     226891          XT-PIC  ide0
  15:          0          XT-PIC  ide1
 NMI:          0
 ERR:          1

 [--] ioports:
 0000-001f : dma1
 0020-003f : pic1
 0040-005f : timer
 0060-006f : keyboard
 0070-007f : rtc
 0080-008f : dma page reg
 00a0-00bf : pic2
 00c0-00df : dma2
 00f0-00ff : fpu
 0170-0177 : ide1
 01f0-01f7 : ide0
 0213-0213 : isapnp read
 0220-022f : SoundBlaster
 02f8-02ff : serial(set)
 0330-0331 : MPU401 UART
 0376-0376 : ide1
 0388-0389 : OPL2/3 (left)
 038a-038b : OPL2/3 (right)
 03c0-03df : vga+
 03f6-03f6 : ide0
 03f8-03ff : serial(set)
 0620-0623 : Emu8000-1
 0a20-0a23 : Emu8000-2
 0a79-0a79 : isapnp write
 0cf8-0cff : PCI conf1
 0e20-0e23 : Emu8000-3
 6000-601f : Intel Corp. 82371SB PIIX3 USB [Natoma/Triton II]
 6100-613f : ESS Technology ES1969 Solo-1 Audiodrive
 6200-620f : ESS Technology ES1969 Solo-1 Audiodrive
 6300-630f : ESS Technology ES1969 Solo-1 Audiodrive
 6400-6403 : ESS Technology ES1969 Solo-1 Audiodrive
 6500-6503 : ESS Technology ES1969 Solo-1 Audiodrive
 9000-900f : Intel Corp. 82371SB PIIX3 IDE [Natoma/Triton II]
   9000-9007 : ide0
   9008-900f : ide1

 [--] isapnp:
 Card 1 'CTL00c5:Creative SB AWE64 PnP' PnP version 1.0 Product version 1.0
   Logical device 0 'CTL0045:Audio'
     Device is active
     Active port 0x220,0x330,0x388
     Active IRQ 5 [0x2]
     Active DMA 1,5
     Resources 0
       Priority preferred
       Port 0x220-0x220, align 0x0, size 0x10, 16-bit address decoding
       Port 0x330-0x330, align 0x0, size 0x2, 16-bit address decoding
       Port 0x388-0x3f8, align 0x0, size 0x4, 16-bit address decoding
       IRQ 5 High-Edge
       DMA 1 8-bit byte-count compatible
       DMA 5 16-bit word-count compatible
       Alternate resources 0:1
         Priority acceptable
         Port 0x220-0x280, align 0x1f, size 0x10, 16-bit address decoding
         Port 0x300-0x330, align 0x2f, size 0x2, 16-bit address decoding
         Port 0x388-0x3f8, align 0x0, size 0x4, 16-bit address decoding
         IRQ 5,7,2/9,10 High-Edge
         DMA 0,1,3 8-bit byte-count compatible
         DMA 5,6,7 16-bit word-count compatible
       Alternate resources 0:2
         Priority acceptable
         Port 0x220-0x280, align 0x1f, size 0x10, 16-bit address decoding
         Port 0x300-0x330, align 0x2f, size 0x2, 16-bit address decoding
         IRQ 5,7,2/9,10 High-Edge
         DMA 0,1,3 8-bit byte-count compatible
         DMA 5,6,7 16-bit word-count compatible
       Alternate resources 0:3
         Priority acceptable
         Port 0x220-0x280, align 0x1f, size 0x10, 16-bit address decoding
         IRQ 5,7,2/9,10 High-Edge
         DMA 0,1,3 8-bit byte-count compatible
         DMA 5,6,7 16-bit word-count compatible
       Alternate resources 0:4
         Priority acceptable
         Port 0x220-0x280, align 0x1f, size 0x10, 16-bit address decoding
         Port 0x300-0x330, align 0x2f, size 0x2, 16-bit address decoding
         Port 0x388-0x3f8, align 0x0, size 0x4, 16-bit address decoding
         IRQ 5,7,2/9,10 High-Edge
         DMA 0,1,3 8-bit byte-count compatible
       Alternate resources 0:5
         Priority acceptable
         Port 0x220-0x280, align 0x1f, size 0x10, 16-bit address decoding
         Port 0x300-0x330, align 0x2f, size 0x2, 16-bit address decoding
         IRQ 5,7,2/9,10 High-Edge
         DMA 0,1,3 8-bit byte-count compatible
       Alternate resources 0:6
         Priority acceptable
         Port 0x220-0x280, align 0x1f, size 0x10, 16-bit address decoding
         IRQ 5,7,2/9,10 High-Edge
         DMA 0,1,3 8-bit byte-count compatible
       Alternate resources 0:7
         Priority functional
         Port 0x220-0x280, align 0x1f, size 0x10, 16-bit address decoding
         Port 0x300-0x330, align 0xf, size 0x2, 16-bit address decoding
         Port 0x388-0x394, align 0x3, size 0x4, 16-bit address decoding
         IRQ 5,7,2/9,10 High-Edge
         DMA 0,1,3 8-bit byte-count compatible
         DMA 5,6,7 16-bit word-count compatible
   Logical device 1 'CTL7002:Game'
     Compatible device PNPb02f
     Device is not active
     Resources 0
       Priority preferred
       Port 0x200-0x200, align 0x0, size 0x8, 16-bit address decoding
       Alternate resources 0:1
         Priority acceptable
         Port 0x200-0x208, align 0x7, size 0x8, 16-bit address decoding
   Logical device 2 'CTL0022:WaveTable'
     Device is active
     Active port 0x620,0xa20,0xe20
     Resources 0
       Priority preferred
       Port 0x620-0x620, align 0x0, size 0x4, 16-bit address decoding
       Port 0xa20-0xa20, align 0x0, size 0x4, 16-bit address decoding
       Port 0xe20-0xe20, align 0x0, size 0x4, 16-bit address decoding
       Alternate resources 0:1
         Priority acceptable
         Port 0x620-0x680, align 0x1f, size 0x4, 16-bit address decoding
         Port 0xa20-0xa80, align 0x1f, size 0x4, 16-bit address decoding
         Port 0xe20-0xe80, align 0x1f, size 0x4, 16-bit address decoding
 Card 2 'TCM5094:3Com 3C509B EtherLink III' PnP version 1.0 Product version
 1.0 Logical device 0 'TCM5094:Unknown'
     Supported registers 0x2
     Compatible device PNP80f7
     Device is not active
     Active port 0x320
     Active IRQ 15 [0x2]
     Resources 0
       Priority preferred
       Port 0x210-0x3e0, align 0xf, size 0x10, 16-bit address decoding
       IRQ 3,5,7,2/9,10,11,12,15 High-Edge

 [--] modules:
 ppp_deflate            39488   0 (autoclean)
 bsd_comp                4032   0 (autoclean)
 ppp_async               6080   0 (autoclean)
 ppp_generic            18184   0 (autoclean) [ppp_deflate bsd_comp
 ppp_async] slhc                    4496   0 (autoclean) [ppp_generic]
 tap0                    2464   1 (autoclean)
 serial                 44064   1 (autoclean)
 snd-sbawe              16160   0 (unused)
 isa-pnp                28168   0 [serial snd-sbawe]
 snd-opl3-lib            5152   0 [snd-sbawe]
 snd-sb16-dsp            5376   0 [snd-sbawe]
 snd-pcm                53280   0 [snd-sb16-dsp]
 snd-timer               9280   0 [snd-opl3-lib snd-pcm]
 snd-mpu401-uart         2576   0 [snd-sbawe snd-sb16-dsp]
 snd-rawmidi            11552   0 [snd-mpu401-uart]
 snd-seq-device          3696   0 [snd-sbawe snd-opl3-lib snd-rawmidi]
 snd-sb16-csp           15072   0 [snd-sbawe]
 snd-sb-common           7048   0 [snd-sbawe snd-sb16-dsp snd-sb16-csp]
 snd-hwdep               3424   0 [snd-opl3-lib snd-sb16-csp]
 snd                    23176   0 [snd-sbawe snd-opl3-lib snd-sb16-dsp
 snd-pcm snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device snd-sb16-csp
 snd-sb-common snd-hwdep]
 sound                  52620   0 (unused)
 soundcore               3492   5 [snd sound]
 af_packet              11528   1
 rtc                     5528   0 (autoclean)
 ext2                   30784   9 (autoclean)
 ide-disk                6624  10 (autoclean)
 ide-probe-mod           8080   0 (autoclean)
 ide-mod               130892  10 (autoclean) [ide-disk ide-probe-mod]
 ext3                   56864   0 (autoclean)
 jbd                    35272   0 (autoclean) [ext3]
 unix                   13316  60 (autoclean)

 [--] pci:
 PCI devices found:
   Bus  0, device   0, function  0:
     Host bridge: Intel Corp. 430VX - 82437VX TVX [Triton VX] (rev 2).
       Master Capable.  Latency=32.
   Bus  0, device   7, function  0:
     ISA bridge: Intel Corp. 82371SB PIIX3 ISA [Natoma/Triton II] (rev 1).
   Bus  0, device   7, function  1:
     IDE interface: Intel Corp. 82371SB PIIX3 IDE [Natoma/Triton II] (rev
 0). Master Capable.  Latency=32.
       I/O at 0x9000 [0x900f].
   Bus  0, device   7, function  2:
     USB Controller: Intel Corp. 82371SB PIIX3 USB [Natoma/Triton II] (rev
 1). IRQ 12.
       Master Capable.  Latency=32.
       I/O at 0x6000 [0x601f].
   Bus  0, device   8, function  0:
     VGA compatible controller: S3 Inc. ViRGE/DX or /GX (rev 1).
       IRQ 12.
       Master Capable.  Latency=32.  Min Gnt=4.Max Lat=255.
       Non-prefetchable 32 bit memory at 0xe0000000 [0xe3ffffff].
   Bus  0, device  10, function  0:
     Multimedia audio controller: ESS Technology ES1969 Solo-1 Audiodrive
 (rev 1).
       IRQ 12.
       Master Capable.  Latency=32.  Min Gnt=2.Max Lat=24.
       I/O at 0x6100 [0x613f].
       I/O at 0x6200 [0x620f].
       I/O at 0x6300 [0x630f].
       I/O at 0x6400 [0x6403].
       I/O at 0x6500 [0x6503].

 [--] version:
 Linux version 2.4.18-586-demudi (free at leporello) (gcc version 2.95.4
 20011002 (Debian prerelease)) #1 Tue Oct 15 11:19:17 CEST 2002

 [--] Contents of /etc/alsa/modutils/0.9

 ###############################################
 #
 # ALSA modules configuration file for modprobe
 #
 ###############################################

 #
 # ALSA portion
 #

 # Native ALSA devices major number

 alias char-major-116 snd

 # Toplevel soundcard modules.
 # String 'snd-card-%i' is requested for native devices where %i is
 # soundcard number from zero to seven.

 alias snd-card-1 snd-es1938
 options snd-es1938 snd_id=es1938
 alias snd-card-0 snd-sbawe
 options snd-sbawe snd_id=sbawe

 #
 # OSS/Free portion
 #

 # Emulated OSS devices major number

 alias char-major-14 soundcore

 # String 'sound-slot-%i' is requested for native devices where %i is
 # slot number (for ALSA owner this means soundcard number).

 alias sound-slot-0 snd-card-0
 alias sound-slot-1 snd-card-1

 # Autoloading for ALSA's add-on OSS/Free emulation modules
 # String 'sound-service-%i-%i' is requested for OSS/Free service
 # where first %i means slot number (e.g. card number) and second %i
 # means service number.

 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 sound-service-1-0 snd-mixer-oss
 alias sound-service-1-3 snd-pcm-oss
 alias sound-service-1-12 snd-pcm-oss

 # Options

 options snd snd_device_mode=0666 snd_device_gid=29 snd_device_uid=0

 ***************************************************************************
 the end!



More information about the Linux-audio-user mailing list