Lieber Besucher, herzlich willkommen bei: GentooForum.de. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.
Zitat
localhost blackflash # lspci -v | grep -i audio
0000:00:11.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
Subsystem: C-Media Electronics Inc CMI8738/C3DX PCI Audio Device
Quellcode |
|
1 |
ALSA_CARDS="cmipci" |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 |
Loadable module support ---> [*] Enable loadable module support Device Drivers ---> Sound ---> <*> Sound card Support Advanced Linux Sound Architecture ---> < > Advanced Linux Sound Architecture Open Sound System ---> < > Open Sound System (Deprecated) |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
# emerge alsa-lib alsa-driver alsa-oss alsa-utils alsa-headers These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] media-libs/alsa-lib-1.0.8 [ebuild N ] media-sound/alsa-driver-1.0.8 [ebuild R ] media-libs/alsa-oss-1.0.8-r1 [ebuild R ] media-sound/alsa-utils-1.0.8 [ebuild N ] media-sound/mpg321 # etc-update Scanning Configuration files... Exiting: Nothing left to do; exiting. :) |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
# ALSA portion alias char-major-116 snd alias snd-card-0 snd-cmipci # 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 |
Quellcode |
|
1 2 3 4 |
# rc-update add alsasound boot # /etc/init.d/alsasound start * ALSA Detected... * Restoring Mixer Levels [ ok ] |
Quellcode |
|
1 2 |
# alsactl store (werden die soundlevel gespeichert) |
Zitat
Original von amielke
MyD,
wieso must Du die /etc/modules.d/alsa anpassen?
ich habe jetz schon viele Systeme installiert und es reichte immer wenn ich es in die make.conf eintrage und dann die alsa-driver emerge.
Die Module werden durch coldplug automatisch gestartet und fertig.
Habe die /etc/modules.d/alsa noch nie geändert und bei allen 5 Systemen läuft der Sound.
alsa-osss habe ich natürlich noch überall installiert.
Gruß
Zitat
localhost blackflash # /etc/init.d/alsasound start
* Re-caching dependency info (mtimes differ)...
* Loading ALSA modules ...
* Could not detect custom ALSA settings. Loading all detected alsa drivers.
* Loading: snd_cmipci ...
WARNING: Error inserting snd_seq_device (/lib/modules/2.6.12-gentoo-r10/misc/acore/seq/snd-seq-device.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_rawmidi (/lib/modules/2.6.12-gentoo-r10/misc/acore/snd-rawmidi.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_mpu401_uart (/lib/modules/2.6.12-gentoo-r10/misc/drivers/mpu401/snd-mpu401-uart.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_hwdep (/lib/modules/2.6.12-gentoo-r10/misc/acore/snd-hwdep.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_timer (/lib/modules/2.6.12-gentoo-r10/misc/acore/snd-timer.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_opl3_lib (/lib/modules/2.6.12-gentoo-r10/misc/drivers/opl3/snd-opl3-lib.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_pcm (/lib/modules/2.6.12-gentoo-r10/misc/acore/snd-pcm.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd_cmipci (/lib/modules/2.6.12-gentoo-r10/misc/pci/snd-cmipci.ko): Unknown symbol in module, or unknown parameter (see dmesg) [ !! ]
* Loading: snd-seq-oss ...
WARNING: Error inserting snd_timer (/lib/modules/2.6.12-gentoo-r10/misc/acore/snd-timer.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_seq (/lib/modules/2.6.12-gentoo-r10/misc/acore/seq/snd-seq.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_seq_device (/lib/modules/2.6.12-gentoo-r10/misc/acore/seq/snd-seq-device.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd_seq_oss (/lib/modules/2.6.12-gentoo-r10/misc/acore/seq/oss/snd-seq-oss.ko): Unknown symbol in module, or unknown parameter (see dmesg) [ !! ]
* Loading: snd-pcm-oss ...
WARNING: Error inserting snd_mixer_oss (/lib/modules/2.6.12-gentoo-r10/misc/acore/oss/snd-mixer-oss.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_timer (/lib/modules/2.6.12-gentoo-r10/misc/acore/snd-timer.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_pcm (/lib/modules/2.6.12-gentoo-r10/misc/acore/snd-pcm.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd_pcm_oss (/lib/modules/2.6.12-gentoo-r10/misc/acore/oss/snd-pcm-oss.ko): Unknown symbol in module, or unknown parameter (see d [ !! ]
* Loading: snd-mixer-oss ...
FATAL: Error inserting snd_mixer_oss (/lib/modules/2.6.12-gentoo-r10/misc/acore/oss/snd-mixer-oss.ko): Unknown symbol in module, or unknown parameter (see dmesg) [ !! ]
* Loading: snd-seq ...
WARNING: Error inserting snd_timer (/lib/modules/2.6.12-gentoo-r10/misc/acore/snd-timer.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd_seq (/lib/modules/2.6.12-gentoo-r10/misc/acore/seq/snd-seq.ko): Unknown symbol in module, or unknown parameter (see dmesg) [ !! ]
* ERROR: Failed to load necessary drivers [ ok ]
* Restoring Mixer Levels ...
* No mixer config in /etc/asound.state, you have to unmute your card! [ ok ]
Quellcode |
|
1 |
# emerge sync |
Zitat
# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-cmipci
# 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
Quellcode |
|
1 |
# cat /proc/asound/cards |
Quellcode |
|
1 2 |
localhost blackflash # cat /proc/asound/cards --- no soundcards --- |
Quellcode |
|
1 2 3 4 5 6 7 8 |
localhost blackflash # /etc/init.d/alsasound start * WARNING: "alsasound" has already been started. localhost blackflash # /etc/init.d/alsasound stop * WARNING: you are stopping a boot service. * Storing ALSA Mixer Levels ... /usr/sbin/alsactl: save_state:1163: No soundcards found... [ !! ] * Unloading ALSA ... [ ok ] * Unloading ALSA modules ... [ !! ] |
Zitat
Original von Blackflash
Aber folgendes beunruhigt mich:
Quellcode
1 2 localhost blackflash # cat /proc/asound/cards --- no soundcards ---
Quellcode |
|
1 |
# ls -l /usr/src/linux |
Quellcode |
|
1 |
# uname -a |
Quellcode |
|
1 |
# cat /etc/modules.d/alsa |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
localhost blackflash # ls -l /usr/src/linux lrwxrwxrwx 1 root root 23 Sep 5 19:29 /usr/src/linux -> linux-2.6.12-gentoo-r10 localhost blackflash # uname -a Linux localhost 2.6.12-gentoo-r10 #1 SMP Mon Sep 5 20:22:08 GMT 2005 i686 AMD Duron(tm) Processor AuthenticAMD GNU/Linux localhost blackflash # cat /etc/modules.d/alsa # Alsa 0.9.X kernel modules' configuration file. # $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.conf-rc,v 1.4 2004/11/16 01:31:22 eradicator Exp $ # ALSA portion # OSS/Free portion ## ## 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 ## 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 char-major-116 snd alias char-major-14 soundcore alias snd-card-0 snd-cmipci alias sound-slot-0 snd-card-0 alias /dev/mixer snd-mixer-oss alias /dev/dsp snd-pcm-oss alias /dev/midi snd-seq-oss 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 options snd cards_limit=1 |
Zitat
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
Quellcode |
|
1 |
# lsmod |