bluetooth ubuntu 12.04 lts

Riconoscimento, installazione e configurazione delle periferiche.
devil_lady
Prode Principiante
Messaggi: 14
Iscrizione: lunedì 25 giugno 2012, 16:24
Desktop: COMAND NOT FOUND!
Distribuzione: Ubuntu 12.04 LTS i686

bluetooth ubuntu 12.04 lts

Messaggio da devil_lady »

salve, ho un hp 6730b e non riesco a passare i file sia dal bluetooth al telefono che il contrario...qualcuno mi aiuti!! :p :p :p
devil_lady
Prode Principiante
Messaggi: 14
Iscrizione: lunedì 25 giugno 2012, 16:24
Desktop: COMAND NOT FOUND!
Distribuzione: Ubuntu 12.04 LTS i686

Re: bluetooth ubuntu 12.04 lts

Messaggio da devil_lady »

* lts ...scusatemi!
Avatar utente
Mdfalcubo
Moderatore Globale
Moderatore Globale
Messaggi: 20420
Iscrizione: venerdì 26 dicembre 2008, 11:17
Desktop: Solo XFCE
Distribuzione: Xubuntu 64 bit
Sesso: Maschile

Re: bluetooth ubuntu 12.04 lts

Messaggio da Mdfalcubo »

Ho modificato io, ma puoi farlo anche tu, cliccando su "modifica" (a destra del titolo del post) ;)
"Il genere umano è stimolante, è la gente che non sopporto,, (Linus - Peanuts)
devil_lady
Prode Principiante
Messaggi: 14
Iscrizione: lunedì 25 giugno 2012, 16:24
Desktop: COMAND NOT FOUND!
Distribuzione: Ubuntu 12.04 LTS i686

Re: bluetooth ubuntu 12.04 lts

Messaggio da devil_lady »

grazie,come vedi sono nuova ^-^ un pò di pazienza ! :D
Avatar utente
Osiris
Prode Principiante
Messaggi: 176
Iscrizione: giovedì 16 settembre 2010, 22:27
Desktop: Unity - Gnome Shell
Distribuzione: Ubuntu 12.04 LTS i686

Re: bluetooth ubuntu 12.04 lts

Messaggio da Osiris »

devil_lady » [url=http://forum.ubuntu-it.org/viewtopic.php?p=4117211#p4117211]ieri, 22:13[/url] ha scritto:salve, ho un hp 6730b e non riesco a passare i file sia dal bluetooth al telefono che il contrario...qualcuno mi aiuti!! :p :p :p
Dovresti impostare in "Condivisione file personale" il collegamento tra i due dispositivi. Anche senza, andando solo su "bluetooth" dovresti riuscire a configurarlo. Casomai posta qualche dettaglio.
Packard Bell Dot S, Ubuntu 12.04 Unity/Gnome Shell
devil_lady
Prode Principiante
Messaggi: 14
Iscrizione: lunedì 25 giugno 2012, 16:24
Desktop: COMAND NOT FOUND!
Distribuzione: Ubuntu 12.04 LTS i686

Re: bluetooth ubuntu 12.04 lts

Messaggio da devil_lady »

quando entro nel dispositivo ( il cellulare) non mi fa vedere i file sia della memoria esterna,sia della memoria interna!|
Avatar utente
magozurlinux
Accecante Asceta
Accecante Asceta
Messaggi: 25012
Iscrizione: mercoledì 17 marzo 2010, 17:44
Desktop: xubuntu
Distribuzione: Xubuntu 22.04.3 LTS x86_64
Sesso: Maschile
Località: Pisa

Re: bluetooth ubuntu 12.04 lts

Messaggio da magozurlinux »

Da terminale postami questi comandi:

Codice: Seleziona tutto

lsusb

Codice: Seleziona tutto

dmesg | grep btusb

Codice: Seleziona tutto

dmesg | grep Blue

Codice: Seleziona tutto

hciconfig -a

Codice: Seleziona tutto

dpkg -l | grep blue

Codice: Seleziona tutto

rfkill list
Xubuntu 22.04 LTS - saluti da magozurlinux a tutti gli utenti del forum :ciao:
devil_lady
Prode Principiante
Messaggi: 14
Iscrizione: lunedì 25 giugno 2012, 16:24
Desktop: COMAND NOT FOUND!
Distribuzione: Ubuntu 12.04 LTS i686

Re: bluetooth ubuntu 12.04 lts

Messaggio da devil_lady »

magozurlinux ha scritto:Da terminale postami questi comandi:

Codice: Seleziona tutto

lsusb

Codice: Seleziona tutto

dmesg | grep btusb

Codice: Seleziona tutto

dmesg | grep Blue

Codice: Seleziona tutto

hciconfig -a

Codice: Seleziona tutto

dpkg -l | grep blue

Codice: Seleziona tutto

rfkill list
caterina@caterina-HP-Compaq-6730b-KE717AV:~$ 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:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 04f2:b059 Chicony Electronics Co., Ltd CKF7037 HP webcam
Bus 003 Device 002: ID 03f0:171d Hewlett-Packard Bluetooth 2.0 Interface [Broadcom BCM2045]
caterina@caterina-HP-Compaq-6730b-KE717AV:~$ dmesg | grep btusb
[ 21.244674] usbcore: registered new interface driver btusb
caterina@caterina-HP-Compaq-6730b-KE717AV:~$ dmesg | grep Blue
[ 21.171489] Bluetooth: Core ver 2.16
[ 21.171511] Bluetooth: HCI device and connection manager initialized
[ 21.171514] Bluetooth: HCI socket layer initialized
[ 21.171516] Bluetooth: L2CAP socket layer initialized
[ 21.171521] Bluetooth: SCO socket layer initialized
[ 21.171780] Bluetooth: Generic Bluetooth USB driver ver 0.6
[ 21.666980] Bluetooth: RFCOMM TTY layer initialized
[ 21.666986] Bluetooth: RFCOMM socket layer initialized
[ 21.666988] Bluetooth: RFCOMM ver 1.11
[ 21.667458] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 21.667461] Bluetooth: BNEP filters: protocol multicast
caterina@caterina-HP-Compaq-6730b-KE717AV:~$ hciconfig -a
hci0: Type: BR/EDR Bus: USB
BD Address: 00:24:7E:3F:2F:0A ACL MTU: 1017:8 SCO MTU: 64:8
UP RUNNING PSCAN
RX bytes:813 acl:0 sco:0 events:30 errors:0
TX bytes:385 acl:0 sco:0 commands:30 errors:0
Features: 0xff 0xff 0x8f 0xfe 0x9b 0xf9 0x00 0x80
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF PARK
Link mode: SLAVE ACCEPT
Name: 'caterina-HP-Compaq-6730b-KE717AV-0'
Class: 0x6e0100
Service Classes: Networking, Rendering, Capturing, Audio, Telephony
Device Class: Computer, Uncategorized
HCI Version: 2.0 (0x3) Revision: 0x2129
LMP Version: 2.0 (0x3) Subversion: 0x41cf
Manufacturer: Broadcom Corporation (15)

caterina@caterina-HP-Compaq-6730b-KE717AV:~$ dpkg -l | grep blue
ii bluez 4.98-2ubuntu7 Bluetooth tools and daemons
ii bluez-alsa 4.98-2ubuntu7 Bluetooth ALSA support
ii bluez-cups 4.98-2ubuntu7 Bluetooth printer driver for CUPS
ii bluez-gstreamer 4.98-2ubuntu7 Bluetooth GStreamer support
ii gir1.2-gnomebluetooth-1.0 3.2.2-0ubuntu5 Introspection data for GnomeBluetooth
ii gnome-bluetooth 3.2.2-0ubuntu5 GNOME Bluetooth tools
ii libbluetooth3 4.98-2ubuntu7 Library to use the BlueZ Linux Bluetooth stack
ii libgnome-bluetooth8 3.2.2-0ubuntu5 GNOME Bluetooth tools - support library
ii pulseaudio-module-bluetooth 1:1.1-0ubuntu15.1 Bluetooth module for PulseAudio sound server
caterina@caterina-HP-Compaq-6730b-KE717AV:~$ rfkill list
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
2: hp-wifi: Wireless LAN
Soft blocked: no
Hard blocked: no
3: hp-bluetooth: Bluetooth
Soft blocked: no
Hard blocked: no
4: hp-wwan: Wireless WAN
Soft blocked: yes
Hard blocked: no
caterina@caterina-HP-Compaq-6730b-KE717AV:~$
ecco U.u
Avatar utente
magozurlinux
Accecante Asceta
Accecante Asceta
Messaggi: 25012
Iscrizione: mercoledì 17 marzo 2010, 17:44
Desktop: xubuntu
Distribuzione: Xubuntu 22.04.3 LTS x86_64
Sesso: Maschile
Località: Pisa

Re: bluetooth ubuntu 12.04 lts

Messaggio da magozurlinux »

L'adattatore bluetooth è della Broadcom:
Bus 003 Device 002: ID 03f0:171d Hewlett-Packard Bluetooth 2.0 Interface [Broadcom BCM2045]
caterina@caterina-HP-Compaq-6730b-KE717AV:~$ hciconfig -a
hci0: Type: BR/EDR Bus: USB
BD Address: 00:24:7E:3F:2F:0A ACL MTU: 1017:8 SCO MTU: 64:8
UP RUNNING PSCAN
RX bytes:813 acl:0 sco:0 events:30 errors:0
TX bytes:385 acl:0 sco:0 commands:30 errors:0
Features: 0xff 0xff 0x8f 0xfe 0x9b 0xf9 0x00 0x80
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF PARK
Link mode: SLAVE ACCEPT
Name: 'caterina-HP-Compaq-6730b-KE717AV-0'
Class: 0x6e0100
Service Classes: Networking, Rendering, Capturing, Audio, Telephony
Device Class: Computer, Uncategorized
HCI Version: 2.0 (0x3) Revision: 0x2129
LMP Version: 2.0 (0x3) Subversion: 0x41cf
Manufacturer: Broadcom Corporation (15)
non vedo il servizio Object Transfer che serve per inviare e ricevere files da e per dispositivi bluetooth.

Gli altri outputs che hai postato vanno bene, manca solo il pacchetto bluez-utils che puoi installare da Software Center e dopo averlo installato da terminale dai questo comando:

Codice: Seleziona tutto

sudo service bluetooth restart
Riavvia il pc.

Dopo aver riavviato il pc, da terminale postami questo comando col telefonino bluetooth in modalità Trovami:

Codice: Seleziona tutto

hcitool scan
Xubuntu 22.04 LTS - saluti da magozurlinux a tutti gli utenti del forum :ciao:
devil_lady
Prode Principiante
Messaggi: 14
Iscrizione: lunedì 25 giugno 2012, 16:24
Desktop: COMAND NOT FOUND!
Distribuzione: Ubuntu 12.04 LTS i686

Re: bluetooth ubuntu 12.04 lts

Messaggio da devil_lady »

caterina@caterina-HP-Compaq-6730b-KE717AV:~$ hcitool scan
Scanning ...
94:63:D1:CC:5D:11 kate

il mio telefono non ha questa modalità..l'ho configurato come nuovo dispositivo e dato da terminale il comando e questo è il risultato
Avatar utente
magozurlinux
Accecante Asceta
Accecante Asceta
Messaggi: 25012
Iscrizione: mercoledì 17 marzo 2010, 17:44
Desktop: xubuntu
Distribuzione: Xubuntu 22.04.3 LTS x86_64
Sesso: Maschile
Località: Pisa

Re: bluetooth ubuntu 12.04 lts

Messaggio da magozurlinux »

Per vedere i servizi bluetooth del telefonino da terminale postami questo comando col telefonino in modalità di rilevamento:

Codice: Seleziona tutto

sdptool browse 94:63:D1:CC:5D:11
Xubuntu 22.04 LTS - saluti da magozurlinux a tutti gli utenti del forum :ciao:
devil_lady
Prode Principiante
Messaggi: 14
Iscrizione: lunedì 25 giugno 2012, 16:24
Desktop: COMAND NOT FOUND!
Distribuzione: Ubuntu 12.04 LTS i686

Re: bluetooth ubuntu 12.04 lts

Messaggio da devil_lady »

caterina@caterina-HP-Compaq-6730b-KE717AV:~$ sdptool browse 94:63:D1:CC:5D:11
Browsing 94:63:D1:CC:5D:11 ...
Service Name: Bluetooth Serial Port
Service RecHandle: 0x10000
Service Class ID List:
"Serial Port" (0x1101)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 4

Service Name: Dial-up networking
Service RecHandle: 0x10001
Service Class ID List:
"Dialup Networking" (0x00001103)
Protocol Descriptor List:
"L2CAP" (0x00000100)
"RFCOMM" (0x00000003)
Channel: 1
Profile Descriptor List:
"Dialup Networking" (0x00001103)
Version: 0x0100

Service Name: OBEX FileTransfer
Service RecHandle: 0x10002
Service Class ID List:
"OBEX File Transfer" (0x1106)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 6
"OBEX" (0x0008)
Profile Descriptor List:
"OBEX File Transfer" (0x1106)
Version: 0x0100

Service Name: Audio/Video Service
Service Provider: CSR
Service RecHandle: 0x10003
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: Phonebook Access PSE
Service RecHandle: 0x10005
Service Class ID List:
"Phonebook Access - PSE" (0x112f)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 9
"OBEX" (0x0008)
Profile Descriptor List:
"Phonebook Access" (0x1130)
Version: 0x0100

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

Service Name: Voice GW
Service RecHandle: 0x10007
Service Class ID List:
"Headset Audio Gateway" (0x1112)
"Generic Audio" (0x1203)
Protocol Descriptor List:
"L2CAP" (0x00000100)
"RFCOMM" (0x00000003)
Channel: 5
Profile Descriptor List:
"Headset" (0x00001108)
Version: 0x0100

Service Name: SIM Access
Service RecHandle: 0x10008
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

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

Service Name: Player
Service Provider: CSR
Service RecHandle: 0x1000a
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: 0x0100

caterina@caterina-HP-Compaq-6730b-KE717AV:~$
Avatar utente
magozurlinux
Accecante Asceta
Accecante Asceta
Messaggi: 25012
Iscrizione: mercoledì 17 marzo 2010, 17:44
Desktop: xubuntu
Distribuzione: Xubuntu 22.04.3 LTS x86_64
Sesso: Maschile
Località: Pisa

Re: bluetooth ubuntu 12.04 lts

Messaggio da magozurlinux »

Service Name: OBEX FileTransfer
Service RecHandle: 0x10002
Service Class ID List:
"OBEX File Transfer" (0x1106)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 6
"OBEX" (0x0008)
Profile Descriptor List:
"OBEX File Transfer" (0x1106)
Version: 0x0100
Il canale di trasferimento è 6

Da terminale dai questo comando:

Codice: Seleziona tutto

obexftp -b 94:63:D1:CC:5D:11 -B 6 -p nome-file
nome-file è un file a tua scelta da inviare dal pc al telefonino bluetooth; posta l'output del comando.
Xubuntu 22.04 LTS - saluti da magozurlinux a tutti gli utenti del forum :ciao:
devil_lady
Prode Principiante
Messaggi: 14
Iscrizione: lunedì 25 giugno 2012, 16:24
Desktop: COMAND NOT FOUND!
Distribuzione: Ubuntu 12.04 LTS i686

Re: bluetooth ubuntu 12.04 lts

Messaggio da devil_lady »

tradotto?o.o
caterina@caterina-HP-Compaq-6730b-KE717AV:~$ obexftp -b 94:63:D1:CC:5D:11 -B 6 -p i-want-to-break-free-queen-590x350
Il programma "obexftp" non è attualmente installato. È possibile installarlo digitando:
sudo apt-get install obexftp
caterina@caterina-HP-Compaq-6730b-KE717AV:~$ sudo apt-get install obexftp
[sudo] password for caterina:
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
I seguenti pacchetti sono stati installati automaticamente e non sono più richiesti:
linux-headers-3.2.0-24 linux-headers-3.2.0-24-generic
linux-headers-3.2.0-24-generic-pae
Usare "apt-get autoremove" per rimuoverli.
I seguenti pacchetti NUOVI saranno installati:
obexftp
0 aggiornati, 1 installati, 0 da rimuovere e 8 non aggiornati.
È necessario scaricare 21,0 kB di archivi.
Dopo quest'operazione, verranno occupati 87,0 kB di spazio su disco.
Scaricamento di:1 http://it.archive.ubuntu.com/ubuntu/ precise/universe obexftp i386 0.23-1build3 [21,0 kB]
Recuperati 21,0 kB in 0s (33,2 kB/s)
Selezionato il pacchetto obexftp non precedentemente selezionato.
(Lettura del database... 260654 file e directory attualmente installati.)
Estrazione di obexftp (da .../obexftp_0.23-1build3_i386.deb)...
Elaborazione dei trigger per man-db...
Configurazione di obexftp (0.23-1build3)...
caterina@caterina-HP-Compaq-6730b-KE717AV:~$ obexftp -b 94:63:D1:CC:5D:11 -B 6 -p i-want-to-break-free-queen-590x350
Connecting...failed: connect
Tried to connect for 0ms
error on connect(): Device or resource busy
Still trying to connect
Connecting...failed: connect
Tried to connect for 0ms
error on connect(): Device or resource busy
Still trying to connect
Connecting...failed: connect
Tried to connect for 0ms
error on connect(): Device or resource busy
Still trying to connect
caterina@caterina-HP-Compaq-6730b-KE717AV:~$

mi è uscito ciò
Avatar utente
magozurlinux
Accecante Asceta
Accecante Asceta
Messaggi: 25012
Iscrizione: mercoledì 17 marzo 2010, 17:44
Desktop: xubuntu
Distribuzione: Xubuntu 22.04.3 LTS x86_64
Sesso: Maschile
Località: Pisa

Re: bluetooth ubuntu 12.04 lts

Messaggio da magozurlinux »

Da Software center controlla che siano installati questi pacchetti:

Codice: Seleziona tutto


nautilus-sendto

obexpushd

obexftp

gnome-user-share

obexfs

obex-data-server


Da terminale dai questo comando:

Codice: Seleziona tutto

sudo service bluetooth restart
Riavvia il pc.

Dopo aver riavviato il pc da terminale ridai il comando:
obexftp -b 94:63:D1:CC:5D:11 -B 6 -p i-want-to-break-free-queen-590x350
ti sei dimenticata l'estensione .jpeg o .png o altro!
Xubuntu 22.04 LTS - saluti da magozurlinux a tutti gli utenti del forum :ciao:
devil_lady
Prode Principiante
Messaggi: 14
Iscrizione: lunedì 25 giugno 2012, 16:24
Desktop: COMAND NOT FOUND!
Distribuzione: Ubuntu 12.04 LTS i686

Re: bluetooth ubuntu 12.04 lts

Messaggio da devil_lady »

caterina@caterina-HP-Compaq-6730b-KE717AV:~$ obexftp -b 94:63:D1:CC:5D:11 -B 6 -p i-want-to-break-free-queen-590x350.jpg
Connecting..\done
Tried to connect for 535ms
Sending "i-want-to-break-free-queen-590x350.jpg"... failed: i-want-to-break-free-queen-590x350.jpg
The operation failed with return code 1
Disconnecting..|done
mi da questo!
Avatar utente
magozurlinux
Accecante Asceta
Accecante Asceta
Messaggi: 25012
Iscrizione: mercoledì 17 marzo 2010, 17:44
Desktop: xubuntu
Distribuzione: Xubuntu 22.04.3 LTS x86_64
Sesso: Maschile
Località: Pisa

Re: bluetooth ubuntu 12.04 lts

Messaggio da magozurlinux »

Da terminale dai questo comando:

Codice: Seleziona tutto

sudo gedit /etc/default/bluetooth


copia ed incolla queste righe o modifica i parametri evidenziati in rosso:
# 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.

Dai questo comando da terminale:

Codice: Seleziona tutto

sudo gedit /etc/bluetooth/hcid.conf
il file sarà vuoto, perchè da Ubuntu 9.10 non c'è più questo file; copia e incolla queste righe:
#----------------------------------------------------------------------------------------------
#
# HCI daemon configuration file.
#

# HCId options
options {
# Automatically initialize new devices
autoinit yes;

# Security Manager mode
# none - Security manager disabled
# auto - Use local PIN for incoming connections
# user - Always ask user for a PIN
#
security auto;

# Pairing mode
# none - Pairing disabled
# multi - Allow pairing with already paired devices
# once - Pair once and deny successive attempts
pairing multi;

# PIN helper
pin_helper /usr/bin/bluepin;
# passkey "1234"

# D-Bus PIN helper
#dbus_pin_helper;
}

# Default settings for HCI devices
device {
# Local device name
# %d - device id
# %h - host name
name "%h-%d";

# Local device class
class 0x6e0100;

# Default packet type
#pkt_type DH1,DM1,HV1;

# Inquiry and Page scan
iscan enable; pscan enable;

# Default link mode
# none - no specific policy
# accept - always accept incoming connections
# master - become master on incoming connections,
# deny role switch on outgoing connections
lm accept;

# Default link policy
# none - no specific policy
# rswitch - allow role switch
# hold - allow hold mode
# sniff - allow sniff mode
# park - allow park mode
lp rswitch,hold,sniff,park;

# Authentication and Encryption (Security Mode 3)
auth enable;
encrypt enable;
}
Salva ed esci dall'editor di testo.

Da terminale dai questo comando:

Codice: Seleziona tutto

sudo gedit /etc/bluetooth/rfcomm.conf
modifica i parametri di default con i parametri per il tuo telefonino bluetooth visualizzati in rosso:


modifica le righe evidenziate in rosso e togli i commenti dove previsto:
#
# RFCOMM configuration file.
#
rfcomm0 {
# # Automatically bind the device at startup
bind yes;
#
# # Bluetooth address of the device
device 94:63:D1:CC:5D:11;
#
# # RFCOMM channel for the connection
channel 6;
#
# # Description of the connection
# comment “Example Bluetooth device”;
}
salva ed esci dall'editor di testo.

Da terminale riavvia il bluetooth col seguente comando:

Codice: Seleziona tutto

sudo service bluetooth restart
Riavvia il pc.
Xubuntu 22.04 LTS - saluti da magozurlinux a tutti gli utenti del forum :ciao:
devil_lady
Prode Principiante
Messaggi: 14
Iscrizione: lunedì 25 giugno 2012, 16:24
Desktop: COMAND NOT FOUND!
Distribuzione: Ubuntu 12.04 LTS i686

Re: bluetooth ubuntu 12.04 lts

Messaggio da devil_lady »

ora posso mandare file al telefono ma quando provo ad esplorare il dispositivo risulta vuoto!
Avatar utente
magozurlinux
Accecante Asceta
Accecante Asceta
Messaggi: 25012
Iscrizione: mercoledì 17 marzo 2010, 17:44
Desktop: xubuntu
Distribuzione: Xubuntu 22.04.3 LTS x86_64
Sesso: Maschile
Località: Pisa

Re: bluetooth ubuntu 12.04 lts

Messaggio da magozurlinux »

Vediamo se riusciamo ad esplorare senza bisogno dell'appplet del bluetooth (c'è un bug).

Da terminale dai questi comandi:

Codice: Seleziona tutto

sudo mkdir ~/kate

Codice: Seleziona tutto

obexfs -b 94:63:D1:CC:5D:11 ~/kate
vedi se su file ti appare il telefono kate,apri una cartella con le immagini, devi fare attenzione, devi attendere che le anteprime delle foto o immagini siano complete altrimenti non ti si apre il visualizzatore; stessa cosa per musica o video devi attendere che si carichi.

Per smontare il telefonino bluetooth da terminale dai questo comando:

Codice: Seleziona tutto

 fusermount --u ~/kate
Ciao
Xubuntu 22.04 LTS - saluti da magozurlinux a tutti gli utenti del forum :ciao:
devil_lady
Prode Principiante
Messaggi: 14
Iscrizione: lunedì 25 giugno 2012, 16:24
Desktop: COMAND NOT FOUND!
Distribuzione: Ubuntu 12.04 LTS i686

Re: bluetooth ubuntu 12.04 lts

Messaggio da devil_lady »

caterina@caterina-HP-Compaq-6730b-KE717AV:~$ obexfs -b 94:63:D1:CC:5D:11 ~/kate
fusermount: failed to open /etc/fuse.conf: Permission denied
fusermount: user has no write access to mountpoint /home/caterina/kate

mi è uscito questo..la cartella risulta vuota

caterina@caterina-HP-Compaq-6730b-KE717AV:~$ fusermount --u ~/kate
fusermount: entry for /home/caterina/kate not found in /etc/mtab
caterina@caterina-HP-Compaq-6730b-KE717AV:~$
Scrivi risposta

Ritorna a “Driver e periferiche”

Chi c’è in linea

Visualizzano questa sezione: Bing [Bot] e 14 ospiti