[Bug 1870837] Re: hcitool lescan says 'Set scan parameters failed: Input/output error'

2020-04-09 Thread mm
So, my fault: It IS actually a kernel issue. I didn't install linux- modules-extra-4.15.0-96-generic package when trying out Ubuntu 18.04 stock kernel on Ubuntu 20.04. After installing this package hcitool lescan works flawlessly... ** Package changed: bluez (Ubuntu) => kernel-package (Ubuntu)

[Bug 1870837] Re: hcitool lescan says 'Set scan parameters failed: Input/output error'

2020-04-07 Thread mm
Bluetoothctl and blueman are both using LE Extended commands and are therefor working I think. (btw: I would edit my comments if I could ...) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1870837

[Bug 1870837] Re: hcitool lescan says 'Set scan parameters failed: Input/output error'

2020-04-07 Thread mm
It seems to me that the "normal" LE commands are broken and only the LE Extended commands are working? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1870837 Title: hcitool lescan says 'Set scan

[Bug 1870837] Re: hcitool lescan says 'Set scan parameters failed: Input/output error'

2020-04-07 Thread mm
After some time I am back to: hcitool lescan Set scan parameters failed: Input/output error Issuing hcitool cmd 0x03 0x0003 < HCI Command: ogf 0x03, ocf 0x0003, plen 0 > HCI Event: 0x0e plen 4 02 03 0C 00 helps again, but I still can't find any BLE devices with hcitool lescan. Nevertheless

[Bug 1870837] Re: hcitool lescan says 'Set scan parameters failed: Input/output error'

2020-04-07 Thread mm
Executing "hcitool cmd 0x03 0x0003" made the error with hcitool disappear: hcitool lescan LE Scan ... But hcitool does not seem to work as I can't find any ble devices. btmon output after executing "hcitool cmd 0x03 0x0003 and hcitool lescan: > HCI Event: Command Complete (0x0e) plen 4

[Bug 1870837] Re: hcitool lescan says 'Set scan parameters failed: Input/output error'

2020-04-07 Thread mm
Installed blueman for testing purpose (wasn't installed before): it is allowed to perform these commands: @ RAW Open: blueman-manager (privileged) version 2.22 {0x0004} 20:43:17.578682 @ RAW Close:

[Bug 1870837] Re: hcitool lescan says 'Set scan parameters failed: Input/output error'

2020-04-07 Thread mm
After some more investigation I found out that the software I am using is NOT using hcitool. It really seems to be another problem since the custom software and the hcitool lescan command are throwing the same error observed with btmon: @ RAW Close: hcitool

[Bug 1870837] Re: hcitool lescan says 'Set scan parameters failed: Input/output error'

2020-04-06 Thread Daniel van Vugt
Hmm, I think comment #21 got it right. hcitool has not been supported for years. Arguably we shouldn't be shipping it. But nobody is going to maintain it as far as I can tell. ** Changed in: bluez (Ubuntu) Status: New => Won't Fix -- You received this bug notification because you are a

[Bug 1870837] Re: hcitool lescan says 'Set scan parameters failed: Input/output error'

2020-04-06 Thread mm
I also think it's not a kernel issue since bluetoothctl is working and able to find Bluetooth low energy devices. Bluez Ubuntu 18.04 version with latest focal kernel also results in: hcitool lescan Set scan parameters failed: Input/output error -- You received this bug notification because you

[Bug 1870837] Re: hcitool lescan says 'Set scan parameters failed: Input/output error'

2020-04-06 Thread mm
On 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 even with up to date focal bluez version the bluetooth device isn't recognized: dmesg | grep Bluetooth = empty output The backup usb bluetooth dongle also doesn't work with this

[Bug 1870837] Re: hcitool lescan says 'Set scan parameters failed: Input/output error'

2020-04-06 Thread You-Sheng Yang
https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=b1eb2c4cd057624312e0412f6c4be000f7fc3617 These legacy tools has been marked deprecated since 2017. You should try migrating to bluetoothctl instead. ** No longer affects: linux (Ubuntu) -- You received this bug notification because

[Bug 1870837] Re: hcitool lescan says 'Set scan parameters failed: Input/output error'

2020-04-06 Thread You-Sheng Yang
Not a kernel issue. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1870837 Title: hcitool lescan says 'Set scan parameters failed: Input/output error' To manage notifications about this bug go to:

[Bug 1870837] Re: hcitool lescan says 'Set scan parameters failed: Input/output error'

2020-04-06 Thread mm
With current Ubuntu 18.04 installed on focal and the current bluez v5.48 (current Ubuntu 18.04 version): I get the following error: root@xxx:~# 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 Could not

[Bug 1870837] Re: hcitool lescan says 'Set scan parameters failed: Input/output error'

2020-04-06 Thread mm
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 Linux xxx 4.15.18-041518-generic #201804190330

[Bug 1870837] Re: hcitool lescan says 'Set scan parameters failed: Input/output error'

2020-04-06 Thread mm
** Attachment added: "CurrentDmesg.txt" https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1870837/+attachment/5347865/+files/CurrentDmesg.txt ** Attachment removed: "CurrentDmesg.txt"

[Bug 1870837] Re: hcitool lescan says 'Set scan parameters failed: Input/output error'

2020-04-06 Thread mm
** Attachment added: "syslog.txt" https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1870837/+attachment/5347863/+files/syslog.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1870837 Title:

[Bug 1870837] Re: hcitool lescan says 'Set scan parameters failed: Input/output error'

2020-04-06 Thread mm
apport information ** Tags added: apport-collected ** Description changed: Hi, after some testing with Ubuntu 20.04 beta I couldn't get hcitool lescan working. I get the following error: hcitool lescan Set scan parameters failed: Input/output error Bluetooth hardware: