Date: Fri, 13 Apr 2012 04:42:20 +0200 From: Barnaba Turek <barnabaturek@gmail.com> To: freebsd-bluetooth@freebsd.org Subject: rfcomm_sppd won't allocate tty. Message-ID: <CACiz7a8=dEoYEV_oc3H1vnad7%2BRvj8XpUb32ALf7zTULR%2BmEDg@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACiz7a8=dEoYEV_oc3H1vnad7%2BRvj8XpUb32ALf7zTULR%2BmEDg>