Petrel 2 bluetooth link

Andrej Prsa aprsa09 at gmail.com
Thu Aug 6 13:06:45 PDT 2015


Hi guys,

This has been discussed before and it seems that some people managed to
get it to work, but there seems to be no definitive way to get it to
work. I tried the FAQ entry and that didn't do it for me. I tried the
dongle that came with the DC as well as my built-in bluetooth, and both
times I'm seeing the same problem. I can pair with the DC without a
problem with:

	sudo bluez-simple-agent hci0 [addr]

I can initialize a connection with:

	sudo rfcomm -i hci0 connect rfcomm0 [addr] 5

But, in precisely 10 seconds, the DC displays SLIP RX: Timeout, and
syslog spews out the following:

kernel: [ 9142.871813] Bluetooth: TIOCGSERIAL is not supported
ModemManager[744]: <info>  Creating modem with plugin 'Generic' and '1' ports
ModemManager[744]: <warn>  Could not grab port (tty/rfcomm0): 'Cannot add port 'tty/rfcomm0', unhandled serial type'
ModemManager[744]: <warn>  Couldn't create modem for device at '/sys/devices/virtual/tty/rfcomm0': Failed to find primary AT port
ModemManager[744]: <info>  Creating modem with plugin 'Generic' and '1' ports
ModemManager[744]: <warn>  Could not grab port (tty/rfcomm0): 'Cannot add port 'tty/rfcomm0', unhandled serial type'
ModemManager[744]: <warn>  Couldn't create modem for device at '/sys/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.6/4-1.6:1.0/bluetooth/hci0/hci0:12/rfcomm0': Failed to find primary AT port
kernel: [ 9148.870288] Bluetooth: TIOCGSERIAL is not supported
kernel: [ 9148.870355] Bluetooth: TIOCGSERIAL is not supported
ModemManager[744]: <info>  (tty/rfcomm0): released by modem /sys/devices/virtual/tty/rfcomm0

Tried and retried, to no avail. The DC always times out after 10 seconds.

Any ideas/hints?

Thanks,
Andrej


More information about the subsurface mailing list