rfcomm_sppd won't allocate tty.
Maksim Yevmenkin
maksim.yevmenkin at gmail.com
Sun Apr 15 18:35:22 UTC 2012
rfcomm_sppd needs to be fixed to use openpty(3). patches are welcome.
max
On Thu, Apr 12, 2012 at 7:42 PM, Barnaba Turek <barnabaturek at gmail.com> wrote:
> Hello,
>
> I'm trying to use rfcomm_sppd to connect to serial console over
> bluetooth, and I'm facing strange issue.
> I think the problem is related to creation of new terminal device in my system.
>
> When I run rfcomm_sppd in the foreground, everything works fine:
>
> $ rfcomm_sppd -a F11
> rfcomm_sppd[1488]: Starting on stdin/stdout...
> ^Crfcomm_sppd[1488]: Signal 2 received. Total 1 signals received
> rfcomm_sppd[1488]: Completed on stdin/stdout
>
> $echo $?
> 0
>
> But when I try to use pty/tty instead of the device, rfcomm_sppd fails
> silently with error code 1 and no device is created:
>
> $ sudo rfcomm_sppd -a F11 -t /dev/ptyp2
> $ echo $?
> 1
> $ sudo rfcomm_sppd -a F11 -t /dev/ttyp2
> $ echo $?
> 1
> $ ls /dev/*yp2
> zsh: no matches found: /dev/*yp2
>
> Am I missing something?
>
> regards,
> Barnaba Turek
> _______________________________________________
> freebsd-bluetooth at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-bluetooth
> To unsubscribe, send any mail to "freebsd-bluetooth-unsubscribe at freebsd.org"
More information about the freebsd-bluetooth
mailing list