add support of device open with key from linux