LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   my laptop does not recognize the blueooth mouse (https://www.linuxquestions.org/questions/linux-hardware-18/my-laptop-does-not-recognize-the-blueooth-mouse-4175647797/)

cicciocant 02-07-2019 03:20 AM

my laptop does not recognize the blueooth mouse
 
Hi to all.
I have a convertible laptop from Acer. THis One.
I Have a Wirele Mouse. This One. It Works both with wireless dongle and with bluetooth.
With dongle all is ok.
With bluetooth:
a) On Windows it works good;
b) ON Android it works good;
c) On linux, various distro (ubuntu, debian, Openasuse, Mint, Majaro, Cromium OS), my PC Doesn't see my mouse.

It's strange.

SOme info:

lsusb

Code:

cicciocant@Spin-SP513-51:~$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 004: ID 0bda:57f3 Realtek Semiconductor Corp.
Bus 001 Device 003: ID 04f3:22bd Elan Microelectronics Corp.
Bus 001 Device 002: ID 0489:e0a3 Foxconn / Hon Hai
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

lsusb -v -d 0489:e0a3

Code:

Bus 001 Device 002: ID 0489:e0a3 Foxconn / Hon Hai
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType        1
  bcdUSB              2.01
  bDeviceClass          224 Wireless
  bDeviceSubClass        1 Radio Frequency
  bDeviceProtocol        1 Bluetooth
  bMaxPacketSize0        64
  idVendor          0x0489 Foxconn / Hon Hai
  idProduct          0xe0a3
  bcdDevice            0.01
  iManufacturer          0
  iProduct                0
  iSerial                0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                9
    bDescriptorType        2
    wTotalLength          177
    bNumInterfaces          2
    bConfigurationValue    1
    iConfiguration          0
    bmAttributes        0xe0
      Self Powered
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                9
      bDescriptorType        4
      bInterfaceNumber        0
      bAlternateSetting      0
      bNumEndpoints          3
      bInterfaceClass      224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0
      Endpoint Descriptor:
        bLength                7
        bDescriptorType        5
        bEndpointAddress    0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type              None
          Usage Type              Data
        wMaxPacketSize    0x0010  1x 16 bytes
        bInterval              1
      Endpoint Descriptor:
        bLength                7
        bDescriptorType        5
        bEndpointAddress    0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type              None
          Usage Type              Data
        wMaxPacketSize    0x0040  1x 64 bytes
        bInterval              1
      Endpoint Descriptor:
        bLength                7
        bDescriptorType        5
        bEndpointAddress    0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type              None
          Usage Type              Data
        wMaxPacketSize    0x0040  1x 64 bytes
        bInterval              1
    Interface Descriptor:
      bLength                9
      bDescriptorType        4
      bInterfaceNumber        1
      bAlternateSetting      0
      bNumEndpoints          2
      bInterfaceClass      224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0
      Endpoint Descriptor:
        bLength                7
        bDescriptorType        5
        bEndpointAddress    0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type              None
          Usage Type              Data
        wMaxPacketSize    0x0000  1x 0 bytes
        bInterval              1
      Endpoint Descriptor:
        bLength                7
        bDescriptorType        5
        bEndpointAddress    0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type              None
          Usage Type              Data
        wMaxPacketSize    0x0000  1x 0 bytes
        bInterval              1
    Interface Descriptor:
      bLength                9
      bDescriptorType        4
      bInterfaceNumber        1
      bAlternateSetting      1
      bNumEndpoints          2
      bInterfaceClass      224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0
      Endpoint Descriptor:
        bLength                7
        bDescriptorType        5
        bEndpointAddress    0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type              None
          Usage Type              Data
        wMaxPacketSize    0x0009  1x 9 bytes
        bInterval              1
      Endpoint Descriptor:
        bLength                7
        bDescriptorType        5
        bEndpointAddress    0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type              None
          Usage Type              Data
        wMaxPacketSize    0x0009  1x 9 bytes
        bInterval              1
    Interface Descriptor:
      bLength                9
      bDescriptorType        4
      bInterfaceNumber        1
      bAlternateSetting      2
      bNumEndpoints          2
      bInterfaceClass      224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0
      Endpoint Descriptor:
        bLength                7
        bDescriptorType        5
        bEndpointAddress    0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type              None
          Usage Type              Data
        wMaxPacketSize    0x0011  1x 17 bytes
        bInterval              1
      Endpoint Descriptor:
        bLength                7
        bDescriptorType        5
        bEndpointAddress    0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type              None
          Usage Type              Data
        wMaxPacketSize    0x0011  1x 17 bytes
        bInterval              1
    Interface Descriptor:
      bLength                9
      bDescriptorType        4
      bInterfaceNumber        1
      bAlternateSetting      3
      bNumEndpoints          2
      bInterfaceClass      224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0
      Endpoint Descriptor:
        bLength                7
        bDescriptorType        5
        bEndpointAddress    0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type              None
          Usage Type              Data
        wMaxPacketSize    0x0019  1x 25 bytes
        bInterval              1
      Endpoint Descriptor:
        bLength                7
        bDescriptorType        5
        bEndpointAddress    0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type              None
          Usage Type              Data
        wMaxPacketSize    0x0019  1x 25 bytes
        bInterval              1
    Interface Descriptor:
      bLength                9
      bDescriptorType        4
      bInterfaceNumber        1
      bAlternateSetting      4
      bNumEndpoints          2
      bInterfaceClass      224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0
      Endpoint Descriptor:
        bLength                7
        bDescriptorType        5
        bEndpointAddress    0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type              None
          Usage Type              Data
        wMaxPacketSize    0x0021  1x 33 bytes
        bInterval              1
      Endpoint Descriptor:
        bLength                7
        bDescriptorType        5
        bEndpointAddress    0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type              None
          Usage Type              Data
        wMaxPacketSize    0x0021  1x 33 bytes
        bInterval              1
    Interface Descriptor:
      bLength                9
      bDescriptorType        4
      bInterfaceNumber        1
      bAlternateSetting      5
      bNumEndpoints          2
      bInterfaceClass      224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0
      Endpoint Descriptor:
        bLength                7
        bDescriptorType        5
        bEndpointAddress    0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type              None
          Usage Type              Data
        wMaxPacketSize    0x0031  1x 49 bytes
        bInterval              1
      Endpoint Descriptor:
        bLength                7
        bDescriptorType        5
        bEndpointAddress    0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type              None
          Usage Type              Data
        wMaxPacketSize    0x0031  1x 49 bytes
        bInterval              1

dmesg | grep Bluetooth

[
Code:

    3.418376] Bluetooth: Core ver 2.22
[    3.418397] Bluetooth: HCI device and connection manager initialized
[    3.418401] Bluetooth: HCI socket layer initialized
[    3.418403] Bluetooth: L2CAP socket layer initialized
[    3.418410] Bluetooth: SCO socket layer initialized
[    5.305204] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    5.305207] Bluetooth: BNEP filters: protocol multicast
[    5.305212] Bluetooth: BNEP socket layer initialized
[  10.702546] Bluetooth: RFCOMM TTY layer initialized
[  10.702553] Bluetooth: RFCOMM socket layer initialized
[  10.702558] Bluetooth: RFCOMM ver 1.11
[  801.557920] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  820.662872] Bluetooth: hci0: last event is not cmd complete (0x0f)

lsusb -v | grep -E '\<(Bus|iProduct|bDeviceClass|bDeviceProtocol)' 2>/dev/null

Code:

Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Couldn't open device, some information will be missing
  bDeviceClass            9 Hub
  bDeviceProtocol        3
Couldn't open device, some information will be missing
  iProduct                2
Bus 001 Device 005: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
  bDeviceClass          255 Vendor Specific Class
Couldn't open device, some information will be missing
  bDeviceProtocol      255 Vendor Specific Protocol
  iProduct                2
      (Bus Powered)
Bus 001 Device 004: ID 0bda:57f3 Realtek Semiconductor Corp.
  bDeviceClass          239 Miscellaneous Device
  bDeviceProtocol        1 Interface Association
  iProduct                1
      (Bus Powered)
Bus 001 Device 003: ID 04f3:22bd Elan Microelectronics Corp.
  bDeviceClass            0 (Defined at Interface level)
  bDeviceProtocol        0
  iProduct              14
Bus 001 Device 002: ID 0489:e0a3 Foxconn / Hon Hai
  bDeviceClass          224 Wireless
  bDeviceProtocol        1 Bluetooth
  iProduct                0
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  bDeviceClass            9 Hub
  bDeviceProtocol        1 Single TT
  iProduct                2

hciconfig -a

Code:

hci0:        Type: Primary  Bus: USB
        BD Address: 94:53:30:B8:27:EC  ACL MTU: 1024:8  SCO MTU: 50:8
        UP RUNNING
        RX bytes:1644 acl:0 sco:0 events:84 errors:0
        TX bytes:4927 acl:0 sco:0 commands:69 errors:0
        Features: 0xff 0xfe 0x8f 0xfe 0xd8 0x3f 0x5b 0x87
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
        Link policy: RSWITCH HOLD SNIFF
        Link mode: SLAVE ACCEPT
        Name: 'Spin-SP513-51'
        Class: 0x1c0000
        Service Classes: Rendering, Capturing, Object Transfer
        Device Class: Miscellaneous,
        HCI Version: 4.1 (0x7)  Revision: 0x0
        LMP Version: 4.1 (0x7)  Subversion: 0x25a
        Manufacturer: Qualcomm (29)

hcitool dev

Code:

Devices:
        hci0        94:53:30:B8:27:EC

hciconfig hci0 piscan

Code:

Can't set scan mode on hci0: Operation not permitted (1)
hcitool scan

Code:

Scanning ...
Now I'm in Ubuntu 18.10.

RandomTroll 02-07-2019 09:50 AM

Quote:

Operation not permitted
sounds like not-running-as-root.

cicciocant 02-07-2019 10:19 AM

Quote:

Originally Posted by RandomTroll (Post 5959022)
sounds like not-running-as-root.

Thank you:

Code:

cicciocant@cicciocant-Spin-SP513-51:~$ sudo hciconfig hci0 piscan
cicciocant@cicciocant-Spin-SP513-51:~$

In UBUNTU I tried with this Kernel:
4.18.0.14.15
4.20.7-042007.201902061234
5.0.0-050000rc5.201902032230


Nothing to do

RandomTroll 02-08-2019 12:06 AM

Quote:

Originally Posted by cicciocant (Post 5959030)
Thank you:

Thanks for nothing, you mean!

piscan enables inquiry and page scanning. Does this device support both? What do iscan and pscan return?

cicciocant 02-11-2019 08:30 AM

Quote:

Originally Posted by RandomTroll (Post 5959246)
Thanks for nothing, you mean!

piscan enables inquiry and page scanning. Does this device support both? What do iscan and pscan return?

sorry for delay

This is the output:

Code:

ubuntu@ubuntu:~$ sudo hciconfig hci0 piscan
ubuntu@ubuntu:~$ sudo hciconfig hci0 pscan
ubuntu@ubuntu:~$ sudo hciconfig hci0 iscan


RandomTroll 02-11-2019 11:44 AM

Okay, what does
Code:

hciconfig
return afterwards? BTW, I ran
Code:

hciconfig piscan
as non-root and got the
Quote:

operation not permitted
error message. When piscan, pscan, iscan work, they report nothing.


All times are GMT -5. The time now is 06:31 PM.