Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Sound card problem under Mandrake 8.1

  • 29-03-2002 8:50pm
    #1
    Registered Users, Registered Users 2 Posts: 11,198 ✭✭✭✭


    been trying to get my sound card working using sndconfig in mandrake 8.1.

    It plays the "This is Linus Torvald, and i....etc." soundfile grand, however, when it attempts to play the midi, i get the error:
    Modprobe error

    The following error occured running the modprobe program:

    /lib/2.4.8-26mdk/kernel/drivers/sound/opl3.o.gz:
    init module: no such device
    /lib/2.4.8-26mdk/kernel/drivers/sound/opl3.o.gz: insmod
    /lib/2.4.8-26mdk/kernel/drivers/sound/opl3.o.gz failed
    /lib/2.4.8-26mdk/kernel/drivers/sound/opl3.o.gz: insmod
    synth0 failed

    anyone got any suggestions on the best way to fix this?


Comments

  • Closed Accounts Posts: 5,564 ✭✭✭Typedef


    Sounds like sndconfig might be trying to load the modules twice?

    In any case add the modules and alias to /etc/modules.conf

    alias opl3 oplsound

    and possibly similar aliases for opl3sa2 and opl3sa where oplsound is some arbitrary aliasname I guess, in any case in lib/modules/2.4.8-26mdk there is an alsa dir which should have all of the pertinant drivers, however.. I 'm not so sure modprobe will look in that dir so it is probably prudent to copy them into the drivers/sound dir for the moment.. also the mixer may be being referenced with a devfs name like /dev/sound/controlC0 .... boggle beats me... I think I wlll just take Mandrake off the laptop I got yesterday and put on slack or gentoo.... or maybe Freebsd if I can't get the onboard modem working...

    Yes try adding that alias and hopefully it will load all of the dependanceis for you, though this might be interesting using devfs...

    Typedef


  • Closed Accounts Posts: 5,564 ✭✭✭Typedef


    Try adding this to /etc/modules.conf

    alias snd-sb16-csp snd-sb16
    alias sound-slot-0 sb
    options sound dmabuf=1
    alias synth0 opl3
    options opl3 io=0x388
    options sb io=0x220 irq=5 dma=1 mpu_io=0x330

    [edit]
    Or supplement the appropiate values for your card.


  • Registered Users, Registered Users 2 Posts: 11,198 ✭✭✭✭Crash


    Thanks typdef, i'll give that a go. in sndconfig, it asks for mpu irq. will it work if you don't set that?


  • Closed Accounts Posts: 5,564 ✭✭✭Typedef


    Probably not.

    If it is an onboard sound card check out your bios for that irq setting.
    Else type
    more /proc/interrupts
    and pick an irq between 1 and 15 that is not listed in /proc/interrupts. Hit and miss you will get the right irq eventually probably.

    Typedef.


  • Registered Users, Registered Users 2 Posts: 11,198 ✭✭✭✭Crash


    got it working. forced sndconfig to accept it despite errors, so it works grand.


  • Advertisement
  • Closed Accounts Posts: 5,564 ✭✭✭Typedef


    I would advise assigning a free irq to the mpu-401 uart irq for the driver you are using else you could be risking system instability and lockup or oops's when you try to play midi.


Advertisement