def _init_dbus(self):
_bus = SessionBus()<EOL>if self.device_id is None:<EOL><INDENT>self.device_id = self._get_device_id(_bus)<EOL>if self.device_id is None:<EOL><INDENT>return False<EOL><DEDENT><DEDENT>try:<EOL><INDENT>self._dev = _bus.get(SERVICE_BUS, DEVICE_PATH + "<STR_LIT>" % self.device_id)<EOL><DEDENT>except Exception:<EOL><INDENT>return False<EOL><DEDENT>return True<EOL>
Get the device id