Page 1 sur 1

[bluetooth] Aucun device -- pas de découverte (Résolu)

Publié : ven. 05 avr. 2013, 11:03
par viperpaulo
Bonjour à tous,

J'ouvre ce sujet car je n'arrive pas à utiliser le bluetooth sur un vostro 3360.
Voilà quelques éléments :

Code : Tout sélectionner

# hwinfo --bluetooth
08: USB 00.0: 11500 Bluetooth Device                            
  [Created at usb.122]
  Unique ID: Bgjr.IpSY2k6YAA2
  Parent ID: FKGF.4Nx_qoDfSd7
  SysFS ID: /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.0
  SysFS BusID: 2-1.5:1.0
  Hardware Class: bluetooth
  Model: "Atheros Bluetooth USB Host Controller"
  Hotplug: USB
  Vendor: usb 0x0cf3 "Atheros Communications, Inc."
  Device: usb 0xe004 "Bluetooth USB Host Controller"
  Revision: "0.02"
  Serial ID: "Alaska Day 2006"
  Driver: "btusb"
  Driver Modules: "btusb"
  Speed: 12 Mbps
  Module Alias: "usb:v0CF3pE004d0002dcE0dsc01dp01icE0isc01ip01in00"
  Driver Info #0:
    Driver Status: ath3k is active
    Driver Activation Cmd: "modprobe ath3k"
  Driver Info #1:
    Driver Status: btusb is active
    Driver Activation Cmd: "modprobe btusb"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #13 (Hub)

Code : Tout sélectionner

# lsmod |grep ath3k
11:ath3k                   6821  0 
14:bluetooth             301098  23 bnep,ath3k,btusb,rfcomm
96:usbcore               175029  8 ath3k,btusb,uvcvideo,rts5139,ehci_hcd,ehci_pci,usbhid,xhci_hcd

Code : Tout sélectionner

# systemctl status bluetooth
bluetooth.service - Bluetooth service                                                                                                                                                           
          Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled)
          Active: active (running) since ven. 2013-04-05 08:11:30 CEST; 2h 40min ago
        Main PID: 300 (bluetoothd)
          CGroup: name=systemd:/system/bluetooth.service
                  └─300 /usr/sbin/bluetoothd -n

avril 05 08:11:32 PacArch bluetoothd[300]: hci0: Get Connections (0x0015) failed: Not Powered (0x0f)
avril 05 08:11:34 PacArch bluetoothd[300]: bluetoothd[300]: Bluetooth daemon 4.101
avril 05 08:11:34 PacArch bluetoothd[300]: bluetoothd[300]: Starting SDP server
avril 05 08:11:34 PacArch bluetoothd[300]: bluetoothd[300]: Bluetooth Management interface initialized
avril 05 08:11:34 PacArch bluetoothd[300]: bluetoothd[300]: Adapter /org/bluez/300/hci0 has been enabled
avril 05 08:11:34 PacArch bluetoothd[300]: bluetoothd[300]: hci0: Get Connections (0x0015) failed: Not Powered (0x0f)
avril 05 10:50:54 PacArch bluetoothd[300]: bluetoothd[300]: Discovery session 0x7facaeb5ba90 with :1.54 activated
avril 05 10:50:54 PacArch bluetoothd[300]: Discovery session 0x7facaeb5ba90 with :1.54 activated
avril 05 10:50:54 PacArch bluetoothd[300]: hci0: Start Discovery (0x0023) failed: Not Powered (0x0f)
avril 05 10:50:54 PacArch bluetoothd[300]: bluetoothd[300]: hci0: Start Discovery (0x0023) failed: Not Powered (0x0f)

Code : Tout sélectionner

# hcitool dev
Devices:
Manifestement quelque chose ne se passe pas bien, mais quoi ?
Merci de votre aide !

Re: [bluetooth] Aucun device -- pas de découverte

Publié : ven. 05 avr. 2013, 11:24
par benjarobin
Donne la sortie de

Code : Tout sélectionner

rfkill list
As tu essayé le bouton physique ou non pour activer le bluetooth ?

Re: [bluetooth] Aucun device -- pas de découverte

Publié : ven. 05 avr. 2013, 11:44
par viperpaulo
A priori il n'y a pas de bouton physique, j'ai un fn+f2 pour le wifi, mais je ne pense pas que ce soit pour le bluetooth..

Code : Tout sélectionner

# rfkill list
0: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
2: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no

Re: [bluetooth] Aucun device -- pas de découverte

Publié : lun. 08 avr. 2013, 09:03
par viperpaulo
Ok, donc tu avais raison, il fallait 'allumer' l'interface à l'aide de la commande hciconfig hci0 up.
En revanche je dois le faire à chaque démarrage... n'y a-t-il pas moyen de le faire en automatique via le service systemd ?

Edit :
Ok, c'est tout bon, je me suis créé un petit service qui renvoi à un script pour démarrer le bluetooth.