So it looks like there's a problem with pin exchange. I'm not familiar
enough with hcidump to be sure which unit is complaining about the
pin. Both should be using 0000, for time being, and that
pin worked with the same dongle from a Windows laptop. My
pin helper is a shell script that simply contains:
#!/bin/sh
echo -n PIN:0000
I've tried various enabling and disable auth and encrypt and also tried
setting security to none. In the latter case, the connection
attempt times out.