Hello,
I am using ALSA drivers version 0.9.0rc2 on Slackware Linux 8.0 kernel 2.4.18. I have compiled the tarballs (alsa-driver-0.9.0rc2.tar.gz, alsa-lib-0.9.0rc2.tar.gz, alsa-utils-0.9.0rc2.tar.gz) manually according to the instructions on the www.alsa-project.org website. Everything worked fine. Great work guys, by the way! ALSA rocks ;-). I am using two soundcards: 1) /dev/dsp0 points to my Ensoniq AudioPCI (es1370 chip) -- PCI card 2) /dev/dsp1 points to my Crystal Codec (AW37) (cx4235-xq3 chip) -- ISA card Both cards actually work FINE with either "/dev/dsp0" or "/dev/dsp1" for any digital audio output (WAVs, MP3s, CDs, etc...). I have tested them using "mpg123" and "xmms". I found out some while ago that the Ensoniq AudioPCI doesn't include an OPL3 chip to play MIDI (.MID) files using the card's internal FM synthesizer, so I've installed a second soundcard, a Crystal Codec (listed above), which DOES have an OPL3 chip. I believed it would be easy to get the FM synthesizer to work with another soundcard... BUT... The BIG PROBLEM is that I AM STILL UNABLE TO GET MIDI (.MID) FILES TO PLAY using the OPL3 chip (FM synthesizer). I've been trying very hard (over 15 hours over two days :-), but did not succeed yet... "PMIDI" seems to be playing midi files, but not music is heard from the FM synthesized (YES, I know about the mixer controls, I have unmuted ALL of them and set them to MAXIMUM VOLUME)... I've decided to collect informations about my setup and send an email to the alsa-development mailing list after subscribing, hoping someone could help me... Maybe you guys have an idea about this problem (???). I have read a LOT of posts but couldn't find a solution to my problem. NOTE: I have successfully used Timidity to play midi files using the Ensoniq's DSP chip, but this is SLOW and monopolizes the DSP chip so it can't be used simultaneously to play WAV sound effects (I would like to play old games like "LinuxDOOM" where *BOTH* sound effects and midi music are required to be playing simultaneously...). That's why I'd like to get the Crystal Codec's FM synthesizer to play MIDI files, but I can't get it to work (!!). I am using PMIDI: http://prdownloads.sourceforge.net/pmidi/pmidi-1.5.4.tar.gz. I couldn't compile this small tarball (broken?!?) so I used a quick "rpm -i pmidi-1.5.4-1.i386.rpm --nodeps" to install the RPM version since I had already all dependencies -- pretty standard -- installed as tarballs on my machine. The RPM version can be obtained from...: http://prdownloads.sourceforge.net/pmidi/pmidi-1.5.4-1.i386.rpm. I have tested the Crystal Codec ISA card under Windows 98, and using appropriate Win98 drivers, the card *CAN* simultaneously play MIDI and MP3 files... So why couldn't it be possible under Linux (???). Attached to this email are VERY DETAILED informations about my system's and ALSA's files... Thanks in advance for your help, this will be *GREATLY* appreciated! HELP !!! :-) -- Jeannot Langlois [EMAIL PROTECTED] Informations attached to this message in file "slackware80_machine_info.txt". Contact me if you cannot open it, or for any missing information, or, hopefully, SOLUTIONS ;-)... THANKS! -- Get your free email from www.linuxmail.org Powered by Outblaze
Hello, I am using ALSA drivers version 0.9.0rc2 on Slackware Linux 8.0 kernel 2.4.18. I have compiled the tarballs (alsa-driver-0.9.0rc2.tar.gz, alsa-lib-0.9.0rc2.tar.gz, alsa-utils-0.9.0rc2.tar.gz) manually according to the instructions on the www.alsa-project.org website. Great work guys, by the way! ALSA rocks ;-). I am using two soundcards: 1) /dev/dsp0 points to my Ensoniq AudioPCI (es1370 chip) -- PCI card 2) /dev/dsp1 points to my Crystal Codec (AW37) (cx4235-xq3 chip) -- ISA card Both cards actually work FINE with either "/dev/dsp0" or "/dev/dsp1" for any digital audio output (WAVs, MP3s, CDs, etc...). I have tested them using "mpg123" and "xmms". I found out some while ago that the Ensoniq AudioPCI doesn't include an OPL3 chip to play MIDI (.MID) files using the card's internal FM synthesizer, so I've installed a second soundcard, a Crystal Codec, which DOES have an OPL3 chip. I believed it would be easy to get the FM synthesizer to work with another soundcard... BUT... The BIG PROBLEM is that I AM STILL UNABLE TO GET MIDI (.MID) FILES TO PLAY using the OPL3 chip (FM synthesizer). I've been trying very hard (over 15 hours over two days :-), but did not succeed yet... So... I've decided to collect informations about my setup and send an email to the alsa-development mailing list, hoping someone could help me... Maybe you guys have an idea about this problem (???). I have successfully used Timidity to play midi files using the Ensoniq's DSP chip, but this is SLOW and monopolizes the DSP chip so it can't be used simultaneously to play WAV sound effects (I would like to play old games like "LinuxDOOM" where *BOTH* sound effects and midi music are required to be playing simultaneously...). That's why I'd like to get the Crystal Codec's FM synthesizer to play MIDI files, but I can't get it to work (!!). I am using PMIDI: http://prdownloads.sourceforge.net/pmidi/pmidi-1.5.4.tar.gz. I couldn't compile the tarball so I used a quick "rpm -i pmidi-1.5.4-1.i386.rpm --nodeps" to install the RPM version since I had already all dependencies installed as tarballs on my machine: http://prdownloads.sourceforge.net/pmidi/pmidi-1.5.4-1.i386.rpm. I have tested the Crystal Codec ISA card under Windows 98, and using appropriate Win98 drivers, the card *CAN* simultaneously play MIDI and MP3 files... So why couldn't it be possible under Linux (???). Here follows VERY DETAILED informations about my system's files... Thanks in advance for your help, this will be *GREATLY* appreciated! (Please reply to "[EMAIL PROTECTED]" as I am not a member of the mailing-list...). HELP !!! :-) -- Jeannot Langlois [EMAIL PROTECTED] -------------------------------------------------------------------------------------------- ----Output from "uname -a "----------------------------------------------------------------- -------------------------------------------------------------------------------------------- Linux BigEndian 2.4.18 #12 SMP Sun Jun 16 09:58:37 EDT 2002 i686 unknown -------------------------------------------------------------------------------------------- ----Contents of /etc/modules.conf----------------------------------------------------------- -------------------------------------------------------------------------------------------- alias net-pf-4 off # we won't use PF IPX alias net-pf-5 off # we won't use PF AppleTalk # ALSA portion... alias char-major-116 snd alias snd-card-0 snd-ens-1370 alias snd-card-1 snd-cs4236 # Module options... options snd snd_cards_limit=2 options snd-cs4236 snd_port="0x534" snd_cport="0x120" snd_mpu_port="-1" snd_fm_port="0x388" snd_irq="5" snd_dma1="1" snd_dma2="5" # OSS/Free portion alias char-major-14 soundcore alias sound-slot-0 snd-card-0 alias sound-slot-1 snd-card-1 # Card #1: Ensoniq AudioPCI 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 # Card #2: Crystal Codec (CS4235-XQ3) alias sound-service-1-0 snd-mixer-oss alias sound-service-1-1 snd-seq-oss alias sound-service-1-3 snd-pcm-oss alias sound-service-1-8 snd-seq-oss alias sound-service-1-12 snd-pcm-oss -------------------------------------------------------------------------------------------- ----Contents of /etc/rc.d/rc.modules (partial -- only shows ALSA stuff)---------------------- -------------------------------------------------------------------------------------------- (...) /sbin/modprobe snd-ens1370 /sbin/modprobe snd-pcm-oss /sbin/modprobe snd-mixer-oss /sbin/modprobe snd-seq-oss /sbin/modprobe snd-cs4236 (...) -------------------------------------------------------------------------------------------- ----Complete output from "dmesg"------------------------------------------------------------ -------------------------------------------------------------------------------------------- Linux version 2.4.18 (root@BigEndian) (gcc version 2.95.3 20010315 (release)) #12 SMP Sun Jun 16 09:58:37 EDT 2002 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved) BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 0000000017ffd000 (usable) BIOS-e820: 0000000017ffd000 - 0000000017fff000 (ACPI data) BIOS-e820: 0000000017fff000 - 0000000018000000 (ACPI NVS) BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved) On node 0 totalpages: 98301 zone(0): 4096 pages. zone(1): 94205 pages. zone(2): 0 pages. Local APIC disabled by BIOS -- reenabling. Found and enabled local APIC! Kernel command line: BOOT_IMAGE=linux_2418 ro root=1601 hdb=ide-scsi ide_setup: hdb=ide-scsi Initializing CPU#0 Detected 233.868 MHz processor. Console: colour VGA+ 80x25 Calibrating delay loop... 465.30 BogoMIPS Memory: 384216k/393204k available (1354k kernel code, 8600k reserved, 444k data, 240k init, 0k highmem) Dentry-cache hash table entries: 65536 (order: 7, 524288 bytes) Inode-cache hash table entries: 32768 (order: 6, 262144 bytes) Mount-cache hash table entries: 8192 (order: 4, 65536 bytes) Buffer-cache hash table entries: 32768 (order: 5, 131072 bytes) Page-cache hash table entries: 131072 (order: 7, 524288 bytes) CPU: Before vendor init, caps: 0080fbff 00000000 00000000, vendor = 0 CPU: L1 I cache: 16K, L1 D cache: 16K CPU: L2 cache: 512K CPU: After vendor init, caps: 0080fbff 00000000 00000000 00000000 Intel machine check architecture supported. Intel machine check reporting enabled on CPU#0. CPU: After generic, caps: 0080fbff 00000000 00000000 00000000 CPU: Common caps: 0080fbff 00000000 00000000 00000000 Checking 'hlt' instruction... OK. POSIX conformance testing by UNIFIX CPU: Before vendor init, caps: 0080fbff 00000000 00000000, vendor = 0 CPU: L1 I cache: 16K, L1 D cache: 16K CPU: L2 cache: 512K CPU: After vendor init, caps: 0080fbff 00000000 00000000 00000000 Intel machine check reporting enabled on CPU#0. CPU: After generic, caps: 0080fbff 00000000 00000000 00000000 CPU: Common caps: 0080fbff 00000000 00000000 00000000 CPU0: Intel Pentium II (Klamath) stepping 04 per-CPU timeslice cutoff: 1465.81 usecs. SMP motherboard not detected. enabled ExtINT on CPU#0 ESR value before enabling vector: 00000000 ESR value after enabling vector: 00000000 Using local APIC timer interrupts. calibrating APIC timer ... ..... CPU clock speed is 233.8717 MHz. ..... host bus clock speed is 66.8201 MHz. cpu: 0, clocks: 668201, slice: 334100 CPU0<T0:668192,T1:334080,D:12,S:334100,C:668201> Waiting on wait_init_idle (map = 0x0) All processors have done init_idle PCI: PCI BIOS revision 2.10 entry at 0xf0720, last bus=1 PCI: Using configuration type 1 PCI: Probing PCI hardware PCI: Using IRQ router PIIX [8086/7110] at 00:04.0 Limiting direct PCI/PCI transfers. isapnp: Scanning for PnP cards... isapnp: Card 'Crystal Codec' isapnp: 1 Plug & Play card detected total Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket Starting kswapd pty: 256 Unix98 ptys configured Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI ISAPNP enabled ttyS00 at 0x03f8 (irq = 4) is a 16550A ttyS01 at 0x02f8 (irq = 3) is a 16550A block: 128 slots per queue, batch=32 Uniform Multi-Platform E-IDE driver Revision: 6.31 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx PIIX4: IDE controller on PCI bus 00 dev 21 PIIX4: chipset revision 1 PIIX4: not 100% native mode: will probe irqs later ide0: BM-DMA at 0xb800-0xb807, BIOS settings: hda:DMA, hdb:DMA ide1: BM-DMA at 0xb808-0xb80f, BIOS settings: hdc:DMA, hdd:DMA hda: QUANTUM FIREBALL SE8.4A, ATA DISK drive hdb: Hewlett-Packard CD-Writer Plus 9100, ATAPI CD/DVD-ROM drive hdc: QUANTUM FIREBALLP AS60.0, ATA DISK drive hdd: CD-ROM CDU711, ATAPI CD/DVD-ROM drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 ide1 at 0x170-0x177,0x376 on irq 15 hda: 16514064 sectors (8455 MB) w/80KiB Cache, CHS=1027/255/63, UDMA(33) hdc: 117266688 sectors (60041 MB) w/1902KiB Cache, CHS=116336/16/63, UDMA(33) hdd: ATAPI 14X CD-ROM drive, 256kB Cache, UDMA(33) Uniform CD-ROM driver Revision: 3.12 Partition check: hda: hda1 hdc: [PTBL] [7299/255/63] hdc1 hdc2 hdc3 hdc4 Floppy drive(s): fd0 is 1.44M, fd1 is 1.2M FDC 0 is a post-1991 82077 Linux agpgart interface v0.99 (c) Jeff Hartmann agpgart: Maximum main memory to use for agp memory: 321M agpgart: Detected Intel 440BX chipset agpgart: AGP aperture is 64M @ 0xe4000000 [drm] Initialized tdfx 1.0.0 20010216 on minor 0 [drm] AGP 0.99 on Intel 440BX @ 0xe4000000 64MB [drm] Initialized radeon 1.1.1 20010405 on minor 1 SCSI subsystem driver Revision: 1.00 request_module[scsi_hostadapter]: Root fs not mounted es1371: version v0.30 time 01:23:13 Jun 16 2002 Linux Kernel Card Services 3.1.22 options: [pci] [cardbus] [pm] usb.c: registered new driver hub uhci.c: USB Universal Host Controller Interface driver v1.1 PCI: Assigned IRQ 10 for device 00:04.2 uhci.c: USB UHCI at I/O 0xb400, IRQ 10 usb.c: new USB bus registered, assigned bus number 1 hub.c: USB hub found hub.c: 2 ports detected Initializing USB Mass Storage driver... usb.c: registered new driver usb-storage USB Mass Storage support registered. NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP, IGMP IP: routing cache hash table of 4096 buckets, 32Kbytes TCP: Hash tables configured (established 32768 bind 32768) NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. ds: no socket drivers loaded! VFS: Mounted root (ext2 filesystem) readonly. Freeing unused kernel memory: 240k freed Adding Swap: 2097136k swap-space (priority -1) Real Time Clock Driver v1.10e SLIP: version 0.8.4-NET3.019-NEWTTY-MODULAR (dynamic channels, max=256). CSLIP: code copyright 1989 Regents of the University of California PPP generic driver version 2.4.1 PPP Deflate Compression module registered PCI: Found IRQ 10 for device 00:0b.0 8139too Fast Ethernet driver 0.9.24 PCI: Found IRQ 9 for device 00:0c.0 eth0: RealTek RTL8139 Fast Ethernet at 0xd89b4000, 00:50:ba:8b:06:7b, IRQ 9 eth0: Identified 8139 chip type 'RTL-8139B' scsi0 : SCSI host adapter emulation for IDE ATAPI devices Vendor: HP Model: CD-Writer+ 9100 Rev: 1.0c Type: CD-ROM ANSI SCSI revision: 02 Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0 sr0: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray eth0: Setting 100mbps full-duplex based on auto-negotiated partner ability 41e1. -------------------------------------------------------------------------------------------- ----Contents of "/etc/isapnp.conf"... ... (not sure if needed; Crystal Codec CS4235-XQ3 works fine without it; ... created using "pnpdump > /etc/isapnp.conf)--------------------------------------------- -------------------------------------------------------------------------------------------- # $Id: pnpdump.c,v 1.21 1999/12/09 22:28:33 fox Exp $ # Release isapnptools-1.21 (library isapnptools-1.21) # # This is free software, see the sources for details. # This software has NO WARRANTY, use at your OWN RISK # # For details of the output file format, see isapnp.conf(5) # # For latest information and FAQ on isapnp and pnpdump see: # http://www.roestock.demon.co.uk/isapnptools/ # # Compiler flags: -DREALTIME -DNEEDSETSCHEDULER -DABORT_ONRESERR # (for library: -DREALTIME -DNEEDSETSCHEDULER -DABORT_ONRESERR) # # Trying port address 0273 # Board 1 has serial identifier a9 ff ff ff ff 36 42 63 0e # (DEBUG) (READPORT 0x0273) (ISOLATE PRESERVE) (IDENTIFY *) (VERBOSITY 2) (CONFLICT (IO FATAL)(IRQ FATAL)(DMA FATAL)(MEM FATAL)) # or WARNING # Card 1: (serial identifier a9 ff ff ff ff 36 42 63 0e) # Vendor Id CSC4236, No Serial Number (-1), checksum 0xA9. # Version 1.0, Vendor version 0.5 # ANSI string -->Crystal Codec<-- # # Logical device id CSC0000 # Device supports vendor reserved register @ 0x38 # Device supports vendor reserved register @ 0x3a # Device supports vendor reserved register @ 0x3d # # Edit the entries below to uncomment out the configuration required. # Note that only the first value of any range is given, this may be changed if required # Don't forget to uncomment the activate (ACT Y) when happy (CONFIGURE CSC4236/-1 (LD 0 # ANSI string -->WSS/SB<-- # Multiple choice time, choose one only ! # Start dependent functions: priority preferred # First DMA channel 1. # 8 bit DMA only # Logical device is not a bus master # DMA may execute in count by byte mode # DMA may not execute in count by word mode # DMA channel speed type A # (DMA 0 (CHANNEL 1)) # Next DMA channel 0 or 3. # 8 bit DMA only # Logical device is not a bus master # DMA may execute in count by byte mode # DMA may not execute in count by word mode # DMA channel speed type A # (DMA 1 (CHANNEL 0)) # IRQ 5. # High true, edge sensitive interrupt (by default) # (INT 0 (IRQ 5 (MODE +E))) # Logical device decodes 16 bit IO address lines # Minimum IO base address 0x0534 # Maximum IO base address 0x0534 # IO base alignment 4 bytes # Number of IO addresses required: 4 # (IO 0 (SIZE 4) (BASE 0x0534)) # Logical device decodes 16 bit IO address lines # Minimum IO base address 0x0388 # Maximum IO base address 0x0388 # IO base alignment 8 bytes # Number of IO addresses required: 4 # (IO 1 (SIZE 4) (BASE 0x0388)) # Logical device decodes 16 bit IO address lines # Minimum IO base address 0x0220 # Maximum IO base address 0x0220 # IO base alignment 32 bytes # Number of IO addresses required: 16 # (IO 2 (SIZE 16) (BASE 0x0220)) # Start dependent functions: priority acceptable # First DMA channel 1 or 3. # 8 bit DMA only # Logical device is not a bus master # DMA may execute in count by byte mode # DMA may not execute in count by word mode # DMA channel speed type A # (DMA 0 (CHANNEL 1)) # Next DMA channel 0, 1 or 3. # 8 bit DMA only # Logical device is not a bus master # DMA may execute in count by byte mode # DMA may not execute in count by word mode # DMA channel speed type A # (DMA 1 (CHANNEL 0)) # IRQ 5, 7, 9, 11, 12 or 15. # High true, edge sensitive interrupt (by default) # (INT 0 (IRQ 5 (MODE +E))) # Logical device decodes 16 bit IO address lines # Minimum IO base address 0x0534 # Maximum IO base address 0x0ffc # IO base alignment 4 bytes # Number of IO addresses required: 4 # (IO 0 (SIZE 4) (BASE 0x0534)) # Logical device decodes 16 bit IO address lines # Minimum IO base address 0x0388 # Maximum IO base address 0x0388 # IO base alignment 8 bytes # Number of IO addresses required: 4 # (IO 1 (SIZE 4) (BASE 0x0388)) # Logical device decodes 16 bit IO address lines # Minimum IO base address 0x0220 # Maximum IO base address 0x0260 # IO base alignment 32 bytes # Number of IO addresses required: 16 # (IO 2 (SIZE 16) (BASE 0x0220)) # Start dependent functions: priority functional # First DMA channel 0, 1 or 3. # 8 bit DMA only # Logical device is not a bus master # DMA may execute in count by byte mode # DMA may not execute in count by word mode # DMA channel speed type A # (DMA 0 (CHANNEL 0)) # IRQ 5, 7, 9, 11, 12 or 15. # High true, edge sensitive interrupt (by default) # (INT 0 (IRQ 5 (MODE +E))) # Logical device decodes 16 bit IO address lines # Minimum IO base address 0x0534 # Maximum IO base address 0x0ffc # IO base alignment 4 bytes # Number of IO addresses required: 4 # (IO 0 (SIZE 4) (BASE 0x0534)) # Logical device decodes 16 bit IO address lines # Minimum IO base address 0x0388 # Maximum IO base address 0x03f8 # IO base alignment 8 bytes # Number of IO addresses required: 4 # (IO 1 (SIZE 4) (BASE 0x0388)) # Logical device decodes 16 bit IO address lines # Minimum IO base address 0x0220 # Maximum IO base address 0x0300 # IO base alignment 32 bytes # Number of IO addresses required: 16 # (IO 2 (SIZE 16) (BASE 0x0220)) # End dependent functions (NAME "CSC4236/-1[0]{WSS/SB }") # (ACT Y) )) # # Logical device id CSC0001 # Device supports vendor reserved register @ 0x38 # Device supports vendor reserved register @ 0x3a # Device supports vendor reserved register @ 0x3b # Device supports vendor reserved register @ 0x3d # Device supports vendor reserved register @ 0x3f # # Edit the entries below to uncomment out the configuration required. # Note that only the first value of any range is given, this may be changed if required # Don't forget to uncomment the activate (ACT Y) when happy (CONFIGURE CSC4236/-1 (LD 1 # ANSI string -->GAME<-- # Multiple choice time, choose one only ! # Start dependent functions: priority preferred # Logical device decodes 16 bit IO address lines # Minimum IO base address 0x0200 # Maximum IO base address 0x0200 # IO base alignment 8 bytes # Number of IO addresses required: 8 # (IO 0 (SIZE 8) (BASE 0x0200)) # Start dependent functions: priority acceptable # Logical device decodes 16 bit IO address lines # Minimum IO base address 0x0208 # Maximum IO base address 0x0208 # IO base alignment 8 bytes # Number of IO addresses required: 8 # (IO 0 (SIZE 8) (BASE 0x0208)) # End dependent functions (NAME "CSC4236/-1[1]{GAME }") # (ACT Y) )) # # Logical device id CSC0010 # Device supports vendor reserved register @ 0x3a # Device supports vendor reserved register @ 0x3b # Device supports vendor reserved register @ 0x3d # Device supports vendor reserved register @ 0x3f # # Edit the entries below to uncomment out the configuration required. # Note that only the first value of any range is given, this may be changed if required # Don't forget to uncomment the activate (ACT Y) when happy (CONFIGURE CSC4236/-1 (LD 2 # ANSI string -->CTRL<-- # Logical device decodes 16 bit IO address lines # Minimum IO base address 0x0120 # Maximum IO base address 0x0ff8 # IO base alignment 8 bytes # Number of IO addresses required: 8 # (IO 0 (SIZE 8) (BASE 0x0120)) (NAME "CSC4236/-1[2]{CTRL }") # (ACT Y) )) # # Logical device id CSC0003 # Device supports vendor reserved register @ 0x3a # Device supports vendor reserved register @ 0x3b # Device supports vendor reserved register @ 0x3d # Device supports vendor reserved register @ 0x3f # # Edit the entries below to uncomment out the configuration required. # Note that only the first value of any range is given, this may be changed if required # Don't forget to uncomment the activate (ACT Y) when happy (CONFIGURE CSC4236/-1 (LD 3 # ANSI string -->MPU<-- # Multiple choice time, choose one only ! # Start dependent functions: priority preferred # IRQ 9. # High true, edge sensitive interrupt (by default) # (INT 0 (IRQ 9 (MODE +E))) # Logical device decodes 16 bit IO address lines # Minimum IO base address 0x0330 # Maximum IO base address 0x0330 # IO base alignment 8 bytes # Number of IO addresses required: 2 # (IO 0 (SIZE 2) (BASE 0x0330)) # Start dependent functions: priority acceptable # IRQ 9, 11, 12 or 15. # High true, edge sensitive interrupt (by default) # (INT 0 (IRQ 9 (MODE +E))) # Logical device decodes 16 bit IO address lines # Minimum IO base address 0x0330 # Maximum IO base address 0x0360 # IO base alignment 8 bytes # Number of IO addresses required: 2 # (IO 0 (SIZE 2) (BASE 0x0330)) # Start dependent functions: priority functional # Logical device decodes 16 bit IO address lines # Minimum IO base address 0x0330 # Maximum IO base address 0x03e0 # IO base alignment 8 bytes # Number of IO addresses required: 2 # (IO 0 (SIZE 2) (BASE 0x0330)) # End dependent functions (NAME "CSC4236/-1[3]{MPU }") # (ACT Y) )) # End tag... Checksum 0x00 (OK) # Returns all cards to the "Wait for Key" state (WAITFORKEY) -------------------------------------------------------------------------------------------- ----Attempt to display contents of "/dev/sndtat"-------------------------------------------- -------------------------------------------------------------------------------------------- bash-2.05# cat /dev/sndstat cat: /dev/sndstat: No such device bash-2.05# ls -laF /dev/sndstat crw-rw-rw- 1 root root 14, 6 Oct 19 15:52 /dev/sndstat -------------------------------------------------------------------------------------------- ----Some soundcard-related device files----------------------------------------------------- -------------------------------------------------------------------------------------------- bash-2.05# ls /dev/dsp /dev/dsp0 /dev/dsp1 /dev/mixer /dev/sequencer /dev/sequencer2 /dev/music -laF lrwxrwxrwx 1 root root 9 Oct 19 15:52 /dev/dsp -> /dev/dsp0 crw-rw-rw- 1 root root 14, 3 Oct 19 15:52 /dev/dsp0 crw-rw-rw- 1 root root 14, 19 Oct 19 15:52 /dev/dsp1 lrwxrwxrwx 1 root root 11 Oct 19 15:52 /dev/mixer -> /dev/mixer0 crw-rw-rw- 1 root root 14, 8 Oct 19 15:52 /dev/music crw-rw-rw- 1 root root 14, 1 Oct 19 15:52 /dev/sequencer lrwxrwxrwx 1 root root 10 Oct 19 15:52 /dev/sequencer2 -> /dev/music bash-2.05# -------------------------------------------------------------------------------------------- ----Output from "lsmod" -------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Module Size Used by sr_mod 11456 0 (unused) sg 24288 0 (unused) ide-scsi 7440 0 8139too 13376 1 snd-opl3-synth 8704 0 (autoclean) (unused) snd-seq-midi-emul 4448 0 (autoclean) [snd-opl3-synth] snd-seq-instr 4800 0 (autoclean) [snd-opl3-synth] snd-ainstr-fm 1328 0 (autoclean) [snd-opl3-synth] snd-cs4236 5408 0 (autoclean) (unused) snd-opl3-lib 5360 0 (autoclean) [snd-opl3-synth snd-cs4236] snd-hwdep 3472 0 (autoclean) [snd-opl3-lib] snd-cs4236-lib 10832 0 (autoclean) [snd-cs4236] snd-cs4231-lib 14576 0 (autoclean) [snd-cs4236 snd-cs4236-lib] snd-mpu401-uart 2864 0 (autoclean) [snd-cs4236] snd-seq-midi 3184 0 (autoclean) (unused) snd-seq-oss 22848 0 (unused) snd-seq-midi-event 3264 0 [snd-seq-midi snd-seq-oss] snd-seq 36592 2 [snd-opl3-synth snd-seq-midi-emul snd-seq-instr snd-seq-midi snd-seq-oss snd-seq-midi-event] snd-pcm-oss 34864 0 (unused) snd-mixer-oss 9008 0 [snd-pcm-oss] snd-ens1370 7760 0 (unused) snd-pcm 50528 0 [snd-cs4236-lib snd-cs4231-lib snd-pcm-oss snd-ens1370] snd-timer 10224 0 [snd-opl3-lib snd-cs4231-lib snd-seq snd-pcm] snd-ak4531-codec 5024 0 [snd-ens1370] snd-rawmidi 12416 0 [snd-mpu401-uart snd-seq-midi snd-ens1370] snd-seq-device 3792 0 [snd-opl3-synth snd-opl3-lib snd-seq-midi snd-seq-oss snd-seq snd-rawmidi] snd 25328 0 [snd-opl3-synth snd-seq-instr snd-cs4236 snd-opl3-lib snd-hwdep snd-cs4236-lib snd-cs4231-lib snd-mpu401-uart snd-seq-midi snd-seq-oss snd-seq-midi-event snd-seq snd-pcm-oss snd-mixer-oss snd-ens1370 snd-pcm snd-timer snd-ak4531-codec snd-rawmidi snd-seq-device] ppp_deflate 39040 0 (unused) ppp_async 6320 0 (unused) ppp_generic 16960 0 [ppp_deflate ppp_async] slhc 4384 0 [ppp_generic] slip 5952 0 (unused) rtc 6112 0 (autoclean) nls_iso8859-1 2880 1 (autoclean) nls_cp437 4384 1 (autoclean) vfat 9360 1 (autoclean) fat 29952 0 (autoclean) [vfat] -------------------------------------------------------------------------------------------- ----Output from "/proc/dma"----------------------------------------------------------------- -------------------------------------------------------------------------------------------- 1: CS4231 - 1 4: cascade 5: CS4231 - 2 -------------------------------------------------------------------------------------------- ----Output from "/proc/interrupts"---------------------------------------------------------- -------------------------------------------------------------------------------------------- CPU0 0: 47499 XT-PIC timer 1: 2247 XT-PIC keyboard 2: 0 XT-PIC cascade 5: 0 XT-PIC CS4231 8: 1 XT-PIC rtc 9: 0 XT-PIC eth0 10: 0 XT-PIC usb-uhci, Ensoniq AudioPCI 12: 13 XT-PIC PS/2 Mouse 14: 30 XT-PIC ide0 15: 14370 XT-PIC ide1 NMI: 0 LOC: 47442 ERR: 0 MIS: 0 -------------------------------------------------------------------------------------------- ----Output from "/proc/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 0120-0127 : CS4232 Control 0170-0177 : ide1 01f0-01f7 : ide0 0213-0213 : isapnp read 0220-022f : CS4236+ SB 02f8-02ff : serial(auto) 0376-0376 : ide1 0388-0389 : OPL2/3 (left) 038a-038b : OPL2/3 (right) 03c0-03df : vga+ 03f6-03f6 : ide0 03f8-03ff : serial(auto) 0534-0537 : CS4231 0a79-0a79 : isapnp write 0cf8-0cff : PCI conf1 a800-a8ff : Realtek Semiconductor Co., Ltd. RTL-8139 a800-a8ff : 8139too b000-b03f : Ensoniq ES1370 [AudioPCI] b000-b03f : Ensoniq AudioPCI b400-b41f : Intel Corp. 82371AB PIIX4 USB b400-b41f : usb-uhci b800-b80f : Intel Corp. 82371AB PIIX4 IDE b800-b807 : ide0 b808-b80f : ide1 d000-dfff : PCI Bus #01 d800-d8ff : ATI Technologies Inc 3D Rage Pro AGP 1X/2X e400-e43f : Intel Corp. 82371AB PIIX4 ACPI e800-e81f : Intel Corp. 82371AB PIIX4 ACPI -------------------------------------------------------------------------------------------- ----Output from "/proc/isapnp"-------------------------------------------------------------- -------------------------------------------------------------------------------------------- Card 1 'CSC4236:Crystal Codec' PnP version 1.0 Product version 0.5 Logical device 0 'CSC0000:WSS/SB' Device is active Active port 0x534,0x388,0x220 Active IRQ 5 [0x2] Active DMA 1 Resources 0 Priority preferred Port 0x534-0x534, align 0x3, size 0x4, 16-bit address decoding Port 0x388-0x388, align 0x7, size 0x4, 16-bit address decoding Port 0x220-0x220, align 0x1f, size 0x10, 16-bit address decoding IRQ 5 High-Edge DMA 1 8-bit byte-count compatible DMA 0,3 8-bit byte-count compatible Alternate resources 0:1 Priority acceptable Port 0x534-0xffc, align 0x3, size 0x4, 16-bit address decoding Port 0x388-0x388, align 0x7, size 0x4, 16-bit address decoding Port 0x220-0x260, align 0x1f, size 0x10, 16-bit address decoding IRQ 5,7,2/9,11,12,15 High-Edge DMA 1,3 8-bit byte-count compatible DMA 0,1,3 8-bit byte-count compatible Alternate resources 0:2 Priority functional Port 0x534-0xffc, align 0x3, size 0x4, 16-bit address decoding Port 0x388-0x3f8, align 0x7, size 0x4, 16-bit address decoding Port 0x220-0x300, align 0x1f, size 0x10, 16-bit address decoding IRQ 5,7,2/9,11,12,15 High-Edge DMA 0,1,3 8-bit byte-count compatible Logical device 1 'CSC0001:GAME' Device is not active Resources 0 Priority preferred Port 0x200-0x200, align 0x7, size 0x8, 16-bit address decoding Alternate resources 0:1 Priority acceptable Port 0x208-0x208, align 0x7, size 0x8, 16-bit address decoding Logical device 2 'CSC0010:CTRL' Device is active Active port 0x120 Resources 0 Priority preferred Port 0x120-0xff8, align 0x7, size 0x8, 16-bit address decoding Logical device 3 'CSC0003:MPU' Device is not active Resources 0 Priority preferred Port 0x330-0x330, align 0x7, size 0x2, 16-bit address decoding IRQ 2/9 High-Edge Alternate resources 0:1 Priority acceptable Port 0x330-0x360, align 0x7, size 0x2, 16-bit address decoding IRQ 2/9,11,12,15 High-Edge Alternate resources 0:2 Priority functional Port 0x330-0x3e0, align 0x7, size 0x2, 16-bit address decoding -------------------------------------------------------------------------------------------- ----Output from "/proc/asound/cards"-------------------------------------------------------- -------------------------------------------------------------------------------------------- 0 [card0 ]: ES1370 - Ensoniq AudioPCI Ensoniq AudioPCI ES1370 at 0xb000, irq 10 1 [card1 ]: CS4235 - CS4235 CS4235 at 0x534, irq 5, dma 1&5 -------------------------------------------------------------------------------------------- ----Output from "/proc/asound/hwdep"-------------------------------------------------------- -------------------------------------------------------------------------------------------- 0 [card0 ]: ES1370 - Ensoniq AudioPCI Ensoniq AudioPCI ES1370 at 0xb000, irq 10 1 [card1 ]: CS4235 - CS4235 CS4235 at 0x534, irq 5, dma 1&5 -------------------------------------------------------------------------------------------- ----Output from "pmidi -l"... ... http://prdownloads.sourceforge.net/pmidi/pmidi-1.5.4.tar.gz ... (couldn't compile tarball so I used a quick "rpm -i pmidi-1.5.4-1.i386.rpm --nodeps" ... since I had already all dependencies installed as tarballs on my machine) ... http://prdownloads.sourceforge.net/pmidi/pmidi-1.5.4-1.i386.rpm -------------------------------------------------------------------------------------------- Port Client name Port name 64:0 External MIDI 0 MIDI 0-0 73:0 OPL3 FM synth OPL3 Port -------------------------------------------------------------------------------------------- ---Tried to play any midi file using following command-line--------------------------------- pmidi -p 73:0 midifile.mid -------------------------------------------------------------------------------------------- pmidi just blocks while it SEEMS to be playing but not output is heard -- YES all mixer controls have been unmuted and set to MAXIMUM VOLUME... pmidi can be interrupted using CTRL-C. =============================================================================================