Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Probleme mit Alsa und aRts Start (solved)
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
benjamin200
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1426
Location: DE Munich

PostPosted: Mon May 23, 2005 5:53 pm    Post subject: Probleme mit Alsa und aRts Start (solved) Reply with quote

Hi Leute,
habe leider schon seit längerem Probleme mit ALSA, welche auch durch ein Kernel-Update nicht behoben werden konnten. Das Problem schildert sich wie folgt: Beim booten des PCs wird ALSA als Bootscript ausgeführt und nach dem Anmeldung an KDM kann ich z.B. mit JUK MP3s oder mit Mplayer Videos mit Ton geniesen. ABER...
...bei jedem zweiten Neustart wird folgende Meldung ausgegeben:

Informativ - aRts Meldung
Error while initializing the sound driver
device: default can't be opened for playback (No such file or directory)
The sound server will continue, using the null output device.

Fehler-Meldungen in /var/log/messages kann ich mit "grep alsa" nicht nachvollziehen.

Die Infos zu meinem System:
AMD Athlon64 3500+ on Asus A8V Deluxe / 1024 MB DDR-RAM
Native 64-Bit on Gentoo Stage1
Sound "ALSA_CARDS="via82xx"

Hier meine "/etc/modules.d/alsa"
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
# 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-1 snd-ens1371
##  OSS/Free portion
## 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 verion 1.0.8 ---
alias char-major-116 snd
alias char-major-14 soundcore
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 snd-card-0 snd-via82xx
alias sound-slot-0 snd-via82xx
# --- END: Generated by ALSACONF, do not edit. ---

Hoffe mir kann jemand von euch helfen endlich wieder Sound auf dem System zu haben.
Danke im voraus.


Gruß,
Benjamin
_________________
Gentoo Linux Stage1 / Kernel 2.6.18
AMD Athlon64 3500+ on Asus A8N-E / 1024 MB DDR-RAM / ATI X700 PCIe
Take LINUX and forget Blue Screens


Last edited by benjamin200 on Thu May 26, 2005 4:24 pm; edited 1 time in total
Back to top
View user's profile Send private message
slick
Bodhisattva
Bodhisattva


Joined: 20 Apr 2003
Posts: 3495

PostPosted: Tue May 24, 2005 6:31 am    Post subject: Reply with quote

Ich hatte auch mal ein ähnliches Problem, weiß aber leider nicht mehr genau wie ichs behoben bekommen habe. Auf was steht die Arts-Konfiguration im Kontroll-Zentrum? Da gibts wie Wahlmöglichkeit von oss, alsa, automatisch einstellen usw. Hast Du da mal rumgespielt? Probier mal automatisch und alsa nacheinander. KDE ist aber schon mit alsa und arts kompiliert? Ist der Nutzer in der audio-gruppe? (Rechte /dev/dsp ?) Bei jedem zweiten Neustart? Komisches Problem...

EDIT: In der Soundsteuerung im Kontrollcenter gibts unten so eine "Gerät freigeben" oder "Gerät blockieren" oder irgendwie so ähnlich- Einstellung (habs grad nicht vor mir) Probier mal wenn Du das komplett deaktivierst.
Back to top
View user's profile Send private message
benjamin200
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1426
Location: DE Munich

PostPosted: Tue May 24, 2005 7:06 am    Post subject: Reply with quote

Hi slick,
Quote:

Ich hatte auch mal ein ähnliches Problem, weiß aber leider nicht mehr genau wie ichs behoben bekommen habe. Auf was steht die Arts-Konfiguration im Kontroll-Zentrum?

Habe dort "Automatisch" gewählt. Mit der Option "ALSA" hatte ich Probleme.

Quote:

Da gibts wie Wahlmöglichkeit von oss, alsa, automatisch einstellen usw. Hast Du da mal rumgespielt?

ja, aber wie oben angesprochen, nur zwischen Automatisch, ALSA und Set Default.

Quote:

KDE ist aber schon mit alsa und arts kompiliert?

Das sollte so sein, es läuft ja auch nach jedem 2ten oder 3ten Neustart.

Quote:

Ist der Nutzer in der audio-gruppe?

ja

Quote:

(Rechte /dev/dsp ?)

Schau ich mir heute Abend an. PC ist Off.

Quote:

Bei jedem zweiten Neustart?

ja, bzw. jedem 3ten. Aber meist bei jedem 2ten Neustart.

Quote:

Komisches Problem...

Sehe ich auch so. Bin am überlegen, ob ich nicht die ALSA_DEBUG Option im Kernel aktivieren soll.
Was meinst du?

Quote:

EDIT: In der Soundsteuerung im Kontrollcenter gibts unten so eine "Gerät freigeben" oder "Gerät blockieren" oder irgendwie so ähnlich- Einstellung (habs grad nicht vor mir) Probier mal wenn Du das komplett deaktivierst.

Schau ich mir heute Abend an. PC ist Off.


Gruß,
Benjamin
_________________
Gentoo Linux Stage1 / Kernel 2.6.18
AMD Athlon64 3500+ on Asus A8N-E / 1024 MB DDR-RAM / ATI X700 PCIe
Take LINUX and forget Blue Screens
Back to top
View user's profile Send private message
benjamin200
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1426
Location: DE Munich

PostPosted: Tue May 24, 2005 6:56 pm    Post subject: Reply with quote

Quote:

(Rechte /dev/dsp ?)


Code:

bash-2.05b$ ls -l /dev/dsp
lrwxrwxrwx  1 root root 9 May 24 20:52 /dev/dsp -> sound/dsp
bash-2.05b$


Jemand eine Idee
_________________
Gentoo Linux Stage1 / Kernel 2.6.18
AMD Athlon64 3500+ on Asus A8N-E / 1024 MB DDR-RAM / ATI X700 PCIe
Take LINUX and forget Blue Screens
Back to top
View user's profile Send private message
_hephaistos_
Advocate
Advocate


Joined: 07 Apr 2004
Posts: 2694
Location: salzburg, austria

PostPosted: Tue May 24, 2005 7:00 pm    Post subject: Reply with quote

hallo,

also ich bin ganz davon abgekommen alsa händisch (config files ändern) zu konfigurieren!
hab mich ganz alsaconf verschrieben.
führ mal "alsaconf" aus und schau, ob du da deine karte auswählen kannst.

und poste mal ls -la /dev/sound/dsp da solltest DU zumindest zugriff haben.
im kcontrol hab ich (und würd ich auch dir empfehlen) alsa eingestellt. welche probleme hattest du dann?

cheers
Back to top
View user's profile Send private message
benjamin200
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1426
Location: DE Munich

PostPosted: Tue May 24, 2005 7:07 pm    Post subject: Reply with quote

Hi hephaistos6,
Quote:

führ mal "alsaconf" aus und schau, ob du da deine karte auswählen kannst.

das hatte ich gemacht, läuft ja auch, aber nur nach jedem 2ten o. 3ten Neustart. Workaround: Manuel alsasound Skript und aRts neustarten :(
Siehe:
Code:


# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 1.0.8 ---
alias char-major-116 snd
alias char-major-14 soundcore
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 snd-card-0 snd-via82xx
alias sound-slot-0 snd-via82xx
# --- END: Generated by ALSACONF, do not edit. ---


Quote:

und poste mal ls -la /dev/sound/dsp da solltest DU zumindest zugriff haben.

Code:

bash-2.05b# ls -l /dev/sound/dsp
crw-------  1 benjamin audio 14, 3 May 24 20:52 /dev/sound/dsp
bash-2.05b#       


Quote:

im kcontrol hab ich (und würd ich auch dir empfehlen) alsa eingestellt. welche probleme hattest du dann?

Habe noch. Problem Alsasound Skript wird gestartet aber Alsa schimpft. Siehe ersten Post im Thread.

EDIT:
Vielleicht habe ich auch einfach zu viel ASLA Pakete drauf:
Code:

bash-2.05b# qpkg -I -v alsa
media-libs/alsa-lib-1.0.8 *
media-libs/alsa-oss-1.0.8-r1 *
media-sound/alsa-tools-1.0.8-r1 *
media-sound/alsa-utils-1.0.8 *
media-sound/alsa-headers-1.0.8 *
media-plugins/xmms-alsa-1.2.10-r2 *

Habe dir gerade runter geschmiesen und Versuch es mit einem:
Code:

emerge alsa-utils alsa-tools

erneut!

Gruß,
Benjamin
_________________
Gentoo Linux Stage1 / Kernel 2.6.18
AMD Athlon64 3500+ on Asus A8N-E / 1024 MB DDR-RAM / ATI X700 PCIe
Take LINUX and forget Blue Screens
Back to top
View user's profile Send private message
benjamin200
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1426
Location: DE Munich

PostPosted: Tue May 24, 2005 7:12 pm    Post subject: Reply with quote

Bezüglich:
Quote:

KDE ist aber schon mit alsa und arts kompiliert?


Code:

[ebuild   R   ] kde-base/arts-3.4.0  +alsa +arts -artswrappersuid -debug +esd -hardened -jack -kdeenablefinal -mad -oggvorbis -xinerama 0 kB
[ebuild   R   ] kde-base/kdebase-3.4.0-r1  +arts +cups -debug -hal -ieee1394 +java -kdeenablefinal +ldap -lm_sensors -logitech-mouse +opengl +pam -samba +ssl -xinerama 0 kB

_________________
Gentoo Linux Stage1 / Kernel 2.6.18
AMD Athlon64 3500+ on Asus A8N-E / 1024 MB DDR-RAM / ATI X700 PCIe
Take LINUX and forget Blue Screens
Back to top
View user's profile Send private message
benjamin200
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1426
Location: DE Munich

PostPosted: Tue May 24, 2005 7:22 pm    Post subject: Reply with quote

Uuuuiiiihhhh jetzt hat dmesg zugeschlagen:
Code:

ALSA device list:
  No soundcards found.

Wie kann das sein, alsaconf hat die Card sauber erkannt und die Config angelegt.


Gruß,
Benjamin
_________________
Gentoo Linux Stage1 / Kernel 2.6.18
AMD Athlon64 3500+ on Asus A8N-E / 1024 MB DDR-RAM / ATI X700 PCIe
Take LINUX and forget Blue Screens
Back to top
View user's profile Send private message
benjamin200
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1426
Location: DE Munich

PostPosted: Tue May 24, 2005 8:49 pm    Post subject: Reply with quote

Immer noch das gleiche Problem. Kann es vielleicht an IRQ Routing liegen?
Code:

PCI: Using ACPI for IRQ routing
** PCI interrupts are no longer routed automatically.  If this
** causes a device to stop working, it is probably because the
** driver failed to call pci_enable_device().  As a temporary
** workaround, the "pci=routeirq" argument restores the old
** behavior.  If this argument makes the device work again,
** please email the output of "lspci" to bjorn.helgaas@hp.com
** so I can fix the driver.
TC classifier action (bugs to netdev@oss.sgi.com cc hadi@cyberus.ca)


Wirklich total konfus...ich weiß wirklich nicht weiter :(
_________________
Gentoo Linux Stage1 / Kernel 2.6.18
AMD Athlon64 3500+ on Asus A8N-E / 1024 MB DDR-RAM / ATI X700 PCIe
Take LINUX and forget Blue Screens
Back to top
View user's profile Send private message
benjamin200
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1426
Location: DE Munich

PostPosted: Wed May 25, 2005 8:48 am    Post subject: Reply with quote

Quote:

Immer noch das gleiche Problem. Kann es vielleicht an IRQ Routing liegen?
Code:

PCI: Using ACPI for IRQ routing
** PCI interrupts are no longer routed automatically. If this
** causes a device to stop working, it is probably because the
** driver failed to call pci_enable_device(). As a temporary
** workaround, the "pci=routeirq" argument restores the old
** behavior. If this argument makes the device work again,
** please email the output of "lspci" to bjorn.helgaas@hp.com
** so I can fix the driver.
TC classifier action (bugs to netdev@oss.sgi.com cc hadi@cyberus.ca)

Kann mir jemand verraten wo ich das "pci=routeirq" argument einbauen muss? Danke im voraus.

EDIT:
Hab jetzt einen extra Thread wegen IRQ Routing aufgemacht.
Siehe: https://forums.gentoo.org/viewtopic-p-2439483.html#2439483


Gruß
Benjamin
_________________
Gentoo Linux Stage1 / Kernel 2.6.18
AMD Athlon64 3500+ on Asus A8N-E / 1024 MB DDR-RAM / ATI X700 PCIe
Take LINUX and forget Blue Screens
Back to top
View user's profile Send private message
benjamin200
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1426
Location: DE Munich

PostPosted: Thu May 26, 2005 4:24 pm    Post subject: Reply with quote

IRQ-Routing hat mir nichts gebracht. Aber einen Workaround habe ich gefunden:

ALSA-Komplett aus dem Kernel raus, dann manuel wieder alles Konfiguriert. alsa-utils re-emerged und etc-update ausgeführt. Nach dem der Kernel und die Module gebaut wurden, schnell alsaconf ausgeführt und anschließend lief die Sound-Card wieder. Bei jedem Neustart.

Bin mir nicht 100 Prozent sicher,
aber ich vermute es lag an Konfigurationsänderungen in /etc/init.d/alsasound welche ich mit etc-update angepasst habe.

Thread Solved !!!!!


Gruß
Benjamin
_________________
Gentoo Linux Stage1 / Kernel 2.6.18
AMD Athlon64 3500+ on Asus A8N-E / 1024 MB DDR-RAM / ATI X700 PCIe
Take LINUX and forget Blue Screens
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