PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Debian, ALSA, SBlive => geht nicht



BenderDW
07.06.04, 17:05
Hi

ich versuche nun schon seit Tagen, den Sound bei meinem Debian System zu aktivieren. Aber es klappt und klappt nicht. Ich bin nach der Anleitung von der ALSA Page gegangen => funzt nicht, ich bin nach ner Anleitung hier im Forum gegangen => geht nicht.
Alsaconf findet wenigstens shcon meine Soundkarte, und wennich im Kontrollsystem Alsa als Soundsystem wähle, kommt kein Error (mehr), aber hören tue ich trotzdem nix. Wähle ich OSS, sagt er /dev/dsp device not found. Wenn ich KMIX öffne, ist das "Aktueller Mixer" Feld leer. Der alsamixergui startet gar nicht erst. Mache ich modprobe emu10k1, sagt er, emu10k1 gibts nicht, mache ich alsactl restore sagt er no soundcards found. Im Kernel habe ich auch schon viel durch. Nur Sound aktiviert, Alsa zusätzlich, OSS zusätzlich, aber alles funzt nicht :(

Ich weiß echt nicht weiter. PLZ Help

tsuribito
07.06.04, 17:09
Welche Kernelversion?
Meine Lösung wäre modprobe emu10k1, dann den User in die Gruppe audio stecken und Ton haben.
(the OSS way ^^)

nIght
07.06.04, 17:11
hi,

bist du in der gruppe "audio" bzw. hast du die dazugehörigen rechte um überhaupt den sound benutzen zu können ?

ich weis nicht, vielleicht hast du es ja schon probiert, aber du kannst ja mal testen ob du mit root sound bekommst. wenn ja, dann hast du nicht die rechte:)

chu
nIght

EDIT: da war ich wohl einbisschen zu spät ;)

BenderDW
07.06.04, 17:29
also adduser bender audio habe ich schon gemacht, müsste also drin sein.
Kernelversion ist 2.6.6.

BenderDW
07.06.04, 18:43
hab als root auch kein sound...

tsuribito
07.06.04, 18:50
Das Modul ist geladen und passt zu deiner karte? (lspci)
lsmod sagt es ist geladen?
/dev/dsp* und /dev/mixer existieren?

f_m
07.06.04, 18:57
Hast du schon mal diese Soundtreiber versucht:
http://sourceforge.net/projects/emu10k1

ansonsten gibt's noch OSS (die sind halt kommerziell,
haben aber hervorragende Treiber- vor allem auch für alle Creative Karten)
http://www.opensound.com

lg, Franz

BenderDW
07.06.04, 18:59
ich poste mal, was die konsole ausspuckt:

Bender:/usr/src# lspci
0000:00:00.0 Host bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333]
0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333 A GP]
0000:00:08.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 0a )
0000:00:08.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 0a)
0000:00:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C /8139C+ (rev 10)
0000:00:0c.0 Unknown mass storage controller: CMD Technology Inc PCI0680 (rev 02 )
0000:00:11.0 ISA bridge: VIA Technologies, Inc. VT8233 PCI to ISA Bridge
0000:00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT82 3x/A/C/VT8235 PIPC Bus Master IDE (rev 06)
0000:00:11.2 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 1b)
0000:00:11.3 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 1b)
0000:00:11.4 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 1b)
0000:00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8 237 AC97 Audio Controller (rev 30)
0000:01:00.0 VGA compatible controller: nVidia Corporation NV25 [GeForce4 Ti 420 0] (rev a3)


und

Bender:/usr/src# lsmod
Module Size Used by
snd_seq 43024 -
agpgart 24936 -
nvidia 2070888 -
snd_pcm_oss 45156 -
snd_mixer_oss 15072 -
snd_pcm 74692 -
snd_timer 19876 -
snd_ac97_codec 53732 -
snd_page_alloc 9700 -
snd_mpu401_uart 6176 -
snd_rawmidi 19136 -
snd_seq_device 6664 -
snd 41988 -
soundcore 5984 -
8250 26464 -
serial_core 16224 -
usbkbd 5280 -
usbcore 80892 -
Bender:/usr/src#

die Ordner /dev/dsp und /dev/mixer existieren

f_m
07.06.04, 19:09
ich seh gerade, daß du diesen integrierten AC'97 Soundchip auf deinem Mainboard hast -
mit diesem funktioniert ALSA nicht, erkennt ihn aber automatisch und versucht ihn zu verwenden
(zumindest war das bei mir so)
ich bin dann auf das OpenSoundSystem von 4front umgestiegen - läuft jetzt prima.

Kann es sein, daß ALSA bei dir versucht diesen internen AC'97 zu verwenden statt
deiner SB LIve ?

Nur so 'ne Idee - kenn mich leider mit ALSA nicht besonders gut aus ...

BenderDW
07.06.04, 19:20
keine Ahnung...der ist standardmäßig ausgeschaltet, ich hatte ihn zu Testzwecken mal freigeschaltet... Er ist auch jetzt wieder aus.

tsuribito
07.06.04, 20:28
So wie es aussieht, hast du das snd_emu10k1 modul vergessen(oder ich bin blind)

BenderDW
07.06.04, 20:28
also ich habe mir den oss mal von der oben genannten page gezogen und hab versucht, nach Anleitung zu installieren. Allerdings funzt auch das nicht :/
Ausgespuckt wird folgendes:

Bender:/tmp# ./oss-install
Checking for any previously installed sound drivers... You appear to have the the kernel level sound driver installed as a loadable
module. Unload it by executing rmmod sound and try installing OSS/Linux again.

If this error repeats again you probably have the sound driver being loaded
automagically by the kerneld daemon. In this case you should remove all sound.o
files from all subdirectories of /lib/modules in addition to executing
rmmod sound. After that you probably should reboot the system before trying to
install OSS again. Edit /etc/modprobe.conf and remove the 'alias sound ...'
line in case it exist and replace it by 'alias sound off'.

Also add a line containing 'alias char-major-14 off' to /etc/modprobe.conf.
Am I allowed to do these changes automatically for you (Y/N) ? y
Trying to disable the conflicting sound driver
/etc/modprobe.conf backed up to /etc/modprobe.conf.bak
Unloading the existing sound driver
If your system freezes now, please reboot and disable the current driver manually.
FATAL: Kernel does not have unload support.
Failed to unload module 'soundcore'


Error: OSS cannot be installed because there is another sound driver loaded.
Driver 'sound' has registered the sound device (character major 14) for itself.

You seem to have OSS/Free statically linked into kernel.
You need to reconfigure and reinstall the kernel
with sound support disabled.





Habe aber den Kernel schon neugemacht ohne jeglichen Soundsupport, aber es brachte keine Änderungen. Alsa Zeugs habe ich (soweit ich weiß) auch alle gekillt, aber auch das erbringt keine Änderung.

Henni
07.06.04, 21:02
So, sorry dass ich das sage, aber ihr kenn euch alle scheinbar net aus :D (nicht böse gemeint)

wenn ich dich richtig verstanden habe, hast du eine emu10k1 Karte:

Unter Gentoo (unter Debian ist es ähnlich soweit ich weiss) legt man zuerst eine Datei /etc/modules.d/alsa an. (modules.d gibt es unter Debian auch wenn ich mich recht erinnere)

Der Inhalt schaut folgendermaßen aus:

# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore

## ALSA portion
alias snd-card-0 snd-emu10k1

# OSS/Free portion - 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

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

# Set this to the correct number of cards.
options snd cards_limit=1

danach update-modules ausführen (heisst bei Debian auch so, oder?)

Danach noch das alsainit script zum richtigen runlevel hinzufügen und theoretisch sollte er beim nächsten Start die Module automatisch laden.

lg, Helmut