[Linux-bruxelles] hcitool et le bluetooth
Aldo
info at brlspeak.net
Sam 30 Aou 20:48:34 CEST 2008
Hello,
j'avance! grand merci à vous.
Voici un nouveau test pour hcitool et le Nokia 3120 qui est:
actif,
et
visible pour tous
(on a fait un check):
Voici ce que je fais ant user:
Redarrer bluetooth !
/etc/init.d/bluetooth restart
open: Permission denied
* Restarting Bluetooth services [80G open: Permission denied
[ OK ]
(j'ai l'impression qu'il fallait que je fasse un sudo,
mais s'il le trouve c que cela ne devait pas etre redemarre je suppose?)
Suite des tests !
dmesg |grep -i bluetooth :
[ 12.069058] Bluetooth: Core ver 2.11
[ 12.069100] Bluetooth: HCI device and connection manager initialized
[ 12.069103] Bluetooth: HCI socket layer initialized
[ 12.209946] Bluetooth: HCI USB driver ver 2.9
[ 25.858547] Bluetooth: L2CAP ver 2.8
[ 25.858550] Bluetooth: L2CAP socket layer initialized
[ 25.986918] Bluetooth: RFCOMM socket layer initialized
[ 25.986926] Bluetooth: RFCOMM TTY layer initialized
[ 25.986927] Bluetooth: RFCOMM ver 1.8
Et via l'usb vu que c'est un dongle USB:
lsusb :
Bus 005 Device 004: ID 04b4:6830 Cypress Semiconductor Corp. USB-2.0 IDE Adapter
Bus 005 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 001 Device 004: ID 0a5c:2101 Broadcom Corp.
Bus 001 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 002 Device 002: ID 04a9:220d Canon, Inc. CanoScan N670U/N676U/LiDE 20
Bus 002 Device 001: ID 0000:0000
(c'est le broadcom sans doute?)
Pour l'adresse Mac du dongle:
hcitool dev :
Devices:
hci0 00:02:72:11:6F:34
(adresse Mac du dongle est donc ok)
hcitool scan :
Scanning ...
00:1F:5D:BD:32:9E Nokia 3120 classic
(OK, c mieux qu'avant!)
Mais parcontre:
hcitool name 00:02:72:11:6F:34 :
Device is not available.
(j'imagine que c normal car l'adresse qui figure sur la ligne Nokia est une
autre adresse?)
Par acquis de conscience, je refais le test, cette fois:
hcitool name 00:1F:5D:BD:32:9E et ça me répond:
Nokia 3120 classic
Et maintenant, que vais-je faire ? :-) comme dirait un grand artiste
connu...
par ex. y a des l2ping et l2cap: en ai-je besoin?
Aldo.
Plus d'informations sur la liste de diffusion Linux-bruxelles