Problems with IrDA on Dell C640 with RedHat Linux...

From: Marian Stepka (stepka_at_tris.sk)
Date: 07/07/03


Date: 6 Jul 2003 23:54:46 -0700

I have problem to make my IrDA port working on my Dell Latitude with RedHat 9.0
installed. First something from bacground and BIOS. My BIOS is latest possible
upgrade from Dell site and it is revision A09.

I have no idea what IrDA chip is installed in this laptop. I try to run findchip
in debug mode and verbose mode, but it does not find any chip. When I go to BIOS
settings there is possible to setup which serial port will be bind to IrDA.

I try several setting and at last I decide to keep it as COM1. I don't use COM
port so I choosed COM1 and another reason is that I use Xircom RealPort modem
which is using same IRQ for modem serial link as COM2.

After boot:

# dmesg | grep tty

ttyS0 at 0x03f8 (irq = 4) is a 16550A
ttyS3 at port 0x02e8 (irq = 3) is a 16550A

So it looks like Linux recognized serial port binded to IrDA correctly. Service
irda is started which execute irattach command with discovery mode

# irattach /dev/ttyS0 -s 1

Device ttyS0 is readable and writable for anybody:

# ls -la /dev/ttyS0
crw-rw-rw- 1 root uucp 4, 64 Jun 6 18:22 /dev/ttyS0

I would like to make my Palm and Ericsson T39m working with my laptop. So after
switching on Infra Red port on my T39m on I issued

# irdadump

80cebd9d > ffffffff S=6 s=3 (14)
80cebd9d > ffffffff S=6 s=4 (14)
80cebd9d > ffffffff S=6 s=5 (14)
80cebd9d > ffffffff S=6 s=* ffp3yf-l1 hint=0400 [ Computer ] (25)
80cebd9d > ffffffff S=6 s=0 (14)
80cebd9d > ffffffff S=6 s=1 (14)
80cebd9d > ffffffff S=6 s=2 (14)
80cebd9d < 3c789739 S=6 s=2 T39 hint=9124 [ PnP Modem IrCOMM IrOBEX ] (20)
...

Messages goes on forever. So it seems that phone is reply correctly. I even can
ping it with:

# irdaping

IrDA ping (0x3c789739): 32 bytes
32 bytes from 0x3c789739: irda_seq=0 time=110.00 ms.
32 bytes from 0x3c789739: irda_seq=1 time=110.01 ms.
...

Pretty slow responses but it goes.

Where is my problem? I cannot sync my palm and I cannot access my phone. If I
run minicom modem does not respond. If try to sync my Palm KPilot says that link
is ready but doesn't sync. I can sync over USB without problem.

I also try to restart service without discovery mode and it is not working as
well. According to IrDA docs I need to have some aliases defined so here is my
modules.conf file:

alias xirc2ps_cs
alias eth0 3c59x
alias tty-ldisc-11 irtty
alias char-major-161 ircomm-tty
alias sound-service-1-0 i810_audio
alias sound-service-0-0 i810_audio
alias sound-slot-0 i810_audio
alias sound-slot-1 i810_audio
alias usb-controller usb-uhci

If I issue lsmod all modules are loaded. Do anybody have any ideas where I'm
wrong?

This is a web post so please include e-mail copy to me.

Marian



Relevant Pages

  • Re: Have USB IrDA device on computer -- now what?
    ... how does it talk to any IrDA device? ... > but Hyperterminal, Conn4x, etc. have no idea that it exists. ... "IR port", but I don't know what the applications might be. ... Windows 2000 Device Manager ...
    (comp.sys.hp48)
  • Re: Get IRDA Harware status on Windows Mobile..
    ... of Bluetooth and IRDA support on my Windows Mobile 5.0 smartphone ... the same for IRDA. ... Do we have the same type of API for IRDA availability/status checking? ... I use IR as a COM port. ...
    (microsoft.public.pocketpc.developer)
  • Re: Communicate via the IrDA port between a PPC and an non_Windows
    ... "Receive all incoming beams" is of course disabling on the PDA. ... I'm sure the port Com is correct(with HKEY_LOCAL_MACHINE I have acces to the ... > What is the other device, are you sure it supports IrDA? ... >> I have selectionned the IrComm port but I encountered two problems: ...
    (microsoft.public.pocketpc.developer)
  • Re: IrDA Communication
    ... What sort of IrDA connection is to be made? ... to a serial port from several threads at the same time. ... could not transmit data because I think it would lock out usage on the port. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: IrDA Communication
    ... serial port from several threads at the same time. ... > implement IrDA in the .NET Framework as opposed to the COmapct Framework? ... I do not want to poll on a received message because that would lead ... >>> not transmit data because I think it would lock out usage on the port. ...
    (microsoft.public.dotnet.framework.compactframework)