View previous topic :: View next topic |
Author |
Message |
Gast n00b
Joined: 01 Nov 2004 Posts: 28 Location: .de
|
Posted: Sat Nov 13, 2004 12:12 am Post subject: Problem mit Soundblaster Live |
|
|
Mein 2. Problem hängt mit dem Sound zusammen.
Ich hab ne ältere Soundblaster Live-Karte (PCI), die von lspci auch erkannt wird:
Code: |
0000:00:09.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 06)
0000:00:09.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 06)
|
Im Kernel habe ich Sound-Unterstützung mit drin:
Code: |
#
# Sound
#
CONFIG_SOUND=y
#
# Advanced Linux Sound Architecture
#
CONFIG_SND=y
CONFIG_SND_TIMER=y
CONFIG_SND_PCM=y
CONFIG_SND_HWDEP=y
CONFIG_SND_RAWMIDI=y
CONFIG_SND_SEQUENCER=y
# CONFIG_SND_SEQ_DUMMY is not set
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=y
CONFIG_SND_PCM_OSS=y
CONFIG_SND_SEQUENCER_OSS=y
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set
#
# Generic devices
#
# CONFIG_SND_DUMMY is not set
# CONFIG_SND_VIRMIDI is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set
#
# ISA devices
#
# CONFIG_SND_AD1848 is not set
# CONFIG_SND_CS4231 is not set
# CONFIG_SND_CS4232 is not set
# CONFIG_SND_CS4236 is not set
# CONFIG_SND_ES1688 is not set
# CONFIG_SND_ES18XX is not set
# CONFIG_SND_GUSCLASSIC is not set
# CONFIG_SND_GUSEXTREME is not set
# CONFIG_SND_GUSMAX is not set
# CONFIG_SND_INTERWAVE is not set
# CONFIG_SND_INTERWAVE_STB is not set
# CONFIG_SND_OPTI92X_AD1848 is not set
# CONFIG_SND_OPTI92X_CS4231 is not set
# CONFIG_SND_OPTI93X is not set
# CONFIG_SND_SB8 is not set
# CONFIG_SND_SB16 is not set
# CONFIG_SND_SBAWE is not set
# CONFIG_SND_WAVEFRONT is not set
# CONFIG_SND_CMI8330 is not set
# CONFIG_SND_OPL3SA2 is not set
# CONFIG_SND_SGALAXY is not set
# CONFIG_SND_SSCAPE is not set
#
# PCI devices
#
CONFIG_SND_AC97_CODEC=y
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_ATIIXP is not set
# CONFIG_SND_ATIIXP_MODEM is not set
# CONFIG_SND_AU8810 is not set
# CONFIG_SND_AU8820 is not set
# CONFIG_SND_AU8830 is not set
# CONFIG_SND_AZT3328 is not set
# CONFIG_SND_BT87X is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CS4281 is not set
CONFIG_SND_EMU10K1=y
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_MIXART is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_YMFPCI is not set
# CONFIG_SND_ALS4000 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_ENS1370 is not set
# CONFIG_SND_ENS1371 is not set
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_FM801 is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
# CONFIG_SND_INTEL8X0 is not set
# CONFIG_SND_INTEL8X0M is not set
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_VIA82XX is not set
# CONFIG_SND_VX222 is not set
#
# ALSA USB devices
#
# CONFIG_SND_USB_AUDIO is not set
# CONFIG_SND_USB_USX2Y is not set
#
# Open Sound System
#
# CONFIG_SOUND_PRIME is not set
|
Dann bin ich eigentlich so vorgegangen, wie's in der ALSA-Anleitung beschrieben ist.
Die /etc/modules.d/alsa sieht so aus:
Code: |
# Alsa 0.9.X kernel modules' configuration file.
# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.conf-rc,v 1.2 2004/07/18 03:40:55 dragonheart Exp $
# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore
##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
## ALSA portion
## alias snd-card-0 snd-interwave
## alias snd-card-1 snd-ens1371
## OSS/Free portion
## alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##
# 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
## OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-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
|
Trotzdem ist kein Sound zu hören.
Wenn ich z.B. XMMS starte und eine MP3 lade, kommt kein Fehler und es scheint auch, als ob die Datei gespielt werden würde. Es ist nur nichts zu hören.
Ich habe mal mit alsamixer herumexperimentiert, aber da kam auch nichts dabei raus.
Im Forum gibt's ein paar Beiträge, die das gleiche Problem beschreiben, aber irgendwie komm ich da auch nicht weiter.
Kann mir jemand weiterhelfen?
Ciao! |
|
Back to top |
|
|
dertobi123 Retired Dev
Joined: 19 Nov 2002 Posts: 2679 Location: Oberhausen, Germany
|
Posted: Sat Nov 13, 2004 6:17 am Post subject: |
|
|
Zum einen: Unter einem 2.6er Kernel sind die alsa Treiber bereits im Kernel integriert, Konfiguration/Installation der alsa-driver ist nicht notwendig.
Zum anderen: Master/PCM Kanäle ungemutet?
Code: |
# amixer set Master 100 unmute
# amixer set PCM 100 unmute
|
Wenn die Treiber für die Karte fest in den Kernel einkompiliert sind, sollte dies eigentlich reichen um schonmal ein wenig Krach aus der Karte zu bekommen ... |
|
Back to top |
|
|
Gast n00b
Joined: 01 Nov 2004 Posts: 28 Location: .de
|
Posted: Sat Nov 13, 2004 9:47 am Post subject: |
|
|
HI, hab ich auch gemacht, steht ja so auch in der Anleitung drin.
Resultat:
Code: |
bash-2.05b# amixer set Master 100 unmute
Simple mixer control 'Master',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 31 [100%] [on]
Front Right: Playback 31 [100%] [on]
|
Code: |
bash-2.05b# amixer set PCM 100 unmute
Simple mixer control 'PCM',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 31 [100%] [on]
Front Right: Playback 31 [100%] [on]
|
Trotzdem gibt's keinen Mux An der Karte liegts aber nicht, unter Win oder auch Knoppix finktioniert sie |
|
Back to top |
|
|
dertobi123 Retired Dev
Joined: 19 Nov 2002 Posts: 2679 Location: Oberhausen, Germany
|
Posted: Sat Nov 13, 2004 9:50 am Post subject: |
|
|
In xmms evtl. mal ein anderes Ausgabedevice/kanal ausgewählt? Mal ein anderes Programm als xmms probiert? |
|
Back to top |
|
|
Gast n00b
Joined: 01 Nov 2004 Posts: 28 Location: .de
|
Posted: Sat Nov 13, 2004 10:02 am Post subject: |
|
|
Das geht leider auch nicht. Das KDE-Jingle beim Start ist auch nicht zu hören.
In XMMS oder nem anderen Player gibts aber keinen Fehler, das File scheint ganz normal abgespielt zu werden, nur dass eben leider nichts zu hören ist |
|
Back to top |
|
|
psyqil Advocate
Joined: 26 May 2003 Posts: 2767
|
Posted: Sat Nov 13, 2004 10:07 am Post subject: |
|
|
Schau doch mal im alsamixer nach dem Wave-Regler, das ist bei mir die Nummer 13, vielleicht ist der ja noch gemutet oder runtergeschraubt.
Hm. Hast Du bestimmt schon...
Wie siehts denn mit aplay oder alsaplayer aus? Irgendwelche interessanten Ausgaben? |
|
Back to top |
|
|
Gast n00b
Joined: 01 Nov 2004 Posts: 28 Location: .de
|
Posted: Sat Nov 13, 2004 10:11 am Post subject: |
|
|
Mit alsamixer hab ich schonherumgespielt, leider hat das bis jetzt auch nichts gebracht.
Ich werd dann mal die ganzen alsa-Tools erstmal entfernen, vielleicht den Kernel neu übersetzen (Sound mal als Modul?), mal sehen was dann ist... |
|
Back to top |
|
|
Gast n00b
Joined: 01 Nov 2004 Posts: 28 Location: .de
|
Posted: Sat Nov 13, 2004 11:44 am Post subject: |
|
|
Mal ne doofe Frage, aber wie bekomm ich denn das Alsa-Zeug wieder los?
Code: |
bash-2.05b# emerge -C alsa-driver
--- Couldn't find alsa-driver to unmerge.
>>> unmerge: No packages selected for removal.
|
oder
Code: | bash-2.05b# emerge --unmerge alsa-driver
--- Couldn't find alsa-driver to unmerge.
>>> unmerge: No packages selected for removal.
|
tun's scheinbar nicht...
alsaconf alsactl alsalisp alsamixer sind auch weiterhin vorhanden... ??? |
|
Back to top |
|
|
dertobi123 Retired Dev
Joined: 19 Nov 2002 Posts: 2679 Location: Oberhausen, Germany
|
Posted: Sat Nov 13, 2004 11:59 am Post subject: |
|
|
alsa-driver sind nur die Alsatreiber (wie der Name schon sagt ...), die ab Kernel 2.6 direkt im Kernel enthalten sind. Alle installierten alsa-* Pakete kannst du dir mit qpkg -I -nc | grep alsa anzeigen lassen. |
|
Back to top |
|
|
sven-tek Guru
Joined: 06 May 2003 Posts: 339
|
Posted: Sat Nov 13, 2004 12:08 pm Post subject: |
|
|
vielleicht ist das problem ja sogar ausserhalb des computers, Stecker drin, Lautsprecher an bzw. nicht auf leise? |
|
Back to top |
|
|
psyqil Advocate
Joined: 26 May 2003 Posts: 2767
|
Posted: Sat Nov 13, 2004 12:15 pm Post subject: |
|
|
sven-tek wrote: | vielleicht ist das problem ja sogar ausserhalb des computers, Stecker drin, Lautsprecher an bzw. nicht auf leise? |
Gast wrote: | An der Karte liegts aber nicht, unter Win oder auch Knoppix finktioniert sie |
Ich hab' da gerade noch was gesehen: Code: | ##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
## ALSA portion
## alias snd-card-0 snd-interwave
## alias snd-card-1 snd-ens1371
## OSS/Free portion
## alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
## | Da könnte ja sehr gut alias snd-card-0 snd-emu10k1 reinpassen... aber wenn der Mixer läuft, wird's das wohl auch nicht sein. |
|
Back to top |
|
|
friedegott n00b
Joined: 06 Sep 2004 Posts: 60 Location: Munich, Germany
|
Posted: Sat Nov 13, 2004 3:40 pm Post subject: |
|
|
hast du noch zusaetzlich onboard sound? weil mit
CONFIG_SND_AC97_CODEC=y
waere dein onboard sound die standard soundkarte, und dann hoerst du natuerlich nix wenn der stecker bei der pci karte drin ist...
naja nur ne idee... |
|
Back to top |
|
|
psyqil Advocate
Joined: 26 May 2003 Posts: 2767
|
Posted: Sat Nov 13, 2004 8:52 pm Post subject: |
|
|
friedegott wrote: | mit CONFIG_SND_AC97_CODEC=y waere dein onboard sound | Nö, das wird vom Emu10k1 automatisch ausgewählt und taucht im Menü gar nicht auf... |
|
Back to top |
|
|
Gast n00b
Joined: 01 Nov 2004 Posts: 28 Location: .de
|
Posted: Sat Nov 13, 2004 11:10 pm Post subject: |
|
|
Danke erstmal für die ganzen Antworten.
Ich hab's jetzt irgendwie hingebracht.
Erstmal den Alsa-Kram entfernt
Dann die Sound-Unterstützung im Kernel als Modul geladen und Kernel neu übersetzt.
Neustart, danach alsaconf.
Dann klappt's mit dem Ton, nur ist der Bass viel zu hoch eingestellt, also runterregeln mit alsamixer.
Jetzt passt's soweit. Muss nur noch rausfinden, wie man die Einstellungen speichern kann, statt nach jedem Start alsaconf+alsamixer aufzurufen.
Vielleicht liegt das daran, dass Alsa u.U. beim Runterfahren nicht richtig beendet wird.
Es kommt immer die Meldung:
...
Unloading Modules [!!]
... |
|
Back to top |
|
|
muecke n00b
Joined: 16 Oct 2004 Posts: 46
|
Posted: Sun Nov 14, 2004 3:34 pm Post subject: |
|
|
Gut das du @Gast auch diese Probleme mit der Soundkarte hattest. Dieser Thread hat auch mein Problem gelöst
thx for all _________________ PC1 Intel Pentium II 400 Gentoo 2.4.27
Labtop HD1 Intel Pentium 4 2G Gentoo 2.6.1 Nvidia
HD2 Gentoo 2.6.9-r1 Nvidia |
|
Back to top |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9625 Location: beyond the rim
|
Posted: Mon Nov 15, 2004 1:19 am Post subject: |
|
|
Gast wrote: | Jetzt passt's soweit. Muss nur noch rausfinden, wie man die Einstellungen speichern kann, statt nach jedem Start alsaconf+alsamixer aufzurufen. |
Code: | alsactl store
rc-update add alsasound boot |
|
|
Back to top |
|
|
|