11-10-2022, 01:46 PM
Hi,
I am unable to output any sound from jack. I tried different headphones, including Samsung smartphone earpiece (told to be compatible, according to a pine64 forum).
Tried dozens of tips and tricks found here (with alsa, amixer, alsamixer, pulseaudio), but no success.
Finally, i traced dmesg during headphone plug-in and plug-out, and what I found was intriging :
This is what I get when plugging IN :
[ 3517.655643] jack: irq plug-out
[ 3517.663413] jack: irq plug-in
[ 3517.696086] jack: irq plug-out
[ 3517.762223] jack: plug-out reported
=> so the headphone is reported being plugged out, when I plug it in.
This is what I get when plugging OUT :
[ 3532.479203] jack: irq plug-in
[ 3532.487846] jack: irq plug-out
[ 3532.496029] jack: irq plug-in
=> the headphone is reported being plugged in when I plug it out.
Strange... Can this be the source of my problem ?
More information :
root@DietPi:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sun50ia64audio [sun50i-a64-audio], device 0: 1c22c00.dai-sun8i-codec-aif1 sun8i-codec-aif1-0 [1c22c00.dai-sun8i-codec-aif1 sun8i-codec-aif1-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: sun9ihdmi [sun9i-hdmi], device 0: SUN9I-HDMI PCM i2s-hifi-0 [SUN9I-HDMI PCM i2s-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
Any idea ?
Thanks
I am unable to output any sound from jack. I tried different headphones, including Samsung smartphone earpiece (told to be compatible, according to a pine64 forum).
Tried dozens of tips and tricks found here (with alsa, amixer, alsamixer, pulseaudio), but no success.
Finally, i traced dmesg during headphone plug-in and plug-out, and what I found was intriging :
This is what I get when plugging IN :
[ 3517.655643] jack: irq plug-out
[ 3517.663413] jack: irq plug-in
[ 3517.696086] jack: irq plug-out
[ 3517.762223] jack: plug-out reported
=> so the headphone is reported being plugged out, when I plug it in.
This is what I get when plugging OUT :
[ 3532.479203] jack: irq plug-in
[ 3532.487846] jack: irq plug-out
[ 3532.496029] jack: irq plug-in
=> the headphone is reported being plugged in when I plug it out.
Strange... Can this be the source of my problem ?
More information :
root@DietPi:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sun50ia64audio [sun50i-a64-audio], device 0: 1c22c00.dai-sun8i-codec-aif1 sun8i-codec-aif1-0 [1c22c00.dai-sun8i-codec-aif1 sun8i-codec-aif1-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: sun9ihdmi [sun9i-hdmi], device 0: SUN9I-HDMI PCM i2s-hifi-0 [SUN9I-HDMI PCM i2s-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
Any idea ?
Thanks