1 1
choss38

Need help for Banana Pro I2S DAC PCM 5102 on Armbian 5.91

Recommended Posts

Armbianmonitor:

Hi,

 

I know it's a waste of time to play with an old bananapi pro but I think I could do it so I want to do it !

 

I can't make working PCM5102a DAC.

I read a lot of things through different website but noway !

 

I tried https://forum.armbian.com/topic/9009-info-friendlyarm-pcm5102a-hat-with-nanopi-neo-under-mainline-4xx/ .

I've only obtain this next to the step "armbian-add-overlay ./sun8i-h3-I2S-out.dts":

$lsmod|grep i2s
sun4i_i2s              20480  0
snd_soc_core          114688  2 sun4i_codec,sun4i_i2s
snd_pcm                69632  4 sun4i_codec,sun4i_i2s,snd_pcm_dmaengine,snd_soc_core

I tried the next step but nothing more: dmesg|grep -i pcm keep empty.

 

I tried to make a module with this tuto https://hackaday.io/project/162373/instructions with the make command and his model of pcm5102a.c file, nothing more.

I tried too with https://github.com/torvalds/linux/blob/master/sound/soc/codecs/pcm5102a.c

failed !

 aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sun4icodec [sun4i-codec], device 0: CDC PCM Codec-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Anyway ! Where I am wrong ?

Is there a step that I do well ?

Share this post


Link to post
Share on other sites

oh yes, for sure, I modified the sun7i-a20 file, I have adapted the tuto for my Bananapi Pro. Until this step, all is ok.

Share this post


Link to post
Share on other sites
On 8/29/2019 at 8:43 PM, choss38 said:

I've only obtain this next to the step "armbian-add-overlay ./sun8i-h3-I2S-out.dts"

Did you read his updated post for 4.19.y? He mentioned that he had to create some .deb file because of the missing kernel-headers in the new kernel... Worth trying it?

 

Share this post


Link to post
Share on other sites

Hi,

 

thank you for your answer, I try to install 

linux-dtb-next-sunxi_5.96_armhf.deb
linux-headers-next-sunxi_5.96_armhf.deb
linux-image-next-sunxi_5.96_armhf.deb
linux-u-boot-next-bananapipro_5.96_armhf.deb

 

but sadly nothing better.

Not simple...

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
1 1