|
Titzi266
Anmeldungsdatum: Nov. 11, 2008
Beiträge: 206
|

9. August 2012 11:53
Hi, ich habe auf einem ASUS E35M1-M Ubuntu Server 12.04 (64-Bit) laufen.
Obwohl es ein Server ist benötige ich Sound an LineOut. Darauf läuft ein MPD Server, daher brauche ich Sound. Unter Ubutnu Desktop 12.04 (64-Bit) läuft die Soundkarte einwandfrei.
Ich gehe mal davon aus, dass irgendwas beim Server einfach nicht installiert wird für Sound. Soundchip ist: Realtek ALC887-VD2 Hat jemand Ideen was da fehlt? Danke
Titzi266
|
|
Titzi266
(Themenstarter)
Anmeldungsdatum: Nov. 11, 2008
Beiträge: 206
|

9. August 2012 16:18
Hier mal ein paar Ausgaben: | root@jupiter:~# cat /proc/asound/cards
0 [Generic ]: HDA-Intel - HD-Audio Generic
HD-Audio Generic at 0xfeb44000 irq 42
1 [SB ]: HDA-Intel - HDA ATI SB
HDA ATI SB at 0xfeb40000 irq 16
root@jupiter:~# head -n 1 /proc/asound/card0/codec*
Codec: ATI R6xx HDMI
root@jupiter:~#
|
|
|
Titzi266
(Themenstarter)
Anmeldungsdatum: Nov. 11, 2008
Beiträge: 206
|

9. August 2012 16:34
Unter /var/log/mpd/mpd.log steht bei jedem Wiedergabeversuch: Aug 09 16:33 : output: Failed to open "My ALSA Device" [alsa]: Failed to open ALSA device "hw:0,0": No such file or directory
|
|
Titzi266
(Themenstarter)
Anmeldungsdatum: Nov. 11, 2008
Beiträge: 206
|

9. August 2012 18:19
Keiner eine Idee? 
|
|
engheneiro
Anmeldungsdatum: Aug. 13, 2009
Beiträge: 990
Wohnort: Nähe München
|

9. August 2012 18:57
Hi, beim Server ist alsa standardmäßig nicht installiert so weit ich weiss. Ich glaube, du musst noch mindestens die Pakete alsa und alsa-tools installieren. Gruss
Rainer
|
|
Titzi266
(Themenstarter)
Anmeldungsdatum: Nov. 11, 2008
Beiträge: 206
|

9. August 2012 18:58
Hi, die habe ich installiert. Ich kann auch alsamixer starten. Hier ist auch kein Kanal auf Mute.
|
|
engheneiro
Anmeldungsdatum: Aug. 13, 2009
Beiträge: 990
Wohnort: Nähe München
|

9. August 2012 22:50
ist dein User Mitglied der Gruppe "audio" ? Kannst du ansonsten Sound ausgeben (z.B. mit mplayer)?
|
|
Titzi266
(Themenstarter)
Anmeldungsdatum: Nov. 11, 2008
Beiträge: 206
|

9. August 2012 23:03
Der Benutzer des MPD ist in der Gruppe Audio.
Ansonsten habe ich über aplay mit root (der sollte ja dürfen) versucht ein normales wav-File abzuspielen, geht aber auch nicht.
|
|
engheneiro
Anmeldungsdatum: Aug. 13, 2009
Beiträge: 990
Wohnort: Nähe München
|

10. August 2012 08:39
Hi, dann geht also sound insgesamt nicht und es liegt nicht am mpd bzw. mpd.conf  Vielleicht hilft noch ein Tipp im Wiki unter Soundprobleme? http://wiki.ubuntuusers.de/Sound_Problembehebung Da sind ja auch ein paar alsa-spezifische Tipps dabei. Ohne Not würde ich Pulseaudio nicht installieren. Bei mir geht mpd sehr gut mit alsa. PS: Füge einfach auch deinen "normalen" User zur Audio-Gruppe dazu. Gruss
Rainer
|
|
Titzi266
(Themenstarter)
Anmeldungsdatum: Nov. 11, 2008
Beiträge: 206
|

10. August 2012 08:56
Jetzt sind alle in der Gruppe "Audio" Hier das Ergebnis:
| root@jupiter:~# aplay /usr/share/sounds/alsa/Front_Right.wav
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
aplay: main:682: audio open error: No such file or directory
root@jupiter:~#
|
Ich gucke mir den Wikiartikel mal an.
|
|
engheneiro
Anmeldungsdatum: Aug. 13, 2009
Beiträge: 990
Wohnort: Nähe München
|

10. August 2012 09:52
du kannst noch eine automatische alsa Konfiguration mit "asoundconf" probieren. Ansonsten hab ich auch wenig weitere Ideen (ausser Fehlermeldung googeln )
|
|
Titzi266
(Themenstarter)
Anmeldungsdatum: Nov. 11, 2008
Beiträge: 206
|

10. August 2012 10:02
Hm also asoundconf funktioniert nicht sonderlich toll: 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 | root@jupiter:~# asoundconf list
Please note that you are attempting to run asoundconf as a privileged superuser, which may have unintended consequences.
Names of available sound cards:
Generic
SB
root@jupiter:~# asoundconf reset-default-card
Please note that you are attempting to run asoundconf as a privileged superuser, which may have unintended consequences.
Traceback (most recent call last):
File "/usr/local/bin/asoundconf", line 439, in <module>
exit_code(reset_default_card())
File "/usr/local/bin/asoundconf", line 360, in reset_default_card
(j, k) = sep.split(i)
ValueError: too many values to unpack
root@jupiter:~# asoundconf set-default-card Generic
Please note that you are attempting to run asoundconf as a privileged superuser, which may have unintended consequences.
Traceback (most recent call last):
File "/usr/local/bin/asoundconf", line 436, in <module>
exit_code(set_default_card(sys.argv[2]))
File "/usr/local/bin/asoundconf", line 348, in set_default_card
(j, k) = sep.split(i)
ValueError: too many values to unpack
root@jupiter:~# asoundconf set-default-card SB
Please note that you are attempting to run asoundconf as a privileged superuser, which may have unintended consequences.
Traceback (most recent call last):
File "/usr/local/bin/asoundconf", line 436, in <module>
exit_code(set_default_card(sys.argv[2]))
File "/usr/local/bin/asoundconf", line 348, in set_default_card
(j, k) = sep.split(i)
ValueError: too many values to unpack
root@jupiter:~#
|
Hm, langsam wirds schwierig. Mich wundert aber, dass die Karte unter der Desktop Version einwandfrei funktioniert. Wieso gibt es dann unter dem Server so extreme Probleme!?
|
|
Titzi266
(Themenstarter)
Anmeldungsdatum: Nov. 11, 2008
Beiträge: 206
|

10. August 2012 10:13
Mal alle nötigen Ausgaben zusammengefasst: | root@jupiter:~# lspci | grep -i audio
00:01.1 Audio device: Advanced Micro Devices [AMD] nee ATI Wrestler HDMI Audio [Radeon HD 6250/6310]
00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel HDA) (rev 40)
|
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 | root@jupiter:~# lspci
00:00.0 Host bridge: Advanced Micro Devices [AMD] Family 14h Processor Root Complex
00:01.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Wrestler [Radeon HD 6310]
00:01.1 Audio device: Advanced Micro Devices [AMD] nee ATI Wrestler HDMI Audio [Radeon HD 6250/6310]
00:04.0 PCI bridge: Advanced Micro Devices [AMD] Family 14h Processor Root Port
00:11.0 SATA controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode] (rev 40)
00:12.0 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:12.2 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:13.0 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:13.2 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:14.0 SMBus: Advanced Micro Devices [AMD] nee ATI SBx00 SMBus Controller (rev 42)
00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel HDA) (rev 40)
00:14.3 ISA bridge: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 LPC host controller (rev 40)
00:14.4 PCI bridge: Advanced Micro Devices [AMD] nee ATI SBx00 PCI to PCI Bridge (rev 40)
00:14.5 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
00:15.0 PCI bridge: Advanced Micro Devices [AMD] nee ATI SB700/SB800/SB900 PCI to PCI bridge (PCIE port 0)
00:15.1 PCI bridge: Advanced Micro Devices [AMD] nee ATI SB700/SB800/SB900 PCI to PCI bridge (PCIE port 1)
00:15.2 PCI bridge: Advanced Micro Devices [AMD] nee ATI SB900 PCI to PCI bridge (PCIE port 2)
00:16.0 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:16.2 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 0 (rev 43)
00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 1
00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 2
00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 3
00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 4
00:18.5 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 6
00:18.6 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 5
00:18.7 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 7
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
05:00.0 PCI bridge: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI Bridge (rev 01)
06:02.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306/7/8 [Fire II(M)] IEEE 1394 OHCI Controller (rev c0)
root@jupiter:~#
|
| root@jupiter:~# cat /proc/asound/cards
0 [Generic ]: HDA-Intel - HD-Audio Generic
HD-Audio Generic at 0xfeb44000 irq 42
1 [SB ]: HDA-Intel - HDA ATI SB
HDA ATI SB at 0xfeb40000 irq 16
root@jupiter:~#
|
| root@jupiter:~# head -n 1 /proc/asound/card0/codec*
Codec: ATI R6xx HDMI
root@jupiter:~#
|
| root@jupiter:~# cat /proc/asound/modules
0 snd_hda_intel
1 snd_hda_intel
root@jupiter:~#
|
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 | root@jupiter:~# hwinfo --sound
> hal.1: read hal dataprocess 9377: arguments to dbus_move_error() were incorrect, assertion "(dest) == NULL || !dbus_error_is_set ((dest))" failed in file ../../dbus/dbus-errors.c line 282.
This is normally a bug in some application using the D-Bus library.
libhal.c 3483 : Error unsubscribing to signals, error=The name org.freedesktop.Hal was not provided by any .service files
10: PCI 01.1: 0403 Audio device
[Created at pci.318]
Unique ID: mnDB.OhePuXnKzB7
SysFS ID: /devices/pci0000:00/0000:00:01.1
SysFS BusID: 0000:00:01.1
Hardware Class: sound
Model: "ATI Audio device"
Vendor: pci 0x1002 "ATI Technologies Inc"
Device: pci 0x1314
SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
SubDevice: pci 0x84a5
Driver: "snd_hda_intel"
Driver Modules: "snd_hda_intel"
Memory Range: 0xfeb44000-0xfeb47fff (rw,non-prefetchable)
IRQ: 42 (29 events)
Module Alias: "pci:v00001002d00001314sv00001043sd000084A5bc04sc03i00"
Driver Info #0:
Driver Status: snd_hda_intel is active
Driver Activation Cmd: "modprobe snd_hda_intel"
Config Status: cfg=new, avail=yes, need=no, active=unknown
18: PCI 14.2: 0403 Audio device
[Created at pci.318]
Unique ID: 5Dex.tOcyrgPVzOC
SysFS ID: /devices/pci0000:00/0000:00:14.2
SysFS BusID: 0000:00:14.2
Hardware Class: sound
Model: "ATI SBx00 Azalia (Intel HDA)"
Vendor: pci 0x1002 "ATI Technologies Inc"
Device: pci 0x4383 "SBx00 Azalia (Intel HDA)"
SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
SubDevice: pci 0x8445
Revision: 0x40
Driver: "snd_hda_intel"
Driver Modules: "snd_hda_intel"
Memory Range: 0xfeb40000-0xfeb43fff (rw,non-prefetchable)
IRQ: 16 (1043 events)
Module Alias: "pci:v00001002d00004383sv00001043sd00008445bc04sc03i00"
Driver Info #0:
Driver Status: snd_hda_intel is active
Driver Activation Cmd: "modprobe snd_hda_intel"
Config Status: cfg=new, avail=yes, need=no, active=unknown
root@jupiter:~#
|
Folgendes steht noch in Alsamixer:
Card: HDA ATI SB
Chip: Realtek ALC887-VD Sollten alle Ausgaben sein die nötig sind.
|
|
Titzi266
(Themenstarter)
Anmeldungsdatum: Nov. 11, 2008
Beiträge: 206
|

10. August 2012 11:49
Alsaversion ist 1.0.25 Ist laut der Alsa-Webseite auch die aktuelle.
Ich habe aber gesehen, dass es bei Ubuntu 12.10 neuere 1.0.25 Versionen zu geben scheint. An den Paketen ist hinten eine 2 dran.
Daher habe ich mir also von 12.10 alsa-base, alsa-utils und alsa-firmware-loaders heruntergeladen und über dpkg installiert. Bringt aber auch keine Abhilfe. Ist es ein Versuch wert ein Upgrade auf 12.10 zu machen? Ist ja schließlich auch noch ein neuerer Kernel. Oder bringt es nichts?
Falls doch, eher ein Upgrade oder eine Neuinstallation?
|
|
engheneiro
Anmeldungsdatum: Aug. 13, 2009
Beiträge: 990
Wohnort: Nähe München
|

10. August 2012 11:57
Jetzt sind alle in der Gruppe "Audio"
das wird übrigens nur nach aus/einloggen aktiv - Hinweis nur zur Sicherheit. und schau vielleicht auch noch in diesen Artikel: http://wiki.ubuntuusers.de/Soundkarten_konfigurieren/HDA?redirect=no Stichwort Kernelparameter und: 12.04 ist die aktuelle Version. Es macht normalerweise keinen Sinn, auf Entwicklerversionen zu gehen - schon gar nicht mit einem produktiven System. Evtl. gibts aber in der Paketverwaltung noch/schon alsa-backports mit zurückportierten Features. Viel Erfolg.
|