Hi all,

Sorry for disturbing you all once again, but I do have a small problem....

I recently acquired a new Compaq presario laptop, however without an IrDA-port.
No problem, I thought, since my SH888 came with a cable.

So I did the following:

- Patched kernel 2.2.14 with the latest irda-patch
- compilled the kernel with IrDA subsystem support, specifically
   did I compile IrLan, IrComm, IrTTY and IrPort as modules
- compiled the latest IrDA-utils (0.9.10)

- created /devices:
        byzantium:/dev# ls -l ir*
        crw-r--r--   1 root     root     161,   0 Mar  6 19:19 ircomm0
        crw-r--r--   1 root     root     161,   1 Mar  6 19:20 ircomm1
        crw-r--r--   1 root     root     161,  16 Mar  6 19:20 irlpt0

- modified /etc/conf.modules:
        byzantium:/dev# cat /etc/conf.modules
        alias tty-ldisc-11 irtty
        alias char-major-161 ircomm-tty

- rebooted

Then I ran from a shel:
        irattach /dev/ttyS0 -s 1

And voila, I could do a cat /proc/net/irda/discovery and see my Ericsson
phone. I could even use irdaping to ping the phone - and I thought all was well:

byzantium:/dev# cat /proc/net/irda/discovery 
IrLMP: Discovery log:

nickname: SH 888, hint: 0x9104, saddr: 0x6835170b, daddr: 0x1d4e79a8

byzantium:/dev# irdaping 0x1d4e79a8
IrDA ping (0x1d4e79a8): 32 bytes
32 bytes from 0x1d4e79a8: irda_seq=0 time=120.00 ms.
32 bytes from 0x1d4e79a8: irda_seq=2 time=120.02 ms.
32 bytes from 0x1d4e79a8: irda_seq=3 time=120.02 ms.
32 bytes from 0x1d4e79a8: irda_seq=5 time=120.02 ms.
32 bytes from 0x1d4e79a8: irda_seq=6 time=120.01 ms.
32 bytes from 0x1d4e79a8: irda_seq=8 time=120.01 ms.
32 bytes from 0x1d4e79a8: irda_seq=9 time=120.01 ms.

10 packets received by filter

Now, I fired up minicom, set the modem to be /dev/ircomm0 - and tried to
communicate with my Ericsson.....NOTHING happened. Except that I got the
message:

Mar  6 18:39:54 byzantium kernel: IrLAP, no activity on link! 

in /var/adm/messages.

Now, what can be wrong? It seems to me, that the appropriate modules
(ircomm et. al) when I run minicom:

ircomm-tty             16476   1  (autoclean)
ircomm                  5476   0  (autoclean) [ircomm-tty]
irtty                   4368   2  (autoclean)

Further, I see nothing wrong with the following either:

byzantium:/lib/modules/2.2.14# cat /proc/tty/driver/ircomm 
State: IRCOMM_TTY_SEARCH
Service type: 9_WIRE
Port name: 
DTE status: RTS|DTR
DCE status: 
Configuration: DTE <-> DCE
Data rate: 57600
Flow control: 
Flags: ASYNC_INITIALIZED|ASYNC_NORMAL_ACTIVE
Role: server
Open count: 1
Max data size: 59
Max header size: 5
Hardware: Running

What have I missed out here? Please help me....

-- 
Mange hilsner / Sincerely

-------------------------------------------
  Thomas Heide Clausen
  Civilingeni�r i Datateknik (cand.polyt)
  M.Sc in Computer Engineering

  E-Mail: [EMAIL PROTECTED]
  WWW:    http://www.cs.auc.dk/~voop
-------------------------------------------

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

Reply via email to