constification of methods

methods handling with device-names should really use `const char*` for the device names (both as an argument and as a result)