On Sun, Nov 04, 2001 at 04:09:25AM +0100, Eric BENARD / FREE wrote: > I've tried several thing like : > modprobe sa1100_ir > irattach irda0 -s 1 > or ifconfig irda0 up
I use: ifconfig irda0 up echo 1 > /proc/sys/net/irda/discovery on _ONE_ end only. The other end must not have discovery turned on. > But I'm in SIR mode so it's really slow and I don't manage to keep link up. "Don't manage to keep the link up" ? > Do you know how I can set the assabet in FIR mode ? FIR mode is entered upon negotiation between the two machines when a connection is made. If the assabet is just in discovery mode, then it will remain in SIR mode, as per the IrDA specs. > Also are irdadump and iradping available for arm ? I compiled both these > utilities but I get the following error message : > # ./irdaping 0x1B8E8CD5 > socket: Address family not supported by protocol > Do you have an idea of the reason of this error ? You need to turn on the packet protocol support in the kernel (or modprobe af_packet). > Bonus question ;-)) : what would be the best solution to communicate through > IRDA between 2 SA1110 ? irlan ? irnet ? other ? I've used irlan here, between two assabets. Note that there are various problems with IrDA on the assabet: 1. if you have the LP-E card inserted, it can cause interference with the IrDA transceiver directly above it, and can result in corrupted reception. 2. If the "can" of the IrDA transceiver isn't grounded, then you will definitely end up with _lots_ of corrupted reception. (1) you can't get around - even on my rev.5 assabet it happens. It's fine unless you have a busy network. (2) is fixed in rev.5 Assabets by placing a wire link from the can to the earth plane on the upper side of the board. If yours doesn't have this, then I suggest you add it, but carefully - if you heat the transceiver can up too much, you will destroy the transceiver itself. (The data sheet for the transceiver has very specific comments about the method of applying heat to the device, and the amount of time the heat can be applied). _______________________________________________ http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm Please visit the above address for information on this list.
