URL: https://www.overclockers.at/linux/solved_x-fi_xtreme_audio_6kanal_184928/page_3 - zur Vollversion wechseln!
Sowas macht Freu(n)de
Woran lag es? Warum gehts jetzt?
Youtube gibt die Soundkarte nicht frei.
Man müsste den software mixer aktivieren. Dann passieren solche Fehler nicht mehr.
Schau mal hier, vieleicht findest du eine Lösung.
http://wiki.ubuntuusers.de/asoundco...ht=%28asound%29
http://wiki.ubuntuusers.de/.asoundr...ht=%28asound%29
mfg
Visitor
nachfolgend mein howto (fuer den persoenlichenhausgebrauch), damit hat's funktioniert.
bezueglich des softwaremixers (die links von dir habe ich noch nicht gelesen, werde ich aber noch machen): einen schritt aus dem alsa howto hatte ich ausgelassen, vielleicht liegt's daran?
das habe ich nicht gemacht:
chmod a+rw /dev/dsp /dev/mixer /dev/sequencer /dev/midi
zusatzfrage: benutze ich devfs bzw. wie pruefe ich, ob ich es nutze?
--------------------------------------
>>>> im alsamixer iec958 auf MM stellen !!!!!
$ modinfo soundcore
filename: /lib/modules/2.6.22-12-generic/kernel/sound/soundcore.ko
alias: char-major-14-*
license: GPL
author: Alan Cox
description: Core sound module
srcversion: 548AA54AF08207316C104F8
depends:
vermagic: 2.6.22-12-generic SMP mod_unload
soweit nicht vorhanden, folgende Pakete inklusive Abhängigkeiten nachinstallieren:
linux-headers-generic
build-essential
debconf
dh-make
fakeroot
gcc-3.4
libstdc++5
module-assistant
bezueglich GCC folgendes installieren, soweit nicht bereits installiert:
gcc-3.3
gcc-3.3-base
gcc-3.4
gcc-3.4-base
gcc-4.1
gcc-4.1-base
gcc-4.1-locales
gcc-4.1-multilib
gcc-4.2
gcc-4.2-base
Alsa Quellen herunterladen und extrahieren
ftp://ftp.alsa-project.org/pub/driv...-1.0.14.tar.bz2
ftp://ftp.alsa-project.org/pub/lib/...1.0.14a.tar.bz2
cd /usr/src
sudo mkdir alsa
sudo cp ~/Desktop/*.* /usr/src/alsa/
cd alsa
sudo bunzip2 alsa-driver-1.0.14.tar.bz2
sudo tar -xf alsa-driver-1.0.14.tar
sudo bunzip2 alsa-lib-1.0.14a.tar.bz2
sudo tar -xf alsa-lib-1.0.14a.tar
cd alsa-driver-1.0.14/
sudo ./configure --with-cards=ca0106 --with-sequencer=yes
sudo make
sudo make install
cd /usr/src/alsa/alsa-lib-1.0.14a/
sudo ./configure
sudo make
sudo make install
modprobe snd-ca0106 ; modprobe snd-pcm-oss ; modprobe snd-mixer-oss ; modprobe snd-seq-oss
Datei namens alsa in /etc/modutils/ mit folgendem Inhalt erstellen:
code:
# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-ca0106
# 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
sudo update-modules
nano ~/.asoundrc mit folgendem inhalt erstellen:
pcm.dmix51 {
type dmix
ipc_key 1024
slave {
pcm "hw:0,0"
rate 44100
channels 6
period_time 0
period_size 1024
buffer_time 0
buffer_size 4096
}
}
pcm.20to51 {
type route
slave.pcm surround51
slave.channels 6
ttable.0.0 1
ttable.1.1 1
ttable.0.2 1
ttable.1.3 1
ttable.0.4 0.5
ttable.1.4 0.5
ttable.0.5 0.5
ttable.1.5 0.5
}
pcm.duplex {
type asym
playback.pcm "20to51" #muss als pcm.20to51 definiert sein
capture.pcm "dsnooper"
}
sudo nano /etc/asound.conf mit folgendem inhalt erstellen:
code:
pcm.ca0106 {
type hw
card 0
}
ctl.ca0106 {
type hw
card 0
}
pcm.snd_card {
type hw
card 0
device 0
}
ctl.snd_card {
type hw
card 0
device 0
}
pcm.dmixer {
type dmix
ipc_key 1024
ipc_perm 0666
slave.pcm "snd_card"
slave {
period_time 0
period_size 1024
buffer_size 4096
rate 44100
channels 6
}
bindings {
0 0
1 1
2 2
3 3
4 4
5 5
}
}
pcm.dsnooper {
type dsnoop
ipc_key 2048
ipc_perm 0666
slave.pcm "snd_card"
slave
{
period_time 0
period_size 1024
buffer_size 4096
rate 44100
}
bindings {
0 0
1 1
}
}
pcm.duplex {
type asym
playback.pcm "dmixer"
capture.pcm "dsnooper"
}
pcm.!default {
type plug
slave.pcm "duplex"
}
reboot
test mit vlc
speaker-test -c 6 -t wav -D surround51
aplay -vv /usr/share/sounds/ekiga/dialtone.wav
Na super!
Das hilft bestimmt auch anderen!
Zitatzusatzfrage: benutze ich devfs bzw. wie pruefe ich, ob ich es nutze?
overclockers.at v4.thecommunity
© all rights reserved by overclockers.at 2000-2025