On Thu, Dec 13, 2001 at 07:24:48PM +0100, Florian Zimmermann wrote:
> 
> Hi again ;-)

        Hi,

        <BTW, I cc'ed on the IrDA mailing list for others to help>

> i investigated further (first in irnet_ppp.c for the err-msg) and
> then I thought 'wrong pppd version' or sth like that. At least
> a pppd who tries todo a ioctl() case which is not supported...
> So i tried a pppd /dev/irnet 9600 dump
> and saw (stupid me) that pppd reads in every case the global
> /etc/ppp/options file ;-(
> 
> This options file has never been touched or even watched by me,
> it's the default from a debian woody install. I changed it to
> behave and look like the options file from the other peer...
> And it works ;-) Sadly i dont know exactly what i changed, i just
> copied the other file around and removed the old ... (ahem)
> 
> It's not entirely clear to me which option could trigger the
> default case in irnet_ppp.c though.
> 
> Can you imagine?
> 
> One thing i noticed (but did not check) is your break:
> 
>  if(kernel_termios_to_user_termios((struct termios *)arg, &ap->termios))
>         break;
> 
> The 'Unsupported ioctl' is coded twice in the source (iirc),
> and perhaps here it breaks and later gives this message? Dunno...
> 
> (Am I misunderstanding sth here?)

        A switch is a switch. If two clauses are separated by a break,
only one of them is executed. And you will notice that the log message
says that it is generated in "dev_irnet_ioctl()".
        I suspect that the header files of your kernel are weird,
because it's either TCGETS != 0x5402, or else it's a compiler bug.

> Just keep me informed about this one ;-)
> 
> Thx,
> flo

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

Reply via email to