PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Keinen Sound unter SUSE Linux 8.1



Swift-Kill
25.04.03, 09:31
Servus,

also ich habe mir gestern SUSE Linux 8.1 installiert und ich war sehr erstaunt
wie einfach und unkompliziert die Installation verlief :-)
Linux hat sogar automatisch meinen Router gefunden (war in älteren Versionen nicht der Fall). Aber ich hab da noch ein "kleines" Problem. Entweder erkennt SUSE meine Soundkarte nicht oder diese ist noch nicht konfiguriert.Bitte helft mir ( auch wenns jetzt blöd klingt , bitte schreibt so dass ich das auch noch als Linux-NEWBIE nachvollziehen kann :-))


Danke schonmal

Swift-Kill

Thomas Mitzkat
25.04.03, 09:34
vielleicht mal die lautstärke aufdrehen?!

mal unter kde->kde-menü->multimedia->kmix aufrufen und regeln.

Swift-Kill
25.04.03, 09:40
Das mit kMix hab ich schon ausprobiert. Der Lautstärken-Regler ist auf Maximum.
Daran kann es also nicht liegen.Muss meiner Meinung nach an einer System-Einstellung liegen.

Thomas Mitzkat
25.04.03, 09:46
nochmal mit yast überprüfen, ob alle soundkarten eingebunden sind. möglicherweise, sofern zwei soundkarten (onboard, zusatzkarte) angeschlossen sind, muss die richtige soundkarte geregelt werden

Swift-Kill
25.04.03, 09:58
Also ich habe Linux auf meinem Laptop installiert.Es handelt sich also um eien onBoard Soundkarte. Das Komische :

Ich habe gerade Yast 2 gestartet und da stand dann folgendes:

Soundkonfiguration:
-------------------

Anzahl Kartenmodell Status

0 ES1988Allegro-1 Läuft...




hm Also das sieht soweit ganz gut aus aber ist das normal, dass bei Anzahl 0 steht ?
Danke schonmal für die bisherigen Antworten :-))

Wuppi109
25.04.03, 11:07
Moin,

Ist die Soundkarte bzw. der Chip auch richtig erkannt worden und das richtige Modul geladen?
Guck mal bei Alsa auf der Homepage. Manchmal werden vom Harwarehersteller Revisionen der Soundkarte bzw des S.-Chips gemacht und dann geht da nix mehr.

Guckst Du hier: http://www.alsa-project.org/~goemon/

Check das mal ab und poste

Gruß Wuppi

linuxchaos
25.04.03, 11:43
http://www.alsa-project.org/~goemon/

was ist das fuer ne liste ? die scheint alt zu sein (zumindest steht da fuer mein usb-midi-interface, welchens gut laeuft: undetermindes yet - stimmt also nicht)...

meiner meinung nach ist das die aktuelle liste:

http://www.alsa-project.org/alsa-doc/

Swift-Kill
25.04.03, 11:51
Ich hoffe das hilft euch :-) Ich versteh da nur Bahnhof

[main page] | [soundcards] | [applications] | [download] | [documentation] | [mailing lists] | [links] | [SourceForge]





Labway E20


Contents:

The module options for snd-maestro3


Introduction
Quick Install
Setting up modprobe and kmod support
A short explanation of what happens in the /etc/modules.conf file
The .asoundrc file


Links
User contributed notes



The module options for snd-maestro3


description: "ESS Maestro3 PCI"
author: "Zach Brown , Takashi Iwai "
license: "GPL"
parm: index int array (min = 1, max = 8), description "Index value for ESS Maestro3/Allegro/Canyon3D-2 soundcard."
parm: id string array (min = 1, max = 8), description "ID string for ESS Maestro3/Allegro/Canyon3D-2 soundcard."
parm: enable int array (min = 1, max = 8), description "Enable this soundcard."
parm: external_amp int array (min = 1, max = 8), description "Enable external amp for ESS Maestro3/Allegro/Canyon3D-2 soundcard."
parm: amp_gpio int array (min = 1, max = 8), description "GPIO pin number for external amp. (default = -1)"

Introduction


There are two ways of getting Linux drivers to work, you can either compile them into the kernel or build them separately as modules. Read the Kernel-HOWTO for details of how to compile a kernel.


You must turn on the sound support soundcore module. This is in the kernel. Look in the sound drivers directory and it should be the first option. Most people enable the module setting. That way you can load and unload the module manually if you have multiple soundcards/devices or if you intend to debug or use cutting edge software which may cause your drivers to halt sometimes. Of course it also means you have more control of your system.


Most modern distros come with soundcore compiled as a module. You can check this in numerous ways. The easiest way is to type.

modinfo soundcore

If this command returns that you have this module, then you don't need to recompile your kernel.

Quick Install


NB. If you are using cvs then you need to type



./cvscompile "or" make build

instead of
./configure

In a shell type these commands:

Make a directory to store the alsa source code in.



cd /usr/src
mkdir alsa
cd alsa
cp /downloads/alsa-* .

Now unzip and install the alsa-driver package


bunzip2 alsa-driver-xxx
tar -xf alsa-driver-xxx
cd alsa-driver-xxx
./configure --with-cards=maestro3 --with-sequencer=yes;make;make install
./snddevices

NB. If you use devfs then you should not run the snddevices script

The snddevices script sets the permissions for the devices it creates to root. You should

chmod a+rw /dev/dsp /dev/mixer /dev/sequencer /dev/midi
Now unzip and install the alsa-lib package


cd ..
bunzip2 alsa-lib-xxx
tar -xf alsa-lib-xxx
cd alsa-lib-xxx
./configure;make;make install

Now unzip and install the alsa-utils package


cd ..
bunzip2 alsa-utils-xxx
tar -xf alsa-utils-xxx
cd alsa-utils-xxx
./configure;make;make install

Now insert the modules into the kernel space.

modprobe snd-maestro3;modprobe snd-pcm-oss;modprobe snd-mixer-oss;modprobe snd-seq-oss

NB. For drivers older than 0.9.0beta11 use:
modprobe snd-card-maestro3
Now adjust your soundcards volume levels. All mixer channels are muted by default. You must use a native mixer program to unmute appropriate channels, for example alsamixer from the alsa-utils package. Note that some usb-audio devices do not have internal mixer controls.


alsamixer

You can also look at the utils/alsasound file. This script is designed for the RedHat distribution, but it can be used with other distributions which use System V style rc init scripts. This will allow you to load your modules at boot time. If you want to do this you could just compile them into the kernel instead and save yourself the hassle of coming to terms with the rc init scripts.

Setting up modprobe and kmod support


NB. Before you send a mail complaining that "I don't have /etc/modules.conf, where do I find it ....." ,The /etc/conf.modules has been deprecated with a few distro's so in your case, it may still be /etc/conf.modules. Basically they are both the same, but recent version of modutils uses /etc/modules.conf instead. Nothing to worry about as such, optionally please update to latest version of modutils. This should solve your problem.


Here's the example for this card. Copy and paste this to the bottom of your /etc/modules.conf file.


Note to debian users: You need to save this information into a file in the /etc/modutils/ directory (Eg. /etc/modutils/alsa) and run update-modules

# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-maestro3
# module options should go here

# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0

# card #1
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


NB. For drivers older than 0.9.0beta11 use:
snd-card-maestro3
To copy and paste the above to your /etc/modules.conf file follow these instructions.
A short explanation of what happens in the /etc/modules.conf file
Native Devices
After the main multiplexer is loaded, its code requests top level sound card module. String snd-card-%i is requested for native devices where %i is sound card number from zero to seven. String sound-slot-%i is requested for native devices where %i is slot number for ALSA owner this means sound card number. The options line allows you to set various config options before the module is loaded. String snd_id lets you set the name of the card which is returned in the /proc/asound/cards file. Other options may be available which are card specific. The options for these are found in the INSTALL file or above.


xyz@localhost#pico /etc/modules.conf

# ALSA portion
alias snd-card-0 snd-interwave
alias snd-card-1 snd-cmipci
options snd-cmipci id="first" enable_midi="1"
# OSS/Free portion
alias sound-slot-0 snd-card-0
alias sound-slot-1 snd-card-1
NB. For drivers older than 0.9.0rc5 use:
options snd-cmipci snd_id="first" snd_enable_midi="1"
The "snd_" prefix has been removed from the "module options" to fit with the kernel standard.

Autoloading OSS/free emulation
We are finished at this point with the configuration for ALSA native devices, but you may also need autoloading for ALSA add-on OSS/Free emulation modules. At this time only one module does not depend on any others, thus must be loaded separately, snd-pcm1-oss.o. String sound-service-%i-%i is requested for OSS/Free service where first %i means slot number e.g. card number and second %i means service number.
xyz@localhost#pico
/etc/modules.conf

# OSS/Free portion - card #1
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-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

# OSS/Free portion - card #2 (cmipci)
alias sound-slot-1 snd-card-1
alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-12 snd-pcm-oss
The alias for snd-seq-oss is not necessary on the second device, because there is only one /dev/sequencer, regardless how many devices you have.
The .asoundrc file
Find out more about this file here.
This file allows the you to have more advanced control over your card/device. Some very useful applications will not work without it. The .asoundrc file consists of definitions of the various cards available in your system. It also gives you access to the pcm plugins in alsa-lib. These allow you to do tricky things like combine your cards into one or access multiple i/o's on your mulitchannel card.
Below is the most basic definition.
Make a file called .asoundrc in your home and/or root directory.

vi /home/xxx/.asoundrc

copy and paste the following into the file then save it.
pcm.maestro3 {
type hw
card 0
}

ctl.maestro3 {
type hw
card 0
}


Links
Become an active member of the Linux Audio Community at Linux Audio Developers or Linux Audio Users
Learn about how to use applications that support ALSA. The Linux Audio Users Guide
Keep up to date with the news at M-Station or Open Audio Projects
The most current book about Linux audio is Linux Music and Sound
Find more applications at Sound & MIDI Software For Linux
For professional quality, low latency audio routing use JACK - The Jack Audio Connection Kit
Notes:

Example:
Alternative .asoundrc and modules.conf files
Tricks for getting the most out of the card.


There are no additions for this module. Feel free to add your mark.


Copyright © 2003 by webmaster at alsa-project.org
Advanced Linux Sound Architecture

Wuppi109
25.04.03, 12:50
@linuxchaos

Stimmt ´..da hast Du recht?! ;)
Was Google manchmal so rausschmeißt..tstst.
Sorry hatte nur auf die Schnelle das rausgesucht ohne auf das Datum zu schauen :rolleyes:


@Swift-Kill

Ist Deine Soundkarte und das Modul richtig erkannt worden?

Modul/Treiber ES1988 (Angabe Yast2)
Karte/Chip=z. B. Sonic Impact s100

Stimmt das?


ähem ... Vielleicht ist da ja noch so ein kleines Rädchen an Deinem Laptop... ? *bittenichtvirtuellhau*

Gruß Wuppi

Swift-Kill
25.04.03, 13:42
Also das mit dem Rädchen an meinem Laptop ..... *grins*
Ne im ernst die Idee ist mir auch schon gekommen, die Laptop-Lautstärke ist
auch schon auf Maximum :-)

Also der Treiber wurde korrekt installiert, aber wo sehe ich das mit den Modulen ?
Yast 2 sagt mir nur das die Soundkarte korrekt installiert und initialisiert wurde... was leider nicht der Fall ist :-(

Swift-Kill
25.04.03, 13:49
Wenn ich im Kontrollzentrum bin unter->Klänge steht da folgendes:

Sound Driver: 3.8.1a-980706 (ALSA v0.9.0rc3 emulation code)
Config options = 0
Installed Drivers:
Type 10: ALSA Emulation
Card Config:
ESS Allegro PCI at 0x1400, irq 5



Audio devices : NOT ENABLED IN CONFIG
Synth devices : NOT ENABLED IN CONFIG
Midi devices : NOT ENABLED IN CONFIG

Timers:
7: system timer

Mixers : NOT ENABLED IN CONFIG

Wuppi109
25.04.03, 13:56
Als root in der konsole lsmod eingeben. Dann kommt eine Liste aller geladener Module.

Das mit der Nummer "0" dürfte auch richtig sein. Linux zählt hier witzigerweise von "0" hoch. Soll heißen das wenn Du eine weitere Soundkarte installierst wird die mit "1" angesprochen.
In der modules.conf (ist eine Konfigurationsdatei die beim Booten geladen wird) siehst Du auch die ganzen Zuweisungen mit "0" und wenn vorhanden "1" bei der zweiten Karte.

z.B.:

1te Soundkarte

# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-maestro3
# module options should go here

2te Sioundkarte

# ALSA portion
alias char-major-116 snd
alias snd-card-1 snd-maestro3
# module options should go here

usw..

Hoffe das hilft Dir..

Gruß Wuppi

Swift-Kill
25.04.03, 17:29
snd-maestro3 13580 1
snd-pcm 63328 0
snd-timer 11524 0
snd-ac97-codec 26628 0
snd 31300 0