Não consigo fazer o som funcionar em um persistente Kali live USB conectado a um MacBook Pro 2017.
Eu tentei as sugestões para limpar pulseaudio
e sudo apt-get install alsa-base ......
- mas elas estão desatualizadas porque o ALSA já está embutido no kernel. Aqui estão algumas informações:
yz@kali:~$ lsmod | grep snd
snd_soc_skl 73728 0
snd_soc_skl_ipc 49152 1 snd_soc_skl
snd_soc_sst_ipc 16384 1 snd_soc_skl_ipc
snd_soc_sst_dsp 32768 1 snd_soc_skl_ipc
snd_hda_ext_core 24576 1 snd_soc_skl
snd_soc_sst_match 16384 1 snd_soc_skl
snd_soc_core 217088 1 snd_soc_skl
snd_hda_codec_hdmi 49152 1
snd_hda_codec_generic 69632 1
snd_compress 20480 1 snd_soc_core
snd_hda_intel 40960 0
snd_hda_codec 126976 3 snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_generic
snd_hda_core 77824 6 snd_hda_intel,snd_hda_codec,snd_hda_ext_core,snd_soc_skl,snd_hda_codec_hdmi,snd_hda_codec_generic
snd_hwdep 16384 1 snd_hda_codec
snd_pcm 102400 7 snd_hda_intel,snd_hda_codec,snd_hda_ext_core,snd_hda_core,snd_soc_skl,snd_hda_codec_hdmi,snd_soc_core
snd_timer 32768 1 snd_pcm
snd 77824 9 snd_compress,snd_hda_intel,snd_hwdep,snd_hda_codec,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_soc_core,snd_pcm
soundcore 16384 1 snd
Agora eu tenho pulseaudio
desinstalado (eu purgei em um esforço para obter o ALSA para carregar, quando eu abro o mixer ALSA é apenas um canal mestre que eu posso ajustar ( PCM
) - ele está detectando meu cartão cound como
Card: HDA Intel PCH
Chip: Cirrus Logic Generic
Isso é de lspci -v
:
Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
Subsystem: Intel Corporation Sunrise Point-LP HD Audio
Flags: bus master, fast devsel, latency 64, IRQ 42
Memory at 82620000 (64-bit, non-prefetchable) [size=16K]
Memory at 80000000 (64-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel, snd_soc_skl
Como carrego o ALSA? (em vez de snd_hda_intel
? Ou ALSA usa isso?)
UPDATE
Solicitado:
yz@kali:~$ cat /proc/asound/pcm
00-00: Generic Analog : Generic Analog : playback 1 : capture 1
00-02: Generic Alt Analog : Generic Alt Analog : capture 7
00-03: HDMI 0 : HDMI 0 : playback 1
00-07: HDMI 1 : HDMI 1 : playback 1
00-08: HDMI 2 : HDMI 2 : playback 1
00-09: HDMI 3 : HDMI 3 : playback 1
00-10: HDMI 4 : HDMI 4 : playback 1
Este é o resultado de aplay
- não consegui ouvir o som:
yz@kali:~/Downloads$ aplay -D plughw:0 Kurzweil-K2000-Dual-Bass-C1.wav
Playing WAVE 'Kurzweil-K2000-Dual-Bass-C1.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
Corria um pouco ... Estou assumindo que estava apenas reproduzindo a pequena amostra ... e depois parou.
UPDATE
Resultado solicitado:
UPDATE
Resultado solicitado:
yz@kali:~/Downloads$ sudo aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
default:CARD=PCH
HDA Intel PCH, Generic Analog
Default Audio Device
sysdefault:CARD=PCH
HDA Intel PCH, Generic Analog
Default Audio Device
front:CARD=PCH,DEV=0
HDA Intel PCH, Generic Analog
Front speakers
surround21:CARD=PCH,DEV=0
HDA Intel PCH, Generic Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
HDA Intel PCH, Generic Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
HDA Intel PCH, Generic Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
HDA Intel PCH, Generic Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
HDA Intel PCH, Generic Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
HDA Intel PCH, Generic Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=PCH,DEV=0
HDA Intel PCH, HDMI 0
HDMI Audio Output
hdmi:CARD=PCH,DEV=1
HDA Intel PCH, HDMI 1
HDMI Audio Output
hdmi:CARD=PCH,DEV=2
HDA Intel PCH, HDMI 2
HDMI Audio Output
hdmi:CARD=PCH,DEV=3
HDA Intel PCH, HDMI 3
HDMI Audio Output
hdmi:CARD=PCH,DEV=4
HDA Intel PCH, HDMI 4
HDMI Audio Output
yz@kali:~/Downloads$ sudo aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: Generic Analog [Generic Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
Subdevices: 1/1
Subdevice #0: subdevice #0
UPDATE
Resultado solicitado:
yz@kali:~/Downloads$ aplay -vvv -Dfront:CARD=PCH,DEV=0 Kurzweil-K2000-Dual-Bass-C1.wav
Playing WAVE 'Kurzweil-K2000-Dual-Bass-C1.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
Soft volume PCM
Control: PCM Playback Volume
min_dB: -51
max_dB: 0
resolution: 256
Its setup is:
stream : PLAYBACK
access : RW_INTERLEAVED
format : S16_LE
subformat : STD
channels : 2
rate : 44100
exact rate : 44100 (44100/1)
msbits : 16
buffer_size : 22052
period_size : 5513
period_time : 125011
tstamp_mode : NONE
tstamp_type : MONOTONIC
period_step : 1
avail_min : 5513
period_event : 0
start_threshold : 22052
stop_threshold : 22052
silence_threshold: 0
silence_size : 0
boundary : 6207086186423386112
Slave: Hardware PCM card 0 'HDA Intel PCH' device 0 subdevice 0
Its setup is:
stream : PLAYBACK
access : MMAP_INTERLEAVED
format : S16_LE
subformat : STD
channels : 2
rate : 44100
exact rate : 44100 (44100/1)
msbits : 16
buffer_size : 22052
period_size : 5513
period_time : 125011
tstamp_mode : NONE
tstamp_type : MONOTONIC
period_step : 1
avail_min : 5513
period_event : 0
start_threshold : 22052
stop_threshold : 22052
silence_threshold: 0
silence_size : 0
boundary : 6207086186423386112
appl_ptr : 0
hw_ptr : 0
Max peak (11026 samples): 0x00007fdb #################### 99%
Max peak (11026 samples): 0x00004428 ########### 53%
Max peak (11026 samples): 0x00003dca ########## 48%
Max peak (11026 samples): 0x00003a29 ########## 45%
Max peak (11026 samples): 0x00003354 ######### 40%
Max peak (11026 samples): 0x00002e68 ######## 36%
Max peak (11026 samples): 0x00002a65 ####### 33%
Max peak (11026 samples): 0x0000276b ####### 30%
Max peak (11026 samples): 0x00002501 ###### 28%
Max peak (11026 samples): 0x00002303 ###### 27%
Max peak (11026 samples): 0x00001f98 ##### 24%
Max peak (11026 samples): 0x00001be0 ##### 21%
Max peak (11026 samples): 0x000018ef #### 19%
Max peak (11026 samples): 0x00001680 #### 17%
Max peak (11026 samples): 0x00001427 #### 15%
Max peak (11026 samples): 0x00001243 ### 14%
Max peak (11026 samples): 0x0000103d ### 12%
Max peak (11026 samples): 0x00000e9b ### 11%
Max peak (11026 samples): 0x00000d29 ### 10%
Max peak (11026 samples): 0x00000bc2 ## 9%
Max peak (11026 samples): 0x00000a88 ## 8%
Max peak (11026 samples): 0x00000935 ## 7%
Max peak (11026 samples): 0x00000840 ## 6%
Max peak (11026 samples): 0x00000769 ## 5%
Max peak (11026 samples): 0x000006a1 ## 5%
Max peak (11026 samples): 0x000005ef # 4%
Max peak (11026 samples): 0x00000559 # 4%
Max peak (11026 samples): 0x000004cd # 3%
Max peak (11026 samples): 0x0000044b # 3%
Max peak (11026 samples): 0x000003d2 # 2%
Max peak (11026 samples): 0x00000370 # 2%
Max peak (11026 samples): 0x00000314 # 2%
Max peak (11026 samples): 0x000002b2 # 2%
Max peak (11026 samples): 0x00000265 # 1%
Max peak (11026 samples): 0x00000228 # 1%
Max peak (11026 samples): 0x000001e9 # 1%
Max peak (11026 samples): 0x000001c4 # 1%
Max peak (11026 samples): 0x00000197 # 1%
Max peak (11026 samples): 0x00000171 # 1%
Max peak (11026 samples): 0x00000149 # 1%
Max peak (11026 samples): 0x0000012b # 0%
Max peak (11026 samples): 0x00000108 # 0%
Max peak (11026 samples): 0x000000f1 # 0%
Max peak (11026 samples): 0x000000d5 # 0%
Max peak (11026 samples): 0x000000c2 # 0%
Max peak (11026 samples): 0x000000a9 # 0%
Max peak (11026 samples): 0x0000009a # 0%
Max peak (11026 samples): 0x0000008a # 0%
Max peak (11026 samples): 0x0000007b # 0%
Max peak (11026 samples): 0x00000073 # 0%
Max peak (11026 samples): 0x00000061 # 0%
Max peak (11026 samples): 0x00000057 # 0%
Max peak (11026 samples): 0x00000051 # 0%
Max peak (11026 samples): 0x00000048 # 0%
Max peak (11026 samples): 0x0000003b # 0%
Max peak (11026 samples): 0x0000003b # 0%
Max peak (11026 samples): 0x00000034 # 0%
Max peak (11026 samples): 0x0000002f # 0%
Max peak (11026 samples): 0x0000002c # 0%
Max peak (11026 samples): 0x00000017 # 0%
Tags pulseaudio alsa audio kali-linux