Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sound probleme - nicht ueberall ton
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
pieter_parker
Veteran
Veteran


Joined: 07 Aug 2006
Posts: 1488
Location: 127.0.0.1

PostPosted: Thu Sep 20, 2007 8:05 pm    Post subject: sound probleme - nicht ueberall ton Reply with quote

ich habe eine terratec soundkarte und diese macht mir probleme, ich habe sie nur im audacious player irgendwie zum laufen bekommen....

die sound karte lief auf meinem alten computer problemlos
jetzt auf dem neuem system kriege ich sie nicht vollstaendig zum laufen

lspci sagt :
05:02.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)


auf dem alten pc damals habe ich die soundkarte so installiert :
Code:

emerge -av alsa-utils alsamixergui
alsaconf    (soundkarte erkennen lassen)
rc-update add alsasound boot
vi /etc/conf.d/alsasound
  save_on_top=yes
gpasswd -a pieter audio
/etc/init.d/alsasound start
alsamixergui  ("iec958 output" einschalten, muss gruen sein, loop darf nicht gruen sein)

und dann lief das ....

jetzt beim neuen pc, mit der gleichen soundkarte .. scheiterte es schon beim erkennen lassen mit alsaconf
alsaconf sagt :
Code:
no supported pnp or pci card found

aber /etc/init.d/alsasound start laesst sich starten
Code:

/etc/init.d/alsasound start
 * Loading ALSA modules ...                                                                                                                 [ ok ]
 * Restoring Mixer Levels ...


in der alsamixergui sehe ich das hier bei info
http://img223.imageshack.us/img223/2544/bildschirmphoto3oq9.png
frueher, beim alten computer .. hatte ich keine 4 soundkarten, da war es nur eine einzige

im vlc habe ich garkeinen ton, egal ob ich beim output auf
alsa audioausgabe oder standard oder arts audioausgabe stelle
im player audacious habe ich nur ton wenn ich es beim output auf
alsa 1.3.5 output plugin stelle

ich habe das frueher auf dem alten computer einmal eingestellt und gut wars .. ich meine aber es stand auf arts, damit ich im player .. ob vlc, audacious oder ein anderer, immer im player den ton regeln konnte
dazu faellt mir auf das im audacious das anspringen zielloser stellen in einer .mp3 datei jetzt laenger dauert als frueher

wie bekomme ich das mit/ueber arts zum laufen?
Back to top
View user's profile Send private message
Vortex375
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1739
Location: Deutschland

PostPosted: Fri Sep 21, 2007 11:17 am    Post subject: Reply with quote

Hallo,

nimm bitte kein arts! Glaub mir, damit hast du nur Probleme. arts ist Schrott.

Stell einfach alle Programme so ein, dass sie ALSA direkt verwenden, dann solltest du keine Probleme haben mit Anwendungen, die die Soundkarte blockieren oder Ähnlichem.

Nun aber zu deinem Problem:
alsaconf scheint momentan irgendwie buggy bzw. vollkommen kaputt zu sein. Ich hab keine Ahnung was für ein Unfall den ALSA-Entwicklern da passiert ist, aber das Programm ist momentan nicht ganz zurechnungsfähig.

Das beste ist, du editierst die Datei /etc/modules.d/alsa von Hand. Poste am besten erstmal, wie die Datei momentan aussieht, dann kann ich dir vermutlich sagen, was du ändern musst.

Wichtig ist folgendes: Wenn du die Datei /etc/modules.d/alsa editiert hast, musst du danach update-modules ausführen und dann alsa mit /etc/init.d/alsasound restart neustarten, sonst werden die Änderungen nicht wirksam.
Vorallem das update-modules vergisst man leicht und wundert sich dann, warum die Änderungen ignoriert wurden.

update-modules wird übrigens beim Hochfahren des Systems automatisch ausgeführt, spätestens nach einem Neustart werden die Änderungen dann also übernommen.
Back to top
View user's profile Send private message
pieter_parker
Veteran
Veteran


Joined: 07 Aug 2006
Posts: 1488
Location: 127.0.0.1

PostPosted: Sat Sep 22, 2007 12:29 am    Post subject: Reply with quote

"....aber das Programm ist momentan nicht ganz zurechnungsfähig."
hehe .. da hatten die entwickler jungs wohl einen zuviel im becher

so sieht /etc/modules.d/alsa aus:
Code:

# Alsa kernel modules' configuration file.

# 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


frueher hatte ich nie probleme mit arts, aber oke, ersteinmal ohne arts
mir ist auch nicht klar warum da 4 soundkarten bei mir da sind, 2 oke .. die onboard, aber warum die anderen beiden?
Back to top
View user's profile Send private message
Vortex375
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1739
Location: Deutschland

PostPosted: Sat Sep 22, 2007 10:13 am    Post subject: Reply with quote

Hallo.

Du musst zu der Datei /etc/modules.d/alsa noch folgendes hinzufügen:
Code:

alias snd-card-0 snd-cmipci
alias sound-slot-0 snd-cmipci


An welcher Stelle du das einfügst ist glaub wurscht. Füg es einfach hinten an. :wink:

Achja, und vergiss danach das update-modules nicht.
Back to top
View user's profile Send private message
pieter_parker
Veteran
Veteran


Joined: 07 Aug 2006
Posts: 1488
Location: 127.0.0.1

PostPosted: Sat Sep 22, 2007 10:29 am    Post subject: Reply with quote

danke fuer die infos
Code:

vi  /etc/modules.d/alsa
  alias snd-card-0 snd-cmipci
  alias sound-slot-0 snd-cmipci

Code:

update-modules
 * Updating /etc/modprobe.conf by hand ...                                [ ok ]
 * Updating modules.dep ...                                               [ ok ]

Code:

/etc/init.d/alsasound restart
 * WARNING:  you are stopping a boot service.
 * Storing ALSA Mixer Levels ...                                          [ ok ]
 * Killing processes using ALSA ...                                       [ ok ]
 * Unloading ALSA modules ...                                             [ ok ]
 * Loading ALSA modules ...
 *   Loading: snd-card-0 ...
FATAL: Module snd_cmipci not found.                                       [ ok ]
 * Restoring Mixer Levels ...                                             [ ok ]

ich habe alle module fuer die soundkarte in der kernel konfig mit einem "*" in den kernel gebaut
ist das verkehrt?


:edit
wie vermutet .. lag es daran das das soundkarten modul nicht in den kernel gebaut sein darf, ist es einzeln, funktioniert es
aber im vlc bleibt es immer noch stumm
stelle ich im vlc auf arts .. habe ich kein ton, und vlc haengt hier und da wenn ich in die menus will und haengt beim vorspulen
stelle ich im vlc auf alsa .. habe ich keinen ton, aber vlc haengt an keiner stelle ..
Back to top
View user's profile Send private message
pieter_parker
Veteran
Veteran


Joined: 07 Aug 2006
Posts: 1488
Location: 127.0.0.1

PostPosted: Mon Sep 24, 2007 9:22 am    Post subject: Reply with quote

wie bekomme ich im vlc und xine z.b. ton ???
Back to top
View user's profile Send private message
blice
Guru
Guru


Joined: 12 Feb 2005
Posts: 598
Location: D- 26188

PostPosted: Mon Sep 24, 2007 3:09 pm    Post subject: Reply with quote

/etc/init.d/alsasound stop
emerge -C alsa-driver alsa-utils
rm /etc/asound.conf
rm /etc/asound.state
rm home/[hier dein user]/.asounrc (sofern vorhanden)
rm /etc/modules.d/alsa
rm /lib/modules/kernel..... /alsa-* -rf

Im kernel die CMi-module für alsa aktivieren

nach make_modules && make modules_install
update-modules
emerge alsa-utils (optional alsa-oss)
alsaconf
alsamixer

an den Configs brauchst du nicht mehr zu fummeln..

So hat alsaconf mir die aktuell einsgestellt und alles funktioniert.
Code:

cat /etc/modules.d/alsa
# Alsa kernel modules' configuration file.

# 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 /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.

# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF version 1.0.14 ---
alias snd-card-0 snd-cmipci
alias sound-slot-0 snd-cmipci
# --- END: Generated by ALSACONF, do not edit. ---

_________________
Gentoo seit 2004.3
Skype: bodokhan
SecondLife: Bodokhan Fall
Email: blice@gmx.de
Back to top
View user's profile Send private message
pieter_parker
Veteran
Veteran


Joined: 07 Aug 2006
Posts: 1488
Location: 127.0.0.1

PostPosted: Mon Sep 24, 2007 10:17 pm    Post subject: Reply with quote

danke fuer eure hilfe
es funktioniert, endlich wieder ton im vlc player
ich glaub ich hatte im kernel bei den sound einstellungen irgendwas zu viel drin
Code:

device drivers > sound >
<*> Advanced Linux Sound Architecture
<*>   Sequencer support
<*>   RTC Timer support
[*]     Use RTC as default sequencer timer
[*]   Dynamic device file minor numbers
[*]   Support old ALSA API
[*]   Verbose procfs contents
[*]   Verbose printk
[*]   Debug
[*]     Debug detection
[*]     Enable PCM ring buffer overrun/underrun debugging
device drivers > sound > pci devices
<M> C-Media 8738, 8338

nur das ist jetzt drin, und es funktioniert, ton ist da im vlc

vielleicht lag es auch daran das ich make modules nicht gemacht habe ?
ich hatte nach dem make immer nur make modules_install gemacht, kann es daran gelegen haben ?

wo finde ich im system die datei in der die einstellungen gespeichert werden die ich bei alsamixer / alsamixergui mache?
Code:

find /etc/ |grep alsa
/etc/conf.d/alsasound
/etc/modules.d/alsa
/etc/init.d/alsasound
/etc/runlevels/boot/alsasound

find /etc/ |grep sound
/etc/conf.d/alsasound
/etc/init.d/alsasound
/etc/runlevels/boot/alsasound

dort ist nichts dabei...
Back to top
View user's profile Send private message
blice
Guru
Guru


Joined: 12 Feb 2005
Posts: 598
Location: D- 26188

PostPosted: Tue Sep 25, 2007 3:43 am    Post subject: Reply with quote

alsamixer ausführen, einstellen..

anschliessend "alsactl store" ausführen, jetzt findet sich die datei unter :

/etc/asound.state

Die dann auch beim nächsten Neustart die lautstärken wieder herstellt
_________________
Gentoo seit 2004.3
Skype: bodokhan
SecondLife: Bodokhan Fall
Email: blice@gmx.de
Back to top
View user's profile Send private message
Vortex375
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1739
Location: Deutschland

PostPosted: Tue Sep 25, 2007 2:41 pm    Post subject: Reply with quote

Schön wär's, aber leider ist das momentan etwas buggy bei ALSA (oder etwa nicht mehr?).

Und zwar speichert alsactl store die Mixereinstellungen wirklich nach /etc/asound.state. Beim Hochfahren versucht ALSA jedoch die Mixereinstellungen von /var/lib/alsa/asound.state zu laden.
Das alsactl store ist somit wirkungslos. Du kannst die Mixereinstellungen aber dennoch speichern, indem du in /etc/conf.d/alsasound SAVE_ON_STOP="yes" setzt.
Back to top
View user's profile Send private message
blice
Guru
Guru


Joined: 12 Feb 2005
Posts: 598
Location: D- 26188

PostPosted: Tue Sep 25, 2007 7:46 pm    Post subject: Reply with quote

hzm komisch . ich habe beides , aber im endeffekt ist es egal wohin alsa das speichert. man sollte da eh nicht per hand dran rumspielen :)

ich nutze xfce4 mit mixer-plugin und beim neustart hat der alle kanäle so gespeichert wie ich sie verlassen habe .. es funktioniert und darauf kommt es an :)

ps: *sarkasmus an* Man braucht doch nur mit "ls -l" prüfen welcher aktueller ist.. dann ist der zweite über und kann gelöscht werden .. 15800 byte (16K) plattenplatz sind nicht zu verachten *sarkasmus aus*
_________________
Gentoo seit 2004.3
Skype: bodokhan
SecondLife: Bodokhan Fall
Email: blice@gmx.de
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum