Hello,
we have to implement a DietPi Linux on an elder available hardware platform (NanoPi neo) including a D52MD2M8IA for bluetooth.
The module is wired to UART1 of the Nano Pi which we enabled. The power pin was also set and the tty attached, see below.
echo "203" > /sys/class/gpio/unexport 2> /dev/null || true
echo "203" > /sys/class/gpio/export
echo "out" > /sys/class/gpio/gpio203/direction
echo "0" > /sys/class/gpio/gpio203/value
echo "1" > /sys/class/gpio/gpio203/value # This sets power to ON
/usr/bin/btattach -B /dev/ttyS1 -S 115200
Bluetooth service is running but trying to use the D52MD2M8IA module we get:
[email protected]:/lib/systemd/system# bluetoothctl
Agent registered
[bluetooth]# power on
No default controller available
[bluetooth]#
Any hints how the module might be enabled?
After trying a lot we are now pretty desperate and run out of ideas on how to get it to work.
We would be very grateful for any help.
best dr. C.-W. Oehlrich