rfcomm_sppd won't allocate tty.
Barnaba Turek
barnabaturek at gmail.com
Fri Apr 13 02:42:42 UTC 2012
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
More information about the freebsd-bluetooth
mailing list