backport OSS driver, to use moto lib