usbmngr: align with bbfdm

This commit is contained in:
Vivek Kumar Dutta 2024-12-05 16:26:53 +05:30
parent fcad858660
commit 6c4f2842b8
2 changed files with 18 additions and 1 deletions

View file

@ -5,7 +5,7 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=usbmngr PKG_NAME:=usbmngr
PKG_VERSION:=1.0.5 PKG_VERSION:=1.0.6
LOCAL_DEV:=0 LOCAL_DEV:=0
ifneq ($(LOCAL_DEV),1) ifneq ($(LOCAL_DEV),1)
@ -44,6 +44,7 @@ endef
endif endif
define Package/$(PKG_NAME)/install define Package/$(PKG_NAME)/install
$(BBFDM_REGISTER_SERVICES) ./bbfdm_service.json $(1) $(PKG_NAME)
$(BBFDM_INSTALL_MS_DM) $(PKG_BUILD_DIR)/src/dm_usb.so $(1) $(PKG_NAME) $(BBFDM_INSTALL_MS_DM) $(PKG_BUILD_DIR)/src/dm_usb.so $(1) $(PKG_NAME)
endef endef

View file

@ -0,0 +1,16 @@
{
"daemon": {
"enable": "1",
"service_name": "usbmngr",
"unified_daemon": false,
"services": [
{
"parent_dm": "Device.",
"object": "USB"
}
],
"config": {
"loglevel": "3"
}
}
}