Pagina 1 di 1

Problema con bluetooth

Inviato: martedì 1 maggio 2012, 12:59
da ahmedso93
Come da titolo ho un piccolo problema con il bluetooth. Ho acquistato un aspire one 722. Sono nuovo di ubuntu, ma ho notato che già nella 11.10 il bluettoth non funzionava. ora ho fatto l'installazione della 12.04 ed ho lo stesso problema. in poche parole il buetooth è segnato come acceso ma quando faccio la ricerca non trova nessun dispositivo, e se cerco tramite il dispositivo di collegarmi al pc, non trovo nulla lo stesso. Per favore datemi una mano per farlo funzionare.

Re: Problema con bluetooth

Inviato: martedì 1 maggio 2012, 13:07
da Freddy85

Re: Problema con bluetooth

Inviato: martedì 1 maggio 2012, 13:10
da ahmedso93
ho già provato e praticamente quando devo inserire questo comando "sudo ./simple-agent hci0 XX:XX:XX:XX:XX:XX" con il mio indirizzo MAC, il terminale mi dice che non ha trovato il comando. Per favore se riesci ad aiutarmi dammi una mano, che mi serve.

Re: Problema con bluetooth

Inviato: martedì 1 maggio 2012, 13:15
da Freddy85
quando esegui quel comando, devi essere all'interno della cartella /usr/share/doc/bluez/examples/

Re: Problema con bluetooth

Inviato: martedì 1 maggio 2012, 13:19
da ahmedso93
ma così significa essere all'interno della cartella???
ahmed@ahmed-AO722:~$ cd /usr/share/doc/bluez/examples/
ahmed@ahmed-AO722:/usr/share/doc/bluez/examples$ hcitool dev
Devices:
hci0 60:D8:19:3B:A0:48
ahmed@ahmed-AO722:/usr/share/doc/bluez/examples$ sudo ./simple-agent hci060:D8:19:3B:A0:48
[sudo] password for ahmed:
sudo: ./simple-agent: command not found
ahmed@ahmed-AO722:/usr/share/doc/bluez/examples$

Re: Problema con bluetooth

Inviato: martedì 1 maggio 2012, 13:24
da Freddy85

Codice: Seleziona tutto

sudo ./simple-agent hci0 60:D8:19:3B:A0:48

Re: Problema con bluetooth

Inviato: martedì 1 maggio 2012, 13:27
da ahmedso93
ahmed@ahmed-AO722:/usr/share/doc/bluez/examples$ sudo ./simple-agent hci0 60:D8:19:3B:A0:48
[sudo] password for ahmed:
sudo: ./simple-agent: command not found
ahmed@ahmed-AO722:/usr/share/doc/bluez/examples$


stessa cosa..... non mi apre nulla....

Re: Problema con bluetooth

Inviato: martedì 1 maggio 2012, 13:30
da Freddy85

Re: Problema con bluetooth

Inviato: martedì 1 maggio 2012, 14:55
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

Re: Problema con bluetooth

Inviato: sabato 5 maggio 2012, 18:42
da ahmedso93
ahmed@ahmed-AO722:~$ 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 002 Device 002: ID 0402:9665 ALi Corp. Gateway Webcam
Bus 003 Device 002: ID 0d62:a100 Darfon Electronics Corp. Optical Mouse
ahmed@ahmed-AO722:~$ dmesg | grep btusb
ahmed@ahmed-AO722:~$ dmesg | grep Blue
[ 19.679124] Bluetooth: Core ver 2.16
[ 19.679182] Bluetooth: HCI device and connection manager initialized
[ 19.679189] Bluetooth: HCI socket layer initialized
[ 19.679194] Bluetooth: L2CAP socket layer initialized
[ 19.679206] Bluetooth: SCO socket layer initialized
[ 19.744124] Bluetooth: RFCOMM TTY layer initialized
[ 19.744137] Bluetooth: RFCOMM socket layer initialized
[ 19.744142] Bluetooth: RFCOMM ver 1.11
[ 19.953917] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 19.953925] Bluetooth: BNEP filters: protocol multicast
ahmed@ahmed-AO722:~$ hciconfig -a
ahmed@ahmed-AO722:~$ dpkg -l | grep blue
ii blueman 1.23-0ubuntu2 A Graphical bluetooth manager
ii bluetooth 4.98-2ubuntu7 Bluetooth support
ii bluewho 0.1-1 notifies new discovered bluetooth devices
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 Bluetooth module for PulseAudio sound server
ii python-bluez 0.18-1build2 Python wrappers around BlueZ for rapid bluetooth development
ahmed@ahmed-AO722:~$ rfkill list
0: acer-wireless: Wireless LAN
Soft blocked: no
Hard blocked: no
1: acer-bluetooth: Bluetooth
Soft blocked: yes
Hard blocked: no
2: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no



spero di aver fatto giusto :), se riesci a darmi una mano mi fai un favore, grazie per l'attenzione davvero

Re: Problema con bluetooth

Inviato: sabato 5 maggio 2012, 18:49
da magozurlinux
ahmed@ahmed-AO722:~$ rfkill list
0: acer-wireless: Wireless LAN
Soft blocked: no
Hard blocked: no
1: acer-bluetooth: Bluetooth
Soft blocked: yes

Hard blocked: no
2: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
Il bluetooth è bloccato via software, da terminale dai questo comando:

Codice: Seleziona tutto

sudo rfkill unblock all
Installa anche bluez-utils da Software Center.

Da terminale dai questo comando:

Codice: Seleziona tutto

sudo service bluetooth restart
Riavvia il pc.

Re: Problema con bluetooth

Inviato: sabato 5 maggio 2012, 18:54
da ahmedso93
Scusami non ho seguito questo tuo ultimo commento, perchè ho fatto una cavolata enorme ti ho postato le cose di prima senza accendere il bluetooth dallo switch scusami ancora, i risultati che ho ottenuto accendendolo sono questi : ahmed@ahmed-AO722:~$ 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 002 Device 002: ID 0402:9665 ALi Corp. Gateway Webcam
Bus 003 Device 002: ID 0d62:a100 Darfon Electronics Corp. Optical Mouse
ahmed@ahmed-AO722:~$ dmesg | grep btusb
ahmed@ahmed-AO722:~$ dmesg | grep Blue
[ 19.679124] Bluetooth: Core ver 2.16
[ 19.679182] Bluetooth: HCI device and connection manager initialized
[ 19.679189] Bluetooth: HCI socket layer initialized
[ 19.679194] Bluetooth: L2CAP socket layer initialized
[ 19.679206] Bluetooth: SCO socket layer initialized
[ 19.744124] Bluetooth: RFCOMM TTY layer initialized
[ 19.744137] Bluetooth: RFCOMM socket layer initialized
[ 19.744142] Bluetooth: RFCOMM ver 1.11
[ 19.953917] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 19.953925] Bluetooth: BNEP filters: protocol multicast
ahmed@ahmed-AO722:~$ hciconfig -a
ahmed@ahmed-AO722:~$ dpkg -l | grep blue
ii blueman 1.23-0ubuntu2 A Graphical bluetooth manager
ii bluetooth 4.98-2ubuntu7 Bluetooth support
ii bluewho 0.1-1 notifies new discovered bluetooth devices
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 Bluetooth module for PulseAudio sound server
ii python-bluez 0.18-1build2 Python wrappers around BlueZ for rapid bluetooth development
ahmed@ahmed-AO722:~$ rfkill list
0: acer-wireless: Wireless LAN
Soft blocked: no
Hard blocked: no
1: acer-bluetooth: Bluetooth
Soft blocked: no
Hard blocked: no
2: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no


cambia qualcosa? o devo seguire lo stesso ciò che mi hai detto prima. Scusami ancora

Re: Problema con bluetooth

Inviato: sabato 5 maggio 2012, 18:57
da ahmedso93
stessa cavolata, non so perchè ho due icone con il simbolo del bluetooth una mi dava acceso e l'altro no, ora sono sicuro che questi siano i risultati scusami sono un deficiente: ahmed@ahmed-AO722:~$ 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 002 Device 002: ID 0402:9665 ALi Corp. Gateway Webcam
Bus 003 Device 002: ID 0d62:a100 Darfon Electronics Corp. Optical Mouse
Bus 004 Device 002: ID 0489:e03c Foxconn / Hon Hai
ahmed@ahmed-AO722:~$ dmesg | grep btusb
[ 1802.786651] usbcore: registered new interface driver btusb
ahmed@ahmed-AO722:~$ dmesg | grep Blue
[ 19.679124] Bluetooth: Core ver 2.16
[ 19.679182] Bluetooth: HCI device and connection manager initialized
[ 19.679189] Bluetooth: HCI socket layer initialized
[ 19.679194] Bluetooth: L2CAP socket layer initialized
[ 19.679206] Bluetooth: SCO socket layer initialized
[ 19.744124] Bluetooth: RFCOMM TTY layer initialized
[ 19.744137] Bluetooth: RFCOMM socket layer initialized
[ 19.744142] Bluetooth: RFCOMM ver 1.11
[ 19.953917] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 19.953925] Bluetooth: BNEP filters: protocol multicast
[ 1802.781175] Bluetooth: Generic Bluetooth USB driver ver 0.6
ahmed@ahmed-AO722:~$ hciconfig -a
hci0: Type: BR/EDR Bus: USB
BD Address: 60:D8:19:3B:A0:48 ACL MTU: 1022:8 SCO MTU: 183:5
UP RUNNING PSCAN ISCAN
RX bytes:856 acl:0 sco:0 events:37 errors:0
TX bytes:657 acl:0 sco:0 commands:37 errors:0
Features: 0xff 0xfe 0x0d 0xfe 0xd8 0x7f 0x7b 0x87
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF
Link mode: SLAVE ACCEPT
Name: 'ahmed-AO722-0'
Class: 0x7e0100
Service Classes: Networking, Rendering, Capturing, Object Transfer, Audio, Telephony
Device Class: Computer, Uncategorized
HCI Version: 3.0 (0x5) Revision: 0x102
LMP Version: 4.0 (0x6) Subversion: 0x1
Manufacturer: Atheros Communications, Inc. (69)

ahmed@ahmed-AO722:~$ dpkg -l | grep blue
ii blueman 1.23-0ubuntu2 A Graphical bluetooth manager
ii bluetooth 4.98-2ubuntu7 Bluetooth support
ii bluewho 0.1-1 notifies new discovered bluetooth devices
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 Bluetooth module for PulseAudio sound server
ii python-bluez 0.18-1build2 Python wrappers around BlueZ for rapid bluetooth development
ahmed@ahmed-AO722:~$ rfkill list
0: acer-wireless: Wireless LAN
Soft blocked: no
Hard blocked: no
1: acer-bluetooth: Bluetooth
Soft blocked: no
Hard blocked: no
2: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
3: hci0: Bluetooth
Soft blocked: no
Hard blocked: no

scusa :) non sbaglio più

Re: Problema con bluetooth

Inviato: sabato 5 maggio 2012, 19:04
da magozurlinux
Prego, di nulla.

I pacchetti sono stati installati correttamente.

OK! ora il bluetooth funziona correttamente.

Manca il pacchetto bluez-utils, questo lo puoi installare prima di spegnere il pc.

Ciao

Re: Problema con bluetooth

Inviato: sabato 5 maggio 2012, 19:30
da Freddy85
Per favore modifica i messaggi in cui c'è il codice, ed includilo nel tag Code, ovvero l'icona Code che trovi all'interno dell'editor. Grazie!

Re: Problema con bluetooth

Inviato: domenica 6 maggio 2012, 18:39
da magozurlinux
Se hai risolto, metti RISOLTO sul primo titolo della discussione.

Ciao