02-20-2015 01:33 AM
I am trying to use Cirago Bluetooth 4.0 USB dongle connected to MyRIO to commuincate with BT enabled sensors directly from MyRIO.
NI Linux RT was properly detecting this device until I formated MyRIO and updated its firmware from 1.0.0f1 to 2.0.0f0.
For some reason, the new kernel version is missing the bluetooth drivers located at: \lib\modules\3.2.35-rt52-1.0.0f1\updates\drivers\bluetooth
(\updates folder does not exit on the new 3.2.35-rt52-2.0.0f0 kernel)
How can I install back these missing bluetooth drivers? Why were these drivers lost after formating myRio and installing the new firmware?
02-20-2015 09:34 AM
liejf,
The base image in 2013 did not include the updates folder, as I recall. Did someone setup this target before handing it to you?
After a bit more investigation, I found where those were coming from. I'll forward this question along to the guys who worked on the component that brought in the updates folder
02-20-2015 09:18 PM
Thank you BradM,
Notice that nobody setup this target before handling it to me. This was the original configuration it came with.
Why the updates folder is not included as part of the new firmware version? (i.e. Kernel 3.2.35-rt52-2.0.0f0) How can they be added to this new Kernel? Or how can I go back to the original Kernel and recover these drivers?
02-22-2015 10:38 PM
As I corrected myself above, I found the reason that the "updates" folder exists in the MyRIO case for the kernel modules. It is due to the system for the 802.11 wireless drivers in the 2013 release. The fact that bluetooth modules were included was not intended, largely since there's a lack of support for the bluetooth pallette for LabVIEW RT.
If I were in your position, I suppose my next move would greatly depend on how comfortable I am with working with the kernel. You can either build the needed kernel module(s) on the device itself (takes a bit of work and some trial and error) or attempt to rebuild the kernel with a changed configuration to pull in the modules that you want (again, requires a bit or work and some trial and error).
02-28-2015 05:48 AM
Thank you BradM,
Can you point me to some reference documents that describe how to build these kernel modules, or how to rebuild the kernel with changed configuration?
Also, after playing with my BT USB dongle inserted to MyRio USB port: after installing Python-core package and trying to run a simple-agent python script to pair BT dongle with my PC, I can't communicate with MyRio after rebooting it:
Status led keeps blinking ~ two times every few seconds, and it can't connect to NI MAX.
How can I re-image MyRio to bring it back to a good state, if it can't connect with NI MAX?
03-01-2015 08:57 PM
I put together some documentation describing how to work with the kernel source here:
07-23-2018 02:53 PM
I put together some documentation describing how to work with the kernel source here:
https://github.com/ni/nilrt/blob/master/KERNEL_SOURCE.txt
It would be really good to have a fully automated deployment of an reliable, fully reproducable build environment (eg. ptxdist-based):
https://forums.ni.com/t5/Additional-NI-Software-Idea/cRIO-image-development-kit/idc-p/3819979