[Risolto] Bluetooth con lucchetto

Riconoscimento, installazione e configurazione delle periferiche.
DPD-
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 453
Iscrizione: mercoledì 2 marzo 2011, 16:31
Desktop: KDE Plasma 5
Distribuzione: Kubuntu 18.04 (64 bit)
Sesso: Maschile
Località: Friuli
Contatti:

[Risolto] Bluetooth con lucchetto

Messaggio da DPD- »

Io ho un dell 3542 (come scritto nella firma) con bluetooth incorporato e ho fatto correttamente l'associazione con un Nokia c2-02, un Samsung GalaxyS 2 , tablet asus con Android.
Io riesco a inviare file ma quando inviano file a me non riesco a riceverli: su android compare "invio file non riuscito", sul nokia "il dispositivo non supporta la ricezione" e sul mio computer compare un lucchetto sul simbolo del bluetooth.
Ho provato anche con un macbook, col quale è fallita anche l'associzione.
Ultima modifica di DPD- il lunedì 15 dicembre 2014, 16:53, modificato 1 volta in totale.
Dettagli del mio computer: DELL Inspiron 3542 · Kubuntu 18.04 x64 KDE Plasma 5
Intel i5-4210U 1,7GHz × 4 thread · 8 GB DDR3L 1600MHz Ram + 8 GiB swap · Intel HD Graphics 4400
            
Avatar utente
magozurlinux
Accecante Asceta
Accecante Asceta
Messaggi: 24864
Iscrizione: mercoledì 17 marzo 2010, 17:44
Desktop: ubuntu
Distribuzione: Ubuntu 22.04.3 LTS x86_64
Sesso: Maschile
Località: Pisa

Re: Bluetooth con lucchetto

Messaggio da magozurlinux »

Da terminale postami questi comandi:

Codice: Seleziona tutto

lsusb

Codice: Seleziona tutto

dmesg | grep usb

Codice: Seleziona tutto

dmesg | grep Blue

Codice: Seleziona tutto

dpkg -l | grep blue

Codice: Seleziona tutto

hciconfig -a

Codice: Seleziona tutto

rfkill list
Ubuntu 22.04 LTS Desktop :ciao:
DPD-
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 453
Iscrizione: mercoledì 2 marzo 2011, 16:31
Desktop: KDE Plasma 5
Distribuzione: Kubuntu 18.04 (64 bit)
Sesso: Maschile
Località: Friuli
Contatti:

Re: Bluetooth con lucchetto

Messaggio da DPD- »

Codice: Seleziona tutto

dpd-@dpd-Ubuntu:~$ lsusb
Bus 001 Device 005: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 006: ID 0cf3:0036 Atheros Communications, Inc. 
Bus 001 Device 003: ID 0bda:5756 Realtek Semiconductor Corp. 
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
dpd-@dpd-Ubuntu:~$ dmesg | grep Blue
[   13.059652] Bluetooth: Core ver 2.17
[   13.060008] Bluetooth: HCI device and connection manager initialized
[   13.060017] Bluetooth: HCI socket layer initialized
[   13.060995] Bluetooth: L2CAP socket layer initialized
[   13.061004] Bluetooth: SCO socket layer initialized
[   21.742104] Bluetooth: RFCOMM TTY layer initialized
[   21.742115] Bluetooth: RFCOMM socket layer initialized
[   21.742120] Bluetooth: RFCOMM ver 1.11
[   21.932808] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   21.932812] Bluetooth: BNEP filters: protocol multicast
[   21.932821] Bluetooth: BNEP socket layer initialized
dpd-@dpd-Ubuntu:~$ dpkg -l | grep blue
ii  bluez                                                       4.101-0ubuntu13                                     amd64        Bluetooth tools and daemons
ii  bluez-alsa:amd64                                            4.101-0ubuntu13                                     amd64        Bluetooth ALSA support
ii  gir1.2-gnomebluetooth-1.0                                   3.8.2.1-0ubuntu4                                    amd64        Introspection data for GnomeBluetooth
ii  gnome-bluetooth                                             3.8.2.1-0ubuntu4                                    amd64        GNOME Bluetooth tools
ii  indicator-bluetooth                                         0.0.6+14.04.20140207-0ubuntu2                       amd64        System bluetooth indicator.
ii  libbluetooth3:amd64                                         4.101-0ubuntu13                                     amd64        Library to use the BlueZ Linux Bluetooth stack
ii  libgnome-bluetooth11                                        3.8.2.1-0ubuntu4                                    amd64        GNOME Bluetooth tools - support library
ii  pulseaudio-module-bluetooth                                 1:4.0-0ubuntu11                                     amd64        Bluetooth module for PulseAudio sound server
dpd-@dpd-Ubuntu:~$ hciconfig -a
hci0:	Type: BR/EDR  Bus: USB
	BD Address: 64:5A:04:6C:C9:C4  ACL MTU: 1022:8  SCO MTU: 183:5
	UP RUNNING PSCAN ISCAN 
	RX bytes:1182 acl:0 sco:0 events:67 errors:0
	TX bytes:1550 acl:0 sco:0 commands:67 errors:0
	Features: 0xff 0xfe 0x0d 0xfe 0xd8 0x7f 0x7b 0x8f
	Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
	Link policy: RSWITCH HOLD SNIFF 
	Link mode: SLAVE ACCEPT 
	Name: 'ubuntu-0'
	Class: 0x6c0100
	Service Classes: Rendering, Capturing, Audio, Telephony
	Device Class: Computer, Uncategorized
	HCI Version:  (0x7)  Revision: 0x3101
	LMP Version:  (0x7)  Subversion: 0x1
	Manufacturer: Atheros Communications, Inc. (69)

dpd-@dpd-Ubuntu:~$ rfkill list
0: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
1: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no
dpd-@dpd-Ubuntu:~$ 
Dettagli del mio computer: DELL Inspiron 3542 · Kubuntu 18.04 x64 KDE Plasma 5
Intel i5-4210U 1,7GHz × 4 thread · 8 GB DDR3L 1600MHz Ram + 8 GiB swap · Intel HD Graphics 4400
            
Avatar utente
magozurlinux
Accecante Asceta
Accecante Asceta
Messaggi: 24864
Iscrizione: mercoledì 17 marzo 2010, 17:44
Desktop: ubuntu
Distribuzione: Ubuntu 22.04.3 LTS x86_64
Sesso: Maschile
Località: Pisa

Re: Bluetooth con lucchetto

Messaggio da magozurlinux »

Da terminale dai questi comandi:

Codice: Seleziona tutto

sudo apt-get install bluez-utils

Codice: Seleziona tutto

sudo service bluetooth restart
Da Gestore pacchetti controlla che siano installati questi pacchetti:

Codice: Seleziona tutto


    bluez-utils

    nautilus-sendto

    obexpushd

    obexftp

    gnome-user-share

    obexfs

    obex-data-server
Da terminale con lo smartphone Nokia in modalità di rilevamento bluetooth postami questo comando:

Codice: Seleziona tutto

hcitool scan
Ubuntu 22.04 LTS Desktop :ciao:
DPD-
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 453
Iscrizione: mercoledì 2 marzo 2011, 16:31
Desktop: KDE Plasma 5
Distribuzione: Kubuntu 18.04 (64 bit)
Sesso: Maschile
Località: Friuli
Contatti:

Re: Bluetooth con lucchetto

Messaggio da DPD- »

Codice: Seleziona tutto

dpd-@dpd-Ubuntu:~$ hcitool scan
Scanning ...
	94:00:70:3B:02:E8	DPD- c2
dpd-@dpd-Ubuntu:~$ 
Non cambia niente.
PS: sono riuscito a fare l'associazione col macbook e riesco a passargli i file, ma non a riceverli.
Dettagli del mio computer: DELL Inspiron 3542 · Kubuntu 18.04 x64 KDE Plasma 5
Intel i5-4210U 1,7GHz × 4 thread · 8 GB DDR3L 1600MHz Ram + 8 GiB swap · Intel HD Graphics 4400
            
Avatar utente
magozurlinux
Accecante Asceta
Accecante Asceta
Messaggi: 24864
Iscrizione: mercoledì 17 marzo 2010, 17:44
Desktop: ubuntu
Distribuzione: Ubuntu 22.04.3 LTS x86_64
Sesso: Maschile
Località: Pisa

Re: Bluetooth con lucchetto

Messaggio da magozurlinux »

DPD- [url=http://forum.ubuntu-it.org/viewtopic.php?p=4623515#p4623515][img]http://forum.ubuntu-it.org/images/icons/icona-cita.gif[/img][/url] ha scritto:dpd-@dpd-Ubuntu:~$ hcitool scan
Scanning ...
94:00:70:3B:02:E8 DPD- c2
dpd-@dpd-Ubuntu:~$
Non cambia niente.
Quel comando serve per leggere il mac address ed il nome del dispositivo!

Da terminale postami questo comando con lo smartphone in modalità di rilevamento bluetooth:

Codice: Seleziona tutto

sdptool browse 94:00:70:3B:02:E8
Ubuntu 22.04 LTS Desktop :ciao:
DPD-
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 453
Iscrizione: mercoledì 2 marzo 2011, 16:31
Desktop: KDE Plasma 5
Distribuzione: Kubuntu 18.04 (64 bit)
Sesso: Maschile
Località: Friuli
Contatti:

Re: Bluetooth con lucchetto

Messaggio da DPD- »

Codice: Seleziona tutto

dpd-@dpd-Ubuntu:~$ sdptool browse 94:00:70:3B:02:E8
Browsing 94:00:70:3B:02:E8 ...
Service Name: Network Access Point Service
Service Description: Personal Ad-hoc Network Service which provides access to a network
Service RecHandle: 0x10000
Service Class ID List:
  "Network Access Point" (0x1116)
Protocol Descriptor List:
  "L2CAP" (0x0100)
    PSM: 15
  "BNEP" (0x000f)
    Version: 0x0100
    SEQ8: dd 6
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "Network Access Point" (0x1116)
    Version: 0x0100

Service Name: OBEX Object Push
Service RecHandle: 0x10001
Service Class ID List:
  "OBEX Object Push" (0x1105)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 9
  "OBEX" (0x0008)
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "OBEX Object Push" (0x1105)
    Version: 0x0100

Service Name: OBEX File Transfer
Service RecHandle: 0x10002
Service Class ID List:
  "OBEX File Transfer" (0x1106)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 10
  "OBEX" (0x0008)
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "OBEX File Transfer" (0x1106)
    Version: 0x0100

Service Name: Dial-up networking
Service RecHandle: 0x10003
Service Class ID List:
  "Dialup Networking" (0x1103)
  "Generic Networking" (0x1201)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 1
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "Dialup Networking" (0x1103)
    Version: 0x0100

Service Name: Nokia PC Suite
Service RecHandle: 0x10004
Service Class ID List:
  "Serial Port" (0x1101)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 15
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100

Service Name: COM 1
Service RecHandle: 0x10005
Service Class ID List:
  "Serial Port" (0x1101)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 3
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100

Service Name: Voice Gateway
Service RecHandle: 0x10006
Service Class ID List:
  "Handsfree Audio Gateway" (0x111f)
  "Generic Audio" (0x1203)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 13
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "Handsfree" (0x111e)
    Version: 0x0105

Service Name: Audio Gateway
Service RecHandle: 0x10007
Service Class ID List:
  "Headset Audio Gateway" (0x1112)
  "Generic Audio" (0x1203)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 12
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "Headset" (0x1108)
    Version: 0x0100

Service Name: SyncML Client
Service RecHandle: 0x10009
Service Class ID List:
  UUID 128: 00000002-0000-1000-8000-0002ee000002
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 11
  "OBEX" (0x0008)
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100

Service Name: Phonebook Access PSE
Service RecHandle: 0x1000b
Service Class ID List:
  "Phonebook Access - PSE" (0x112f)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 21
  "OBEX" (0x0008)
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "Phonebook Access" (0x1130)
    Version: 0x0100

Service Name: SIM ACCESS
Service RecHandle: 0x1000f
Service Class ID List:
  "SIM Access" (0x112d)
  "Generic Telephony" (0x1204)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 4
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "SIM Access" (0x112d)
    Version: 0x0102

dpd-@dpd-Ubuntu:~$
Dettagli del mio computer: DELL Inspiron 3542 · Kubuntu 18.04 x64 KDE Plasma 5
Intel i5-4210U 1,7GHz × 4 thread · 8 GB DDR3L 1600MHz Ram + 8 GiB swap · Intel HD Graphics 4400
            
Avatar utente
magozurlinux
Accecante Asceta
Accecante Asceta
Messaggi: 24864
Iscrizione: mercoledì 17 marzo 2010, 17:44
Desktop: ubuntu
Distribuzione: Ubuntu 22.04.3 LTS x86_64
Sesso: Maschile
Località: Pisa

Re: Bluetooth con lucchetto

Messaggio da magozurlinux »

Da terminale dai questi comandi:

Codice: Seleziona tutto

sdptool add --channel=10 OPUSH

Codice: Seleziona tutto

sudo mkdir samsung
Pe montare lo smartphone dai questo comando:

Codice: Seleziona tutto

obexfs -b 94:00:70:3B:02:E8 ~/samsung
per navigare all'interno delle cartelle dello smartphone:

Codice: Seleziona tutto

nautilus --no-desktop obex://94:00:70:3B:02:E8/
Per smontare lo smartphone:

Codice: Seleziona tutto

fusermount --u ~/samsung
Ubuntu 22.04 LTS Desktop :ciao:
Avatar utente
SeRpEnT
Prode Principiante
Messaggi: 112
Iscrizione: venerdì 16 febbraio 2007, 13:08

Re: Bluetooth con lucchetto

Messaggio da SeRpEnT »

Anche io ho lo stesso identico problema!!!

quando cerco di inviare un file da cellulare a PC su ubuntu esce un piccolo lucchetto sull'icona del bluetooth nella barra in alto a destra e non succede niente :incazz:


Soluzioni??


Ah, dimenticavo; uso ubuntu 14.04 LTS visto che l'ultimo aggiornamento del kernel sulla 12.04 mi ha completamente fottuto tutto costringendomi a reinstallare da zero :suspett: :incazz: :incazz:

PS possibile che ogni nuova versione di Ubuntu abbia sempre qualche problema?
Il potere dei pochi è dato dall'ignoranza dei tanti...    (Prova a cercare su Google SIGNORAGGIO)
Immagine
Avatar utente
magozurlinux
Accecante Asceta
Accecante Asceta
Messaggi: 24864
Iscrizione: mercoledì 17 marzo 2010, 17:44
Desktop: ubuntu
Distribuzione: Ubuntu 22.04.3 LTS x86_64
Sesso: Maschile
Località: Pisa

Re: Bluetooth con lucchetto

Messaggio da magozurlinux »

@SeRpEnT

Da terminale con lo smartphone in modalità di rilevamento bluetooth, postami questo comando:

Codice: Seleziona tutto

hcitool scan
Ubuntu 22.04 LTS Desktop :ciao:
Avatar utente
SeRpEnT
Prode Principiante
Messaggi: 112
Iscrizione: venerdì 16 febbraio 2007, 13:08

Re: Bluetooth con lucchetto

Messaggio da SeRpEnT »

Codice: Seleziona tutto

B8:C6:8E:F2:08:EC 	Serpent
Il potere dei pochi è dato dall'ignoranza dei tanti...    (Prova a cercare su Google SIGNORAGGIO)
Immagine
Avatar utente
magozurlinux
Accecante Asceta
Accecante Asceta
Messaggi: 24864
Iscrizione: mercoledì 17 marzo 2010, 17:44
Desktop: ubuntu
Distribuzione: Ubuntu 22.04.3 LTS x86_64
Sesso: Maschile
Località: Pisa

Re: Bluetooth con lucchetto

Messaggio da magozurlinux »

Da terminale postami questo comando con lo smartphone in modalità dirilevamento bluetooth :

Codice: Seleziona tutto

sdptool browse B8:C6:8E:F2:08:EC
Ubuntu 22.04 LTS Desktop :ciao:
Avatar utente
SeRpEnT
Prode Principiante
Messaggi: 112
Iscrizione: venerdì 16 febbraio 2007, 13:08

Re: Bluetooth con lucchetto

Messaggio da SeRpEnT »

Codice: Seleziona tutto

serpent@serpent-C90S:~$ sdptool browse B8:C6:8E:F2:08:EC
Browsing B8:C6:8E:F2:08:EC ...
Service RecHandle: 0x10000
Service Class ID List:
  "PnP Information" (0x1200)
Profile Descriptor List:
  "PnP Information" (0x1200)
    Version: 0x0102

Service Name: Audio Source
Service RecHandle: 0x10001
Service Class ID List:
  "Audio Source" (0x110a)
Protocol Descriptor List:
  "L2CAP" (0x0100)
    PSM: 25
  "AVDTP" (0x0019)
    uint16: 0x102
Profile Descriptor List:
  "Advanced Audio" (0x110d)
    Version: 0x0102

Service Name: AVRCP TG
Service RecHandle: 0x10002
Service Class ID List:
  "AV Remote Target" (0x110c)
Protocol Descriptor List:
  "L2CAP" (0x0100)
    PSM: 23
  "AVCTP" (0x0017)
    uint16: 0x103
Profile Descriptor List:
  "AV Remote" (0x110e)
    Version: 0x0103

Service Name: Voice Gateway
Service RecHandle: 0x10003
Service Class ID List:
  "Headset Audio Gateway" (0x1112)
  "Generic Audio" (0x1203)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 11
Profile Descriptor List:
  "Headset" (0x1108)
    Version: 0x0102

Service Name: OBEX Object Push
Service RecHandle: 0x10004
Service Class ID List:
  "OBEX Object Push" (0x1105)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 12
  "OBEX" (0x0008)
Profile Descriptor List:
  "OBEX Object Push" (0x1105)
    Version: 0x0100

Service Name: OBEX Phonebook Access Server
Service RecHandle: 0x10005
Service Class ID List:
  "Phonebook Access - PSE" (0x112f)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 19
  "OBEX" (0x0008)
Profile Descriptor List:
  "Phonebook Access" (0x1130)
    Version: 0x0100

Service Name: Voice Gateway
Service RecHandle: 0x10006
Service Class ID List:
  "Handsfree Audio Gateway" (0x111f)
  "Generic Audio" (0x1203)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 10
Profile Descriptor List:
  "Handsfree" (0x111e)
    Version: 0x0105

Service Name: Network service
Service Description: Network service
Service RecHandle: 0x10007
Service Class ID List:
  "Network Access Point" (0x1116)
Protocol Descriptor List:
  "L2CAP" (0x0100)
    PSM: 15
  "BNEP" (0x000f)
    Version: 0x0100
    SEQ16: 800 806
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "Network Access Point" (0x1116)
    Version: 0x0100

Service Name: Android SMS
Service RecHandle: 0x10008
Service Class ID List:
  "" (0x1132)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 20
  "OBEX" (0x0008)
Profile Descriptor List:
  "" (0x1134)
    Version: 0x0100

Service Name: SIM Access Server
Service RecHandle: 0x10009
Service Class ID List:
  "SIM Access" (0x112d)
  "Generic Telephony" (0x1204)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 8
Profile Descriptor List:
  "SIM Access" (0x112d)
    Version: 0x0101

Grazie per l'aiuto! :D
Il potere dei pochi è dato dall'ignoranza dei tanti...    (Prova a cercare su Google SIGNORAGGIO)
Immagine
Avatar utente
magozurlinux
Accecante Asceta
Accecante Asceta
Messaggi: 24864
Iscrizione: mercoledì 17 marzo 2010, 17:44
Desktop: ubuntu
Distribuzione: Ubuntu 22.04.3 LTS x86_64
Sesso: Maschile
Località: Pisa

Re: Bluetooth con lucchetto

Messaggio da magozurlinux »

Prego, di nulla!

Dall'output che hai postato ti manca il servizio:

OBEX File transfer

Da Ubuntu Software Center o da Gestore pacchetti controlla che siano installati questi pacchetti:

Codice: Seleziona tutto

bluez-utils

nautilus-sendto

obexpushd

obexftp

gnome-user-share

obexfs
Se hai installato dei pacchetti, da terminale poi dai questo comando:

Codice: Seleziona tutto

sudo service bluetooth restart
Ho visto che hai uno smartphone con S.O. Android; Installa Blueman, questa applicazione con Android funziona meglio.
Ubuntu 22.04 LTS Desktop :ciao:
Avatar utente
maxbigsi
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 17039
Iscrizione: mercoledì 21 maggio 2008, 14:05
Desktop: Xfce
Distribuzione: MX Linux 23.2 64bit
Sesso: Maschile
Contatti:

Re: Bluetooth con lucchetto

Messaggio da maxbigsi »

mi accodo alla richiesta perché ho lo stesso problema :D posto i comandi suggeriti

Codice: Seleziona tutto

max@max-pc:~$ hcitool scan
Scanning ...
	30:76:6F:61:26:3A	LG-E460
max@max-pc:~$ sdptool browse 30:76:6F:61:26:3A
Browsing 30:76:6F:61:26:3A ...
Service Name: AUDIO Gateway
Service RecHandle: 0x10002
Service Class ID List:
  "Headset Audio Gateway" (0x1112)
  "Generic Audio" (0x1203)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 1
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "Headset" (0x1108)
    Version: 0x0100

Service Name: Advanced Audio
Service RecHandle: 0x10003
Service Class ID List:
  "Audio Source" (0x110a)
Protocol Descriptor List:
  "L2CAP" (0x0100)
    PSM: 25
  "AVDTP" (0x0019)
    uint16: 0x100
Profile Descriptor List:
  "Advanced Audio" (0x110d)
    Version: 0x0100

Service Name: Voiceg ateway
Service RecHandle: 0x10004
Service Class ID List:
  "Handsfree Audio Gateway" (0x111f)
  "Generic Audio" (0x1203)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 2
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "Handsfree" (0x111e)
    Version: 0x0105

Service RecHandle: 0x10005
Service Class ID List:
  "AV Remote Target" (0x110c)
Protocol Descriptor List:
  "L2CAP" (0x0100)
    PSM: 23
  "AVCTP" (0x0017)
    uint16: 0x100
Profile Descriptor List:
  "AV Remote" (0x110e)
    Version: 0x0103

Service Name: OBEX Object Push
Service RecHandle: 0x10006
Service Class ID List:
  "OBEX Object Push" (0x1105)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 4
  "OBEX" (0x0008)
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100

Service Name: Network Access Point Service
Service Description: Bluetooth NAP Service
Service RecHandle: 0x10007
Service Class ID List:
  "Network Access Point" (0x1116)
Protocol Descriptor List:
  "L2CAP" (0x0100)
    PSM: 15
  "BNEP" (0x000f)
    Version: 0x0100
    SEQ8: 0 6
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "Network Access Point" (0x1116)
    Version: 0x0100

Service Name: OBEX File Transfer
Service RecHandle: 0x10008
Service Class ID List:
  "OBEX File Transfer" (0x1106)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 3
  "OBEX" (0x0008)
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100

Service Name: Phonebook Access PSE
Service RecHandle: 0x10009
Service Class ID List:
  "Phonebook Access - PSE" (0x112f)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 8
  "OBEX" (0x0008)
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "Phonebook Access" (0x1130)
    Version: 0x0100

Service Name: instance0
Service RecHandle: 0x1000a
Service Class ID List:
  "" (0x1132)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 11
  "OBEX" (0x0008)
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "" (0x1134)
    Version: 0x0100

max@max-pc:~$ sudo service bluetooth restart
[sudo] password for max: 
bluetooth stop/waiting
bluetooth start/running, process 24827
max@max-pc:~$ 
e aggiungo che ho installato tutti i pacchetti mancanti citati, ma nonostante ciò non riesco ad inviare dei file dallo smartphone al pc ... si tratta di un LG http://www.lg.com/it/telefoni-cellulari ... imus-L5-II ... un ringraziamento anticipato a magozurlinux :ciao:

Edit: riposto il comando con i pacchetti già installati

Codice: Seleziona tutto

max@max-pc:~$ sdptool browse 30:76:6F:61:26:3A
Browsing 30:76:6F:61:26:3A ...
Service Name: AUDIO Gateway
Service RecHandle: 0x10002
Service Class ID List:
  "Headset Audio Gateway" (0x1112)
  "Generic Audio" (0x1203)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 1
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "Headset" (0x1108)
    Version: 0x0100

Service Name: Advanced Audio
Service RecHandle: 0x10003
Service Class ID List:
  "Audio Source" (0x110a)
Protocol Descriptor List:
  "L2CAP" (0x0100)
    PSM: 25
  "AVDTP" (0x0019)
    uint16: 0x100
Profile Descriptor List:
  "Advanced Audio" (0x110d)
    Version: 0x0100

Service Name: Voiceg ateway
Service RecHandle: 0x10004
Service Class ID List:
  "Handsfree Audio Gateway" (0x111f)
  "Generic Audio" (0x1203)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 2
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "Handsfree" (0x111e)
    Version: 0x0105

Service RecHandle: 0x10005
Service Class ID List:
  "AV Remote Target" (0x110c)
Protocol Descriptor List:
  "L2CAP" (0x0100)
    PSM: 23
  "AVCTP" (0x0017)
    uint16: 0x100
Profile Descriptor List:
  "AV Remote" (0x110e)
    Version: 0x0103

Service Name: OBEX Object Push
Service RecHandle: 0x10006
Service Class ID List:
  "OBEX Object Push" (0x1105)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 4
  "OBEX" (0x0008)
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100

Service Name: Network Access Point Service
Service Description: Bluetooth NAP Service
Service RecHandle: 0x10007
Service Class ID List:
  "Network Access Point" (0x1116)
Protocol Descriptor List:
  "L2CAP" (0x0100)
    PSM: 15
  "BNEP" (0x000f)
    Version: 0x0100
    SEQ8: 0 6
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "Network Access Point" (0x1116)
    Version: 0x0100

Service Name: OBEX File Transfer
Service RecHandle: 0x10008
Service Class ID List:
  "OBEX File Transfer" (0x1106)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 3
  "OBEX" (0x0008)
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100

Service Name: Phonebook Access PSE
Service RecHandle: 0x10009
Service Class ID List:
  "Phonebook Access - PSE" (0x112f)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 8
  "OBEX" (0x0008)
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "Phonebook Access" (0x1130)
    Version: 0x0100

Service Name: instance0
Service RecHandle: 0x1000a
Service Class ID List:
  "" (0x1132)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 11
  "OBEX" (0x0008)
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "" (0x1134)
    Version: 0x0100

max@max-pc:~$ 
W il software libero..... W Ubuntu -- Ubuntu User # 31322
https://www.ergosumracalmuto.org/inform ... /index.php
Avatar utente
maxbigsi
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 17039
Iscrizione: mercoledì 21 maggio 2008, 14:05
Desktop: Xfce
Distribuzione: MX Linux 23.2 64bit
Sesso: Maschile
Contatti:

Re: Bluetooth con lucchetto

Messaggio da maxbigsi »

...posto anche i comandi suggeriti nel post sopra

Codice: Seleziona tutto

max@max-pc:~$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 003: ID 046d:c52f Logitech, Inc. Wireless Mouse M305
Bus 001 Device 004: ID 058f:6362 Alcor Micro Corp. Flash Card Reader/Writer
Bus 002 Device 003: ID 07ca:850a AVerMedia Technologies, Inc. AverTV Volar Black HD (A850)
Bus 002 Device 004: ID 0ac8:3420 Z-Star Microelectronics Corp. Venus USB2.0 Camera
Bus 002 Device 006: ID 0cf3:3005 Atheros Communications, Inc. AR3011 Bluetooth

Codice: Seleziona tutto

max@max-pc:~$ dmesg | grep usb
[    0.628342] usbcore: registered new interface driver usbfs
[    0.628348] usbcore: registered new interface driver hub
[    0.628360] usbcore: registered new device driver usb
[    1.323606] usbcore: registered new interface driver libusual
[    1.519424] usb 1-1: new high-speed USB device number 2 using ehci_hcd
[    1.771242] usb 2-1: new high-speed USB device number 2 using ehci_hcd
[    1.975165] usb 1-1.2: new full-speed USB device number 3 using ehci_hcd
[    2.073290] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.0/input/input3
[    2.073525] generic-usb 0003:046D:C52F.0001: input,hidraw0: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:00:1a.0-1.2/input0
[    2.075256] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.1/input/input4
[    2.075489] generic-usb 0003:046D:C52F.0002: input,hiddev0,hidraw1: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:1a.0-1.2/input1
[    2.075499] usbcore: registered new interface driver usbhid
[    2.075501] usbhid: USB HID core driver
[    2.139046] usb 1-1.3: new high-speed USB device number 4 using ehci_hcd
[    2.235085] scsi6 : usb-storage 1-1.3:1.0
[    2.235133] usbcore: registered new interface driver usb-storage
[    2.302918] usb 2-1.3: new high-speed USB device number 3 using ehci_hcd
[    2.470803] usb 2-1.4: new high-speed USB device number 4 using ehci_hcd
[    2.658663] usb 2-1.7: new full-speed USB device number 5 using ehci_hcd
[   26.046842] usbcore: registered new interface driver ath3k
[   26.164588] dvb-usb: found a 'AverMedia AVerTV Volar Black HD (A850)' in cold state, will try to load a firmware
[   26.165564] dvb-usb: downloading firmware from file 'dvb-usb-af9015.fw'
[   26.242778] dvb-usb: found a 'AverMedia AVerTV Volar Black HD (A850)' in warm state.
[   26.242820] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[   26.255131] dvb-usb: AverMedia AVerTV Volar Black HD (A850) successfully initialized and connected.
[   26.263777] usbcore: registered new interface driver dvb_usb_af9015
[   26.286877] usb 2-1.7: USB disconnect, device number 5
[   27.252440] usb 2-1.7: new full-speed USB device number 6 using ehci_hcd
[   27.353032] usbcore: registered new interface driver btusb
[   35.764609] usbcore: registered new interface driver snd-usb-audio
[   35.766835] input: Vimicro USB 2.0 PC Camera (Venu as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.0/input/input18
[   35.767514] usbcore: registered new interface driver uvcvideo

Codice: Seleziona tutto

max@max-pc:~$ dmesg | grep Blue
[   25.757666] Bluetooth: Core ver 2.16
[   25.757680] Bluetooth: HCI device and connection manager initialized
[   25.757681] Bluetooth: HCI socket layer initialized
[   25.757682] Bluetooth: L2CAP socket layer initialized
[   25.757685] Bluetooth: SCO socket layer initialized
[   25.758365] Bluetooth: Atheros AR30xx firmware driver ver 1.0
[   26.227863] Bluetooth: RFCOMM TTY layer initialized
[   26.227867] Bluetooth: RFCOMM socket layer initialized
[   26.227868] Bluetooth: RFCOMM ver 1.11
[   26.228998] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   26.229001] Bluetooth: BNEP filters: protocol multicast
[   27.352757] Bluetooth: Generic Bluetooth USB driver ver 0.6

Codice: Seleziona tutto

dpkg -l | grep blue

Codice: Seleziona tutto

max@max-pc:~$ hciconfig -a
hci0:	Type: BR/EDR  Bus: USB
	BD Address: 00:26:83:17:25:35  ACL MTU: 1022:8  SCO MTU: 121:3
	UP RUNNING PSCAN ISCAN 
	RX bytes:15215 acl:112 sco:0 events:381 errors:0
	TX bytes:5675 acl:119 sco:0 commands:170 errors:0
	Features: 0xff 0xfe 0x0d 0xfe 0x98 0x7f 0x79 0x87
	Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
	Link policy: RSWITCH HOLD SNIFF 
	Link mode: SLAVE ACCEPT 
	Name: 'live-0'
	Class: 0x6e0100
	Service Classes: Networking, Rendering, Capturing, Audio, Telephony
	Device Class: Computer, Uncategorized
	HCI Version: 3.0 (0x5)  Revision: 0x9999
	LMP Version: 3.0 (0x5)  Subversion: 0x9999
	Manufacturer: Atheros Communications, Inc. (69)

Codice: Seleziona tutto

max@max-pc:~$ rfkill list
0: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no
W il software libero..... W Ubuntu -- Ubuntu User # 31322
https://www.ergosumracalmuto.org/inform ... /index.php
Avatar utente
maxbigsi
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 17039
Iscrizione: mercoledì 21 maggio 2008, 14:05
Desktop: Xfce
Distribuzione: MX Linux 23.2 64bit
Sesso: Maschile
Contatti:

Re: Bluetooth con lucchetto

Messaggio da maxbigsi »

operazione riuscita :D ... stamattina al riavvio mi sono accorto che è comparsa un'altra icona del bluetooth e che si tratta di Blueman, facendo dei tentativi di invio dallo smartphone al pc sono andati a buon fine, anche se non avevo subito intuito che i file li mette dentro la cartella Pubblici :D ... quindi un ringraziamento a magozurlinux è d'obbligo :birra:
Allegati
blueman.png
W il software libero..... W Ubuntu -- Ubuntu User # 31322
https://www.ergosumracalmuto.org/inform ... /index.php
Avatar utente
magozurlinux
Accecante Asceta
Accecante Asceta
Messaggi: 24864
Iscrizione: mercoledì 17 marzo 2010, 17:44
Desktop: ubuntu
Distribuzione: Ubuntu 22.04.3 LTS x86_64
Sesso: Maschile
Località: Pisa

Re: Bluetooth con lucchetto

Messaggio da magozurlinux »

@maxbigsi

Il tuo smartphone LG ha il servizio OBEX File Transfer; ecco l'output

Codice: Seleziona tutto

Service Name: OBEX File Transfer
Service RecHandle: 0x10008
Service Class ID List:
  "OBEX File Transfer" (0x1106)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 3
  "OBEX" (0x0008)
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
sì; i files inviati dallo smartphone al pc vengono salvati nella cartella Pubblici; è possibile cambiare cartella di destinazione.

L'altro utente non avendo questo servizio, non so se con Blueman risolva o meno il problema!

Ciao e grazie per i rigraziamenti! :D
Ubuntu 22.04 LTS Desktop :ciao:
Avatar utente
SeRpEnT
Prode Principiante
Messaggi: 112
Iscrizione: venerdì 16 febbraio 2007, 13:08

Re: Bluetooth con lucchetto

Messaggio da SeRpEnT »

Grazie per le dritte...

"Scandalosamente parlando" mi mancavano tutti i pacchetti che iniziano con "obex", una volta installati e riavviato il servizio bluetooth non è cambiato niente :muro:

Installato blueman funziona!!! :birra:


Non è possibile però che ogni nuova versione di ubuntu perda pezzi per strada... aggiungono nuove funzioni e perdono pezzi delle altre... è dalla 6.06 che succede così... mi spiego perchè i SO più diffusi restano sempre quelli :nono:

PS inoltre unity (se non ho capito male) non permette l'apparizione di nessuna icona aggiuntiva nel systray :madno:
Il potere dei pochi è dato dall'ignoranza dei tanti...    (Prova a cercare su Google SIGNORAGGIO)
Immagine
Avatar utente
magozurlinux
Accecante Asceta
Accecante Asceta
Messaggi: 24864
Iscrizione: mercoledì 17 marzo 2010, 17:44
Desktop: ubuntu
Distribuzione: Ubuntu 22.04.3 LTS x86_64
Sesso: Maschile
Località: Pisa

Re: Bluetooth con lucchetto

Messaggio da magozurlinux »

Perfetto!

Uso Ubuntu 12.04 LTS ed un vecchio smartphone, il Motorola E1000, non ho installato pacchetti, appena accendo il bluetooth dello smartphone, l'icona appare sul desktop e posso fare tutte le operazioni.

Con gli smartphone con S.O. Android bisogna installare Blueman, non so il perchè, ma con quello di default il trasferimento dati non funziona.

Ciao.
Ubuntu 22.04 LTS Desktop :ciao:
Scrivi risposta

Ritorna a “Driver e periferiche”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 14 ospiti