I have strange problem. Any advice?
OS - balbes150’s Armbian (debian, server, kernel 3.14.29)
When Tone Board is connected to the VIM trough USB cable, everything works normal. But when trough GPIO, it is not detected after reboot (shutdown -r now) or even after power on if was executed shutdown command first. If i remove power cable and put it again - the Tone Board appears again.
on my home built (using fenix scripts) ubuntu xenial w/ kernel 4.9.40 :
I plug the toneboard (generic model) on the gpio 40 pins socket,
then I connect the usb-c cable from the VIM1 pro to my laptops’ usb-A port,
I use minicom and a console serial USB cable to see the boot message,
I log in , then…
When you connect Tone Board with 40 PIN GPIO，it didnot need connect USB-C power cable.
Actually,if you plug USB-C with PC and the same time connect tone Board with VIMs，and tone board will swtich to PC sound card.
Guys is this problem exist only with my Tone Board (sample one)?
No meter of the OS and how it is connected (USB or pinout), Tone Board despairing on reboot. And to get it back, i need to disconnect it, boot the device without it, shutdown the device, connect it again and voila … until next reboot.
We had the same issue with our own XMOS and the problem was to do power cycle inside the xmos firmware to clear the previous state and to be able to report himself on reboot again.
Checked the Generic version of the sound card (connect the USB cable to the VIM), the last version Armbian kernel 4.18, it works without problems. When you turn off \ restart VIM sound card automatically activated and works without manual manipulation.
Perhaps the reason is that you have, when connected to the 40-pin connector on the USB contacts (through which the Board is connected to VIM) remains powered. If I’m when I connected the fan to the contacts 5V 40-pin, there is always power after the primary power.
Thanks balbes150, but my issue exist even I connect the TB to nanopi trough usb cable for example or to my Nvidia shield as well. I have order new Tone Board and will test with it because my existing is a preproduction sample.
I hope everything will be okay, so finally I will able to push TB to BG market
Just for info: my (long due) tests with a Khadas VIM board (using balbes150’s 3.14.79 kernel).
At first I was very disappointed, but quickly found out why and was able to use a workaround as shown below.
There are some issues with the VIM image/kernel and usb ports you need to be aware of.
At startup the Tone board will not be recognised/ initialised properly, therefore only show as a 12M (USB 1.1) device.
Hence audio support only reaches up to 96kHz, see /proc/asound/card/stream0
It does not make a difference whether the board is connected as a HAT or connected via usb-c.
When connected to a usb-c port, disconnect and re-connect, then the board will reach its full potential as a UAC2 device.
When connected as a HAT, you can do the same. After startup, shortly connect the Toneboard via usb-c (which will cause the board to switch) and disconnect (switches the board back to the GPIO usb port)…
This also resets the usb connection to the proper speed.
Thanks for the info! This is exactly what i do actually meny month till now. USB must be reset in reboot or by unplug/plug the TB
I found that the guys on Volumio forum discovered the problem as well and work around is exactly the same steps to get it working properly. … but this is annoying
I still use 3 tone boards in my own setup but not with VIM anymore.