Linux xxx 5.3.18-050318-generic #201912181133 SMP Wed Dec 18 16:36:09 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
root@xxx:~# hcitool lescan
Set scan parameters failed: Input/output error
root@xxx:~# uname -a
Linux xxx 4.15.18-041518-generic #201804190330 SMP Thu Apr 19 07:34:21 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
root@xxx:~# hcitool lescan
Set scan parameters failed: Input/output error
5.3. since it is Ubuntu 19.10's kernel; 4.15 since it is Ubuntu 18.04's kernel.
With both of them it didn't work. Thats strange since hcitool lescan did work on the same machine with Ubuntu 18.04 and the 4.15 kernel.
On another machine with Ubuntu 18.04 hcitool lescan works:
uname -a
Linux xxx 4.15.0-88-generic #88-Ubuntu SMP Tue Feb 11 20:11:34 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
root@xxx:~# hcitool lescan
LE Scan ...
6E:82:1E:5F:xx:xx (unknown)
...
I tested the following mainline kernels:
Linux xxx 5.3.18- 050318- generic #201912181133 SMP Wed Dec 18 16:36:09 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
root@xxx:~# hcitool lescan
Set scan parameters failed: Input/output error
root@xxx:~# uname -a 041518- generic #201804190330 SMP Thu Apr 19 07:34:21 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Linux xxx 4.15.18-
root@xxx:~# hcitool lescan
Set scan parameters failed: Input/output error
5.3. since it is Ubuntu 19.10's kernel; 4.15 since it is Ubuntu 18.04's kernel.
With both of them it didn't work. Thats strange since hcitool lescan did work on the same machine with Ubuntu 18.04 and the 4.15 kernel.
On another machine with Ubuntu 18.04 hcitool lescan works:
uname -a
Linux xxx 4.15.0-88-generic #88-Ubuntu SMP Tue Feb 11 20:11:34 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
root@xxx:~# hcitool lescan
LE Scan ...
6E:82:1E:5F:xx:xx (unknown)
...
So I think it is not kernel related ...