Quantcast
Channel: Armbian news
Viewing all articles
Browse latest Browse all 486

Banana Pro - Sound on jack

$
0
0

Hello everyone,

 

This is my first post, but i've been using armbian for almost one year (https://twitter.com/logicite/status/682267764384501760), so : thank you for your work !

 

I use armbian ubuntu on Olimex A20 lime 2, and on LeMaker Banana Pro. So far no difficulty, or i was able to find the answers on the forum. This time, i can't find anything, so i'm asking for your help :

 

A few months ago i was able to use the onboard sound card on the BananaPro. It was showing up in alsamixer and in aplay -l.

 

The sound was not good so i used a USB sound card instead.

 

Today, i can't find this onboard sound card any longer. I suspect this is due to some update in between, as i cannot find it on any of the 3 BananaPro i've got at home...

 

 

 

According to http://forum.armbian.com/index.php/topic/688-no-sound-card-on-50-trusty-vanilla-but-it-works-on-jessie/#entry5012, i tried :

modprobe sun4i-codec

but the sound card doesn't show up... I tried to add it in /etc/modules, but no change.

 

 

According to http://wiki.lemaker.org/BananaPro/Pi:Audio, i tried to create /etc/asound.conf :

pcm.!default {
type hw
card 0    //If you want to set HDMI as output ,turn 0 to 1.
device 0
}
ctl.!default {
type hw
card 0   //If you want to set HDMI as output ,turn 0 to 1.
}

but no change either...

 

 

According to https://github.com/LeMaker/sunxi-boards/commit/c8be2f0b32fa0e41dc4b46fb384479bebb68ca6e, i tried to change /boot/script.bin :

-audio_pa_ctrl = port:PH15<1><default><default><1>
+audio_pa_ctrl = port:PH26<1><default><default><1>

but it didn't change anything (again). I though i would revert this one, when i found http://forum.armbian.com/index.php/topic/452-no-audio-on-35-jack-with-bananapi-m1-and-debian-jessie/#entry2912: looks like PH15 is somehow connected to wireless module power and i don't see the link with sound card. Anyway, the board is still ok (and the wifi also :-), so it doesn't matter here.

 

 

 

Well, i don't know what to do now : this on board sound card on the Banana Pro was working, and it is no longer.

Do you have any leads for me please ?

Thank you

 

 

 

 

 

 

 

My config :

dpkg -l | grep armbian :

ii  armbian-firmware 5.22 armhf Linux firmware
ii  armbian-hostapd-xenial      5.14 armhf Patched hostapd for xenial
ii  armbian-tools-xenial       5.22 armhf Armbian tools, temper, Cubie bt utils

(below there is USB sound card, that don't want to use any more) :

$ cat /proc/asound/cards
1 [S2             ]: USB-Audio - Sound Blaster Play! 2
                      Creative Technology Ltd Sound Blaster Play! 2 at usb-1c14400.usb-1, full speed

$ cat /proc/asound/devices
 32: [ 1]   : control
 33:        : timer
 48: [ 1- 0]: digital audio playback
 56: [ 1- 0]: digital audio capture

$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version k4.8.4-sunxi.k
$ lsmod
Module                  Size  Used by
dm_crypt               18660  1
algif_skcipher          9052  0
af_alg                  5792  1 algif_skcipher
dm_mod                 98924  3 dm_crypt
ir_lirc_codec           5048  0
lirc_dev                7589  1 ir_lirc_codec
snd_usb_audio         120024  0
nvmem_sunxi_sid         2159  0
nvmem_core              9078  1 nvmem_sunxi_sid
snd_hwdep               5663  1 snd_usb_audio
sun4i_ts                3990  0
snd_usbmidi_lib        19867  1 snd_usb_audio
snd_rawmidi            17995  1 snd_usbmidi_lib
evdev                  12164  1
input_leds              2676  0
sunxi_cir               3735  0
snd_pcm                77587  1 snd_usb_audio
snd_timer              19698  1 snd_pcm
snd                    47943  6 snd_hwdep,snd_usb_audio,snd_timer,snd_rawmidi,snd_usbmidi_lib,snd_pcm
soundcore                922  1 snd
sun4i_ss               16066  0
cpufreq_dt              3432  0
thermal_sys            59134  2 sun4i_ts,cpufreq_dt
uio_pdrv_genirq         3164  0
uio                     8000  1 uio_pdrv_genirq
bonding               105334  0
brcmfmac              186006  0
brcmutil                5661  1 brcmfmac
cfg80211              434524  1 brcmfmac
rfkill                 10687  3 cfg80211
realtek                 2775  0

Viewing all articles
Browse latest Browse all 486

Trending Articles