Picon
Favicon

Re: Can't receive file from phone

Francois BARRIERE wrote:
> Hello,
> 
>    I try to transfer files from my phone (Mitsubishi m342i) to my
> laptop without success. The laptop chipset is the smsc one, I use
> a 2.6.18 kernel and can transfer files from/to my palm without
> problem, so the link works and the driver part is correct.
> 
> Trying to get files from the phone, I start 'irxfer' on the
> laptop and send the file from the phone. On the phone I get
> an error (kind of 'host not found') and don't receive anything.
> Running irdadump I get the following trace:
> 
> --------------------------------------------------------------------------------
> 
> 16:20:13.966255 xid:rsp ec5f851e > 5165f21c S=6 s=1 babylon hint=0400 [ Computer ] (23)
> 16:20:14.123187 xid:cmd ffffffff < 5165f21c S=6 s=2 (14)
> 16:20:14.220123 xid:cmd ffffffff < 5165f21c S=6 s=3 (14)
> 16:20:14.317064 xid:cmd ffffffff < 5165f21c S=6 s=4 (14)
> 16:20:14.413998 xid:cmd ffffffff < 5165f21c S=6 s=5 (14)
> 16:20:14.519260 xid:cmd ffffffff < 5165f21c S=6 s=* M342i hint=9024 [ Modem IrCOMM IrOBEX ] (22)

IMHO, at this point both devices need to have hints identical - at least 
the ones desired in upcomming communication. I can see that you babylon 
computer host doesn't support IrOBEX which is why the phone can't 
establish the link and fails below...

> 16:20:14.571155 snrm:cmd ca=fe pf=1 ec5f851e < 5165f21c new-ca=88
>         LAP QoS: Baud Rate=115200bps Max Turn Time=500ms Data Size=256B Window Size=1 Add BOFS=0 Min Turn
Time=10000us Link Disc=12s (32)
(Continue reading)

Francois BARRIERE | 18 Dec 2006 22:16

Re: Can't receive file from phone

On Mon, 18 Dec 2006 10:00:41 +0100
"hinko.kocevar@..."
<hinko.kocevar@...> wrote:

> > 16:20:14.519260 xid:cmd ffffffff < 5165f21c S=6 s=* M342i hint=9024 [ Modem IrCOMM IrOBEX ] (22)
> 
> IMHO, at this point both devices need to have hints identical - at least 
> the ones desired in upcomming communication. I can see that you babylon 
> computer host doesn't support IrOBEX which is why the phone can't 
> establish the link and fails below...

   now the stupid question: how do I change this (the hint)? How do I enable
IrCOMM on the computer side?
I have the ircomm module loaded, I tried with and without the ircomm_tty module
but still can get anything...

Another question: is there any command line tool to get/put files using
the irda link? I tried with the irxfer and ircp tools from an older irdautils
package but these tools are not in the latest version...

Francois.

--

-- 
Francois Barriere               (In the country of the mistral)
chili.palmer@...

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
(Continue reading)

Francois BARRIERE | 18 Dec 2006 22:32

Re: Can't receive file from phone

On Mon, 18 Dec 2006 22:16:00 +0100
Francois BARRIERE <chili.palmer@...> wrote:

>    now the stupid question: how do I change this (the hint)? How do I enable
> IrCOMM on the computer side?
> I have the ircomm module loaded, I tried with and without the ircomm_tty module
> but still can get anything...
> 
> Another question: is there any command line tool to get/put files using
> the irda link? I tried with the irxfer and ircp tools from an older irdautils
> package but these tools are not in the latest version...

   OK, it was a stupid question... Forget it! I finally manage to get files
transfered from the phone... The ircp and irxfer tools are from the openobex
package and I seem to have an outdated version...

I compiled the latest openobex tools and the miracle occured!
Sorry for the noise and thank you for your help...

Francois.

--

-- 
Francois Barriere               (In the country of the mistral)
chili.palmer@...

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
(Continue reading)

surfzoid surfzoid | 18 Dec 2006 13:02
Picon
Favicon

Re: Can't receive file from phone


Hi, yu should try my Jobexftp soft located at sourceforge : http://sourceforge.net/projects/jobexftp/
Just folow the description instruction at doc place : http://sourceforge.net/docman/display_doc.php?docid=35709&group_id=180342
My soft doesn't use api or librairie for obex, there is everything inside, normaly.
Also as it said in this post (down) yu should have a dev call ircomm0 in the /dev/ directory, if not use, in a root shell, the commands : lsmod, modprob and/or rmmod.
Also if you have a rpm or deb distrib based yu can try to install obexftp package.
Good luke

> Date: Mon, 18 Dec 2006 10:00:41 +0100
> From: hinko.kocevar <at> cetrtapot.si
> To: chili.palmer <at> barriere-smithson.net
> CC: irda-users <at> lists.sourceforge.net
> Subject: Re: [irda-users] Can't receive file from phone
>
> Francois BARRIERE wrote:
> > Hello,
> >
> > I try to transfer files from my phone (Mitsubishi m342i) to my
> > laptop without success. The laptop chipset is the smsc one, I use
> > a 2.6.18 kernel and can transfer files from/to my palm without
> > problem, so the link works and the driver part is correct.
> >
> > Trying to get files from the phone, I start 'irxfer' on the
> > laptop and send the file from the phone. On the phone I get
> > an error (kind of 'host not found') and don't receive anything.
> > Running irdadump I get the following trace:
> >
> > --------------------------------------------------------------------------------
> >
> > 16:20:13.966255 xid:rsp ec5f851e > 5165f21c S=6 s=1 babylon hint=0400 [ Computer ] (23)
> > 16:20:14.123187 xid:cmd ffffffff < 5165f21c S=6 s=2 (14)
> > 16:20:14.220123 xid:cmd ffffffff < 5165f21c S=6 s=3 (14)
> > 16:20:14.317064 xid:cmd ffffffff < 5165f21c S=6 s=4 (14)
> > 16:20:14.413998 xid:cmd ffffffff < 5165f21c S=6 s=5 (14)
> > 16:20:14.519260 xid:cmd ffffffff < 5165f21c S=6 s=* M342i hint=9024 [ Modem IrCOMM IrOBEX ] (22)
>
> IMHO, at this point both devices need to have hints identical - at least
> the ones desired in upcomming communication. I can see that you babylon
> computer host doesn't support IrOBEX which is why the phone can't
> establish the link and fails below...
>
> > 16:20:14.571155 snrm:cmd ca=fe pf=1 ec5f851e < 5165f21c new-ca=88
> > LAP QoS: Baud Rate=115200bps Max Turn Time=500ms Data Size=256B Window Size=1 Add BOFS=0 Min Turn Time=10000us Link Disc=12s (32)
> > 16:20:14.571184 ua:rsp ca=88 pf=1 ec5f851e > 5165f21c
> > LAP QoS: Baud Rate=115200bps Max Turn Time=500ms Data Size=2048B Window Size=3 Add BOFS=0 Min Turn Time=1000us Link Disc=12s (31)
> > 16:20:14.634968 rr:cmd < ca=88 pf=1 nr=0 (2)
> > 16:20:14.634987 rr:rsp > ca=88 pf=1 nr=0 (2)
> > 16:20:14.649161 i:cmd < ca=88 pf=1 nr=0 ns=0 LM slsap=01 dlsap=00 CONN_CMD (6)
> > 16:20:14.649194 i:rsp > ca=88 pf=1 nr=1 ns=0 LM slsap=00 dlsap=01 CONN_RSP (6)
> > 16:20:14.665062 i:cmd < ca=88 pf=1 nr=1 ns=1 LM slsap=01 dlsap=00 GET_VALUE_BY_CLASS: "OBEX" "IrDA:TinyTP:LsapSel" (30)
> > 16:20:14.665090 i:rsp > ca=88 pf=1 nr=2 ns=1 LM slsap=00 dlsap=01 GET_VALUE_BY_CLASS: No such class (11)
> > 16:20:14.684149 i:cmd < ca=88 pf=1 nr=2 ns=2 LM slsap=01 dlsap=00 GET_VALUE_BY_CLASS: "OBEX:IrXfer" "IrDA:TinyTP:LsapSel" (37)
> > 16:20:14.684178 i:rsp > ca=88 pf=1 nr=3 ns=2 LM slsap=00 dlsap=01 GET_VALUE_BY_CLASS: No such class (11)
> > 16:20:14.699990 i:cmd < ca=88 pf=1 nr=3 ns=3 LM slsap=01 dlsap=00 DISC (6)
> > 16:20:14.700020 rr:rsp > ca=88 pf=1 nr=4 (2)
> > 16:20:14.713444 rr:cmd < ca=88 pf=1 nr=3 (2)
> > 16:20:14.713463 rr:rsp > ca=88 pf=1 nr=4 (2)
> > 16:20:14.727299 rr:cmd < ca=88 pf=1 nr=3 (2)
> > 16:20:14.727319 rr:rsp > ca=88 pf=1 nr=4 (2)
> > 16:20:14.741137 disc:cmd < ca=0x88 pf=1 (2)
> > 16:20:14.741154 ua:rsp ca=88 pf=1 ec5f851e > 5165f21c (10)
> >
> > ------------------------------------------------------------------------------
> >
> > What did I do wrong? Anything to try next? Thanks in advance for any help.
>
>
> Load IrOBEX support on the computer host. You could test the connection
> via irCOMM beforehand. It shouldn't be too much work - just insmod
> ircomm_tty and establish ppp connection with the phone via IrCOMM. Send
> some AT commands to the phone and you should be online in a jiffy.
>
> >
> > Francois.
> >
>
> best regards,
> hinko
>
> --
> ČETRTA POT, d.o.o., Kranj
> Planina 3
> 4000 Kranj
> Slovenija
> Tel. +386 (0) 4 280 66 37
> E-mail: hinko.kocevar <at> cetrtapot.si
> Http: www.cetrtapot.si
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> irda-users mailing list
> irda-users <at> lists.sourceforge.net
> http://lists.sourceforge.net/lists/listinfo/irda-users

Exprimez-vous en direct avec Windows Live Messenger ! Windows Live Messenger !
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
irda-users mailing list
irda-users@...
http://lists.sourceforge.net/lists/listinfo/irda-users

Gmane