This was requested by Glance on IRC. OS: Fedora 22 x86_64 HW: Dell 6540 with internal Bt + OSTC3+
User is in the dialout group. Steps: Compile latest Subsurface + libdivecomputer Subsurface v4.4.2-1580-g181d5c5db967, built with libdivecomputer v0.5.0-devel-Subsurface-branch (ad4bcffa2326b8b72f35107fe8723a1dcdd564f8) 1. Start Subsurface from the build-dir (LD_LIBRARY_PATH=install-root/lib install-root/bin/subsurface) 2. Create new log 3. Activate OSTC3+ Bt 4. Open Import dialog, choose H/W OSTC3 and check the 'Choose Bluetooth Download mode' 5. In the 'Remote Bluetooth device selection'-dialog, click Scan, then right-click the OSTC3+ and select 'Pair', click Save. Returns to the main import dialog where the 'Device or mount point' now displays 'OSTC3#04460' 6. Click Download The result is that the progress bar is a while at 0%, then a error dialog pops up with the following message: Insufficient privileges to open the device 00:80:25:49:F9:29 Heinrichs Weikamp (OSTC 3) Meanwhile in the commandline I have: Map theme file does not exist: "" QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory qt.bluetooth.bluez: Bluez 5 detected. qt.bluetooth.bluez: Creating QtBluezDiscoveryManager qt.bluetooth.bluez: Discovered: "00:80:25:49:F9:29" "OSTC3#04460" Num UUIDs 0 total device 0 cached RSSI -78 Class 7936 qt.bluetooth.bluez: Discovered: "C4:D9:87:4F:C6:39" "C4-D9-87-4F-C6-39" Num UUIDs 0 total device 2 cached RSSI -80 Class 8257804 qt.bluetooth.bluez: Initiating direct pair to "00:80:25:49:F9:29" qt.bluetooth.bluez: Sending pairing request to "00:80:25:49:F9:29" [19.897694] ERROR: No such file or directory (2) [in serial_posix.c:159 (serial_open)] [19.897710] ERROR: Failed to open the serial port. [in custom_serial.c:69 (dc_serial_native_open)] [19.897713] ERROR: Failed to open the serial port. [in hw_ostc3.c:299 (hw_ostc3_device_open)] And in journal/systemlog I have: Sep 02 09:14:57 localhost.localdomain kernel: Bluetooth: SMP security requested but not available Sep 02 09:14:57 localhost.localdomain kernel: Bluetooth: SMP security requested but not available Sep 02 09:15:02 localhost.localdomain bluetoothd[807]: Unable to register GATT service with handle 0x0006 for device 00:80:25:49:F9:29: Sep 02 09:15:02 localhost.localdomain bluetoothd[807]: Unable to register GATT service with handle 0x000a for device 00:80:25:49:F9:29: Sep 02 09:15:02 localhost.localdomain bluetoothd[807]: Unable to register GATT service with handle 0x0017 for device 00:80:25:49:F9:29: Sep 02 09:15:16 localhost.localdomain bluetoothd[807]: Device is already marked as connected If I use blueman to set the DC as a serial device, then there are no issues. Poltsi -- Paul-Erik Törrönen "When science and the Bible differ, pol...@777-team.org science has obviously misinterpreted +358 40 703 1231 its data" http://poltsi.fi/ Henry Morris, father of 'modern creationism' _______________________________________________ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface