Mouse Bluetooth non si collega a Ubuntu 18.04 LTS

Riconoscimento, installazione e configurazione delle periferiche.
Scrivi risposta
Tyler182
Prode Principiante
Messaggi: 13
Iscrizione: giovedì 24 maggio 2018, 19:48
Desktop: ubuntu
Distribuzione: Ubuntu 18.04 LTS
Sesso: Maschile

Mouse Bluetooth non si collega a Ubuntu 18.04 LTS

Messaggio da Tyler182 »

Buonasera a tutti,
questo è il mio primo post e non ho trovato guide su come scriverlo, quindi se dovessi sbagliare qualcosa vi prego di dirmelo :)

Due giorni fa ho installato Ubuntu 18.04 LTS ed è la prima volta che uso un sistema operativo diverso da Windows. Il mouse che ho sempre usato sul mio pc (su cui è ancora installato Windows 10), su Ubuntu però non funziona.

E' un mouse Bluetooth della JETech. Il mio notebook è un HP 15-r225nl.

Ho provato a collegare il mouse dalle impostazioni, ma non lo trova.

Ho installato Blueman e lo trova, ma quando provo a connetterlo a Human Interface Device Service (HID), dice "Dispostivo aggiunto con successo, ma connessione fallita".

Qualcuno sa darmi una mano?

Grazie mille!!
Ultima modifica di Tyler182 il lunedì 11 giugno 2018, 15:00, modificato 2 volte in totale.
Tyler182
Prode Principiante
Messaggi: 13
Iscrizione: giovedì 24 maggio 2018, 19:48
Desktop: ubuntu
Distribuzione: Ubuntu 18.04 LTS
Sesso: Maschile

Re: Mouse Bluetooth non si collega a Ubuntu 18.04 LTS

Messaggio da Tyler182 »

Nessuno? Vi prego :'(
Avatar utente
magozurlinux
Accecante Asceta
Accecante Asceta
Messaggi: 24884
Iscrizione: mercoledì 17 marzo 2010, 17:44
Desktop: ubuntu
Distribuzione: Ubuntu 22.04.3 LTS x86_64
Sesso: Maschile
Località: Pisa

Re: Mouse Bluetooth non si collega a Ubuntu 18.04 LTS

Messaggio da magozurlinux »

Salve,

da terminale postami questi comandi:

Codice: Seleziona tutto

lsusb

Codice: Seleziona tutto

dmesg | grep Blue

Codice: Seleziona tutto

dpkg -l | grep blue

Codice: Seleziona tutto

hciconfig -a
premi e tieni premuto il tasto Connect del mouse bluetooth, da terminale postami anche questo comando:

Codice: Seleziona tutto

hcitool scan
Ubuntu 22.04 LTS Desktop :ciao:
Tyler182
Prode Principiante
Messaggi: 13
Iscrizione: giovedì 24 maggio 2018, 19:48
Desktop: ubuntu
Distribuzione: Ubuntu 18.04 LTS
Sesso: Maschile

Re: Mouse Bluetooth non si collega a Ubuntu 18.04 LTS

Messaggio da Tyler182 »

lsusb:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 04f2:b45e Chicony Electronics Co., Ltd
Bus 001 Device 002: ID 0bda:b001 Realtek Semiconductor Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
dmesg | grep Blue:

Codice: Seleziona tutto

[    1.677444] usb 1-4: Product: Bluetooth Radio 
[   23.649555] Bluetooth: Core ver 2.22
[   23.649572] Bluetooth: HCI device and connection manager initialized
[   23.649575] Bluetooth: HCI socket layer initialized
[   23.649577] Bluetooth: L2CAP socket layer initialized
[   23.649585] Bluetooth: SCO socket layer initialized
[   24.020959] Bluetooth: hci0: rtl: examining hci_ver=06 hci_rev=000b lmp_ver=06 lmp_subver=8723
[   24.020962] Bluetooth: hci0: rtl: loading rtl_bt/rtl8723b_config.bin
[   24.041052] Bluetooth: hci0: rtl: loading rtl_bt/rtl8723b_fw.bin
[   24.048971] Bluetooth: hci0: rom_version status=0 version=1
[   24.048993] Bluetooth: hci0: cfg_sz 0, total size 22496
[   28.698871] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   28.698872] Bluetooth: BNEP filters: protocol multicast
[   28.698876] Bluetooth: BNEP socket layer initialized
[   39.428496] Bluetooth: RFCOMM TTY layer initialized
[   39.428502] Bluetooth: RFCOMM socket layer initialized
[   39.428508] Bluetooth: RFCOMM ver 1.11
[ 2658.031509] Bluetooth: hci0: rtl: examining hci_ver=06 hci_rev=000b lmp_ver=06 lmp_subver=8723
[ 2658.031512] Bluetooth: hci0: rtl: loading rtl_bt/rtl8723b_config.bin
[ 2658.031533] Bluetooth: hci0: rtl: loading rtl_bt/rtl8723b_fw.bin
[ 2658.033051] Bluetooth: hci0: rom_version status=0 version=1
[ 2658.033064] Bluetooth: hci0: cfg_sz 0, total size 22496
[ 9601.306300] Bluetooth: hci0: rtl: examining hci_ver=06 hci_rev=000b lmp_ver=06 lmp_subver=8723
[ 9601.306303] Bluetooth: hci0: rtl: loading rtl_bt/rtl8723b_config.bin
[ 9603.060131] Bluetooth: hci0: rtl: loading rtl_bt/rtl8723b_fw.bin
[ 9603.061292] Bluetooth: hci0: rom_version status=0 version=1
[ 9603.061297] Bluetooth: hci0: cfg_sz 0, total size 22496
[22835.126883] Bluetooth: hci0: rtl: examining hci_ver=06 hci_rev=000b lmp_ver=06 lmp_subver=8723
[22835.126886] Bluetooth: hci0: rtl: loading rtl_bt/rtl8723b_config.bin
[22835.126913] Bluetooth: hci0: rtl: loading rtl_bt/rtl8723b_fw.bin
[22835.127880] Bluetooth: hci0: rom_version status=0 version=1
[22835.127888] Bluetooth: hci0: cfg_sz 0, total size 22496
[24624.087706] Bluetooth: hci0: rtl: examining hci_ver=06 hci_rev=000b lmp_ver=06 lmp_subver=8723
[24624.087709] Bluetooth: hci0: rtl: loading rtl_bt/rtl8723b_config.bin
[24624.087743] Bluetooth: hci0: rtl: loading rtl_bt/rtl8723b_fw.bin
[24625.788717] Bluetooth: hci0: rom_version status=0 version=1
[24625.788726] Bluetooth: hci0: cfg_sz 0, total size 22496
[29332.137514] Bluetooth: hci0: rtl: examining hci_ver=06 hci_rev=000b lmp_ver=06 lmp_subver=8723
[29332.137518] Bluetooth: hci0: rtl: loading rtl_bt/rtl8723b_config.bin
[29332.137550] Bluetooth: hci0: rtl: loading rtl_bt/rtl8723b_fw.bin
[29332.139137] Bluetooth: hci0: rom_version status=0 version=1
[29332.139148] Bluetooth: hci0: cfg_sz 0, total size 22496
dpkg -l | grep blue:
ii blueman 2.0.5-1ubuntu1 amd64 Graphical bluetooth manager
ii bluetooth 5.48-0ubuntu3 all Bluetooth support
ii bluez 5.48-0ubuntu3 amd64 Bluetooth tools and daemons
ii bluez-cups 5.48-0ubuntu3 amd64 Bluetooth printer driver for CUPS
ii bluez-obexd 5.48-0ubuntu3 amd64 bluez obex daemon
ii bluez-tools 0.2.0~20140808-5build1 amd64 Set of tools to manage Bluetooth devices for linux
ii gir1.2-gnomebluetooth-1.0:amd64 3.28.0-2 amd64 Introspection data for GnomeBluetooth
ii gnome-bluetooth 3.28.0-2 amd64 GNOME Bluetooth tools
ii indicator-bluetooth 0.0.6+17.10.20170605-0ubuntu3 amd64 System bluetooth indicator.
ii libbluetooth3:amd64 5.48-0ubuntu3 amd64 Library to use the BlueZ Linux Bluetooth stack
ii libgnome-bluetooth13:amd64 3.28.0-2 amd64 GNOME Bluetooth tools - support library
ii pulseaudio-module-bluetooth 1:11.1-1ubuntu7 amd64 Bluetooth module for PulseAudio sound server
hciconfig -a:
hci0: Type: Primary Bus: USB
BD Address: 2C:33:7A:3F:45:16 ACL MTU: 820:8 SCO MTU: 255:16
DOWN
RX bytes:1225 acl:0 sco:0 events:122 errors:0
TX bytes:23230 acl:0 sco:0 commands:122 errors:0
Features: 0xff 0xff 0xff 0xfe 0xdb 0xff 0x7b 0x87
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF PARK
Link mode: SLAVE ACCEPT
hcitool scan:
Device is not available: No such device
Avatar utente
magozurlinux
Accecante Asceta
Accecante Asceta
Messaggi: 24884
Iscrizione: mercoledì 17 marzo 2010, 17:44
Desktop: ubuntu
Distribuzione: Ubuntu 22.04.3 LTS x86_64
Sesso: Maschile
Località: Pisa

Re: Mouse Bluetooth non si collega a Ubuntu 18.04 LTS

Messaggio da magozurlinux »

L'adattatore bluetooth dovrebbe essere questo:

Codice: Seleziona tutto

Bus 001 Device 002: ID 0bda:b001 Realtek Semiconductor Corp. 
da terminale postami questo comando:

Codice: Seleziona tutto

sudo lsusb -v -d 0bda:b001
Ubuntu 22.04 LTS Desktop :ciao:
Tyler182
Prode Principiante
Messaggi: 13
Iscrizione: giovedì 24 maggio 2018, 19:48
Desktop: ubuntu
Distribuzione: Ubuntu 18.04 LTS
Sesso: Maschile

Re: Mouse Bluetooth non si collega a Ubuntu 18.04 LTS

Messaggio da Tyler182 »

Codice: Seleziona tutto

Bus 001 Device 002: ID 0bda:b001 Realtek Semiconductor Corp. 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.10
  bDeviceClass          224 Wireless
  bDeviceSubClass         1 Radio Frequency
  bDeviceProtocol         1 Bluetooth
  bMaxPacketSize0        64
  idVendor           0x0bda Realtek Semiconductor Corp.
  idProduct          0xb001 
  bcdDevice            2.00
  iManufacturer           1 Realtek 
  iProduct                2 Bluetooth Radio 
  iSerial                 3 00e04c000001
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          177
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              4 Bluetooth Radio
      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     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      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               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              4 Bluetooth Radio
      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
      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
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       1
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              4 Bluetooth Radio
      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
      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
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       2
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              4 Bluetooth Radio
      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
      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
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       3
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              4 Bluetooth Radio
      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
      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
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       4
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              4 Bluetooth Radio
      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
      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
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       5
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              4 Bluetooth Radio
      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
      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
Binary Object Store Descriptor:
  bLength                 5
  bDescriptorType        15
  wTotalLength           12
  bNumDeviceCaps          1
  USB 2.0 Extension Device Capability:
    bLength                 7
    bDescriptorType        16
    bDevCapabilityType      2
    bmAttributes   0x00000002
      Link Power Management (LPM) Supported
Device Status:     0x0001
  Self Powered
Avatar utente
magozurlinux
Accecante Asceta
Accecante Asceta
Messaggi: 24884
Iscrizione: mercoledì 17 marzo 2010, 17:44
Desktop: ubuntu
Distribuzione: Ubuntu 22.04.3 LTS x86_64
Sesso: Maschile
Località: Pisa

Re: Mouse Bluetooth non si collega a Ubuntu 18.04 LTS

Messaggio da magozurlinux »

OK!

Da terminale dai questi comandi:

Codice: Seleziona tutto

sudo hciconfig hci0 reset

Codice: Seleziona tutto

sudo hciconfig hci0 up
da terminale postami questo comando:

Codice: Seleziona tutto

hciconfig -a
Ubuntu 22.04 LTS Desktop :ciao:
Tyler182
Prode Principiante
Messaggi: 13
Iscrizione: giovedì 24 maggio 2018, 19:48
Desktop: ubuntu
Distribuzione: Ubuntu 18.04 LTS
Sesso: Maschile

Re: Mouse Bluetooth non si collega a Ubuntu 18.04 LTS

Messaggio da Tyler182 »

Mi sa che c'è qualcosa che non quadra... Per entrambi i comandi che mi hai detto di dare la risposta è "Can't init device hci0: Operation not possible due to RF-kill (132)".

Alla fine ho digitato comunque hciconfig -a:

Codice: Seleziona tutto

hci0:	Type: Primary  Bus: USB
	BD Address: 2C:33:7A:3F:45:16  ACL MTU: 820:8  SCO MTU: 255:16
	DOWN 
	RX bytes:1225 acl:0 sco:0 events:122 errors:0
	TX bytes:23230 acl:0 sco:0 commands:122 errors:0
	Features: 0xff 0xff 0xff 0xfe 0xdb 0xff 0x7b 0x87
	Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
	Link policy: RSWITCH HOLD SNIFF PARK 
	Link mode: SLAVE ACCEPT 

stefano@PiciUbuntu:~$ 
Tyler182
Prode Principiante
Messaggi: 13
Iscrizione: giovedì 24 maggio 2018, 19:48
Desktop: ubuntu
Distribuzione: Ubuntu 18.04 LTS
Sesso: Maschile

Re: Mouse Bluetooth non si collega a Ubuntu 18.04 LTS

Messaggio da Tyler182 »

Ok, di solito mi piace capire cosa sto facendo quando risolvo i problemi del PC, ma stavolta non ci ho capito un tubo... Eppure ora il mouse funziona, quindi ti ringrazio infinitamente!!!
Avatar utente
magozurlinux
Accecante Asceta
Accecante Asceta
Messaggi: 24884
Iscrizione: mercoledì 17 marzo 2010, 17:44
Desktop: ubuntu
Distribuzione: Ubuntu 22.04.3 LTS x86_64
Sesso: Maschile
Località: Pisa

Re: Mouse Bluetooth non si collega a Ubuntu 18.04 LTS

Messaggio da magozurlinux »

Tyler182 [url=https://forum.ubuntu-it.org/viewtopic.php?p=5062257#p5062257][img]https://forum.ubuntu-it.org/images/icons/icona-cita.gif[/img][/url] ha scritto:Ok, di solito mi piace capire cosa sto facendo quando risolvo i problemi del PC, ma stavolta non ci ho capito un tubo... Eppure ora il mouse funziona, quindi ti ringrazio infinitamente!!!
Prego, di nulla!

Non ho fatto altro che un reset dell'adattatore bluetooth integrato, riattivando l'adattatore; così facendo il mouse bluetooth è stato rilevato correttamente ed ha iniziato a funzionare.

Se ridovesse bloccarsi prima da terminale dai questo comando:

Codice: Seleziona tutto

rfkill list
per vedere se è bloccato da rf-kill e poi lo sblocchi con questo comando:

Codice: Seleziona tutto

sudo rfkill unblock all
Se hai risolto metti [Risolto] sul primo titolo della discussione prima di Mouse bluetooth....
Ubuntu 22.04 LTS Desktop :ciao:
Tyler182
Prode Principiante
Messaggi: 13
Iscrizione: giovedì 24 maggio 2018, 19:48
Desktop: ubuntu
Distribuzione: Ubuntu 18.04 LTS
Sesso: Maschile

Re: [Risolto] Mouse Bluetooth non si collega a Ubuntu 18.04

Messaggio da Tyler182 »

Grazie mille ancora :) Fatto!
Tyler182
Prode Principiante
Messaggi: 13
Iscrizione: giovedì 24 maggio 2018, 19:48
Desktop: ubuntu
Distribuzione: Ubuntu 18.04 LTS
Sesso: Maschile

Re: Mouse Bluetooth non si collega a Ubuntu 18.04 LTS

Messaggio da Tyler182 »

Ciao, scusatemi se riapro questo topic. Ho dovuto reinstallare Ubuntu per estendere la partizione, ho ri-seguito i consigli qui sopra ma il mouse non va lo stesso. Riuscireste a darmi una mano per favore?
Avatar utente
magozurlinux
Accecante Asceta
Accecante Asceta
Messaggi: 24884
Iscrizione: mercoledì 17 marzo 2010, 17:44
Desktop: ubuntu
Distribuzione: Ubuntu 22.04.3 LTS x86_64
Sesso: Maschile
Località: Pisa

Re: Mouse Bluetooth non si collega a Ubuntu 18.04 LTS

Messaggio da magozurlinux »

Ciao.

Da terminale postami questo comando:

Codice: Seleziona tutto

rfkill list
Ubuntu 22.04 LTS Desktop :ciao:
Tyler182
Prode Principiante
Messaggi: 13
Iscrizione: giovedì 24 maggio 2018, 19:48
Desktop: ubuntu
Distribuzione: Ubuntu 18.04 LTS
Sesso: Maschile

Re: Mouse Bluetooth non si collega a Ubuntu 18.04 LTS

Messaggio da Tyler182 »

0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
Avatar utente
magozurlinux
Accecante Asceta
Accecante Asceta
Messaggi: 24884
Iscrizione: mercoledì 17 marzo 2010, 17:44
Desktop: ubuntu
Distribuzione: Ubuntu 22.04.3 LTS x86_64
Sesso: Maschile
Località: Pisa

Re: Mouse Bluetooth non si collega a Ubuntu 18.04 LTS

Messaggio da magozurlinux »

OK!

Da terminale dai questi comandi:

Codice: Seleziona tutto

sudo -H gedit /etc/default/bluetooth
copia ed incolla queste righe:

Codice: Seleziona tutto

# Defaults for bluez

# start bluetooth on boot?
# compatibility note: If this variable is not found bluetooth will
# start
BLUETOOTH_ENABLED=1

# This setting will switch HID devices (e.g mouse/keyboad) to HCI mode, that is
# you will have bluetooth functionality from your dongle instead of only HID.
# Note that not every bluetooth dongle is capable of switching back to HID
# mode, see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=355497
HID2HCI_ENABLED=1
HID2HCI_UNDO=1
salva ed esci dall'editor di testo.

Codice: Seleziona tutto

sudo service bluetooth restart
premi e tieni premuto il tasto Connect del mouse bluetooth, da terminale postami questi comandi:

Codice: Seleziona tutto

hcitool scan

Codice: Seleziona tutto

hciconfig -a
Ubuntu 22.04 LTS Desktop :ciao:
Tyler182
Prode Principiante
Messaggi: 13
Iscrizione: giovedì 24 maggio 2018, 19:48
Desktop: ubuntu
Distribuzione: Ubuntu 18.04 LTS
Sesso: Maschile

Re: Mouse Bluetooth non si collega a Ubuntu 18.04 LTS

Messaggio da Tyler182 »

Scanning ...
30:33:00:00:01:82 JETech2260
(è il mio mouse!)

Codice: Seleziona tutto

hci0:	Type: Primary  Bus: USB
	BD Address: 2C:33:7A:3F:45:16  ACL MTU: 820:8  SCO MTU: 255:16
	UP RUNNING PSCAN ISCAN 
	RX bytes:22558 acl:257 sco:0 events:981 errors:0
	TX bytes:36775 acl:366 sco:0 commands:347 errors:0
	Features: 0xff 0xff 0xff 0xfe 0xdb 0xff 0x7b 0x87
	Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
	Link policy: RSWITCH HOLD SNIFF PARK 
	Link mode: SLAVE ACCEPT 
	Name: 'stefano-HP-15-Notebook-PC'
	Class: 0x0c010c
	Service Classes: Rendering, Capturing
	Device Class: Computer, Laptop
	HCI Version: 4.0 (0x6)  Revision: 0xe2f
	LMP Version: 4.0 (0x6)  Subversion: 0x9f73
	Manufacturer: Realtek Semiconductor Corporation (93)
Avatar utente
magozurlinux
Accecante Asceta
Accecante Asceta
Messaggi: 24884
Iscrizione: mercoledì 17 marzo 2010, 17:44
Desktop: ubuntu
Distribuzione: Ubuntu 22.04.3 LTS x86_64
Sesso: Maschile
Località: Pisa

Re: Mouse Bluetooth non si collega a Ubuntu 18.04 LTS

Messaggio da magozurlinux »

Da terminale dai questi comandi:

Codice: Seleziona tutto

sudo gedit /etc/default/bluetooth
scorri il file, posizionati in fondo di questa riga:

Codice: Seleziona tutto

HID2HCI_ENABLED=1
premi Invio ed aggiungi questa riga:

Codice: Seleziona tutto

HIDD_OPTIONS="--master --connect 30:33:00:00:01:82 --server" 
salva ed esci dall'editor di testo.

Codice: Seleziona tutto

sudo gedit /etc/bluetooth/hcid.conf
copia e incolla queste righe:

Codice: Seleziona tutto

device  30:33:00:00:01:82 { 
name "JETech2260"; 
auth enable;
encrypt enable;
}
Salva ed esci dall'editor di testo.

Codice: Seleziona tutto

sudo service bluetooth restart
Ubuntu 22.04 LTS Desktop :ciao:
Tyler182
Prode Principiante
Messaggi: 13
Iscrizione: giovedì 24 maggio 2018, 19:48
Desktop: ubuntu
Distribuzione: Ubuntu 18.04 LTS
Sesso: Maschile

Re: Mouse Bluetooth non si collega a Ubuntu 18.04 LTS

Messaggio da Tyler182 »

Dopo aver salvato nell'editor di testo quello che mi dici all'inizio mi esce questo nel terminale:

Codice: Seleziona tutto

** (gedit:17405): WARNING **: 08:59:42.286: Set document metadata failed: Impostazione dell'attributo metadata::gedit-spell-language non supportata

** (gedit:17405): WARNING **: 08:59:42.286: Set document metadata failed: Impostazione dell'attributo metadata::gedit-encoding non supportata

** (gedit:17405): WARNING **: 08:59:45.188: Set document metadata failed: Impostazione dell'attributo metadata::gedit-position non supportata
Quando dici di copincollare le righe qui sotto, dove dovrei farlo?

Codice: Seleziona tutto

device  30:33:00:00:01:82 { 
name "JETech2260"; 
auth enable;
encrypt enable;
}
Avatar utente
OMBRA_Linux
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 2696
Iscrizione: mercoledì 18 febbraio 2015, 14:24
Desktop: HP / Lenovo / Samsung
Distribuzione: Android / Linux / Windows10-11
Sesso: Maschile
Località: Napoli

Re: Mouse Bluetooth non si collega a Ubuntu 18.04 LTS

Messaggio da OMBRA_Linux »

Dovrebbe leggerlo in automatico.
Prova a Staccare/Riattaccare il Dongle dalla presa USB per vedere se risolvi.

Edit: Da poco ho ho collegato Mouse e Tastiera Bluetooth sul mio Pc Desktop dove l'ho dovuta configurare solo con Windows mentre su Linux non ce stato bisogno ha fatto tutto da solo.


Scusa non avevo fatto caso che era un Notebook. Allora prova a rimuovere la voce associata al Mouse ricreandola.
Se per vivere devi strisciare, alzati e muori.
Scrivi risposta

Ritorna a “Driver e periferiche”

Chi c’è in linea

Visualizzano questa sezione: Majestic-12 [Bot], rigoletto e 13 ospiti