logo Debian Debian Debian-France Debian-Facile Debian-fr.org Forum-Debian.fr Debian ? Communautés logo inclusivité

Debian-facile

Bienvenue sur Debian-Facile, site d'aide pour les nouveaux utilisateurs de Debian.

Vous n'êtes pas identifié(e).

#1 25-12-2013 07:58:00

Patriboom
Membre
Lieu : Arctique canadien
Distrib. : Bookworm (12)
Noyau : Linux 6.1.0-13-amd64
(G)UI : MATE
Inscription : 25-12-2008
Site Web

Communication Infra-rouge

Bonjour,

j'ai un appareil accessible par infra-rouge seulement.  Ça fonctionne bien sous Windows.

Lorsque je fais 

irdadump

  je vois bien mon appareil dans la liste. 

06:55:35.924437 xid:rsp 1bda9409 < d9b1a303 S=6 s=4 UWATEC Galileo hint=8000 [ ] (32)


J'en conclus qu'il a l'adresse d9b1a303

D'ailleurs, la commande irdaping d9b1a303 me donne de bons résultats:

IrDA ping (0x00000000 on irda0): 32 bytes
32 bytes from 0xd9b1a303: irda_seq=0 time= 99.27 ms.
32 bytes from 0xd9b1a303: irda_seq=4 time=116.50 ms.
32 bytes from 0xd9b1a303: irda_seq=5 time= 99.26 ms.
32 bytes from 0xd9b1a303: irda_seq=6 time= 99.24 ms.
32 bytes from 0xd9b1a303: irda_seq=7 time=124.63 ms.
32 bytes from 0xd9b1a303: irda_seq=8 time=100.35 ms.
32 bytes from 0xd9b1a303: irda_seq=9 time= 99.22 ms.
 



J'ai installé obex et, suivant https://www.gitorious.org/openobex/pages/Home, j'ai aussi installé obexftp
Je sais, pour avoir échangé des fichiers dans le deux sens sous Windows, que mon appareil ne fait pas que "push".  c'est pourquoi je veux accéder via obexftp

Pouvez-vous m'aider à exploiter correctement obexftp?
Voici le fichier "Help"

ObexFTP 0.23
Usage: obexftp [ -i | -b <dev> [-B <chan>] | -U <intf> | -t <dev> | -N <host> ]
[-c <dir> ...] [-C <dir> ] [-l [<dir>]]
[-g <file> ...] [-p <files> ...] [-k <files> ...] [-x] [-m <src> <dest> ...]
Transfer files from/to Mobile Equipment.
Copyright (c) 2002-2004 Christian W. Zuckschwerdt

 -i, --irda                  connect using IrDA transport (default)
 -b, --bluetooth [<device>]  use or search a bluetooth device
 [ -B, --channel <number> ]  use this bluetooth channel when connecting
 [ -d, --hci <no/address> ]  use source device with this address or number
 -u, --usb [<intf>]          connect to a usb interface or list interfaces
 -t, --tty <device>          connect to this tty using a custom transport
 -n, --network <host>        connect to this host

 -U, --uuid                  use given uuid (none, FBS, IRMC, S45, SHARP)
 -H, --noconn                suppress connection ids (no conn header)
 -S, --nopath                dont use setpaths (use path as filename)

 -c, --chdir <DIR>           chdir
 -C, --mkdir <DIR>           mkdir and chdir
 -l, --list [<FOLDER>]       list current/given folder
 -o, --output <PATH>         specify the target file name
                             get and put always specify the remote name.
 -g, --get <SOURCE>          fetch files
 -G, --getdelete <SOURCE>    fetch and delete (move) files
 -p, --put <SOURCE>          send files
 -k, --delete <SOURCE>       delete files

 -X, --capability            retrieve capability object
 -Y, --probe                 probe and report device characteristics
 -x, --info                  retrieve infos (Siemens)
 -m, --move <SRC> <DEST>     move files (Siemens)

 -v, --verbose               verbose messages
 -V, --version               print version info
 -h, --help, --usage         this help text
 



Je ne comprends pas comment exploiter cela.  J'ai pourtant essayé un tas de possiblitiés, mais je n'arrive jamais à une communication.
Voici les commandes essayées:


obexftp --probe
obexftp --irda --probe
obexftp --irda --probe -u
obexftp --irda --probe -U d9b1a303
obexftp --irda --probe -U d9b1a303 -H
obexftp --irda --probe -U d9b1a303 -g
obexftp --irda --probe -U IRMC
obexftp --irda -U IRMC  --probe
obexftp -u d9b1a303  -U IRMC  --probe
obexftp -u d9b1a303  --probe
obexftp -d d9b1a303  --probe
 




Voici le résultat typique obtenu:

=== Probing with FBS uuid.
Connecting...failed: connect
Tried to connect for 0ms
error on connect(): Success
Still trying to connect
Connecting...failed: connect
Tried to connect for 0ms
error on connect(): Success
Still trying to connect
Connecting...failed: connect
Tried to connect for 0ms
error on connect(): Success
Still trying to connect
couldn't connect.

=== Probing with S45 uuid.
Connecting...failed: connect
Tried to connect for 0ms
error on connect(): Success
Still trying to connect
Connecting...failed: connect
Tried to connect for 0ms
error on connect(): Success
Still trying to connect
Connecting...failed: connect
Tried to connect for 0ms
error on connect(): Success
Still trying to connect
couldn't connect.

=== Probing without uuid.
Connecting...failed: connect
Tried to connect for 0ms
error on connect(): Success
Still trying to connect
Connecting...failed: connect
Tried to connect for 0ms
error on connect(): Success
Still trying to connect
Connecting...failed: connect
Tried to connect for 0ms
error on connect(): Success
Still trying to connect
couldn't connect.
 



Merci de votre aide.


Portez la paix
Patrick Allaire, ptre

Hors ligne

#2 04-01-2014 05:02:41

Patriboom
Membre
Lieu : Arctique canadien
Distrib. : Bookworm (12)
Noyau : Linux 6.1.0-13-amd64
(G)UI : MATE
Inscription : 25-12-2008
Site Web

Re : Communication Infra-rouge

Afin d'aider ceux qui s'intéresseraient à cette question, je suis rendu à explorer cette piste:   http://irda.sourceforge.net/

Portez la paix
Patrick Allaire, ptre

Hors ligne

Pied de page des forums