KYSDKDBUS(8)

NAME
kysdkdbus - KYLIN SDK System Information D-Bus Service

SYNOPSIS
kysdkdbus

DESCRIPTION
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.

D-BUS INTERFACES
The service implements the following D-Bus interfaces:

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

com.kylin.kysdk.cpuinfo
    Provides CPU information including: - Architecture - Vendor - Model - Frequency - Core count - Virtualization support - Thread count

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

com.kylin.kysdk.bios
    Provides BIOS information including: - Vendor - Version

com.kylin.kysdk.mainboard
    Provides motherboard information including: - Model name - Manufacturing date - Serial number - Vendor

com.kylin.kysdk.peripheralsenum
    Provides USB peripheral information including: - Connected USB devices - Product and manufacturer names - Device details (PID, VID, serial number)

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

com.kylin.kysdk.packageinfo
    Provides package management information including: - Installed package list - Package versions - Installation status

com.kylin.kysdk.resource
    Provides system resource information including: - Memory statistics (total, usage, available, free) - Swap space information - CPU usage - System uptime

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

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

com.kylin.kysdk.net
    Provides network information including: - Port status - Multiple port statistics - Gateway information - Firewall state - Process-port associations

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

com.kylin.kysdk.gps
    Provides location information in JSON format.

com.kylin.kysdk.print
    Provides printer information and management including: - Printer lists (all/available) - Print job management - Printer status - Remote file printing

com.kylin.kysdk.accounts
    Provides account management functions including: - Password changing

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.

FILES

/usr/bin/kysdkdbus
    Executable file path

DEPENDENCIES

libkysysinfo
    System information library

libkydiskinfo
    Disk information library

libkync
    Network card information library

libkybios
    BIOS information library

libkyboard
    Motherboard information library

libkyusb
    USB device information library

libkycpu
    CPU information library

libkydisplay
    Display information library

libkynetinfo
    Network information library

libkyrtinfo
    Real-time information library

libkyprocess
    Process information library

libkyprinter
    Printer information library

libkylocation
    Location information library

libkypackages
    Package information library

libkyaccounts
    Account management library

Qt D-Bus
    For D-Bus communication implementation

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.

AUTHOR
KylinSoft Co., Ltd.

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.

SEE ALSO
dbus-daemon(1), systemctl(1), lshw(1), lsblk(1), lspci(1), lsusb(1)