I haven't tried this on an Assabet, but have done it on ADS Strong ARM
boards.  I am using 2.4.9.  There were bugs in 2.4.9 irda drivers that kept
ircomm from being reliable.  I down loaded 2.4.18 and copied the irda
drivers and include files to 2.4.9 then applied the patches from Jean's
site:

  http://www.hpl.hp.com/personal/Jean_Tourrilhes/IrDA/irDA.html

See the links to the patches under "Patches pending..."

Prior to that I had tried 2.4.16 with no better luck than 2.4.9.  The 2.4.18
patched drivers work great with ircomm, but there are still problems with
irnet.

Some hints that I found useful from various sources:

Use modules, don't build the drivers into the kernel (built-in might work, I
haven't tried yet).

Load the modules in the following order:
    irda.o
    ircomm.o
    ircomm-tty.o
    sa1100_ir.o

You will not need the irtty.o or irport.o modules (the sa1100_ir.o takes
care of the physical layer).

Note that you will have to comment out the sa1100_register_uart call for the
uart (2) that is used by irda and figure out how to power on the irda
hardware (assuming here that assabet is similar to the ADS boards, but it
looks like the uart is not registered in assabet.c so you can probably
ignore that part).

Then 
    irattach irda0 -s 1
    echo  57600 > /proc/sys/net/irda/max_baud_rate # 115 might work too
    echo 4 > /proc/sys/net/irda/debug # if you want to get debugging
messages

cat /proc/net/irda/discovery will show if the 2 boards see each other.

Then something like this on one of the assabets

    /sbin/getty -L ircomm0 38400 vt100

And this on the other one run:

    minicom or kermit.

Good luck,

Robert


-----Original Message-----
From: Ramprasad [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, March 05, 2002 11:55 PM
To: [EMAIL PROTECTED]
Subject: [Linux-IrDA] pppd on ir


Hi,

I am working on linux 2.4.16 kernel and want to establish PPP connection
between two assabet boards using ircomm how do start ...Anybody has tried
this...

Thanks in advance
Ramprasad

_______________________________________________
Linux-IrDA mailing list  -  [EMAIL PROTECTED]
http://www.pasta.cs.UiT.No/mailman/listinfo/linux-irda
_______________________________________________
Linux-IrDA mailing list  -  [EMAIL PROTECTED]
http://www.pasta.cs.UiT.No/mailman/listinfo/linux-irda

Reply via email to