Hello,
Our customer is testing Sierra FX30 LTE Cat-1 device with Talon’s WiFi/Bluetooth mirage card. However, they are getting error “sh: write error: Device or resource busy” when they run a script on FX30 device for Bluetooth. Please review the script log below:
Here is debug listing of this script
root@fx30:~# sh -x ./init-Mirage-WiFi-BT-IoT.sh
-
modprobe wlcore_sdio.ko
-
modprobe wlcore.ko
-
modprobe wl18xx.ko
-
modprobe hci_uart
-
modprobe bluetooth
-
modprobe rfcomm
-
modprobe hidp
-
modprobe bnep
-
[ ! -d “/sys/class/gpio33” ]
-
echo 33
-
echo out
-
echo 1
-
sleep 1
-
[ ! -d “/sys/class/gpio/gpio13” ]
-
echo 13
-
echo out
-
echo 1
-
sleep 1
-
[ ! -d “/sys/class/gpio/gpio8” ]
-
echo 8
sh: write error: Device or resource busy
./init-Mirage-WiFi-BT-IoT.sh: line 39: can’t create /sys/class/gpio/gpio8/direction: nonexistent directory -
echo out
./init-Mirage-WiFi-BT-IoT.sh: line 40: can’t create /sys/class/gpio/gpio8/value: nonexistent directory -
echo 1
-
sleep 1
-
echo Mirage Wi-Fi BT IoT Card init complte
Mirage Wi-Fi BT IoT Card init complte
As you can see here export fail to create gpio8 directory
root@fx30:~# echo 8 > /sys/class/gpio/export
sh: write error: Device or resource busy
and then you can’t configure it as output and assign value
Any suggestion/advise to get them going?
Thanks