Jump to content

Recommended Posts

Posted

Hello,
Recently I found that audio stopped working on my Banana. Last time (3 months ago) I was using shairport to stream audio over LAN and all was working just fine. 
Now I see that somehow information about audio card was removed:

root@bananapi:~# alsamixer
cannot open mixer: No such file or directory

root@bananapi:~# cat /etc/asound.conf
cat: /etc/asound.conf: No such file or directory


I already try apt-get update && apt-get upgrade && apt-get dist-upgrade. My system information:

root@bananapi:~# uname -a
Linux bananapi 4.9.12-sunxi #4 SMP Thu Feb 23 19:46:51 CET 2017 armv7l GNU/Linux


root@bananapi:~# lsmod
Module                  Size  Used by
dm_mod                 75191  0
md_mod                 86434  0
realtek                 2583  0


root@bananapi:~# cd /boot/
root@bananapi:/boot# ls
armbianEnv.txt  boot.bmp  boot.scr             dtb               dtb.old                  script.bin               uInitrd               vmlinuz-4.11.6-sunxi
bin.old         boot.cmd  config-4.11.6-sunxi  dtb-4.11.6-sunxi  initrd.img-4.11.6-sunxi  System.map-4.11.6-sunxi  uInitrd-4.11.6-sunxi  zImage


root@bananapi:~# dpkg-query -l 'linux*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                              Version               Architecture          Description
+++-=================================-=====================-=====================-========================================================================
ii  linux-base                        3.5                   all                   Linux image base package
ii  linux-dtb-next-sunxi              5.32                  armhf                 Linux DTB, version 4.11.6-sunxi
un  linux-firmware                    <none>                <none>                (no description available)
un  linux-firmware-image-next-sunxi   <none>                <none>                (no description available)
un  linux-headers                     <none>                <none>                (no description available)
un  linux-headers-686-pae             <none>                <none>                (no description available)
un  linux-headers-amd64               <none>                <none>                (no description available)
un  linux-headers-generic             <none>                <none>                (no description available)
ii  linux-headers-next-sunxi          5.32                  armhf                 Linux kernel headers for 4.11.6-sunxi on armhf
un  linux-image                       <none>                <none>                (no description available)
un  linux-image-2.6                   <none>                <none>                (no description available)
ii  linux-image-next-sunxi            5.32                  armhf                 Linux kernel, version 4.11.6-sunxi
un  linux-initramfs-tool              <none>                <none>                (no description available)
ii  linux-jessie-root-next-bananapi   5.31                  armhf                 Armbian tweaks for jessie on bananapi (next branch)
un  linux-kernel-headers              <none>                <none>                (no description available)
un  linux-kernel-log-daemon           <none>                <none>                (no description available)
ii  linux-libc-dev:armhf              3.16.43-2+deb8u5      armhf                 Linux support headers for userspace development
un  linux-modules-4.11.6-sunxi        <none>                <none>                (no description available)
ii  linux-u-boot-bananapi-next        5.31                  armhf                 Uboot loader 2017.05

 

Posted

Try this. Switch to beta, update and enable audio codec (armbian-config -> system -> hardware configuration)


Note that switching to beta repository might break the system - its untested area.

Posted

Switching to beta was successfull, but during entering 'hardware configuration' I get errors from grep (Try 'grep --help' for more information) and afer that window with enable/disable is empty (see atachement).  Any idea why this happens?

errors.png

Posted
44 minutes ago, Archont said:

Any idea why this happens?


Probably some armbian-config dependencies must be missing but IIRC you need to start with a new image because overlays need also new boot script. We plan to rebuild images for A10/A20 next week. There this should work and if not, we will try to resolve the problem. Wait.

Posted

It shouldn't be related to overlays - BPi has analog sound enabled for almost 2 years. What strange is that /boot lists kernel 4.11, uname -r lists kernel 4.9 and lsmod output is too empty - there should be a lot more modules loaded. It could be the result of a broken SATA/USB installation or apt upgrade.

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines