ALSA Sound setup problem

jraff john at jraff.com
Wed Dec 1 21:09:39 UTC 2004


I have installed Fedora Core 3. 2.6.9-1.667
According to the documentation it has ALSA in the kernel.

How do I configure it and set it to use my Opti hardware?

What do I put in init.d or rc.d to start it up and shut it down?

What is the correct <alsa-driver>
What is the correct <opti-name>
See below...

==============================
The results of;
/sbin/modinfo soundcore
-----------------
filename:       /lib/modules/2.6.9-1.667/kernel/sound/soundcore.ko
description:    Core sound module
author:         Alan Cox
license:        GPL
alias:          char-major-14-*
vermagic:       2.6.9-1.667 686 REGPARM 4KSTACKS gcc-3.4
depends:
-----------------

Running kudzu shows;
-----------
class: AUDIO
bus: PCI
detached: 0
driver: unknown
desc: "OPTi Inc. EV1935 ECTIVA MachOne PCIAudio"
vendorId: 1045
deviceId: c935
subVendorId: 0000
subDeviceId: 0000
pciType: 1
pcidom:    0
pcibus:  0
pcidev:  a
pcifn:  0
-----------
This is the correct audio device, and works fine under Windows98SE.


Searching for ALSA throughout the files yields;
---------------------------
./sbin/alsactl
./usr/lib/pwlib/device/sound/alsa.so
./usr/lib/pkgconfig/alsa.pc
./usr/sbin/alsactl
./usr/bin/alsamixer
./usr/bin/alsalisp
./usr/include/alsa
./usr/include/kde/libkmid/alsaout.h
./usr/share/locale/pt/LC_MESSAGES/alsaplayerui.mo
./usr/share/locale/zh_TW/LC_MESSAGES/alsaplayerui.mo
./usr/share/locale/fr/LC_MESSAGES/alsaplayerui.mo
./usr/share/locale/ja/LC_MESSAGES/alsaplayerui.mo
./usr/share/locale/pt_BR/LC_MESSAGES/alsaplayerui.mo
./usr/share/locale/cs/LC_MESSAGES/alsaplayerui.mo
./usr/share/locale/bg/LC_MESSAGES/alsaplayerui.mo
./usr/share/locale/pl/LC_MESSAGES/alsaplayerui.mo
./usr/share/locale/ca/LC_MESSAGES/alsaplayerui.mo
./usr/share/locale/ro/LC_MESSAGES/alsaplayerui.mo
./usr/share/locale/da/LC_MESSAGES/alsaplayerui.mo
./usr/share/locale/sl/LC_MESSAGES/alsaplayerui.mo
./usr/share/locale/nl/LC_MESSAGES/alsaplayerui.mo
./usr/share/locale/sk/LC_MESSAGES/alsaplayerui.mo
./usr/share/locale/zh_CN/LC_MESSAGES/alsaplayerui.mo
./usr/share/locale/he/LC_MESSAGES/alsaplayerui.mo
./usr/share/locale/sv/LC_MESSAGES/alsaplayerui.mo
./usr/share/locale/en_GB/LC_MESSAGES/alsaplayerui.mo
./usr/share/locale/tr/LC_MESSAGES/alsaplayerui.mo
./usr/share/locale/sr/LC_MESSAGES/alsaplayerui.mo
./usr/share/locale/fi/LC_MESSAGES/alsaplayerui.mo
./usr/share/locale/nb/LC_MESSAGES/alsaplayerui.mo
./usr/share/locale/et/LC_MESSAGES/alsaplayerui.mo
./usr/share/locale/hu/LC_MESSAGES/alsaplayerui.mo
./usr/share/locale/it/LC_MESSAGES/alsaplayerui.mo
./usr/share/locale/ru/LC_MESSAGES/alsaplayerui.mo
./usr/share/locale/uk/LC_MESSAGES/alsaplayerui.mo
./usr/share/locale/is/LC_MESSAGES/alsaplayerui.mo
./usr/share/locale/es/LC_MESSAGES/alsaplayerui.mo
./usr/share/locale/de/LC_MESSAGES/alsaplayerui.mo
./usr/share/locale/el/LC_MESSAGES/alsaplayerui.mo
./usr/share/man/man1/alsamixer.1.gz
./usr/share/man/man1/alsactl.1.gz
./usr/share/man/fr/man1/alsamixer.1.gz
./usr/share/man/fr/man1/alsactl.1.gz
./usr/share/aclocal/alsa.m4
./usr/share/doc/alsa-lib-devel-1.0.6
./usr/share/doc/alsa-utils-1.0.6
./usr/share/doc/alsa-lib-1.0.6
./usr/share/doc/HTML/en/kdelibs-apidocs/libkmid/html/alsaout_8h-source.html
./usr/share/doc/HTML/en/kdelibs-apidocs/libkmid/html/alsaout_8cc-source.html
./usr/share/doc/kernel-doc-2.6.9/Documentation/sound/alsa
./usr/share/doc/kernel-doc-2.6.9/Documentation/sound/alsa/DocBook/alsa-drive
r-api.tmpl
./usr/share/apps/noatun/alsaplayerui.plugin
./etc/alsa
./etc/alsa/alsa.conf
./etc/dev.d/sound/alsa.dev
./etc/makedev.d/alsa
./root/alsa.txt
---------------------------


These should be the appropriate available settings

Module snd-opti93x
------------------
 Module for soundcards based on OPTi 82c93x chips.

 port      - port # for WSS chip (0x530,0xe80,0xf40,0x604)
 mpu_port  - port # for MPU-401 UART (0x300,0x310,0x320,0x330)
 fm_port   - port # for OPL3 device (0x388)
 irq       - IRQ # for WSS chip (5,7,9,10,11)
 mpu_irq   - IRQ # for MPU-401 UART (5,7,9,10)
 dma1      - first DMA # for WSS chip (0,1,3)
 dma2      - second DMA # for WSS chip (0,1,3)

 This module supports only one card, autoprobe and PnP.

I have a file - /etc/asound.conf

Something like this should be in a file called /etc/asound.state
But the file is NOT THERE!!!
------------------------------
alias char-major-116 snd
options snd snd_major=116 snd_cards_limit=1
alias snd-card-0 <alsa-driver>
options <alsa-driver> snd_index=0 snd_id="<opti-name>"

# OSS/Free setup
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
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-12 snd-pcm-oss
---------------------------------------
What is the correct <alsa-driver>
What is the correct <opti-name>

¤º°`°º¤ø,¸¸¸,ø¤º° John Raff `°º¤ø,¸¸¸,ø¤º°`°º¤
john at jraff.com, www.jraff.com, www.raff.ws





More information about the fedora-list mailing list