Sie sind nicht angemeldet.

1

03.02.2018, 12:25

Kein Sound finde aber keinen Fehler

Halli, ich hab Probs mit dem Sound. Es erfolgt keine Ausgabe ich finde aber keinen Fehler. Unter Linux - Mint funzt es. Ich verwende externe Lautsprecher, da ich die Konfiguration der internen Karte noch nicht hinbekommen habe. Auch nicht unter Linux Mint. Vielleicht ist die futsch ...
Infos:

Alsa und Build Realtek HD-audio codec support ist im Kernel aktiv. Alsa liegt im runlevel Boot. User ist in der Gruppe audio .

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
localhost /home/fridolin # rc-update
            alsasound | boot default                           
               binfmt | boot                                   
             bootmisc | boot                                   
                devfs |                                 sysinit
                dmesg |                                 sysinit
                 fsck | boot                                   
             hostname | boot                                   
              hwclock | boot                                   
              keymaps | boot                                   
            killprocs |                        shutdown        
    kmod-static-nodes |                                 sysinit
                local |      default nonetwork                 
           localmount | boot                                   
             loopback | boot                                   
              modules | boot                                   
             mount-ro |                        shutdown        
                 mtab | boot                                   
             netmount |      default                           
              openvpn |      default                           
               procfs | boot                                   
                 root | boot                                   
            savecache |                        shutdown        
                 swap | boot                                   
               sysctl | boot                                   
                sysfs |                                 sysinit
         termencoding | boot                                   
                 udev |                                 sysinit
         udev-trigger |                                 sysinit
              urandom | boot                                   
localhost /home/fridolin # su michi
Kein Passworteintrag für Benutzer »michi«
localhost /home/fridolin # su fridolin
fridolin@localhost ~ $ groups
wheel audio


In der dmesg werden Karten angezeigt:

Quellcode

1
2
3
4
5
6
7
fridolin@localhost ~ $ dmesg | grep sound
[   12.734463] input: HDA ATI HDMI HDMI as /devices/pci0000:00/0000:00:01.1/sound/card0/input8
[   12.748216] input: HD-Audio Generic Front Mic as /devices/pci0000:00/0000:00:14.2/sound/card1/input9
[   12.748273] input: HD-Audio Generic Rear Mic as /devices/pci0000:00/0000:00:14.2/sound/card1/input10
[   12.748339] input: HD-Audio Generic Line as /devices/pci0000:00/0000:00:14.2/sound/card1/input11
[   12.748392] input: HD-Audio Generic Line Out as /devices/pci0000:00/0000:00:14.2/sound/card1/input12
[   12.748458] input: HD-Audio Generic Front Headphone as /devices/pci0000:00/0000:00:14.2/sound/card1/input13


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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
localhost # lsmod

Module                  Size  Used by
ipv6                  303104  20
tun                    28672  0
cfg80211              442368  0
rfkill                 20480  1 cfg80211
snd_hda_codec_realtek    69632  1
snd_hda_codec_generic    53248  2 snd_hda_codec_realtek
binfmt_misc            16384  1
snd_hda_intel          32768  0
radeon               1236992  3
snd_hda_codec          77824  3 snd_hda_intel,snd_hda_codec_generic,snd_hda_codec_realtek
i2c_algo_bit           16384  1 radeon
drm_kms_helper        106496  1 radeon
joydev                 20480  0
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
fb_sys_fops            16384  1 drm_kms_helper
ttm                    73728  1 radeon
input_leds             16384  0
snd_hda_core           53248  4 snd_hda_intel,snd_hda_codec,snd_hda_codec_generic,snd_hda_codec_realtek
snd_hwdep              16384  1 snd_hda_codec
snd_pcm                69632  3 snd_hda_intel,snd_hda_codec,snd_hda_core
snd_timer              28672  1 snd_pcm
drm                   274432  6 radeon,ttm,drm_kms_helper
snd                    57344  6 snd_hda_intel,snd_hwdep,snd_hda_codec,snd_timer,snd_hda_codec_generic,snd_pcm
video                  36864  0
kvm_amd                65536  0
kvm                   430080  1 kvm_amd
irqbypass              16384  1 kvm
pcspkr                 16384  0
backlight              16384  2 video,radeon
i2c_piix4              20480  0
i2c_core               45056  5 i2c_piix4,i2c_algo_bit,radeon,drm_kms_helper,drm
button                 16384  0
acpi_cpufreq           16384  0
xts                    16384  0
aes_x86_64             20480  0
cbc                    16384  0
sha512_generic         16384  0
sha256_generic         20480  0
sha1_generic           16384  0
libiscsi               40960  0
scsi_transport_iscsi    69632  1 libiscsi
ixgb                   36864  0
ixgbe                 196608  0
dca                    16384  1 ixgbe
tulip                  53248  0
cxgb3                 126976  0
cxgb                   65536  0
mdio                   16384  3 ixgbe,cxgb,cxgb3
macvlan                20480  0
tg3                   139264  0
ptp                    20480  2 ixgbe,tg3
pps_core               16384  1 ptp
libphy                 40960  1 tg3
sky2                   49152  0
pcnet32                36864  0
e1000                  90112  0
bnx2                   73728  0
fuse                   77824  1
nfs                   163840  0
lockd                  65536  1 nfs
grace                  16384  1 lockd
sunrpc                204800  2 lockd,nfs
jfs                   147456  0
multipath              16384  0
linear                 16384  0
raid10                 40960  0
raid456                98304  0
async_raid6_recov      16384  1 raid456
async_memcpy           16384  1 raid456
async_pq               16384  1 raid456
async_xor              16384  2 async_pq,raid456
xor                    24576  1 async_xor
async_tx               16384  5 async_xor,async_pq,raid456,async_memcpy,async_raid6_recov
raid6_pq              106496  3 async_pq,raid456,async_raid6_recov
raid1                  36864  0
raid0                  16384  0
dm_snapshot            36864  0
dm_bufio               20480  1 dm_snapshot
dm_crypt               32768  0
dm_mirror              20480  0
dm_region_hash         16384  1 dm_mirror
dm_log                 16384  2 dm_mirror,dm_region_hash
dm_mod                 94208  5 dm_mirror,dm_log,dm_bufio,dm_crypt,dm_snapshot
dax                    20480  1 dm_mod
hid_sunplus            16384  0
hid_sony               28672  0
hid_samsung            16384  0
hid_pl                 16384  0
hid_petalynx           16384  0
hid_monterey           16384  0
hid_microsoft          16384  0
hid_logitech           16384  0
hid_gyration           16384  0
hid_ezkey              16384  0
hid_cypress            16384  0
hid_chicony            16384  0
hid_cherry             16384  0
hid_belkin             16384  0
hid_apple              16384  0
hid_a4tech             16384  0
sl811_hcd              20480  0
xhci_plat_hcd          16384  0
uhci_hcd               28672  0
aic94xx                73728  0
libsas                 61440  1 aic94xx
lpfc                  598016  0
crc_t10dif             16384  1 lpfc
crct10dif_common       16384  1 crc_t10dif
qla2xxx               577536  0
megaraid_sas          114688  0
megaraid_mbox          32768  0
megaraid_mm            16384  1 megaraid_mbox
megaraid               45056  0
aacraid                90112  0
sx8                    20480  0
DAC960                 69632  0
3w_9xxx                40960  0
3w_xxxx                28672  0
mptsas                 36864  0
scsi_transport_sas     32768  3 libsas,mptsas,aic94xx
mptfc                  20480  0
scsi_transport_fc      40960  3 lpfc,qla2xxx,mptfc
mptspi                 20480  0
mptscsih               24576  3 mptfc,mptsas,mptspi
mptbase                61440  4 mptscsih,mptfc,mptsas,mptspi
atp870u                24576  0
dc395x                 36864  0
qla1280                28672  0
imm                    20480  0
parport                36864  1 imm
dmx3191d               20480  0
sym53c8xx              73728  0
gdth                   81920  0
initio                 24576  0
BusLogic               28672  0
arcmsr                 36864  0
aic7xxx               110592  0
aic79xx               114688  0
scsi_transport_spi     24576  5 aic79xx,aic7xxx,dmx3191d,sym53c8xx,mptspi
sg                     32768  0
pdc_adma               16384  0
sata_inic162x          16384  0
sata_mv                28672  0
ata_piix               32768  0
sata_qstor             16384  0
sata_vsc               16384  0
sata_uli               16384  0
sata_sis               16384  0
sata_sx4               20480  0
sata_nv                28672  0
sata_via               16384  0
sata_svw               16384  0
sata_sil24             20480  0
sata_sil               16384  0
sata_promise           20480  0
pata_sl82c105          16384  0
pata_via               16384  0
pata_jmicron           16384  0
pata_marvell           16384  0
pata_sis               20480  1 sata_sis
pata_netcell           16384  0
pata_pdc202xx_old      16384  0
pata_triflex           16384  0
pata_atiixp            16384  0
pata_opti              16384  0
pata_amd               20480  0
pata_ali               16384  0
pata_it8213            16384  0
pata_pcmcia            20480  0
pcmcia                 36864  1 pata_pcmcia
pcmcia_core            20480  1 pcmcia
pata_ns87415           16384  0
pata_ns87410           16384  0
pata_serverworks       16384  0
pata_artop             16384  0
pata_it821x            16384  0
pata_optidma           16384  0
pata_hpt3x2n           16384  0
pata_hpt3x3            16384  0
pata_hpt37x            20480  0
pata_hpt366            16384  0
pata_cmd64x            16384  0
pata_efar              16384  0
pata_rz1000            16384  0
pata_sil680            16384  0
pata_radisys           16384  0
pata_pdc2027x          16384  0
pata_mpiix             16384  0
led_class              16384  2 input_leds,hid_sony
usbhid                 28672  0
usb_storage            53248  0
ohci_pci               16384  0
r8169                  65536  0
mii                    16384  2 r8169,pcnet32
xhci_pci               16384  0
ehci_pci               16384  0
xhci_hcd              126976  2 xhci_pci,xhci_plat_hcd
ehci_hcd               45056  1 ehci_pci
ahci                   36864  2
ohci_hcd               32768  1 ohci_pci
libahci                24576  1 ahci
usbcore               155648  11 usbhid,sl811_hcd,usb_storage,ehci_hcd,ohci_pci,uhci_hcd,xhci_pci,xhci_plat_hcd,ohci_hcd,xhci_hcd,ehci_pci
libata                172032  49 pata_atiixp,sata_promise,sata_qstor,pata_pdc2027x,pata_efar,pata_hpt366,pata_amd,pata_sil680,sata_inic162x,pata_ns87410,sata_svw,sata_sx4,pata_hpt3x2n,ahci,sata_sis,pata_via,pata_serverworks,pata_radisys,pata_cmd64x,pata_it821x,pata_ali,pata_ns87415,ata_piix,pata_marvell,pata_netcell,pata_artop,pata_pdc202xx_old,libsas,pata_hpt37x,pata_mpiix,pata_optidma,pata_it8213,libahci,pata_rz1000,pata_jmicron,sata_sil24,sata_uli,pata_hpt3x3,sata_sil,pata_pcmcia,pata_triflex,pata_sis,pdc_adma,pata_sl82c105,sata_nv,sata_mv,sata_via,sata_vsc,pata_opti
usb_common             16384  1 usbcore]


Ein Start von alsa ist erfolgreich:

Quellcode

1
2
localhost /home/fridolin # /etc/init.d/alsasound start
 * Restoring Mixer Levels ...                                                                                                                        [ ok ]



Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
localhost /home/fridolin # speaker-test -c 2 -D hw:0,3

speaker-test 1.1.2

Wiedergabe-Gerät ist hw:0,3
Stream-Parameter sind 48000 Hz, S16_LE, 2 Kanäle
Verwende 16 Oktaven rosa Rauschen
Rate ist 48000 Hz (angefordert: 48000 Hz)
Puffergröße von 64 bis 16384
Periodengröße von 32 bis 8192
Verwende maximale Puffergröße 16384
Perioden = 4
gesetzt: period_size = 4096
gesetzt: buffer_size = 16384
 0 - Front Left
 1 - Front Right
Zeit pro Periode = 5,654933
 0 - Front Left
 1 - Front Right
^CZeit pro Periode = 4,265418



Ich habe keine Idee mehr. Bitte helft mir.
Man kann nicht alles wissen, aber alles lernen!

2

20.02.2018, 11:32

Der /etc/init.d/alsasound Script macht nichts anderes als Lautstärke speichern und beim Boot wieder herstellen. Aber initial ist diese auf 0. Schaue mal mit alsamixer oder einem grafischen Tool ob Du die Lautstärke aufdrehen kannst. Und ob ggf. die Leitung einfach auf "Mute" steht. Der speaker-test hat keine Fehler geliefert...
Auch wenn Open-Source kostenlos ist, ist sie nicht umsonst. Dein Preis ist Dein Engagement und Mitarbeit an OS-Projekten.
Wenn Du keinen Preis bezahlen willst, bist Du die Ware. Und das ist nicht Open Source, geschweigedenn frei.