Results 1 to 6 of 6

Thread: Autoinitialization of soundcard

  1. #1
    Junior Member registered user
    Join Date
    Sep 2003
    Location
    Grover, Missouri, USA
    Posts
    25

    Autoinitialization of soundcard

    Everytime i want to use my sound card after booting up with a bash script that includes the following:

    modprobe sound dmabuf=1
    modprobe cs4232 irq=5 io=0x530 dma=1 dma2=0 mpuio=0x330 mpuirq=9
    modprobe opl3 io=0x388

    The script requires root access. so far my attempts of having it in /etc/init.d with a symlink from /etc/rc5.d (as someone else suggested) didnt work.

    Anyone?

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479

    Re: Autoinitialization of soundcard

    Quote Originally Posted by Hellmark
    Everytime i want to use my sound card after booting up with a bash script that includes the following:

    modprobe sound dmabuf=1
    modprobe cs4232 irq=5 io=0x530 dma=1 dma2=0 mpuio=0x330 mpuirq=9
    modprobe opl3 io=0x388

    The script requires root access. so far my attempts of having it in /etc/init.d with a symlink from /etc/rc5.d (as someone else suggested) didnt work.

    Anyone?
    You may want to try creating a file called say sound in the /etc/modutils/ directory then after have saved the file run update-modules to have the contents entered into the /etc/modules.conf for use on the next boot. Not totally sure if the format you have there will work as is but this is how the options are usually done for modules so it is worth a try.

  3. #3
    Junior Member registered user
    Join Date
    Sep 2003
    Location
    Grover, Missouri, USA
    Posts
    25
    Nope, tried it and it doesnt work

  4. #4
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Try putting the lines near the bottom of the file /etc/init.d/bootmisc.sh I use a similar line to force the loading of my nvidia module for kernel 2.6.

    Code:
    dmesg -s 65536 > /var/log/dmesg
    
    #
    #       Remove ".clean" files.
    #
    rm -f /tmp/.clean /var/run/.clean /var/lock/.clean
    
    ## Added by me for nvidia to use the NvAgp and load the module for 2.6 kernel
    rmmod agpgart
    modprobe -f nvidia
    : exit 0
    But you may want to also try just passing options to the modules in the file you created:
    Code:
    option sound dmabuf=1 
    option cs4232 irq=5 io=0x530 dma=1 dma2=0 mpuio=0x330 mpuirq=9 
    option opl3 io=0x388
    Then put the sound, cs4232 and opl3 in the file /etc/modules on seperate lines and make sure to run the update-modules.

  5. #5
    Junior Member registered user
    Join Date
    Sep 2003
    Location
    Grover, Missouri, USA
    Posts
    25
    opl3?

    Sorry if I am missing something, but I'm a complete Linux newb (been on M$ based systems for the better part of a decade and a half now, and only recently started giving Tux a green light)

  6. #6
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Quote Originally Posted by Hellmark
    opl3?

    Sorry if I am missing something, but I'm a complete Linux newb (been on M$ based systems for the better part of a decade and a half now, and only recently started giving Tux a green light)
    Those are the names of the modules that you are using in the original post that you made. They have to be loaded from somewhere in the system the usual place you put them are on a separate line in the file /etc/modules this way they will get loaded at boot, when these modules have extra parameters that you have to pass to them then you need to put them somewhere where they will also be loaded this is the point of using the separate file and then using update-modules. The other option is using the bootmisc.sh file and entering the lines there to be loaded.

Similar Threads

  1. Soundcard
    By jjbergdolt in forum Hardware & Booting
    Replies: 5
    Last Post: 07-01-2005, 09:09 PM
  2. Problem with a soundcard
    By pnti in forum General Support
    Replies: 0
    Last Post: 08-06-2004, 09:52 PM
  3. soundcard troubles
    By tumultuoustranquility in forum Hardware & Booting
    Replies: 1
    Last Post: 08-01-2004, 03:16 AM
  4. My soundcard has gone wacked!
    By flyboy_aaron in forum Hardware & Booting
    Replies: 2
    Last Post: 01-25-2004, 02:46 PM
  5. Riptide Soundcard
    By Wil in forum Hardware & Booting
    Replies: 0
    Last Post: 11-28-2003, 11:07 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


IBM Power S822 12-Bay Server System Power8 Core 3.42Ghz DVD-Rom Drive 64GB No HD picture

IBM Power S822 12-Bay Server System Power8 Core 3.42Ghz DVD-Rom Drive 64GB No HD

$399.99



IBM SYSTEM x3200 M2 Server - HDD wiped, No OS picture

IBM SYSTEM x3200 M2 Server - HDD wiped, No OS

$75.00



IBM Power 720 POWER7 00E6516 3.6GHz CPU 64GB RAM Server  picture

IBM Power 720 POWER7 00E6516 3.6GHz CPU 64GB RAM Server

$209.98



IBM 7944AC1 System x3550 M3 Server 1*Intel Xeon X5650 2.67GHz 4GB SEE NOTES picture

IBM 7944AC1 System x3550 M3 Server 1*Intel Xeon X5650 2.67GHz 4GB SEE NOTES

$27.25



ibm server z series picture

ibm server z series

$16000.00



IBM Lenovo X3650 M5 2U 8x 2.5” CTO Rack Server – 2x HS, 2x 750W picture

IBM Lenovo X3650 M5 2U 8x 2.5” CTO Rack Server – 2x HS, 2x 750W

$199.00



IBM Power S822 8284-22A 12SFF Power8 3.89GHz 6-Core 64GB RAM No Bezel/HDD Server picture

IBM Power S822 8284-22A 12SFF Power8 3.89GHz 6-Core 64GB RAM No Bezel/HDD Server

$319.99



IBM Intel EXPI9404PTL Pro/1000 PT Quad Port Server Adapter PCI-E 39Y6138 Free SH picture

IBM Intel EXPI9404PTL Pro/1000 PT Quad Port Server Adapter PCI-E 39Y6138 Free SH

$16.99



IBM System X3650 Server M2 2 x Xeon X5570 2.93 Ghz w/128 GB/DVDRW picture

IBM System X3650 Server M2 2 x Xeon X5570 2.93 Ghz w/128 GB/DVDRW

$169.99



IBM 8203 E4A p520 Server 8203-E4A 4.2GHz 2-Core POWER6 32GB RAM / NO HDD USED picture

IBM 8203 E4A p520 Server 8203-E4A 4.2GHz 2-Core POWER6 32GB RAM / NO HDD USED

$99.99