On Thu, 13 Dec 2001, Jean Tourrilhes wrote: > On Thu, Dec 13, 2001 at 07:24:48PM +0100, Florian Zimmermann wrote: > > > > Hi again ;-) > > > 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.
okok, you're right, and i don't believe in a compiler bug. Instead of i will re-check my kernel version and include files tomorrow again. One last (bit offtopic) question: I installed a non-debian kernel and thus the /usr/include/linux doesn't match. Is this still a problem? Or can i feed in any kernel finally w/o having this include dependencies? laters, flo _______________________________________________ Linux-IrDA mailing list - [EMAIL PROTECTED] http://www.pasta.cs.UiT.No/mailman/listinfo/linux-irda
