Predator on Ubuntu

Jef Driesen jefdriesen at telenet.be
Mon May 6 06:06:17 PDT 2013


On 2013-05-05 14:22, Diego Mainou wrote:
> I'm attempting again to connect the predator. Still having issues.
> 
> After following the manual to pair it, etc I get the following error 
> after
> running dmesg|tail immediately after getting the download error.
> 
> Found this.
> 
> dmainou at diego-laptop:~$ dmesg|tail
> [   15.894951] wlan0: send auth to 84:1b:5e:03:1f:5d (try 1/3)
> [   16.096353] wlan0: send auth to 84:1b:5e:03:1f:5d (try 2/3)
> [   16.097055] wlan0: authenticated
> [   16.097255] iwlwifi 0000:02:00.0 wlan0: disabling HT/VHT due to 
> WEP/TKIP
> use
> [   16.100371] wlan0: associate with 84:1b:5e:03:1f:5d (try 1/3)
> [   16.101073] wlan0: RX AssocResp from 84:1b:5e:03:1f:5d (capab=0x11
> status=0 aid=3)
> [   16.103688] wlan0: associated
> [   16.103729] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
> [ 1079.877471] systemd-hostnamed[3022]: Warning: nss-myhostname is not
> installed. Changing the local hostname might make it unresolveable. 
> Please
> install nss-myhostname!
> [ 2448.068469] Bluetooth: TIOCGSERIAL is not supported
> 
> 
> Does anone kow what "Bluetooth: TIOCGSERIAL is not supported" means?

The TIOCGSERIAL is constant used with the ioctl syscall to retrieve 
information about the serial line information. Normally this particular 
call isn't used by libdivecomputer at all. The only exception is for 
configuring non-standard baudrates. However, the only backend using a 
non-standard baudrate is the iconhd, and that's only on Windows and Mac 
OS X. The Shearwater Predator and Petrel use the standard 115200 
baudrate. Maybe your systems lacks the B115200 constants? That would 
cause libdivecomputer to try to set the baudrate through 
TIOCGSERIAL/TIOCSSERIAL.

Or maybe this message simply originates from some other application, and 
has nothing to do with the download failure? If compiled with logging 
enabled (which is the default setting), libdivecomputer should log every 
syscall failure to stderr. Do you get any errors from libdivecomputer?

Jef


More information about the subsurface mailing list