Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$ sudo hcitool lescan - Input/Output error #148

Open
PeterKawa opened this issue Oct 13, 2021 · 2 comments
Open

$ sudo hcitool lescan - Input/Output error #148

PeterKawa opened this issue Oct 13, 2021 · 2 comments

Comments

@PeterKawa
Copy link

PeterKawa commented Oct 13, 2021

Hi Thom,
Thanks for this neat tool!!
It works like a charm i.c.m. Homey.

Just FYI, one thingy I ran into:
$ sudo hcitool lescan results in Set scan parameters failed: Input/output error
but
$ bluetoothctl scan on works OK

( From config.ini and Readme.md):
# Scan for sensors from the command line with:
# $ sudo hcitool lescan

Cheers, Peter

System: Kernel: 5.4.0-88-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Cinnamon 5.0.5 wm: muffin dm: LightDM Distro: Linux Mint 20.2 Uma base: Ubuntu 20.04 focal -Bluetooth: Device-2: 2-1.4:4 info: Cambridge Silicon Radio Bluetooth Dongle (HCI mode) type: Bluetooth driver: btusb rev: 2.0 chip ID: 0a12:0001

@PeterKawa PeterKawa changed the title '$ sudo hcitool lescan' does not work $ sudo hcitool lescan does not work Oct 13, 2021
@PeterKawa PeterKawa changed the title $ sudo hcitool lescan does not work $ sudo hcitool lescan - Input/Output error Oct 13, 2021
@ThomDietrich
Copy link
Owner

Hey, are you saying the command bluetoothctl scan on produces the list of found devices? Best!

@PeterKawa
Copy link
Author

It finds one Samsung TV (from my neighbours probably), but no Ble devices.
I predefined my Ble devices by MAC, so it looked like it worked, but no data was received.
Laptop is 10yrs old, maybe the internal BT device can't handle Ble?.
Do you know how to discover this?
Hope this kind of helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants