simplify config set operations

Signed-off-by: Jan Dvořák <mordae@anilinux.org>
fix initial device enumeration

Signed-off-by: Jan Dvořák <mordae@anilinux.org>