I ran ./start_edison_bluez5 , and the connection with the controller worked fine. However, the Edison restarted within a few seconds of the connection being made. This has been a repeat issue with me.
Here is the code for ./start_edsion_bluez5:
#!/bin/sh -erfkill block bluetooth &killall demo &sleep 2./demo &sleep 2rfkill unblock bluetooth &
Here's what my result looks like after ./start_edison_bluez5:
[ 1288.930920] Bluetooth: Frame Reassembly Failed
killall: demo: no process killed
Bluetooth HID daemon
joymixer started.
Starting PS3 l2cap server.
Sitting = 9012, Squating = 22, Standing = 65
Robot is Ready
Unmounting /home...
Unmounting /boot...
[ OK ] Stopped target Sound Card.
[ OK ] Removed slice system-systemd\x2dfsck.slice.
Stopping Daemon to receive the wpa_supplicant event...
Stopping Hostname Service...
Stopping Daemon to receive the wpa_supplicant event...
Stopping Bluetooth service...
[ OK ] Stopped target Multi-User System.
Stopping Edison PWR button handler...
Stopping The Edison status and configuration service...
Unmounting Mount for factory...
Stopping Avahi mDNS/DNS-SD Stack...
root@localhost:~/HROS1-Framework/Linux/project/ps3_demo# Stopping Intel_XDK_Daemon...
Stopping Weaved-HTTP...
Stopping WPA supplicant service...
Stopping Bluetooth rf kill event daemon...
Stopping PulseAudio Sound System...
Stopping Weaved-SSH...
Stopping Daemon to handle arduino sketches...
Stopping Mosquitto - lightweight server implementati...SN protocols...
Stopping Network Name Resolution...
[ OK ] Stopped target Login Prompts.
Stopping Serial Getty on ttyMFD2...
Stopping Getty on tty1...
Stopping D-Bus System Message Bus...
Stopping Login Service...
Stopping Watchdog sample daemon...
Starting Store Sound Card State...
[ OK ] Stopped Edison PWR button handler.
[ OK ] Stopped Avahi mDNS/DNS-SD Stack.
[ OK ] Stopped Bluetooth rf kill event daemon.
[ OK ] Stopped Daemon to handle arduino sketches.
[ OK ] Stopped D-Bus System Message Bus.
[ OK ] Stopped Login Service.
[ OK ] Stopped Watchdog sample daemon.
[ OK ] Stopped Bluetooth service.
[ OK ] Stopped Serial Getty on ttyMFD2.
[ OK ] Stopped Getty on tty1.
[ OK ] Stopped Intel_XDK_Daemon.
[ OK ] Stopped Network Name Resolution.
[ OK ] Stopped Mosquitto - lightweight server implementatio...T-SN protocols.
[ OK ] Stopped Hostname Service.
[ OK ] Stopped The Edison status and configuration service.
[ OK ] Stopped PulseAudio Sound System.
[ OK ] Failed unmounting /home.
[ OK ] Unmounted /boot.
[ OK ] Unmounted Mount for factory.
[ OK ] Started Store Sound Card State.
[ OK ] Stopped Weaved-HTTP.
[ OK ] Stopped Weaved-SSH.
Stopping Zero-configuration networking...
[ OK ] Removed slice system-getty.slice.
[ OK ] Removed slice system-serial\x2dgetty.slice.
Stopping Permit User Sessions...
[ OK ] Stopped Permit User Sessions.
[ OK ] Stopped target Remote File Systems.
[ OK ] Stopped Daemon to receive the wpa_supplicant event.
[ OK ] Stopped Daemon to receive the wpa_supplicant event.
[ OK ] Stopped Daemon to receive the wpa_supplicant event.
[ OK ] Stopped WPA supplicant service.
[ OK ] Stopped Zero-configuration networking.
[ OK ] Stopped target Basic System.
[ OK ] Stopped target Slices.
[ OK ] Removed slice User and Session Slice.
[ OK ] Stopped target Paths.
[ OK ] Stopped target Timers.
[ OK ] Stopped target Sockets.
[ OK ] Closed sshd.socket.
[ OK ] Closed Avahi mDNS/DNS-SD Stack Activation Socket.
[ OK ] Closed D-Bus System Message Bus Socket.
[ OK ] Stopped target System Initialization.
Stopping Load/Save RF Kill Switch Status of rfkill3...
Stopping Load/Save RF Kill Switch Status of rfkill2...
Stopping Load/Save RF Kill Switch Status of rfkill1...
Stopping Load/Save RF Kill Switch Status of rfkill0...
Stopping Network Time Synchronization...
Stopping Apply Kernel Variables...
[ OK ] Stopped Apply Kernel Variables.
Stopping Load/Save Random Seed...
Stopping Load Kernel Modules...
[ OK ] Stopped Load Kernel Modules.
Stopping Update UTMP about System Boot/Shutdown...
[ OK ] Stopped target Swap.
[ OK ] Stopped target Network.
[ OK ] Stopped Network Time Synchronization.
[ OK ] Stopped Load/Save RF Kill Switch Status of rfkill3.
[ OK ] Stopped Load/Save RF Kill Switch Status of rfkill2.
[ OK ] Stopped Load/Save RF Kill Switch Status of rfkill1.
[ OK ] Stopped Load/Save RF Kill Switch Status of rfkill0.
[ OK ] Stopped Load/Save Random Seed.
[ OK ] Stopped Update UTMP about System Boot/Shutdown.
[ OK ] Removed slice system-systemd\x2drfkill.slice.
Stopping Create Volatile Files and Directories...
[ OK ] Stopped Create Volatile Files and Directories.
[ OK ] Stopped target Local File Systems.
[ OK ] Unset automount home.automount.
[ OK ] Unset automount boot.automount.
Unmounting /var/volatile...
Unmounting Temporary Directory...
[ OK ] Unmounted /var/volatile.
[ OK ] Unmounted Temporary Directory.
[ OK ] Reached target Unmount All Filesystems.
[ OK ] Stopped target Local File Systems (Pre).
Stopping Remount Root and Kernel File Systems...
[ OK ] Stopped Remount Root and Kernel File Systems.
[ OK ] Reached target Shutdown.
I'm not sure exactly where the issue is, and I would love some pointers or help. Thanks!
I ran ./start_edison_bluez5 , and the connection with the controller worked fine. However, the Edison restarted within a few seconds of the connection being made. This has been a repeat issue with me.
Here is the code for ./start_edsion_bluez5:
#!/bin/sh -e
rfkill block bluetooth &
killall demo &
sleep 2
./demo &
sleep 2
rfkill unblock bluetooth &
Here's what my result looks like after ./start_edison_bluez5:
[ 1288.930920] Bluetooth: Frame Reassembly Failed killall: demo: no process killed Bluetooth HID daemon joymixer started. Starting PS3 l2cap server. Sitting = 9012, Squating = 22, Standing = 65 Robot is Ready Unmounting /home... Unmounting /boot... [ OK ] Stopped target Sound Card. [ OK ] Removed slice system-systemd\x2dfsck.slice. Stopping Daemon to receive the wpa_supplicant event... Stopping Hostname Service... Stopping Daemon to receive the wpa_supplicant event... Stopping Bluetooth service... [ OK ] Stopped target Multi-User System. Stopping Edison PWR button handler... Stopping The Edison status and configuration service... Unmounting Mount for factory... Stopping Avahi mDNS/DNS-SD Stack... root@localhost:~/HROS1-Framework/Linux/project/ps3_demo# Stopping Intel_XDK_Daemon... Stopping Weaved-HTTP... Stopping WPA supplicant service... Stopping Bluetooth rf kill event daemon... Stopping PulseAudio Sound System... Stopping Weaved-SSH... Stopping Daemon to handle arduino sketches... Stopping Mosquitto - lightweight server implementati...SN protocols... Stopping Network Name Resolution... [ OK ] Stopped target Login Prompts. Stopping Serial Getty on ttyMFD2... Stopping Getty on tty1... Stopping D-Bus System Message Bus... Stopping Login Service... Stopping Watchdog sample daemon... Starting Store Sound Card State... [ OK ] Stopped Edison PWR button handler. [ OK ] Stopped Avahi mDNS/DNS-SD Stack. [ OK ] Stopped Bluetooth rf kill event daemon. [ OK ] Stopped Daemon to handle arduino sketches. [ OK ] Stopped D-Bus System Message Bus. [ OK ] Stopped Login Service. [ OK ] Stopped Watchdog sample daemon. [ OK ] Stopped Bluetooth service. [ OK ] Stopped Serial Getty on ttyMFD2. [ OK ] Stopped Getty on tty1. [ OK ] Stopped Intel_XDK_Daemon. [ OK ] Stopped Network Name Resolution. [ OK ] Stopped Mosquitto - lightweight server implementatio...T-SN protocols. [ OK ] Stopped Hostname Service. [ OK ] Stopped The Edison status and configuration service. [ OK ] Stopped PulseAudio Sound System. [ OK ] Failed unmounting /home. [ OK ] Unmounted /boot. [ OK ] Unmounted Mount for factory. [ OK ] Started Store Sound Card State. [ OK ] Stopped Weaved-HTTP. [ OK ] Stopped Weaved-SSH. Stopping Zero-configuration networking... [ OK ] Removed slice system-getty.slice. [ OK ] Removed slice system-serial\x2dgetty.slice. Stopping Permit User Sessions... [ OK ] Stopped Permit User Sessions. [ OK ] Stopped target Remote File Systems. [ OK ] Stopped Daemon to receive the wpa_supplicant event. [ OK ] Stopped Daemon to receive the wpa_supplicant event. [ OK ] Stopped Daemon to receive the wpa_supplicant event. [ OK ] Stopped WPA supplicant service. [ OK ] Stopped Zero-configuration networking. [ OK ] Stopped target Basic System. [ OK ] Stopped target Slices. [ OK ] Removed slice User and Session Slice. [ OK ] Stopped target Paths. [ OK ] Stopped target Timers. [ OK ] Stopped target Sockets. [ OK ] Closed sshd.socket. [ OK ] Closed Avahi mDNS/DNS-SD Stack Activation Socket. [ OK ] Closed D-Bus System Message Bus Socket. [ OK ] Stopped target System Initialization. Stopping Load/Save RF Kill Switch Status of rfkill3... Stopping Load/Save RF Kill Switch Status of rfkill2... Stopping Load/Save RF Kill Switch Status of rfkill1... Stopping Load/Save RF Kill Switch Status of rfkill0... Stopping Network Time Synchronization... Stopping Apply Kernel Variables... [ OK ] Stopped Apply Kernel Variables. Stopping Load/Save Random Seed... Stopping Load Kernel Modules... [ OK ] Stopped Load Kernel Modules. Stopping Update UTMP about System Boot/Shutdown... [ OK ] Stopped target Swap. [ OK ] Stopped target Network. [ OK ] Stopped Network Time Synchronization. [ OK ] Stopped Load/Save RF Kill Switch Status of rfkill3. [ OK ] Stopped Load/Save RF Kill Switch Status of rfkill2. [ OK ] Stopped Load/Save RF Kill Switch Status of rfkill1. [ OK ] Stopped Load/Save RF Kill Switch Status of rfkill0. [ OK ] Stopped Load/Save Random Seed. [ OK ] Stopped Update UTMP about System Boot/Shutdown. [ OK ] Removed slice system-systemd\x2drfkill.slice. Stopping Create Volatile Files and Directories... [ OK ] Stopped Create Volatile Files and Directories. [ OK ] Stopped target Local File Systems. [ OK ] Unset automount home.automount. [ OK ] Unset automount boot.automount. Unmounting /var/volatile... Unmounting Temporary Directory... [ OK ] Unmounted /var/volatile. [ OK ] Unmounted Temporary Directory. [ OK ] Reached target Unmount All Filesystems. [ OK ] Stopped target Local File Systems (Pre). Stopping Remount Root and Kernel File Systems... [ OK ] Stopped Remount Root and Kernel File Systems. [ OK ] Reached target Shutdown.
I'm not sure exactly where the issue is, and I would love some pointers or help. Thanks!