----- Original Message -----
From: "Alan McFarlane" <sourceforge@...>
To: <irda-users@...>
Sent: Tuesday, June 21, 2005 1:35 PM
Subject: RE: [irda-users] (no subject)
>> From William Adams
>>> From: "Alan McFarlane" <sourceforge@...>
>>>> From William Adams
>>>> I am using Linux to connect to Palm/OS 5.2 via ir.
>>>> SIR works fine but my FIR attempts have not been successful.
>>>> This appears to be because 5.2 does not support IrNET.
>>>>
>>> As far as I know neither PalmOS 4 nor 5 has any support for
>>> FIR (etc), they only support SIR. (I presume version 6,
>>> Cobalt, does support the faster rates)
>>
>> Thank you for responding to my inquiry.
>>
> What is your high level aim here? To form a data network between Linux
> and Palm?
Yes
> Normally one connects from the Palm to the Linux box, using
> IrCOMM (as there's no (released) IrNet support on the Palm). Someone
> more familiar with Linux can likely point you to a page describing this.
>
I have initiated connectivity in both directions using IrCOMM.
I wanted to avoid the overhead of serial framing and it seemed
that if FIR were available for the Actisys ir-210u, IrNET would
be the most productive companion protocol.
>> It appears to me that the link layer is cueing upon a hint
>> from the Palm
>> and beginning negotiation before realizing that kernel(et al) support
>> is not generated.
>>
> I don't understand what you're saying there. I'm no Linux expert so...
I'm saying that it seems frivilous for the IrDA stack to respond to a hint
that can not succeed based upond intrinsic lack of support. Better to
let the Palm continue to bid until something more palatable shows up.
> See below for my explanation of what the trace shows.
>
> [...]
>> 23:43:58.348155 i:cmd < ca=6a pf=1 nr=1 ns=1 LM slsap=01 dlsap=00
>> GET_VALUE_BY_CLASS: "IrDA:IrCOMM" "IrDA:TinyTP:LsapSel" (37)
>>
>> 23:43:58.348186 i:rsp > ca=6a pf=1 nr=2 ns=1 LM slsap=00 dlsap=01
>> GET_VALUE_BY_CLASS: No such class (11)
>>
>> 23:43:58.365155 disc:cmd < ca=0x6a pf=1 (2)
>>
> That irdadump trace shows a completely bog standard instance of the Palm
> forming a IrLAP connection to the Linux box, looking for the IrCOMM
> service, and disconnecting when it doesn't find it. I see no evidence
> of IrNet at all--if the Palm wanted IrNet it would ask for it in the
> same way as it did for "IrDA:IrCOMM"
This is correct. However when the connection is initiated from the Linux
side
with only IrNet support generated, the same bid response protocol is seen.
The only difference is that the bid token offered by Linux is "IrNetv1".
The Palm responds with "NO_SUCH_CLASS" just as Linux did when
IrCOMM was not generated. This is how I knew that the Palm did not
support IrNET.
(see
> http://www.alanjmcf.me.uk/comms/infrared/IrDA%20uses%20(brief).html).
> The Virtual Serial Driver that appears as "Infrared" and is used by the
> "IR to Handheld/PC" and Connections, is the IrCOMM Vdrv by-the-way.
>
>
>> If this is so, can it be disabled by /proc/sys/net/irda?
>>
>> If I am incorrect, can you point me in another direction?
>>
> I'm lost, maybe a Linux person can help. It all depends on what your
> ultimate aim is.
>
I want to get to my Java program.
>
>>> The support for IrNet is orthogonal to this. IrNet is layered over
>>> TinyTP-LMP-LAP-PHY, so will work whatever physical layer
>>> type is being used.
>>>
>>>
>>> BTW, I've a not-quite-finished IrNet Virtual Serial Driver
>>> for OS4, if
>>> anyone can tell me how to compile it for OS5+ARM I can have a go a
>>> porting it.
>>>
>> If you'll send me the driver, I'll try to help you.
>>
> Well it's not really in a state for that to be useful. :-,( (I need a
> guru on PalmOS+OS5+ARM+GCC+PRC-Tool to show me how to build a Vdrv for
> OS5, that's how to tell GCC and the other tools what to create, and what
> modifications are needed in the Vdrv API. See e.g.
> http://news.palmos.com/read/messages?id=191105)
>
Not my bag but I'll be in that area soon.
Thanks for the help.
Bill
> Alan
>
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> _______________________________________________
> irda-users mailing list
> irda-users@...
> http://lists.sourceforge.net/lists/listinfo/irda-users
>
|