On Mon, 24 Jan 2000, John Ioannidis wrote:
> I brought up 2.2.14 on a P-II, applied the irda patches, installed
> irda-utils-0.9.8, and tried to use the JetEye dongle, but the thing is
> not working. Observe:
It works great for me. I'll show you my equivalent setup and leave the
substantive explanation to Dag.
> # lsmod
> Module Size Used by
> ircomm-tty 16800 0 (unused)
> ircomm 5700 0 [ircomm-tty]
> esi 472 1
> irtty 4572 1
> irda 70433 2 [ircomm-tty ircomm esi irtty]
I compiled the modules directly into the kernel (I saw only later that
this is not the preferred method...)
> # ps ax | grep ir
> 8426 ? S 0:00 irmanager -d 1
> 8431 ? S 0:00 irattach /dev/ttyS1 -d esi
# ps ax | grep ir
1996 ? SW 0:00 [irmanager]
1998 ? S 0:00 /usr/sbin/irattach /dev/ttyS0 -d esi
(my processes avoid any potential y2k bug ;-) ).
> # ls -l /dev/ircomm*
> crw-rw-rw- 1 root root 161, 0 Jan 19 18:08 /dev/ircomm0
> crw-rw-rw- 1 root root 161, 1 Jan 19 18:08 /dev/ircomm1
I did not create any /dev/ircomm?'s. But my ttyS? are :
# ls -l /dev/ttyS*
crw------- 1 root tty 4, 64 Jan 21 14:53 /dev/ttyS0
crw------- 1 root tty 4, 65 May 5 1998 /dev/ttyS1
crw------- 1 root tty 4, 66 May 5 1998 /dev/ttyS2
crw------- 1 root tty 4, 67 May 5 1998 /dev/ttyS3
> I also tried killing irmanager and irattach and starting irattach with
> the -s option:
>
> # ps ax | grep ir
> 8569 ? S 0:00 irattach /dev/ttyS1 -d esi -s 1
>
> but still no go.
Here's something I had under 2.2.10 and kept with 2.2.14. My understanding
is that the irmanager invocation is not necessary (but I did not change
this little script)
/sbin/depmod -a
/usr/sbin/irmanager -d 1
/usr/sbin/irattach /dev/ttyS0 -d esi
(one minute later) I killed the ir processes and restarted them with:
/usr/sbin/irattach /dev/ttyS0 -d esi
# ps ax | grep ir
12824 ? S 0:00 /usr/sbin/irattach /dev/ttyS0 -d esi
# tail /var/log/messages
Jan 24 13:17:22 dhcp-1-190 irattach: Serial connection established.
Jan 24 13:17:23 dhcp-1-190 irattach: executing: 'echo dhcp-1-190 >
/proc/sys/net/irda/devname'
Jan 24 13:17:23 dhcp-1-190 irattach: Using device: irda0
and it works fine!
>
> I'm trying to talk to the thing with a Palm V running PalmOS 3.3 (the
> version that can actually hot-sync over the infrared port; I had done
> this successfully under 2.2.10 a couple of months ago). I tried with
> both ircomm devices, and neither worked.
>
> Am I doing something wrong? Has anyone successfully used ircomm with
> the JetEye under 2.2.14?
I'm not using IrCOMM, but I've used IrOBEX and TinyTP with a Palm III and
a Palm IIIx.
Good luck,
Scott
_______________________________________________
Linux-IrDA mailing list - [EMAIL PROTECTED]
http://www4.pasta.cs.UiT.No/mailman/listinfo/linux-irda