On Thu, Dec 13, 2001 at 02:34:54PM +0100, Florian Zimmermann wrote:
> Hi there,
>
> read your IrNET Howto and didn't get it to work here, if your times allows
> could you help me?
>
> I have a notebook and a Ipaq PocketPC, both work well with IrDA (finally),
> both can communicate with a cell phone etc and both see each
> other in the discovery file.
>
> Then i started a:
> mknod /dev/irnet c 10 187
> modprobe irnet
> pppd /dev/irnet 9600 noauth local my_ip:remote_ip
> on both sides.
>
> The Ipaq connects and bails out after lcp configure timeouts.
> But on the notebook:
>
> duh:/usr/local/bin# pppd /dev/irnet 9600 noauth local
> 192.168.1.46:192.168.1.5
> Connect script failed
> Dec 13 14:17:41 duh pppd[484]: pppd 2.4.1 started by flo, uid 0
> Dec 13 14:17:42 duh kernel: irnet: dev_irnet_ioctl(): Unsupported ioctl
> (0x5402)
> Dec 13 14:17:42 duh kernel: irnet: dev_irnet_ioctl(): Unsupported ioctl
> (0x5402)
> Dec 13 14:17:42 duh pppd[484]: Exit.
>
> Why is this ioctl not supported? I use a stock 2.4.16 kernel on both peers.
If you look into "include/asm/ioctls.h", you'll find the
following definition :
--------------------------------------
#define TCSETS 0x5402
--------------------------------------
Now, if you look in "net/irda/irnet/irnet_ppp.c", you will
find the following code :
-------------------------------
case TCGETS:
DEBUG(FS_INFO, "Get termios.\n");
if(kernel_termios_to_user_termios((struct termios *)arg, &ap->termios))
break;
err = 0;
break;
[...snip...]
default:
DERROR(FS_ERROR, "Unsupported ioctl (0x%X)\n", cmd);
err = -ENOIOCTLCMD;
-------------------------------
So I really need an explanation...
> Thanks for your help!
> flo
Good luck...
Jean
_______________________________________________
Linux-IrDA mailing list - [EMAIL PROTECTED]
http://www.pasta.cs.UiT.No/mailman/listinfo/linux-irda