>While trying to get = a linux binary running on FreeBSD I encountered
   >the following prob= lem during serial port I/O.
   >
   >Dec 1 22:22:34 soekris kernel: = linux: pid 7239 (linuxbinary): ioctl
   >fd=0, cmd=0x5409 ('T',9) = is not implemented
   >
   >0x5409 turns out to be TCSBRK, which is = not implemented (yet?). Can
   >anyone give me some clues where / how = to start implementing this?
   It
   >seems like the linux way of handlin= g it is to call tcdrain(), but
   I'm
   >not sure as to how this transla= tes to the FreeBSD compat layer.
   It should probably be translated to= the same BSD call. What it does
   is
   drain the buffer then send the seria= l BREAK signal: a low-voltage
   signal lasting
   longer than the length of o= ne normal character. The other side can
   detect this and generate
   an inte= rrupt, which then may get translated to a signal (see the
   stty parameters&n= bsp;
   ignbrk, brkint).
   -SB
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to