usb_usb_manager/hisysevent.yaml
yuzhiqiang 5efc5d90bc hisysevent modify
Signed-off-by: yuzhiqiang <yuzhiqiang20@huawei.com>
2024-08-29 08:31:31 +00:00

53 lines
2.4 KiB
YAML

# Copyright (c) 2022 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
domain: USB
PLUG_IN_OUT_HOST_MODE:
__BASE: {type: BEHAVIOR, level: MINOR, tag: UsbManager, desc: UsbDevicePlugInHostMode}
DEVICE_NAME: {type: STRING, desc: device name}
DEVICE_PROTOCOL: {type: INT32, desc: device protocol}
DEVICE_SUBCLASS: {type: INT32, desc: device subclass}
DEVICE_CLASS: {type: INT32, desc: device class}
DEVICE_CLASS_DESCRIPTION: {type: STRING, desc: device class description}
INTERFACE_CLASS_DESCRIPTION: {type: STRING, desc: interface class description}
VENDOR_ID: {type: INT32, desc: vendor id}
PRODUCT_ID: {type: INT32, desc: product id}
VERSION: {type: STRING, desc: device version}
EVENT_NAME: {type: STRING, desc: event name}
PLUG_IN_OUT_DEVICE_MODE:
__BASE: {type: BEHAVIOR, level: MINOR, tag: UsbManager, desc: UsbDevicePlugInDeviceMode}
CURRENT_FUNCTIONS: {type: INT32, desc: current functios}
CONNECTED: {type: BOOL, desc: event name}
FUNCTION_CHANGED:
__BASE: {type: BEHAVIOR, level: MINOR, tag: UsbManager, desc: UsbDeviceFunctionChanged}
CURRENT_FUNCTION: {type: INT32, desc: current function}
UPDATE_FUNCTION: {type: INT32, desc: update function}
PORT_ROLE_CHANGED:
__BASE: {type: BEHAVIOR, level: MINOR, tag: UsbManager, desc: UsbPortRoleChanged}
CURRENT_POWERROLE: {type: INT32, desc: current powerrole}
UPDATE_POWERROLE: {type: INT32, desc: update powerrole}
CURRENT_DATAROLE: {type: INT32, desc: current datarole}
UPDATE_DATAROLE: {type: INT32, desc: update datarole}
USB_MANAGE_TRANSFOR_FAULT:
__BASE: {type: FAULT, level: CRITICAL, tag: UsbManager, desc: Usb Transfor interface happen fault}
INTFACE_NAME: {type: STRING, desc: interface name}
BUS_NUM: {type: INT32, desc: bus num}
DEV_ADDR: {type: INT32, desc: dev addr}
INFT_ID: {type: INT32, desc: interface id}
ENDPOINTT_ID: {type: INT32, desc: endpoint id}
FAIL_REASON: {type: INT32, desc: fail reason}