From 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Tue, 22 Oct 2024 10:36:11 +0000 Subject: [PATCH] 修改4g拨号为QMI,需要在系统里后台执行quectel-CM --- kernel/Documentation/ABI/stable/sysfs-bus-usb | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/kernel/Documentation/ABI/stable/sysfs-bus-usb b/kernel/Documentation/ABI/stable/sysfs-bus-usb index b832eef..cad4bc2 100644 --- a/kernel/Documentation/ABI/stable/sysfs-bus-usb +++ b/kernel/Documentation/ABI/stable/sysfs-bus-usb @@ -50,8 +50,10 @@ Tools can use this file and the connected_duration file to compute the percentage of time that a device has been active. - For example, - echo $((100 * `cat active_duration` / `cat connected_duration`)) + For example:: + + echo $((100 * `cat active_duration` / `cat connected_duration`)) + will give an integer percentage. Note that this does not account for counter wrap. Users: -- Gitblit v1.6.2