Adapted bus mgmt functions to userspace