On Monday 14 Jan 2002 23:32, George Mitchell wrote:
> The midi synth OPL3 is definately where you are going to have the most
> problems.  Mandrake is in a lot of flux right now with the 2.4 kernel
> and DevFS and such, all of which are affecting this device stuff.  I
> keep on hoping that something will click and suddenly things will just
> start to work.  The important things to note are that sndconfig formats
> modprobe for the 2.2 kernel - there is no hope with it.  The new
> modprobe format does not support options:

This is not true.  Here is a snip from my modules.conf
        alias sound-slot-0              es1371
        options es1371          joystick=1
        alias char-major-13             input
        above input                     joydev analog
        options analog          js=0xff #   3-axis 4-button
...without the options I have no joystick

>
> modprobe cs4232
> modprobe opl3
> modprobe mpu-401
>
> etc. is all that should be required.  All the details should be handled
> automatically.
>
> -George
>
> Tech At Mathco Dot Com wrote:
> >thanks I will give that a try.
> >
> >When running the midi configuration it shows
> >
> >The following error occurred running the modprobe program:       ?
> >      ?                                                               
> >   ? ? /lib/modules/2.4.8-26mdk/kernel/drivers/sound/opl3.o.gz:       
> >  ? ? init_module: No such device                                     
> > ? ? /lib/modules/2.4.8-26mdk/kernel/drivers/sound/opl3.o.gz: insmod 
> > ? ? /lib/modules/2.4.8-26mdk/kernel/drivers/sound/opl3.o.gz failed  
> > ? ? /lib/modules/2.4.8-26mdk/kernel/drivers/sound/opl3.o.gz: insmod 
> > ? ? synth0 failed
> >
> >Also i'm confused that there is no dsp nore any mixer device under
> >/dev/sound. Something is really broken here :)
> >
> >[mat@teche sound]$ ls -la
> >total 0
> >drwxr-xr-x    1 root     root            0 Jan 14 10:04 ./
> >drwxr-xr-x    1 root     root            0 Dec 31  1969 ../
> >crw-------    1 mat      audio     14,   4 Jan 14 08:59 audio
> >crw-------    1 mat      audio     14,   5 Jan 14 08:59 dspW
> >crw-------    1 mat      audio     14,   1 Jan 14 08:59 sequencer
> >crw-------    1 mat      audio     14,   8 Jan 14 08:59 sequencer2
> >
> >/MattB
> >
> >On Mon, 2002-01-14 at 16:51, George Mitchell wrote:
> >>Matt,
> >>
> >>My experience is that harddrake is hosed up and will not configure
> >> this popular chipset.  The problem with sndconfig is that it hasn't
> >> been updated to work with the 2.4 kernel.  So here's the scoop.  Try
> >> editing /etc/modules.conf with a plain old text editor like kedit. 
> >> Add the following line:
> >>
> >>alias sound-slot-0 cs4232
> >>
> >>Then reboot.  This should enable your sound chip.  The line for the
> >> OPL3 is:
> >>
> >>alias midi opl3
> >>
> >>But so far I have not been able to get midi to work.  I'm convinced
> >>there is a kernel problem with OPL3.
> >>
> >>I have'nt tried mpu-401 external midi.   Adding:
> >>
> >>mpu-401
> >>
> >>to /etc/modules with the text editor should get that started.
> >>
> >>The 2.4 kernel makes things easy, no more dealing with IRQs and I/Os
> >> and such.  But there are still kernel bugs and config tool problems.
> >>
> >>Someone will likely suggest using ALSA rather than OSS with something
> >>like 'alias sound-slot-0 sound-card-cs4232' and 'alias midi
> >> sound-opl3'. That's fine.  But don't expect OPL3 to work.  My
> >> experience has been that It is hosed up under alsa also.
> >>
> >>Regards,
> >>
> >>George Mitchell
> >>[EMAIL PROTECTED]
> >>
> >>Tech At Mathco Dot Com wrote:
> >>>A Crystal 4235 ISA souncard is installed in this computer
> >>>and it will not work under Mandrake for nothing.
> >>>
> >>>Harddrake detects the following:
> >>>
> >>>Soundcards
> >>>   Crystal PnP Audio System CODEC
> >>>   Crystal PnP Audio System MPU-401
> >>>
> >>>also it finds this
> >>>
> >>>Other Devices
> >>>   Crystal PnP Audio System Control Register
> >>>
> >>>
> >>>My pnpdump shows the following
> >>>
> >>># $Id: pnpdump_main.c,v 1.27 2001/04/30 21:54:53 fox Exp $
> >>># Release isapnptools-1.26
> >>>#
> >>># 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 -DHAVE_PROC -DENABLE_PCI
> >>> -DHAVE_SCHED_SETSCHEDULER -DHAVE_NANOSLEEP -DWANT_TO_VALIDATE #
> >>># 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 @ 0x3c
> >>>#     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 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 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 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 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 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 @ 0x39
> >>>#     Device supports vendor reserved register @ 0x3a
> >>>#     Device supports vendor reserved register @ 0x3c
> >>>#     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 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 @ 0x38
> >>>#     Device supports vendor reserved register @ 0x3a
> >>>#     Device supports vendor reserved register @ 0x3c
> >>>#     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 @ 0x38
> >>>#     Device supports vendor reserved register @ 0x3a
> >>>#     Device supports vendor reserved register @ 0x3c
> >>>#     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)
> >>>
> >>>And my modules.conf shows
> >>>
> >>>pre-install pcmcia_core CARDMGR_OPTS=-f /etc/rc.d/init.d/pcmcia
> >>> start probeall scsi_hostadapter ide-scsi
> >>>alias eth0 8139too
> >>>alias sound-slot-2 ad1848
> >>>
> >>>sndconfig complains about missing /dev/audio (passes after manually
> >>> linking to sound/audio), a the soundtest with Linus turns out very
> >>> quiet. Then it complains about missing opl3 files etc. You get my
> >>> point.
> >>>
> >>>Any help would be appreciated.
> >>>
> >>>Thanks
> >>>
> >>>/MattB

-- 
Peter Ruskin, Wrexham, Wales.  AMD Athlon XP 1600+, 512MB RAM.
Registered Linux User 219434 ( see http://counter.li.org/ ).
Mandrake Linux release 8.1 (Vitamin) for i586
Kernel 2.4.8-34.1mdk-win4lin,  XFree86 4.1.0, patch level 21mdk.
KDE: 2.2.2.  Qt: 2.3.2.  Up 6 hours 45 minutes.
-------------------------------------------------------------------

Reply via email to