.TH KYSDKDBUS 8 "2025" "Version 1.0" "System Administration Utilities" .SH NAME kysdkdbus \- KYLIN SDK System Information D-Bus Service .SH SYNOPSIS .B kysdkdbus .SH DESCRIPTION .B kysdkdbus is a comprehensive D-Bus service in the KYLIN SDK system that provides access to various system hardware and software information. This service exposes multiple interfaces through D-Bus to allow other applications to query system information including disk, CPU, network, BIOS, motherboard, USB devices, memory, processes, printers, and more. The service implements multiple D-Bus interfaces under the `com.kylin.kysdk` namespace, providing a centralized way to access system information through inter-process communication. .SH D-BUS INTERFACES The service implements the following D-Bus interfaces: .TP .B com.kylin.kysdk.disk Provides disk information including: - Disk list - Sector size - Total size - Model and serial number - Partition information - Disk type (HDD/SSD) - Firmware version - Volume labels - Partition table type - Disk geometry .TP .B com.kylin.kysdk.cpuinfo Provides CPU information including: - Architecture - Vendor - Model - Frequency - Core count - Virtualization support - Thread count .TP .B com.kylin.kysdk.netcard Provides network card information including: - Network card list - Link status - MAC address - IP addresses (IPv4/IPv6) - Card type (wired/wireless) - Vendor and product information .TP .B com.kylin.kysdk.bios Provides BIOS information including: - Vendor - Version .TP .B com.kylin.kysdk.mainboard Provides motherboard information including: - Model name - Manufacturing date - Serial number - Vendor .TP .B com.kylin.kysdk.peripheralsenum Provides USB peripheral information including: - Connected USB devices - Product and manufacturer names - Device details (PID, VID, serial number) .TP .B com.kylin.kysdk.display Provides display adapter information including: - Vendor - Product model - Description - Physical ID - Bus information - Version - Data width - Clock frequency - Capabilities - Configuration - Resources .TP .B com.kylin.kysdk.packageinfo Provides package management information including: - Installed package list - Package versions - Installation status .TP .B com.kylin.kysdk.resource Provides system resource information including: - Memory statistics (total, usage, available, free) - Swap space information - CPU usage - System uptime .TP .B com.kylin.kysdk.process Provides process information including: - CPU and memory usage for specific processes - Process status - Port usage - Start and running time - Command and user information - Process lists .TP .B com.kylin.kysdk.sysinfo Provides system information including: - System architecture - OS name and version - Activation status - Serial number - Kernel version - User information - Project names - Product features - Virtualization type - Cloud platform type - System form (immutable/non-immutable) - GRUB menu information .TP .B com.kylin.kysdk.net Provides network information including: - Port status - Multiple port statistics - Gateway information - Firewall state - Process-port associations .TP .B com.kylin.kysdk.runinfo Provides real-time system information including: - Network speed - Disk rotation rate - CPU and disk temperature - CPU performance counters - CPU queue length .TP .B com.kylin.kysdk.gps Provides location information in JSON format. .TP .B com.kylin.kysdk.print Provides printer information and management including: - Printer lists (all/available) - Print job management - Printer status - Remote file printing .TP .B com.kylin.kysdk.accounts Provides account management functions including: - Password changing .SH ARCHITECTURE The service is implemented as multiple C++ classes that inherit from QObject and include D-Bus interface definitions. Each class corresponds to a specific system component and exposes its methods through D-Bus. The service uses dynamic library loading (dlopen/dlsym) to access underlying system information libraries, providing a flexible and modular architecture. .SH FILES .TP .B /usr/bin/kysdkdbus Executable file path .SH DEPENDENCIES .TP .B libkysysinfo System information library .TP .B libkydiskinfo Disk information library .TP .B libkync Network card information library .TP .B libkybios BIOS information library .TP .B libkyboard Motherboard information library .TP .B libkyusb USB device information library .TP .B libkycpu CPU information library .TP .B libkydisplay Display information library .TP .B libkynetinfo Network information library .TP .B libkyrtinfo Real-time information library .TP .B libkyprocess Process information library .TP .B libkyprinter Printer information library .TP .B libkylocation Location information library .TP .B libkypackages Package information library .TP .B libkyaccounts Account management library .TP .B Qt D-Bus For D-Bus communication implementation .SH USAGE The service typically runs as a background daemon and responds to D-Bus method calls. It does not usually require direct interaction from users or administrators. .SH AUTHOR KylinSoft Co., Ltd. .SH COPYRIGHT Copyright (C) 2023-2025, KylinSoft Co., Ltd. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. .SH SEE ALSO .BR dbus-daemon (1), .BR systemctl (1), .BR lshw (1), .BR lsblk (1), .BR lspci (1), .BR lsusb (1)