registering a device

Signed-off-by: Floyd Pink <imbleedingme@googlemail.com>