Hi Luiz, On Wed, May 19, 2010, Luiz Augusto von Dentz wrote: > @ Johan, Blocked does supersedes Trusted right? Right. What also happens when you set Blocked to False is that all the device drivers are unloaded for that device. When Blocked goes back to true the drivers get probed again. > Maybe we should rework those properties (deprecate them?) to something > like Authorization which takes a string where lets say can assume > these values: "deny" ("block"), "ask" or "allow". Sounds like an interesting idea, but I'm not completely convinced about it since the properties act on different layers. Currently authorization is on the profile layer and is completely optional for a profile implementation (i.e. it needs to call btd_request_authorization (bluetoothd plugin) or RequestAuthorization (D-Bus) whereas there's no way to skip the blocked check in the kernel. I.e. if we'd have a unified property, the value "blocked" would be unconditional but "ask" wouldn't always mean "ask": it would only happen once the connection reaches the profile level and only for the profiles that actually enforce authorization. Johan -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html