Bluetooth non riconosciuto su HP250

Riconoscimento, installazione e configurazione delle periferiche.
Scrivi risposta
Morgenstern
Prode Principiante
Messaggi: 61
Iscrizione: martedì 13 settembre 2011, 15:18

Bluetooth non riconosciuto su HP250

Messaggio da Morgenstern »

Utilizzo Kubuntu 17.10 e il bluetooth funzionava regolarmente fino a qualche settimana fa (lo avviavo con sudo modprobe bluetooth). Adesso sembra che non venga più riconosciuto e sudo hcitool scan restituisce "Device is not available: No such device". Purtroppo non saprei ricostruire cosa abbia causato questo problema.
Vi lascio di seguito alcune informazioni utili.

Codice: Seleziona tutto

silvia@michael:~$ lsmod | grep blue
bluetooth             544768  7 bnep
ecdh_generic           24576  1 bluetooth

silvia@michael:~$ lsusb
Bus 001 Device 003: ID 05c8:0226 Cheng Uei Precision Industry Co., Ltd (Foxlink) 
Bus 001 Device 002: ID 8087:8000 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

silvia@michael:~$ dmesg | grep -i bluetooth
[ 1400.170409] Bluetooth: Core ver 2.22
[ 1400.170429] Bluetooth: HCI device and connection manager initialized
[ 1400.170431] Bluetooth: HCI socket layer initialized
[ 1400.170433] Bluetooth: L2CAP socket layer initialized
[ 1400.170437] Bluetooth: SCO socket layer initialized
[ 1444.861650] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 1444.861652] Bluetooth: BNEP filters: protocol multicast
[ 1444.861655] Bluetooth: BNEP socket layer initialized

silvia@michael:~$ rfkill list all
0: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
silvia@michael:~$ /etc/init.d/bluetooth status
● bluetooth.service - Bluetooth service
   Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
   Active: active (running) since Sun 2018-05-06 10:40:05 CEST; 1h 30min ago
     Docs: man:bluetoothd(8)
 Main PID: 3686 (bluetoothd)
   Status: "Running"
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/bluetooth.service
           └─3686 /usr/lib/bluetooth/bluetoothd

mag 06 10:40:05 michael systemd[1]: Starting Bluetooth service...
mag 06 10:40:05 michael bluetoothd[3686]: Bluetooth daemon 5.46
mag 06 10:40:05 michael systemd[1]: Started Bluetooth service.
mag 06 10:40:05 michael bluetoothd[3686]: Starting SDP server
mag 06 10:40:05 michael bluetoothd[3686]: Bluetooth management interface 1.14 initialized
Come posso risolvere?

Non sapevo se inserire questo thread in questa categoria o in "Connessione e configurazione delle reti", spostatelo se ho sbagliato.
Immagine
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: Bluetooth non riconosciuto su HP250

Messaggio da magozurlinux »

Salve,

da terminale postami questi comandi:

Codice: Seleziona tutto

sudo lsusb -v -d 05c8:0226 

Codice: Seleziona tutto

lspci
Ubuntu 22.04 LTS Desktop :ciao:
Morgenstern
Prode Principiante
Messaggi: 61
Iscrizione: martedì 13 settembre 2011, 15:18

Re: Bluetooth non riconosciuto su HP250

Messaggio da Morgenstern »

Ciao, grazie per la risposta, ecco qui

Codice: Seleziona tutto

silvia@michael:~$ sudo lsusb -v -d 05c8:0226 

Bus 001 Device 003: ID 05c8:0226 Cheng Uei Precision Industry Co., Ltd (Foxlink) 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          239 Miscellaneous Device
  bDeviceSubClass         2 ?
  bDeviceProtocol         1 Interface Association
  bMaxPacketSize0        64
  idVendor           0x05c8 Cheng Uei Precision Industry Co., Ltd (Foxlink)
  idProduct          0x0226 
  bcdDevice            1.06
  iManufacturer           3 Generic
  iProduct                1 HP Webcam
  iSerial                 2 200901010001
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          517
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          4 USB Camera
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Association:
      bLength                 8
      bDescriptorType        11
      bFirstInterface         0
      bInterfaceCount         2
      bFunctionClass         14 Video
      bFunctionSubClass       3 Video Interface Collection
      bFunctionProtocol       0 
      iFunction               5 HP Webcam
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      1 Video Control
      bInterfaceProtocol      0 
      iInterface              5 HP Webcam
      VideoControl Interface Descriptor:
        bLength                13
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdUVC               1.00
        wTotalLength          107
        dwClockFrequency       15.000000MHz
        bInCollection           1
        baInterfaceNr( 0)       1
      VideoControl Interface Descriptor:
        bLength                18
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             1
        wTerminalType      0x0201 Camera Sensor
        bAssocTerminal          0
        iTerminal               0 
        wObjectiveFocalLengthMin      0
        wObjectiveFocalLengthMax      0
        wOcularFocalLength            0
        bControlSize                  3
        bmControls           0x0000000e
          Auto-Exposure Mode
          Auto-Exposure Priority
          Exposure Time (Absolute)
      VideoControl Interface Descriptor:
        bLength                11
        bDescriptorType        36
        bDescriptorSubtype      5 (PROCESSING_UNIT)
      Warning: Descriptor too short
        bUnitID                 2
        bSourceID               1
        wMaxMultiplier          0
        bControlSize            2
        bmControls     0x0000177f
          Brightness
          Contrast
          Hue
          Saturation
          Sharpness
          Gamma
          White Balance Temperature
          Backlight Compensation
          Gain
          Power Line Frequency
          White Balance Temperature, Auto
        iProcessing             0 
        bmVideoStandards     0x 9
          None
          SECAM - 625/50
      VideoControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             3
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bSourceID               4
        iTerminal               0 
      VideoControl Interface Descriptor:
        bLength                27
        bDescriptorType        36
        bDescriptorSubtype      6 (EXTENSION_UNIT)
        bUnitID                 4
        guidExtensionCode         {8ca72912-b447-9440-b0ce-db07386fb938}
        bNumControl             2
        bNrPins                 1
        baSourceID( 0)          7
        bControlSize            2
        bmControls( 0)       0x00
        bmControls( 1)       0x06
        iExtension              0 
      VideoControl Interface Descriptor:
        bLength                29
        bDescriptorType        36
        bDescriptorSubtype      6 (EXTENSION_UNIT)
        bUnitID                 7
        guidExtensionCode         {c385b80f-c268-4745-90f7-8f47579d95fc}
        bNumControl             0
        bNrPins                 1
        baSourceID( 0)          2
        bControlSize            4
        bmControls( 0)       0x0f
        bmControls( 1)       0x00
        bmControls( 2)       0x00
        bmControls( 3)       0x00
        iExtension              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0010  1x 16 bytes
        bInterval               6
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      VideoStreaming Interface Descriptor:
        bLength                            14
        bDescriptorType                    36
        bDescriptorSubtype                  1 (INPUT_HEADER)
        bNumFormats                         1
        wTotalLength                      251
        bEndPointAddress                  129
        bmInfo                              0
        bTerminalLink                       3
        bStillCaptureMethod                 1
        bTriggerSupport                     1
        bTriggerUsage                       0
        bControlSize                        1
        bmaControls( 0)                    27
      VideoStreaming Interface Descriptor:
        bLength                            27
        bDescriptorType                    36
        bDescriptorSubtype                  4 (FORMAT_UNCOMPRESSED)
        bFormatIndex                        1
        bNumFrameDescriptors                6
        guidFormat                            {59555932-0000-1000-8000-00aa00389b71}
        bBitsPerPixel                      16
        bDefaultFrameIndex                  1
        bAspectRatioX                       0
        bAspectRatioY                       0
        bmInterlaceFlags                 0x00
          Interlaced stream or variable: No
          Fields per frame: 2 fields
          Field 1 first: No
          Field pattern: Field 1 only
          bCopyProtect                      0
      VideoStreaming Interface Descriptor:
        bLength                            34
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         1
        bmCapabilities                   0x01
          Still image supported
        wWidth                            640
        wHeight                           480
        dwMinBitRate                 73728000
        dwMaxBitRate                147456000
        dwMaxVideoFrameBufferSize      614400
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  2
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            666666
      VideoStreaming Interface Descriptor:
        bLength                            34
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         2
        bmCapabilities                   0x01
          Still image supported
        wWidth                            160
        wHeight                           120
        dwMinBitRate                  4608000
        dwMaxBitRate                  9216000
        dwMaxVideoFrameBufferSize       38400
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  2
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            666666
      VideoStreaming Interface Descriptor:
        bLength                            34
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         3
        bmCapabilities                   0x01
          Still image supported
        wWidth                            176
        wHeight                           144
        dwMinBitRate                  6082560
        dwMaxBitRate                 12165120
        dwMaxVideoFrameBufferSize       50688
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  2
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            666666
      VideoStreaming Interface Descriptor:
        bLength                            34
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         4
        bmCapabilities                   0x01
          Still image supported
        wWidth                            320
        wHeight                           240
        dwMinBitRate                 18432000
        dwMaxBitRate                 36864000
        dwMaxVideoFrameBufferSize      153600
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  2
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            666666
      VideoStreaming Interface Descriptor:
        bLength                            34
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         5
        bmCapabilities                   0x01
          Still image supported
        wWidth                            352
        wHeight                           288
        dwMinBitRate                 24330240
        dwMaxBitRate                 48660480
        dwMaxVideoFrameBufferSize      202752
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  2
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            666666
      VideoStreaming Interface Descriptor:
        bLength                            34
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         6
        bmCapabilities                   0x01
          Still image supported
        wWidth                            640
        wHeight                           360
        dwMinBitRate                 55296000
        dwMaxBitRate                110592000
        dwMaxVideoFrameBufferSize      460800
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  2
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            666666
      VideoStreaming Interface Descriptor:
        bLength                             6
        bDescriptorType                    36
        bDescriptorSubtype                 13 (COLORFORMAT)
        bColorPrimaries                     1 (BT.709,sRGB)
        bTransferCharacteristics            1 (BT.709)
        bMatrixCoefficients                 4 (SMPTE 170M (BT.601))
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0080  1x 128 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       2
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       3
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       4
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0b00  2x 768 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       5
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0c00  2x 1024 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       6
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x1380  3x 896 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       7
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x1400  3x 1024 bytes
        bInterval               1
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass          239 Miscellaneous Device
  bDeviceSubClass         2 ?
  bDeviceProtocol         1 Interface Association
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0000
  (Bus Powered)
silvia@michael:~$ lspci
00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 0b)
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 0b)
00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04)
00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04)
00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 1 (rev e4)
00:1c.1 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 2 (rev e4)
00:1c.2 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 3 (rev e4)
00:1c.5 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 6 (rev e4)
00:1d.0 USB controller: Intel Corporation 8 Series USB EHCI #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04)
02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader (rev 01)
08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller (rev 07)
09:00.0 Network controller: Ralink corp. RT3290 Wireless 802.11n 1T/1R PCIe
09:00.1 Bluetooth: Ralink corp. RT3290 Bluetooth
Immagine
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: Bluetooth non riconosciuto su HP250

Messaggio da magozurlinux »

Ciao,

questa è la scheda bluetooth integrata:

Codice: Seleziona tutto

09:00.1 Bluetooth: Ralink corp. RT3290 Bluetooth
Per l'installazione del driver segui questa guida:

viewtopic.php?p=4962268

A presto!
Ubuntu 22.04 LTS Desktop :ciao:
Morgenstern
Prode Principiante
Messaggi: 61
Iscrizione: martedì 13 settembre 2011, 15:18

Re: Bluetooth non riconosciuto su HP250

Messaggio da Morgenstern »

Ciao,
scusa, non avevo ricevuto notifica della tua risposta.
Ho seguito la guida ma purtroppo non mi sembra che funzioni. O, meglio, il bluetooth è attivo, ma non trova né il mio cellulare né le mie casse bluetooth.

Se provo a connettermi con le casse ricevo come errore "Connessione fallita:blueman.bluez.errors.DBusFailedError: Protocol not available...".

Se provo a connettermi al cellulare ricevo
"Connessione fallita: Traceback (most recent call last): File:"/usr/lib/python3/dist-packages/blueman/services/meta/SerialService.py" line 29, in connect port_id=create_rfcomm_device(Adapter(props['Adapter']).get_properties()['Address'], props['Address'], 1)
File "_blueman.pyx", line 218, in_blueman.create_rfcomm_device(_blurman.c:2403)
Exception: Can't connect RFCOMM socket."

Questo è il mio file /usr/lib/python3/dist-packages/blueman/services/meta/SerialService.py

Codice: Seleziona tutto

from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
from __future__ import unicode_literals

from blueman.bluez.Adapter import Adapter
from _blueman import rfcomm_list, release_rfcomm_device, create_rfcomm_device
from blueman.Service import Service
from blueman.main.Mechanism import Mechanism


class SerialService(Service):
    def __init__(self, device, uuid):
        super(SerialService, self).__init__(device, uuid, False)

    def serial_port_id(self, channel):
        for dev in rfcomm_list():
            if dev["dst"] == self.device.Address and dev["state"] == "connected" and dev["channel"] == channel:
                return dev["id"]

    @property
    def connected(self):
        return False

    def connect(self, reply_handler=None, error_handler=None):
        props = self.device.get_properties()
        try:
            # TODO: Channel?
            port_id = create_rfcomm_device(Adapter(props['Adapter']).get_properties()['Address'], props['Address'], 1)
            Mechanism().open_rfcomm(port_id)
            if reply_handler:
                reply_handler('/dev/rfcomm%d' % port_id)
        except Exception as e:
            if error_handler:
                error_handler(e)
            else:
                raise e
        return True

    def disconnect(self, *args):
        Mechanism().close_rfcomm(args[0])
        release_rfcomm_device(args[0])
Consigli?
Immagine
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: Bluetooth non riconosciuto su HP250

Messaggio da magozurlinux »

Ciao.

Da terminale postami questi comandi:

Codice: Seleziona tutto

dmesg | grep Blue

Codice: Seleziona tutto

dpkg -l | grep blue

Codice: Seleziona tutto

hciconfig -a
Ubuntu 22.04 LTS Desktop :ciao:
Morgenstern
Prode Principiante
Messaggi: 61
Iscrizione: martedì 13 settembre 2011, 15:18

Re: Bluetooth non riconosciuto su HP250

Messaggio da Morgenstern »

Codice: Seleziona tutto

silvia@michael:~$ dmesg | grep Blue
[ 1220.053374] Bluetooth: Core ver 2.22
[ 1220.053396] Bluetooth: HCI device and connection manager initialized
[ 1220.053398] Bluetooth: HCI socket layer initialized
[ 1220.053400] Bluetooth: L2CAP socket layer initialized
[ 1220.053404] Bluetooth: SCO socket layer initialized
[ 1220.055637] Bluetooth: RTBT_Tb: vendor=0x1814, device=0x3298
[ 1220.055639] Bluetooth: RTBT_Tb: vendor=0x0, device=0x0
[ 1220.055640] Bluetooth: DynamicAlloc pci_device_id table at 0xffff9ffd058fc180 with size 64
[ 1220.055641] Bluetooth: RTBT_Tb: vendor=0x1814, device=0x3298
[ 1220.055642] Bluetooth: Convert: vendor=0x1814, device=0x3298
[ 1220.055643] Bluetooth: RTBT_Tb: vendor=0x0, device=0x0
[ 1220.055644] Bluetooth: pci_device_id: vendor=0x1814, device=0x3298
[ 1220.055785] Bluetooth: rtbt_pci_probe(): PCI Dev(0000:09:00.1) get resource at 0xb2500000,VA 0xffffb4a002620000,IRQ 16.
[ 1220.055792] Bluetooth: call dev_ops->dev_ctrl_init!
[ 1220.055801] Bluetooth: call dev_ops->dev_resource_init!
[ 1220.194427] Bluetooth: RtmpOSIRQRequest(): request_irq (IRQ=16)done, isr_handler=0xffffffffc07595d0!
[ 1220.897653] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 1220.897655] Bluetooth: BNEP filters: protocol multicast
[ 1220.897659] Bluetooth: BNEP socket layer initialized
[ 1221.466728] Bluetooth: RFCOMM TTY layer initialized
[ 1221.466734] Bluetooth: RFCOMM socket layer initialized
[ 1221.466740] Bluetooth: RFCOMM ver 1.11
silvia@michael:~$ dpkg -l | grep blue
ii  blueman                                         2.0.4-1ubuntu3                              amd64        Graphical bluetooth manager
ii  bluez                                           5.46-0ubuntu3                               amd64        Bluetooth tools and daemons
ii  bluez-cups                                      5.46-0ubuntu3                               amd64        Bluetooth printer driver for CUPS
ii  bluez-obexd                                     5.46-0ubuntu3                               amd64        bluez obex daemon
ii  bluez-tools                                     0.2.0~20140808-5build1                      amd64        Set of tools to manage Bluetooth devices for linux
ii  libbluetooth3:amd64                             5.46-0ubuntu3                               amd64        Library to use the BlueZ Linux Bluetooth stack
ii  libkf5bluezqt-data                              5.38.0-0ubuntu1                             all          data files for bluez-qt
ii  libkf5bluezqt6:amd64                            5.38.0-0ubuntu1                             amd64        Qt wrapper for bluez
ii  qml-module-org-kde-bluezqt:amd64                5.38.0-0ubuntu1                             amd64        QML wrapper for bluez
silvia@michael:~$ hciconfig -a
hci0:   Type: Primary  Bus: PCI
        BD Address: 10:08:B1:C8:0C:D6  ACL MTU: 1021:8  SCO MTU: 128:40
        UP RUNNING PSCAN ISCAN 
        RX bytes:12418 acl:31 sco:0 events:500 errors:0
        TX bytes:6585 acl:30 sco:0 commands:388 errors:0
        Features: 0xff 0xff 0x8f 0xfe 0x9b 0xff 0x59 0x83
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
        Link policy: RSWITCH HOLD SNIFF PARK 
        Link mode: SLAVE ACCEPT 
        Name: 'michael'
        Class: 0x10010c
        Service Classes: Object Transfer
        Device Class: Computer, Laptop
        HCI Version: 2.1 (0x4)  Revision: 0x6
        LMP Version: 2.1 (0x4)  Subversion: 0x6
        Manufacturer: Ralink Technology Corporation (91)
Immagine
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: Bluetooth non riconosciuto su HP250

Messaggio da magozurlinux »

Ciao.

Da terminale connesso ad Internet installa questo pacchetto:

Codice: Seleziona tutto

sudo apt install pulseaudio-module-bluetooth 
L'adattatore bluetooth è attivo e funzionante.

hciconfig -a

Codice: Seleziona tutto

    hci0:   Type: Primary  Bus: PCI
            BD Address: 10:08:B1:C8:0C:D6  ACL MTU: 1021:8  SCO MTU: 128:40
            UP RUNNING PSCAN ISCAN
            RX bytes:12418 acl:31 sco:0 events:500 errors:0
            TX bytes:6585 acl:30 sco:0 commands:388 errors:0
            Features: 0xff 0xff 0x8f 0xfe 0x9b 0xff 0x59 0x83
            Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
            Link policy: RSWITCH HOLD SNIFF PARK
            Link mode: SLAVE ACCEPT
            Name: 'michael'
            Class: 0x10010c
            Service Classes: Object Transfer
            Device Class: Computer, Laptop
            HCI Version: 2.1 (0x4)  Revision: 0x6
            LMP Version: 2.1 (0x4)  Subversion: 0x6
            Manufacturer: Ralink Technology Corporation (91)
attiva il bluetooth dello smartphone; da terminale postami questo comando:

Codice: Seleziona tutto

hcitool scan
Ubuntu 22.04 LTS Desktop :ciao:
Morgenstern
Prode Principiante
Messaggi: 61
Iscrizione: martedì 13 settembre 2011, 15:18

Re: Bluetooth non riconosciuto su HP250

Messaggio da Morgenstern »

silvia@michael:~$ hcitool scan
Scanning ...
silvia@michael:~$

Sembra che non trovi nulla (forse perché sia pc che telefono erano già periferiche autorizzate) però in realtà riesco a mandare file dal pc al telefono.
Niente da fare per le casse invece, anche dopo aver installato il pacchetto.
Immagine
Avatar utente
corradoventu
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 3813
Iscrizione: domenica 27 aprile 2008, 22:23
Desktop: GNOME
Distribuzione: Ubuntu 20.04, 22.04, 23.10, 24.04
Sesso: Maschile
Località: Rezzoaglio (GE)
Contatti:

Re: Bluetooth non riconosciuto su HP250

Messaggio da corradoventu »

Tra ubuntu e il tuo chip bluetooth c'è una vecchia ruggine: Ralink RT3290 doesn't have a bluetooth driver https://bugs.launchpad.net/bluetooth/+bug/1189721
prova a vedere la mia guida: viewtopic.php?f=9&t=617322 qualcuno la ha trovata utile

edit: chiedo scusa, non ho letto il post di magozurlinux e ho suggerito la stessa cosa, oltre tutto così ho scoperto che la mia guida sembra non funzionare con le nuove versioni di Ubuntu.
rileggetevi il bug ...
Ultima modifica di corradoventu il venerdì 18 maggio 2018, 14:14, modificato 2 volte in totale.
Con o senza religione, i buoni si comportano bene e i cattivi male, ma ci vuole la religione per far comportare male i buoni.
(Steven Weinberg)
Morgenstern
Prode Principiante
Messaggi: 61
Iscrizione: martedì 13 settembre 2011, 15:18

Re: Bluetooth non riconosciuto su HP250

Messaggio da Morgenstern »

Temo sia la stessa guida che ho seguito poche ore fa...
Immagine
Morgenstern
Prode Principiante
Messaggi: 61
Iscrizione: martedì 13 settembre 2011, 15:18

Re: Bluetooth non riconosciuto su HP250

Messaggio da Morgenstern »

Altri consigli? Purtroppo la situazione non migliora...
Immagine
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: Bluetooth non riconosciuto su HP250

Messaggio da magozurlinux »

Da terminale dai questi comandi:

Codice: Seleziona tutto

sudo kedit /etc/default/bluetooth


copia e 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.

Da terminale postami questo comando:

Codice: Seleziona tutto

cat /var/lib/bluetooth/10:08:B1:C8:0C:D6/config
Ubuntu 22.04 LTS Desktop :ciao:
Morgenstern
Prode Principiante
Messaggi: 61
Iscrizione: martedì 13 settembre 2011, 15:18

Re: Bluetooth non riconosciuto su HP250

Messaggio da Morgenstern »

Scusatemi se non ho più scritto, ma direi che in qualche modo ho risolto. Dando sudo modprobe rtbth e poi connettendosi alle case bluetooth via bluetoothctl riesco a farle funzionare, pur con una qualità di trasmissione piuttosto bassa (colpa del bluetooth del pc che è scarso).
A volte la connessione alle casse non riesce e devo rimuovere e poi riappaiare le casse al pc, ma nel complesso la connessione funziona.
Credo che la connessione funzionerebbe anche usando blueman, ma tutto sommato preferisco bluetoothctl.
Temo che sia il massimo a cui posso ambire con questo pc, ma va già bene così.
Grazie mille per il vostro aiuto, potete mettere "risolto".
Immagine
Avatar utente
giulux
Amministratore
Amministratore
Messaggi: 25422
Iscrizione: domenica 10 gennaio 2010, 12:17
Desktop: ubuntu 18.04
Distribuzione: Ubuntu 18.04.3 LTS x86_64
Sesso: Maschile
Località: Roma

Re: Bluetooth non riconosciuto su HP250

Messaggio da giulux »

Devi farlo tu modificando il titolo del primo post mettendoci davanti [Risolto].

Se vuoi puoi installare questo script che aggiunge un pulsante per mettere [Risolto] con un solo click.
Ciao.
"Non è una segno di buona salute l'essere ben adattato ad una società malata". (Jiddu Krishnarmurti)
Scrivi risposta

Ritorna a “Driver e periferiche”

Chi c’è in linea

Visualizzano questa sezione: Bing [Bot] e 15 ospiti