Op 14-02-19 om 20:51 schreef Daniel Wagner:
On Tue, Jan 29, 2019 at 09:49:13PM -0600, David Lechner wrote:
> On 1/29/19 2:22 PM, Ferry Toth wrote:
>> Op 09-01-19 om 16:51 schreef Daniel Wagner:
>>>> root@edison:~# connmanctl
>>>> connmanctl> services
>>>> *AR Wired ethernet_00800f951d4d_cable
>>>> Ferry Toth (Galaxy Note3) bluetooth_43341B001FAC_C462EA01AF74
>>>> connmanctl> connect bluetooth_43341B001FAC_C462EA01AF74
>>>> Error /net/connman/service/bluetooth_43341B001FAC_C462EA01AF74:
>>>> Input/output error
>>>>
>>>> Seems like 1 more thing is missing.
>>> Something interesting in the logs?
>> I posted debug logs. Did you have a look?
> I had a look, but I didn't see anything helpful. Sorry.
Me neither.
> Maybe there is something in the BlueZ/bluetoothd logs?
>
> Maybe you are missing a kernel option that needs to be
> enabled for ConnMan or BlueZ?
I have read the parts relating to the kernel
config. I think I have
everything. But then again, it's not working.
Hmm, good idea. If it would be oFono my tip would CONFIG_TUN. Almost
:(
Could d-bus be blocking something? This my bluetooth.conf:
<!-- This configuration file specifies the required security policies
for Bluetooth core daemon to work. -->
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration
1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<!-- ../system.conf have denied everything, so we just punch some
holes -->
<policy user="root">
<allow own="org.bluez"/>
<allow send_destination="org.bluez"/>
<allow send_interface="org.bluez.Agent1"/>
<allow send_interface="org.bluez.MediaEndpoint1"/>
<allow send_interface="org.bluez.MediaPlayer1"/>
<allow send_interface="org.bluez.Profile1"/>
<allow send_interface="org.bluez.GattCharacteristic1"/>
<allow send_interface="org.bluez.GattDescriptor1"/>
<allow send_interface="org.bluez.LEAdvertisement1"/>
<allow send_interface="org.freedesktop.DBus.ObjectManager"/>
<allow send_interface="org.freedesktop.DBus.Properties"/>
</policy>
<policy at_console="true">
<allow send_destination="org.bluez"/>
</policy>
<!-- allow users of lp group (printing subsystem) to
communicate with bluetoothd -->
<policy group="lp">
<allow send_destination="org.bluez"/>
</policy>
<policy context="default">
<deny send_destination="org.bluez"/>
</policy>
</busconfig>
Thanks,
Daniel