[Résolu]Bluetooth

Bonjour.

Je souhaiterais connecter mon E61 via bluetooth.
Je m’appuie sur le tuto suivant:
http://ubuntuforums.org/showthread.php?t=260676
Lorsque je fais

[code] hciconfig -a
hci0: Type: USB
BD Address: 00:16:41:4A:BA:0E ACL MTU: 384:8 SCO MTU: 64:8
UP RUNNING PSCAN ISCAN INQUIRY
RX bytes:733 acl:0 sco:0 events:28 errors:0
TX bytes:328 acl:0 sco:0 commands:19 errors:0
Features: 0xff 0xff 0x9f 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: 'mario-laptop-0’
Class: 0x3e010c
Service Classes: Networking, Rendering, Capturing, Object Transfer, Audio
Device Class: Computer, Laptop
HCI Ver: 1.2 (0x2) HCI Rev: 0x679 LMP Ver: 1.2 (0x2) LMP Subver: 0x679
Manufacturer: Cambridge Silicon Radio (10)

[/code]
Lorsque je fais hcitool scan
il ne voit pas la mac address de mon téléphone.

Je suis en ETCH kernel 2.6.18-5-686, avec un pc portable DELL Latitude D810.
Quelqu’un peut il m’aider s.v.p

Personne n’a de Dell D810 ???

Question bête: tu as bien activé le bluetooth ET rendu visible ton téléphone ?
PS: Le tuto que tu indiques ne parle pas de la connection bluetooth mais de la synchro, qui est un autre problême. Tu es sous gnome, kde, autre ?

Oui mon bluetooth est bien activé et rendu visible mon tph.

Ok c’est vrai mais cette synchro se fait via Bluetooth.

J’ai quand même passé la journée d’hier sur ce pb, et voilà ce qu’il en ressort.
En faisant:

lsusb Bus 005 Device 001: ID 0000:0000 Bus 004 Device 001: ID 0000:0000 Bus 003 Device 002: ID 045e:0047 Microsoft Corp. IntelliMouse Explorer 3.0 Bus 003 Device 001: ID 0000:0000 Bus 002 Device 003: ID 413c:8103 Dell Computer Corp. Wireless 350 Bluetooth Bus 002 Device 001: ID 0000:0000 Bus 001 Device 001: ID 0000:0000
On s’aperçoit que le Bluetooth et la wifi sont bien reconnu, mais sur le même port.

N’étant pas arrivé à mes fins, j’ai pris un dongle (type broadcom) wifi usb que j’utilise sur mon desktop et là ça fonctionne béton.
Ce que je peux en déduire c’est le port Bluetooth embarqué ne fonctionne pas avec linux.
Serait ce un pb de firmware, de driver ???
Il est bon de rappeler que quand j’ai installé la ETCH elle avait bien reconnu ma wifi, mais elle ne fonctionnait pas. Il a fallu que j’aille télécharger le dernier firmware.

quote="mariop31"
On s’aperçoit que le Bluetooth et la wifi sont bien reconnu, mais sur le même port.
[/quote]Pas tout à fait: linux ne reconnait qu’un composant qui fait à la fois wifi et bt. C’est normal: mon dongle bt/ir est reconnu comme un seul composant dans lsusb mais me fournit plusieurs devices (hci et irtty). [quote=“mariop31”]
N’étant pas arrivé à mes fins, j’ai pris un dongle (type broadcom) wifi usb que j’utilise sur mon desktop et là ça fonctionne béton.
Ce que je peux en déduire c’est le port Bluetooth embarqué ne fonctionne pas avec linux.[/quote]Si sinon, tu aurais une réponse vide avec hciconfig -a Ton dongle est donc bien reconnu. C’est la liaison avec ton téléphone qui pose pb.
Sinon, je ne vois pas ce que vient faire ton histoire de dongle wifi sur ton desktop.[quote=“mariop31”]Serait ce un pb de firmware, de driver ???
Il est bon de rappeler que quand j’ai installé la ETCH elle avait bien reconnu ma wifi, mais elle ne fonctionnait pas. Il a fallu que j’aille télécharger le dernier firmware.[/quote] Les firmwares sont souvent protègés et ne sont donc pas distribués dans ce cas par debian (pas pareil sous ubuntu qui se gène moins sur les pb de droits). On est donc à peu prés dans tous les cas obligé d’aller chercher le firmware quand on installe le wifi.

Pour le bluetooth, il y a peut être aussi besoin d’un firmware, mais si tu l’as déjà mis pour le wifi et que c’est le même composant, alors il est déjà AMA installé.

Tu ne m’a pas dit quelle interface graphique tu utilisais. AMA, ton dongle fonctionne, et tu ferais mieux d’utiliser l’outil graphique pour scanner le voisinage.
Sinon, tu n’as pas d’autre périphérique bluetooth pour tes tests ? Ca vient peut être de ton téléphone quand même ?

Sinon, il y a un paquet bluez-firmware, avec quelques firmware dedans…

[quote]/usr/lib/firmware/BCM2033-FW.bin
/usr/lib/firmware/BCM2033-MD.hex
/usr/lib/firmware/STLC2500_R4_00_03.ptc
/usr/lib/firmware/STLC2500_R4_00_06.ssf
/usr/lib/firmware/STLC2500_R4_02_02_WLAN.ssf
/usr/lib/firmware/STLC2500_R4_02_04.ptc
[/quote] Si j’ai bien compris, le chip wifi/bt du d810 est un broadcom, donc les firmwares fournis résoudront peut être ton pb.
gentoo-wiki.com/HARDWARE_Dell_Latitude_D810

[quote=“mattotop”]Tu ne m’a pas dit quelle interface graphique tu utilisais. AMA, ton dongle fonctionne, et tu ferais mieux d’utiliser l’outil graphique pour scanner le voisinage.
Sinon, tu n’as pas d’autre périphérique bluetooth pour tes tests ? Ca vient peut être de ton téléphone quand même ?[/quote]

AMA —> kesako???
Quel outil graphique pour scanner mon réseau ???
Je reste convaincu que le pb est coté ETCH.
Parce que:
Le tph sur portable en windows avec son interface bluetooth embarquée —> ok.
Le tph sur portable avec ETCH avec son interface bluetooth embarquée —> pas glop
Le tph sur portable avec ETCH avec son interface bluetooth embarquée désactivée et mise en place du dongle bluetooth usb —> ok

Le tph sur mon desktop personnel (ubuntu feisty) avec dongle usb broadcom —> ok
Le tph sur mon desktop du taf (ubuntu gutsy) avec un autre dongle usb —> ok

AMA=A mon avis.
Je lis le reste.

c’est quoi tph ? :wink:
sinon, tu n’as toujours pas dit quelle interface tu utilisais, donc je ne peux pas te dire quel outil graphique va bien.
As tu installé le paquet que je t’ai signalé, plutot que de râler contre etch parceque tu ne sais pas la configurer ?

tph —> téléphone (jargon de téléphoniste)

Excuse moi pour cette question A.L.C (à la con) de quelle interface me parles -tu ???

Vi yep oui j’ai bien installé ce paquet. Actuellement je ne sais pas l’utiliser.

Je ne râles pas je constate.

Interface: gnome, kde, xfce, e16, e17, etc ?
Le paquet n’a pas à être “utilisé”, ce sont juste des firmware, et il suffit de redémarrer (ou de décharger, recharger le module de ton chip bluetooth) pour que ces firmwares se chargent.
Au fait, je viens de réaliser que si c’est un manque de firmware, tu dois avoir un message dans les logs (syslog, messages, ou dmesg) quand le module de ton composant bt se charge. Ca vaudrait de toutes les manières le coup de trouver les traces du chargement du module dans les logs.

Donc mon interface graphique est gnome
En ce qui concerne des messages d’erreur concernant bluetooth je n’en vois pas.
ci joint:

lsmod Module Size Used by vmnet 38780 13 vmblock 14240 3 vmmon 436556 0 rfcomm 34584 0 radeon 99744 2 drm 61332 3 radeon hidp 15264 2 l2cap 21760 10 rfcomm,hidp ppdev 8676 0 parport_pc 32132 0 lp 11012 0 parport 33256 3 ppdev,parport_pc,lp button 6672 0 ac 5188 0 battery 9636 0 arc4 2112 1 ieee80211_crypt_wep 5056 1 dm_snapshot 15552 0 dm_mirror 19152 0 dm_mod 50232 2 dm_snapshot,dm_mirror fuse 39828 3 loop 15048 0 joydev 9088 0 pcmcia 34140 0 snd_intel8x0 30332 1 snd_pcm_oss 38368 0 snd_mixer_oss 15200 1 snd_pcm_oss serio_raw 6660 0 snd_intel8x0m 15980 0 psmouse 35016 0 snd_ac97_codec 83104 2 snd_intel8x0,snd_intel8x0m snd_ac97_bus 2400 1 snd_ac97_codec ipw2200 93824 0 rtc 12372 0 hci_usb 16028 2 ieee80211 29416 1 ipw2200 ieee80211_crypt 5952 2 ieee80211_crypt_wep,ieee80211 pcspkr 3072 0 firmware_class 9600 2 pcmcia,ipw2200 yenta_socket 24460 1 rsrc_nonstatic 11840 1 yenta_socket pcmcia_core 36852 3 pcmcia,yenta_socket,rsrc_nonstatic bluetooth 46020 8 rfcomm,hidp,l2cap,hci_usb snd_pcm 68676 4 snd_intel8x0,snd_pcm_oss,snd_intel8x0m,snd_ac97_codec snd_timer 20996 1 snd_pcm snd 47012 9 snd_intel8x0,snd_pcm_oss,snd_mixer_oss,snd_intel8x0m,snd_ac97_codec,snd_pcm,snd_timer soundcore 9248 1 snd snd_page_alloc 9640 3 snd_intel8x0,snd_intel8x0m,snd_pcm intel_agp 22140 1 agpgart 29896 2 drm,intel_agp sg 31292 0 sr_mod 15876 0 cdrom 32544 1 sr_mod tsdev 7520 0 evdev 9088 2 ext3 119240 3 jbd 52456 1 ext3 mbcache 8356 1 ext3 usbhid 37248 0 sd_mod 19040 6 ata_piix 13576 5 ahci 17636 0 libata 89396 2 ata_piix,ahci scsi_mod 124168 5 sg,sr_mod,sd_mod,ahci,libata tg3 94948 0 generic 4868 0 [permanent] ide_core 110504 1 generic ehci_hcd 28136 0 uhci_hcd 21164 0 usbcore 112644 5 hci_usb,usbhid,ehci_hcd,uhci_hcd thermal 13608 0 processor 28840 1 thermal fan 4804 0

Bon, désolé, je ne connais pas les outils bluetooth de gnome.
Sinon, j’ai l’impression qu’il n’y a pas de pilote spécifique aux dispositifs bluetooth, mais que tout est gèré par usb_hci.
que donne grep hcid /var/log/syslog ?
qu’y a t il comme autre ligne autour des lignes que trouve ce grep, dans syslog ?

[quote=“mattotop”] grep hcid /var/log/syslog
[/quote]
Cette commande ne renvoie aucune ligne.
Retour de la commande

lsusb Bus 005 Device 001: ID 0000:0000 Bus 004 Device 001: ID 0000:0000 Bus 003 Device 002: ID 045e:0047 Microsoft Corp. IntelliMouse Explorer 3.0 Bus 003 Device 001: ID 0000:0000
Bus 002 Device 003: ID 413c:8103 Dell Computer Corp. Wireless 350 Bluetooth

Bus 002 Device 001: ID 0000:0000 Bus 001 Device 001: ID 0000:0000
Je trouves ça dans:
/proc/bus/usb/devices

T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 3 Spd=12 MxCh= 0 D: Ver= 2.00 Cls=e0(unk. ) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=413c ProdID=8103 Rev=16.57 C:* #Ifs= 3 Cfg#= 1 Atr=e0 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 3 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=1ms E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms I: If#= 1 Alt= 0 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb E: Ad=03(O) Atr=01(Isoc) MxPS= 0 Ivl=1ms E: Ad=83(I) Atr=01(Isoc) MxPS= 0 Ivl=1ms I: If#= 1 Alt= 1 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb E: Ad=03(O) Atr=01(Isoc) MxPS= 9 Ivl=1ms E: Ad=83(I) Atr=01(Isoc) MxPS= 9 Ivl=1ms I: If#= 1 Alt= 2 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb E: Ad=03(O) Atr=01(Isoc) MxPS= 17 Ivl=1ms E: Ad=83(I) Atr=01(Isoc) MxPS= 17 Ivl=1ms I: If#= 1 Alt= 3 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb E: Ad=03(O) Atr=01(Isoc) MxPS= 25 Ivl=1ms E: Ad=83(I) Atr=01(Isoc) MxPS= 25 Ivl=1ms I: If#= 1 Alt= 4 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb E: Ad=03(O) Atr=01(Isoc) MxPS= 33 Ivl=1ms E: Ad=83(I) Atr=01(Isoc) MxPS= 33 Ivl=1ms I: If#= 1 Alt= 5 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb E: Ad=03(O) Atr=01(Isoc) MxPS= 49 Ivl=1ms E: Ad=83(I) Atr=01(Isoc) MxPS= 49 Ivl=1ms
I: If#= 2 Alt= 0 #EPs= 0 Cls=fe(app. ) Sub=01 Prot=00 driver=(none)
C’est le coup de driver none qui me chagrine

Ce n’est pas un pb, j’ai la même chose avec mon hub bluetooth:

[quote]roc@roc:~$ sudo lsusb
Bus 005 Device 003: ID 046d:0896 Logitech, Inc.
Bus 005 Device 001: ID 0000:0000
Bus 002 Device 003: ID 046d:c03e Logitech, Inc. Premium Optical Wheel Mouse
Bus 002 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 001 Device 004: ID 1131:1001 Integrated System Solution Corp. KY-BT100 Bluetooth Adapter
Bus 001 Device 002: ID 0451:2036 Texas Instruments, Inc. TUSB2036 Hub
Bus 001 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000[/quote][quote]T: Bus=01 Lev=02 Prnt=02 Port=01 Cnt=02 Dev#= 4 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=e0(unk. ) Sub=01 Prot=01 MxPS=16 #Cfgs= 1
P: Vendor=1131 ProdID=1001 Rev= 3.73
S: Manufacturer=ISSC
S: Product=ISSCBTM
C:* #Ifs= 3 Cfg#= 1 Atr=c0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 3 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=1ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
I: If#= 1 Alt= 0 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E: Ad=03(O) Atr=01(Isoc) MxPS= 0 Ivl=1ms
E: Ad=83(I) Atr=01(Isoc) MxPS= 0 Ivl=1ms
I: If#= 1 Alt= 1 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E: Ad=03(O) Atr=01(Isoc) MxPS= 9 Ivl=1ms
E: Ad=83(I) Atr=01(Isoc) MxPS= 9 Ivl=1ms
I:* If#= 1 Alt= 2 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E: Ad=03(O) Atr=01(Isoc) MxPS= 17 Ivl=1ms
E: Ad=83(I) Atr=01(Isoc) MxPS= 17 Ivl=1ms
I: If#= 1 Alt= 3 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E: Ad=03(O) Atr=01(Isoc) MxPS= 25 Ivl=1ms
E: Ad=83(I) Atr=01(Isoc) MxPS= 25 Ivl=1ms
I: If#= 1 Alt= 4 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E: Ad=03(O) Atr=01(Isoc) MxPS= 33 Ivl=1ms
E: Ad=83(I) Atr=01(Isoc) MxPS= 33 Ivl=1ms
I: If#= 1 Alt= 5 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E: Ad=03(O) Atr=01(Isoc) MxPS= 49 Ivl=1ms
E: Ad=83(I) Atr=01(Isoc) MxPS= 49 Ivl=1ms
I:* If#= 2 Alt= 0 #EPs= 0 Cls=fe(app. ) Sub=01 Prot=00 Driver=(none)[/quote]
Par contre, le fait que tu n’aies aucun résultat pour le grep n’est pas normal du tout: hcid devrait être démarré:

roc@roc:~$ ps aux | grep hcid root 3971 0.0 0.1 13504 1292 ? Ss Nov03 0:00 /usr/sbin/hcid -x -s roc 9544 0.0 0.0 7132 876 pts/2 S+ 15:59 0:00 grep hcid
Est ce que /etc/init.d/bluetooth est bien programmé normalement au boot:

[quote]roc@roc:~$ ls -l /etc/rc*.d/*bluetooth
lrwxrwxrwx 1 root root 19 2007-10-13 18:26 /etc/rc0.d/K74bluetooth -> …/init.d/bluetooth
lrwxrwxrwx 1 root root 19 2007-10-13 18:26 /etc/rc1.d/K74bluetooth -> …/init.d/bluetooth
lrwxrwxrwx 1 root root 19 2007-10-13 18:26 /etc/rc2.d/S25bluetooth -> …/init.d/bluetooth
lrwxrwxrwx 1 root root 19 2007-10-13 18:26 /etc/rc3.d/S25bluetooth -> …/init.d/bluetooth
lrwxrwxrwx 1 root root 19 2007-10-13 18:26 /etc/rc4.d/S25bluetooth -> …/init.d/bluetooth
lrwxrwxrwx 1 root root 19 2007-10-13 18:26 /etc/rc5.d/S25bluetooth -> …/init.d/bluetooth

lrwxrwxrwx 1 root root 19 2007-10-13 18:26 /etc/rc6.d/K74bluetooth -> …/init.d/bluetooth[/quote]Dans /etc/default/bluetooth, tu as bien BLUETOOTH_ENABLED=1 ?

[quote=“mattotop”]

roc@roc:~$ ps aux | grep hcid root 3971 0.0 0.1 13504 1292 ? Ss Nov03 0:00 /usr/sbin/hcid -x -s roc 9544 0.0 0.0 7132 876 pts/2 S+ 15:59 0:00 grep hcid[/quote]

Une petite difference avec ton résultat:

ps aux | grep hcid root 3152 0.0 0.0 1960 816 ? Ss 16:13 0:00 /usr/sbin/hcid root 3978 0.0 0.0 2024 748 pts/1 R+ 16:20 0:00 grep hcid

[quote]
Est ce que /etc/init.d/bluetooth est bien programmé normalement au boot:
roc@roc:~$ ls -l /etc/rc*.d/bluetooth
lrwxrwxrwx 1 root root 19 2007-10-13 18:26 /etc/rc0.d/K74bluetooth -> …/init.d/bluetooth
lrwxrwxrwx 1 root root 19 2007-10-13 18:26 /etc/rc1.d/K74bluetooth -> …/init.d/bluetooth
lrwxrwxrwx 1 root root 19 2007-10-13 18:26 /etc/rc2.d/S25bluetooth -> …/init.d/bluetooth
lrwxrwxrwx 1 root root 19 2007-10-13 18:26 /etc/rc3.d/S25bluetooth -> …/init.d/bluetooth
lrwxrwxrwx 1 root root 19 2007-10-13 18:26 /etc/rc4.d/S25bluetooth -> …/init.d/bluetooth
lrwxrwxrwx 1 root root 19 2007-10-13 18:26 /etc/rc5.d/S25bluetooth -> …/init.d/bluetooth

lrwxrwxrwx 1 root root 19 2007-10-13 18:26 /etc/rc6.d/K74bluetooth -> …/init.d/bluetooth[/quote]
Oui pour tout ce qu’il y a dans [b]/etc/rc
.d/*bluetooth[/b]

Oui aussi.
A l’aide de modconf j’ai chargé bcm203x

J’ai relancé la machine et là effectivement j’ai quelque chose de retourné avec la commande:

grep hcid /var/log/syslog Nov 11 16:28:08 localhost hcid[4356]: Bluetooth HCI daemon Nov 11 16:28:08 localhost hcid[4356]: Register path:/org/bluez fallback:1 Nov 11 16:28:08 localhost hcid[4356]: HCI dev 0 registered Nov 11 16:28:08 localhost hcid[4356]: Register path:/org/bluez/hci0 fallback:0 Nov 11 16:28:08 localhost hcid[4356]: HCI dev 0 already up Nov 11 16:28:08 localhost hcid[4356]: Device hci0 has been added Nov 11 16:28:08 localhost hcid[4356]: Starting security manager 0 Nov 11 16:28:08 localhost hcid[4356]: Device hci0 has been activated Nov 11 16:28:08 localhost hcid[4356]: name_listener_add(:1.6) Nov 11 16:28:08 localhost hcid[4356]: Default passkey agent (:1.6, /org/bluez/applet) registered

Ca sent bon, ce module là. Et si tu fais le scan maintenant ?
pour ce qui est du “-s -x” passés à hcid, le -s est dans le man mais pas le -x en fait je crois que chez moi, cette config vient du script init ou je trouve:
HCID_OPTIONS="-x -s"
si tu veux tester ces options, modifies plutot cette variable dans /etc/default/bluetooth, car si tu modifies le script init, ca sera ecrasé lors de la prochaine màj.

Malheureusement

ne renvoie toujours rien

Il y a vraiment un problême: je suis allé voir les rapports d’install sur tuxmobil, il y en a plein pour le D810, mais tout ceux qui parlent de bluetooth disent que ça marche tout seul !
tuxmobil.org/dell.html

Tu es en etch ? avec quel noyau ?

Sinon, tu as testé mettre HCID_OPTIONS="-x -s" dans /etc/default/bluetooth , pour voir ?

[quote=“mattotop”]Il y a vraiment un problême: je suis allé voir les rapports d’install sur tuxmobil, il y en a plein pour le D810, mais tout ceux qui parlent de bluetooth disent que ça marche tout seul !
tuxmobil.org/dell.html[/quote]
J’ai vu que ça marche ubuntu gentoo et apparemment pas sur debian

more /etc/debian_version 4.0

uname -a Linux mario-laptop 2.6.18-5-686 #1 SMP Wed Oct 3 00:12:50 UTC 2007 i686 GNU/Linux

Oui et c’est pareil.