i tried running custom script (U2W.sh)
and the output result (U2W.txt)
I think this is the cause of bluetooth and wifi not showing up.
@VLud. can you tell me how to fix it.
#!/bin/sh
if [ -e /usr/sbin/fakeiOSDevice ]; then
cp /usr/sbin/fakeiOSDevice /tmp/
cd /tmp
if [ -e /etc/log_com ]; then
./fakeiOSDevice 2>&1 | tee -a /tmp/userspace.log &
elif [ -e /etc/log_file ]; then
./fakeiOSDevice >> /tmp/userspace.log 2>&1 &
else
./fakeiOSDevice >> /dev/null 2>&1 &
fi
elif [ -e /usr/sbin/ARMadb-driver ]; then
if [ -e /etc/log_com ]; then
ARMadb-driver 2>&1 | tee -a /tmp/userspace.log &
elif [ -e /etc/log_file ]; then
ARMadb-driver >> /tmp/userspace.log 2>&1 &
else
ARMadb-driver >> /dev/null 2>&1 &
fi
fi
if [ -e /usr/sbin/rtk_hciattach ]; then
echo "Start load Bluetooth!!!"
rtk_hciattach -s 115200 ttymxc2 rtk_h5 &
fi
sleep 2
echo "Start Carplay mdnsd!!!"
mdnsd
echo "Start Carplay IAP2&NCM driver!!!"
/script/start_iap2_ncm.sh
echo "Start NCM network"
/script/start_ncm.sh
if [ -e /usr/sbin/boa ]; then
echo "Web Server Service!!!"
mkdir -p /tmp/cgi-bin/ && cp /etc/boa/cgi-bin/* /tmp/cgi-bin/
boa
fi
#auto start wifi after some time for ota upgrade
if [ -e /usr/sbin/fakeiOSDevice ]; then
sleep 10
ifconfig | grep usb0 || /script/start_bluetooth_wifi.sh
fi
exit 0
and the output result (U2W.txt)
Start load Bluetooth!!!
Realtek Bluetooth WARN: OP_H5_SYNC Transmission timeout
Realtek Bluetooth WARN: OP_H5_SYNC Transmission timeout
Realtek Bluetooth WARN: OP_H5_SYNC Transmission timeout
[2020-01-02 00:13:27.75213]Realtek Bluetooth ERROR: Signature 30 0a 00 00 is incorrect
[2020-01-02 00:13:27.81968]Realtek Bluetooth ERROR: Can't set line discipline 22, Invalid argument
[2020-01-02 00:13:27.82125]Realtek Bluetooth ERROR: Can't initialize device 22, Invalid argument
Start Carplay mdnsd!!!
Start Carplay IAP2&NCM driver!!!
Start NCM network
Web Server Service!!!
/script/start_bluetooth_wifi.sh: line 48: can't create /proc/sys/net/ipv6/conf/wlan0/disable_ipv6: nonexistent directory
ifconfig: SIOCSIFADDR: No such device
hostapd start process.....
ioctl(SIOCGIFINDEX): No such device
Configuration file: /etc/hostapd.conf
Could not read interface wlan0 flags: No such device
rtl871xdrv driver initialization failed.
udhcpd start process.....
mdnsd runing.....
I think this is the cause of bluetooth and wifi not showing up.
@VLud. can you tell me how to fix it.