Re: HEADS UP: IFF_NEEDSGIANT consumers to be disabled, removed

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Maksim Yevmenkin
Date: Tuesday, February 17, 2009 - 10:50 am

On Tue, Feb 17, 2009 at 3:56 AM, Ed Schouten <ed@80386.nl> wrote:

well, actually, the whole reason for providing tty name is to make
sure rfcomm_sppd uses the specified tty. that is, if you want to
_provide_ serial port service you need a "virtual serial port
emulating entity" (aka tty :) . and, yes, you are correct, there is no
guarantee that user specified tty will be available, but usually
specifying high enough tty number works. perhaps the whole thing
should be switched to use nmdm(4) or something like that.

also, rfcomm_sppd(1) can use stdin/stdout instead of tty. this makes
it possible to use rfcomm_sppd(1) in, for example, ppp(8) like so

set device "!/usr/bin/rfcomm_sppd -a my_phone -c dun"
...

this way rfcomm_sppd(1) will be started/killed by ppp(8) when it needs
to open/close ppp connection using bluetooth enabled phone as wireless
modem.

so, for now, i think we should keep rfcomm_sppd(1) as it is. if this
is not an option (with new tty subsystem) then we should convert it to
use nmdm(4) or something similar.

thanks,
max
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: HEADS UP: IFF_NEEDSGIANT consumers to be disabled, removed, Krassimir Slavchev, (Tue Feb 17, 2:50 am)
Re: HEADS UP: IFF_NEEDSGIANT consumers to be disabled, removed, Maksim Yevmenkin, (Tue Feb 17, 10:50 am)
Re: HEADS UP: IFF_NEEDSGIANT consumers to be disabled, removed, Maksim Yevmenkin, (Tue Feb 17, 11:03 am)
Re: HEADS UP: IFF_NEEDSGIANT consumers to be disabled, removed, Maksim Yevmenkin, (Tue Feb 17, 12:07 pm)
Re: HEADS UP: IFF_NEEDSGIANT consumers to be disabled, removed, Maksim Yevmenkin, (Tue Feb 17, 12:51 pm)
Re: HEADS UP: IFF_NEEDSGIANT consumers to be disabled, rem ..., Poul-Henning Kamp, (Tue Feb 17, 12:55 pm)
Re: HEADS UP: IFF_NEEDSGIANT consumers to be disabled, rem ..., Poul-Henning Kamp, (Tue Feb 17, 2:19 pm)