FORUM Tom's Hardware » Le monde de Linux » Installation » etablir une connexion bluetooth et inrarouge avec pocket pc
 

etablir une connexion bluetooth et inrarouge avec pocket pc

Il y a 428 utilisateurs connus et inconnus. Pour voir la liste des connectés connus, cliquez ici
Ajouter une réponse



 Mot :   Pseudo :  
 
Bas de page
Auteur
 Sujet : etablir une connexion bluetooth et inrarouge avec pocket pc
 
Plus d'informations

bonjour tout le monde  voila j ai un asus a6j et j aimerai connecter mon pocket pc ( qtek s100)  avec mon pc via bluetooth et infrarouge m je ne sais pas comment faire merci d avance    ( la connexion via cable usb fonctionne )

xam
Un polak venu voler vot\'job :o
Plus d'informations

Si tu veux faire ça sous linux il nous faut le nom de ta distrib.


---------------
Quand cesserons-nous de remettre le futur à plus tard ? :o
 

 

Plus d'informations

Salut, moi j'ai un asus f3j avec bluetooth integré et moi aussi j'aimerais le faire marcher pour pouvoir transferer des donnés vers mon portable nokia 6680. j'utilise mandriva 2007 (cooker) avec le kernel 2.6.17-11 et KDE.
 
Le lspci de mon portable est le suivant:
 

Code :
  1. 00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Expr
  2. ess Memory Controller Hub (rev 03)
  3. 00:01.0 PCI bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Expre
  4. ss PCI Express Root Port (rev 03)
  5. 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Aud
  6. io Controller (rev 02)
  7. 00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (r
  8. ev 02)
  9. 00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (r
  10. ev 02)
  11. 00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (r
  12. ev 02)
  13. 00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev
  14. 02)
  15. 00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev
  16. 02)
  17. 00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev
  18. 02)
  19. 00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev02)
  20. 00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
  21. 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
  22. 00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
  23. 00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controller IDE (rev 02)
  24. 00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
  25. 01:00.0 VGA compatible controller: ATI Technologies Inc M56P [Radeon Mobility X1600]
  26. 02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. Unknown device 8168(rev 01)
  27. 03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)
  28. 06:01.0 FireWire (IEEE 1394): Ricoh Co Ltd Unknown device 0832
  29. 06:01.1 Generic system peripheral [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19)
  30. 06:01.2 System peripheral: Ricoh Co Ltd Unknown device 0843 (rev 01)
  31. 06:01.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 0a)


 
Si vous avez des idées, je suis preneur... ;)
 
Merci de votre attention et à bientot,
 
Gennaro

Risen From Ashes
Plus d'informations

d'abord il te faut un noyau intégrant les drivers bluetooth. Vérifie si t'as les modules chargés sinon il faut les charger à la main. Ensuite tu installe bluez-lib, bluez-hcidump, bluez-utils, bluez-pin et bluez-firmware (ou bluez-fw).
Quand tout est installé, tu démarres le service bluetooth :  

Code :
  1. /etc/init.d/bluetooth start


Active le bluetooth de ton PDA
puis tu tappes

Code :
  1. hcitools scan


il va t'afficher l'adresse bluetooth de ton PDA qui va te montrer que tout va bien. Puis à partir tu PDA tu fais une connexion avec ton ordi. Une fentrer PIN va s'afficher pour confirmer la liaison avec un code.
Tu peux aussi regarder dans /etc/rfcomm.conf et /etc/hcid.conf pour configurer les connexions (fais un google rfcomm.conf)
Ou encore utiliser obexftp et obexfs comme je le fais avec succès avec mon Nokia6288 :D  
Voilà hésite pas à poser des questions


---------------
No Justice No Peace

 

Plus d'informations

Merci de ta réponse...
J'ai chargé à main tous les modules concernés hier soir (make menuconfig etc.).
 
En plus, quand je regarde l'output de mon dmesg, je trouve:
 

Code :
  1. Bluetooth: Core ver 2.8
  2. NET: Registered protocol family 31
  3. Bluetooth: HCI device and connection manager initialized
  4. Bluetooth: HCI socket layer initialized
  5. Bluetooth: L2CAP ver 2.8
  6. Bluetooth: L2CAP socket layer initialized
  7. Bluetooth: RFCOMM socket layer initialized
  8. Bluetooth: RFCOMM TTY layer initialized
  9. Bluetooth: RFCOMM ver 1.7


 
Pour ce que concerne ton conseil, alors j'ai controlé de bien avoir installé tous les paquets bluez et après dans un terminal j'ai tapé:
 

Code :
  1. [root@localhost pestekkorna]# /etc/init.d/bluetooth start
  2. Lancement des services Bluetooth :                              [  OK  ]
  3. [root@localhost pestekkorna]# hcitool scan
  4. Device is not available: No such device


 
mmm...
 
Merci encore de ton aide et à bientot,
 
Peste

Risen From Ashes
Plus d'informations

a écrit :

Merci de ta réponse...
J'ai chargé à main tous les modules concernés hier soir (make menuconfig etc.).
 
En plus, quand je regarde l'output de mon dmesg, je trouve:
 

Code :
  1. Bluetooth: Core ver 2.8
  2. NET: Registered protocol family 31
  3. Bluetooth: HCI device and connection manager initialized
  4. Bluetooth: HCI socket layer initialized
  5. Bluetooth: L2CAP ver 2.8
  6. Bluetooth: L2CAP socket layer initialized
  7. Bluetooth: RFCOMM socket layer initialized
  8. Bluetooth: RFCOMM TTY layer initialized
  9. Bluetooth: RFCOMM ver 1.7


 
Pour ce que concerne ton conseil, alors j'ai controlé de bien avoir installé tous les paquets bluez et après dans un terminal j'ai tapé:
 

Code :
  1. [root@localhost pestekkorna]# /etc/init.d/bluetooth start
  2. Lancement des services Bluetooth :                              [  OK  ]
  3. [root@localhost pestekkorna]# hcitool scan
  4. Device is not available: No such device


 
mmm...
 
Merci encore de ton aide et à bientot,
 
Peste


t'as activé le bluetooth de ton PDA avant le scan ?
 
exemple de mon scan

Code :
  1. [firebird@nemrod ~]$ hcitool scan
  2. Scanning ...
  3.         00:17:4B:60:0F:E6       Noptor


Noptor est le nom que j'ai donné au bluetooth de mon Nokia et 00:17:FB:6D:0F:E6 est l'adresse physique du bluetooth du nokia.
 
montre le résultat du
cat /etc/bluetooth/hcid.conf
et de  
/usr/sbin/hciconfig
 
et t'arrive à detecter ton ordi avec ton PDA après /etc/init.d/bluetooth start ?


---------------
No Justice No Peace

 

Plus d'informations

Merci encore de ta réponse. Donc, j'ai suivi à la lettre tes conseils. J'ai activé la connexione bluetooth de mon Nokia 6680 et après j'ai lancé hcitool scan qui m'a donné en réponse: no device found.
 
J'ai donc essayé de voir si mon Nokia detectait le PC mais rien... il trouve juste une connexion livebox (du voisin, je suppose).
 
Ce soir je poste les resultat des commandes qui tu m'as indiqué.
 
Merci encore et à bientôt,
 
Peste

Plus d'informations

Alors,
 
Voici les outputs:
 

Code :
  1. [pestekkorna@localhost ~]$ cat /etc/bluetooth/hcid.conf
  2. #
  3. # HCI daemon configuration file.
  4. #
  5. # HCId options
  6. options {
  7.         # Automatically initialize new devices
  8.         autoinit yes;
  9.         # Security Manager mode
  10.         #   none - Security manager disabled
  11.         #   auto - Use local PIN for incoming connections
  12.         #   user - Always ask user for a PIN
  13.         #
  14.         security user;
  15.         # Pairing mode
  16.         #   none  - Pairing disabled
  17.         #   multi - Allow pairing with already paired devices
  18.         #   once  - Pair once and deny successive attempts
  19.         pairing multi;
  20.         # Default PIN code for incoming connections
  21.         passkey "BlueZ";
  22. }
  23. # Default settings for HCI devices
  24. device {
  25.         # Local device name
  26.         #   %d - device id
  27.         #   %h - host name
  28.         name "%h-%d";
  29.         # Local device class
  30.         class 0x3e0100;
  31.         # Default packet type
  32.         #pkt_type DH1,DM1,HV1;
  33.         # Inquiry and Page scan
  34.         iscan enable; pscan enable;
  35.         # Default link mode
  36.         #   none   - no specific policy
  37.         #   accept - always accept incoming connections
  38.         #   master - become master on incoming connections,
  39.         #            deny role switch on outgoing connections
  40.         lm accept;
  41.         # Default link policy
  42.         #   none    - no specific policy
  43.         #   rswitch - allow role switch
  44.         #   hold    - allow hold mode
  45.         #   sniff   - allow sniff mode
  46.         #   park    - allow park mode
  47.         lp rswitch,hold,sniff,park;
  48. }


 
pour le reste, quand j'essaie d'ouvrir /usr/sbin/hciconf, kwrite me previent qu'il s'agit d'un fichier binaire et j'ai plein de caracters bizarres...  :??:  
 
j'ai essayé à nouveau de lancer le service bluetooth et de detecter mon nokia avec hcitool scan mais encore rien.
 
Merci encore pour ton intéret et bonne soirée,
 
Peste
 

Risen From Ashes
Plus d'informations

d'abord /usr/sbin/hciconfig est un exécutable donc t'as pas à l'editer mais l'exécuter.
/usr/sbin/hciconfig + ENTER
 
tu commente la ligne 25 (# au début de la ligne) et tu la remplaces par
pin_helper /usr/bin/bluepin;
 
biensûr faut que tu aies installé bluez-pin come je t'ai dit avant.
ensuite redémarre le service bluetooth  
/etc/init/bluetooth restart
 
faut au moins que t'arrives à détecter to ordi avec ton PDA.


---------------
No Justice No Peace

 

Plus d'informations

En effet, j'avais bien lancé hciconfig...
 
Je viens d'installer bluez-pin et j'ai edité le fichier /etc/bluetooth/hcid.conf en commentant la ligne 25 et en ajoutant /usr/bin/bluez-pin (j'ai trouvé ça dans mon dossier usr/bin).
 
Après j'ai redemarré le service bluetooth et j'ai essayé de detecter l'ordi avec le PDA et viceversa, le PDA avec l'ordi (avec hcitool scan) mais encore rien. Device not found. J'aimerais comprendre au moins si le bluetooth est effectivement activé sur mon notebook...
 
Merci pour ton aide, t'es vraiment gentil!
 
Je te souhaite un bon weekend!
 
A bientot,
 
Peste

Risen From Ashes
Plus d'informations

a écrit :

En effet, j'avais bien lancé hciconfig...
 
Je viens d'installer bluez-pin et j'ai edité le fichier /etc/bluetooth/hcid.conf en commentant la ligne 25 et en ajoutant /usr/bin/bluez-pin (j'ai trouvé ça dans mon dossier usr/bin).
 
Après j'ai redemarré le service bluetooth et j'ai essayé de detecter l'ordi avec le PDA et viceversa, le PDA avec l'ordi (avec hcitool scan) mais encore rien. Device not found. J'aimerais comprendre au moins si le bluetooth est effectivement activé sur mon notebook...
 
Merci pour ton aide, t'es vraiment gentil!
 
Je te souhaite un bon weekend!
 
A bientot,
 
Peste


ça c'est le hciconfig qui va te le dire
 

Code :
  1. [root@nemrod firebird]# /usr/sbin/hciconfig
  2. hci0:   Type: USB
  3.         BD Address: 00:0F:B3:1B:19:8E ACL MTU: 192:8 SCO MTU: 64:8
  4.         UP RUNNING PSCAN ISCAN
  5.         RX bytes:399 acl:0 sco:0 events:19 errors:0
  6.         TX bytes:322 acl:0 sco:0 commands:18 errors:0


00:0F:B3:1B:19:8E est l'adresse du bluetooth de mon notebook. Maintenant si t'as les bons modules chargés dans le noyau...
 

Code :
  1. [root@nemrod firebird]# /sbin/lsmod | grep hci
  2. hci_uart                8824  0
  3. hci_vhci                2560  0
  4. hci_usb                 8988  2
  5. bluetooth              27492  12 sco,bnep,hidp,rfcomm,l2cap,hci_uart,hci_vhci,hci_usb
  6. ehci_hcd               21004  0
  7. uhci_hcd               14224  0


à part ehci-hcd et uhci-hcd (USB), j'ai besoin de tous ces modules (ligne 5). sco c'est pour la voix donc a priori pas indispensable.


---------------
No Justice No Peace

 


Aller à :
Ajouter une réponse
  FORUM Tom's Hardware » Le monde de Linux » Installation » etablir une connexion bluetooth et inrarouge avec pocket pc
 

Annonces Google
Publicité