
#Soundmate m2 code
I prepared source code for release and I'll try to upload it to GitHub soon. I'm using latest OpenWrt snapshop so I compiled modules for kernel 4.4.14.
#Soundmate m2 driver
This way I didn't need to write my own codec driver but I could use existing WM8904 codec kernel driver.Īfter few small changes in codec driver everything works perfectly, including mixer, volume control, equalizer (using alsamixer).
#Soundmate m2 how to
Some time ago I just found a way how to use i2c over gpio kernel driver which allows kernel drivers to communicate with audio codec connected to GPIO pins. New version (support wolfson jack ouput) : Old : 1rst version of the driver: (support only optical output) Then push this kernel modules to device and load them in order:
#Soundmate m2 install
They are some Prerequisite, first install these packages: OK now we can install drivers from SebastianFM Mtd -r write openwrt-15.05.1-ar71xx-generic-tl-wr703n-v1-squashfs-factory.bin firmware Once you have successfuly compiled the firmware, you should have something like : "openwrt-15.05.1-ar71xx-generic-tl-wr703n-v1-squashfs-factory.bin"Ĭopy it on USB key, then with telnet commands : /tmp/mnt/USB-disk-a1/Ĭp openwrt-15.05.1-ar71xx-generic-tl-wr703n-v1-squashfs-factory.bin /tmp/ $(Device/tplink-4mlzma) by $(Device/tplink-8mlzma) Then search for define Device/tl-wr703n-v1 and replace this line : Or target/linux/ar71xx/image/tp-link.mk on imagebuilder from trunk) , Open : target/linux/ar71xx/image/Makefile It doesn't work because the firmware of the TLWR703 is normally 4MB while the firmware of the M2 should be 8MB. You could have a problem of firmware file size. Make image PROFILE=TLWR703 PACKAGES="-ppp -ppp-mod-pppoe block-mount kmod-usb-storage kmod-scsi-core kmod-crypto-hash kmod-lib-crc16 kmod-fs-ext4 liblua libuci-lua rpcd luci-lib-ip libiwinfo libiwinfo-lua luci-theme-bootstrap -luci-app-firewall lua luci-proto-ppp libubus-lua luci-mod-admin-full luci-lib-nixio luci-base luci-proto-ipv6 uhttpd luci uhttpd-mod-ubus kmod-usb-audio kmod-i2c-core kmod-sound-soc-core alsa-lib alsa-utils kmod-sound-core kmod-ac97 kmod-sound-core kmod-input-core kmod-lib-lzo kmod-regmap libncurses terminfo libpthread librt " FILES="files" -j1 V=s To launch compilation you can run this command line (inspired from this post) : You need to remove 'option disabled 1' (from lib/wifi/mac80211.sh) So we include a new subfolder on the root build which will include lib/wifi/mac80211.sh and inside : Or this one more recent but not compiled : In the past I have use an VMware ubuntu 16.04 圆4


This contains some technical details but pre-compiled image for soundmate M2 is given at the end of this post.īefore starting backup your device partitions :įor information the place to find the in uboot :Ĭat /dev/mtd0 > /tmp/mnt/USB-disk-a1/openWRT/backup/u-bootĬat /dev/mtd1 > /tmp/mnt/USB-disk-a1/openWRT/backup/kernelĬat /dev/mtd2 > /tmp/mnt/USB-disk-a1/openWRT/backup/rootfsĬat /dev/mtd3 > /tmp/mnt/USB-disk-a1/openWRT/backup/rootfs_dataĬat /dev/mtd4 > /tmp/mnt/USB-disk-a1/openWRT/backup/artĬat /dev/mtd5 > /tmp/mnt/USB-disk-a1/openWRT/backup/firmware These are old note, a little messy but I you look carefully all you need to modify will be here.

The objective of this post is to share files and knowledge about it. SebastianFM has done drivers for these which are shared in this post. These player include dedicated sound chipset (wolfson) and an digital optical output directly managed by the ar9331. These player were very interesting, based on the first version of the linkplay modules, which were "easily" modded thanks to the processor ar9331 which is the same on TP-Link TL-WR703N.

I restart a topic from the old forum about airmusic players :
