redchenjs / mt762x-wm8960

MT762X WM8960 ALSA SoC machine driver
GNU General Public License v2.0
27 stars 22 forks source link

Madplay error #9

Closed funful closed 1 year ago

funful commented 3 years ago

Hi Jack Chen I have a problem.

root@OpenWrt:~#
root@OpenWrt:~#
root@OpenWrt:~# cd /root/
root@OpenWrt:~# madplay gamestartup.mp3
MPEG Audio Decoder 0.15.2 (beta) - Copyright (C) 2000-2004 Robert Leslie et al.
ALSA lib pcm_hw.c:1829:(_snd_pcm_hw_open) Invalid value for card
audio: No such file or directory
root@OpenWrt:~#
root@OpenWrt:~#
root@OpenWrt:~#
redchenjs commented 3 years ago

Hi @funful,

Which OpenWrt / Kernel version are you using? madplay works fine on my LinkIt Smart 7688 board with OpenWrt r16595 / Kernel 5.4.113

redchenjs commented 3 years ago

Please note that the master branch and the linux-5.4 branch have different dts files, they are not compatible.

funful commented 3 years ago

OK, let me try again. I'm using Kernel 5.4.113. Device type 7628

funful commented 3 years ago

Hi, @redchenjs Which Openwrt version can I use?

redchenjs commented 3 years ago

You can use openwrt-21.02 or master branch, example dts files: linux-5.4/examples