Bug #12
closed
Can't get data from BLE sensor
Added by Emmanuel Jubera [SAFT] over 2 years ago.
Updated almost 2 years ago.
Assignee:
Valentin LEFEBVRE [IoT.bzh]
Hardware platform:
Solidrun (aarch64)
OS Affects Version/s:
arz-1.0
OS Fix Version/s:
arz-1.0.1
Description
When using the iPad in order to monitor the battery, no data from the BLE sensor get displayed.
Some bluetooth related errors can be found in the system log:
bluetoothd[375]: Failed to open RFKILL control device
bluetoothd[375]: Unable to open adapter storage directory: /var/lib/bluetooth/48:EB:62:C6:26:B5
"rfkill" command in poc-service script fails the same way and the reason seems to be that file /dev/rfkill doesn't exist.
I tried to reinstall the package providing "rfkill" (util-linux) but it didn't create the missing file.
On my openSUSE machine I see there's a driver named "rfkill" which isn't present on the redpesk image, could be the root cause maybe...
- Assignee changed from Vincent Rubiolo to Valentin LEFEBVRE [IoT.bzh]
From what I read on the "rfkill" topic, it seems it can be either a module or an executable. This has to be decided when building the Linux kernel by setting variable CONFIG_RFKILL to either 'm' or 'y'. On the redpesk image I use, /proc/config.gz indicates CONFIG_RFKILL wasn't set at all so I guess setting it to 'y' and rebuilding the kernel should fix the problem.
- Status changed from New to In Progress
Thank for your report and your analyses. Indeed, our new solidrun image has a missing driver. We are adding this one, and we will take the opportunity to integrate the new Solidrun patches which improve the BLE activation on your solidsense board
- Status changed from In Progress to Closed
Emmanuel confirmed today the issue is gone in the latest builds and images.
Closing as a result.
- OS Affects Version/s arz-1.0.0 added
- Target version changed from arz-1.0-update to arz-1.0.1
- OS Affects Version/s arz-1.0 added
- OS Affects Version/s deleted (
arz-1.0.0)
- OS Fix Version/s arz-1.0.1 added
Also available in: Atom
PDF