Ich habe nach einer Neuinstallation (Debian/Buster) Probleme meine Soundkarte zum Laufen zu bekommen. Ich habe mich an diesem genialen HowTo gehalten: https://wiki.debianforum.de/Audiokonfig ... figuration.
Vorweg: Ein paar Sachen sind mir nicht ganz klar geworden. So die Stelle mit "/etc/asound.conf". Diese Datei steckt in https://packages.debian.org/buster/debian-edu-config, was mir keinen Sinn ergibt. Ich habe die Datei also lediglich angelegt und wie im HowTo befüllt.
Mein Problem
Pulseaudio lässt sich nicht starten:
Code: Alles auswählen
# systemctl start pulseaudio
Code: Alles auswählen
# journalctl -xe
Code: Alles auswählen
Jan 20 10:02:17 fortythieves org.kde.kaccessibleapp[1888]: Resource id: 0xc0001b
Jan 20 10:02:24 fortythieves dbus-daemon[1888]: [session uid=1000 pid=1888] Activating service name='org.kde.kssld5' requested by ':1.68' (uid=1000 pid=2871 comm="/usr/bin/akonadi_imap_resource --identifier akonad")
Jan 20 10:02:24 fortythieves dbus-daemon[1888]: [session uid=1000 pid=1888] Successfully activated service 'org.kde.kssld5'
Jan 20 10:02:25 fortythieves dbus-daemon[878]: [system] Failed to activate service 'org.bluez': timed out (service_start_timeout=25000ms)
Jan 20 10:02:29 fortythieves PackageKit[2738]: get-updates transaction /6970_becceeab from uid 1000 finished with success after 2364ms
Jan 20 10:02:30 fortythieves PackageKit[2738]: get-updates transaction /6971_adddaccd from uid 1000 finished with success after 613ms
Jan 20 10:03:10 fortythieves su[3495]: Successful su for root by diani
Jan 20 10:03:10 fortythieves su[3495]: + /dev/pts/1 andreas:root
Jan 20 10:03:10 fortythieves su[3495]: pam_unix(su:session): session opened for user root by andreas(uid=1000)
Jan 20 10:03:10 fortythieves su[3495]: pam_systemd(su:session): Cannot create session: Already running in a session
Jan 20 10:03:12 fortythieves PackageKit[2738]: get-updates transaction /6972_ddeeaece from uid 1000 finished with success after 418ms
Jan 20 10:03:29 fortythieves systemd[1]: Starting PulseAudio Sound System...
-- Subject: Unit pulseaudio.service has begun start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit pulseaudio.service has begun starting up.
Jan 20 10:03:29 fortythieves pulseaudio[3523]: W: [pulseaudio] main.c: Dieses Programm sollte ohne die Option --system nicht als Administrator ausgeführt werden.
Jan 20 10:03:29 fortythieves pulseaudio[3523]: W: [pulseaudio] source.c: Default and alternate sample rates are the same.
Jan 20 10:03:29 fortythieves pulseaudio[3523]: W: [pulseaudio] server-lookup.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
Jan 20 10:03:29 fortythieves pulseaudio[3523]: W: [pulseaudio] main.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
Jan 20 10:04:59 fortythieves systemd[1]: pulseaudio.service: Start operation timed out. Terminating.
Jan 20 10:04:59 fortythieves systemd[1]: pulseaudio.service: Failed with result 'timeout'.
Jan 20 10:04:59 fortythieves systemd[1]: Failed to start PulseAudio Sound System.
-- Subject: Unit pulseaudio.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit pulseaudio.service has failed.
--
-- The result is RESULT.
Jan 20 10:04:59 fortythieves systemd[1]: pulseaudio.service: Service hold-off time over, scheduling restart.
Jan 20 10:04:59 fortythieves systemd[1]: pulseaudio.service: Scheduled restart job, restart counter is at 1.
-- Subject: Automatic restarting of a unit has been scheduled
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Automatic restarting of the unit pulseaudio.service has been scheduled, as the result for
-- the configured Restart= setting for the unit.
Jan 20 10:04:59 fortythieves systemd[1]: Stopped PulseAudio Sound System.
-- Subject: Unit pulseaudio.service has finished shutting down
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit pulseaudio.service has finished shutting down.
Jan 20 10:04:59 fortythieves systemd[1]: Starting PulseAudio Sound System...
-- Subject: Unit pulseaudio.service has begun start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit pulseaudio.service has begun starting up.
Jan 20 10:04:59 fortythieves pulseaudio[3578]: W: [pulseaudio] main.c: Dieses Programm sollte ohne die Option --system nicht als Administrator ausgeführt werden.
Jan 20 10:04:59 fortythieves pulseaudio[3578]: W: [pulseaudio] source.c: Default and alternate sample rates are the same.
Jan 20 10:04:59 fortythieves pulseaudio[3578]: W: [pulseaudio] server-lookup.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
Jan 20 10:04:59 fortythieves pulseaudio[3578]: W: [pulseaudio] main.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
Code: Alles auswählen
diani@fortythieves:~$ aplay -l
**** Liste der Hardware-Geräte (PLAYBACK) ****
Karte 0: DGX [Xonar DGX], Gerät 0: Multichannel [Multichannel]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 0: DGX [Xonar DGX], Gerät 1: Digital [Digital]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Code: Alles auswählen
$ alsamixer -D hw:DGX
Code: Alles auswählen
$ aplay -D plughw:DGX,0 /usr/share/sounds/alsa/Front_Left.wav
aplay: main:788: Fehler beim Öffnen des Gerätes: Das Gerät oder die Ressource ist belegt
Gruß
Diani