Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Deepin Integration]~[V23-Beta3] feat: update ddccontrol to 1.0.3 by xzl01@deepin-community/ddccontrol by deepin-community-ci-bot[bot] #10652

Closed
deepin-bot bot opened this issue Sep 19, 2024 · 5 comments
Assignees
Labels
Project:integrated 集成管理相关 吴波 吴波
Milestone

Comments

@deepin-bot
Copy link

deepin-bot bot commented Sep 19, 2024

Package information | 软件包信息

包名 版本
ddccontrol 1.0.3-1deepin1

Package repository address | 软件包仓库地址

deb [trusted=yes] https://ci.deepin.com/repo/obs/deepin:/CI:/TestingIntegration:/test-integration-pr-2009:/community/testing/ ./

Changelog | 更新信息

ddccontrol (1.0.3-1deepin1) unstable; urgency=medium

  • Add riscv64 and arm64.
@deepin-bot deepin-bot bot added the Project:integrated 集成管理相关 label Sep 19, 2024
@deepin-bot deepin-bot bot added this to the V23-Beta3 milestone Sep 19, 2024
@deepin-bot
Copy link
Author

deepin-bot bot commented Sep 19, 2024

Integration Test Info

Test suggestion | 测试建议

ddccontrol 是一款命令行工具,用于通过 DDC/CI (Display Data Channel Command Interface) 控制显示器的设置,比如亮度、对比度等。它支持与显示器的硬件接口通信,从而修改显示器的参数。

安装 ddccontrol

在 Debian/Ubuntu 系统上,可以通过以下命令安装:

sudo apt update
sudo apt install ddccontrol

使用 ddccontrol 的步骤:

1. 检测显示器

首先,使用以下命令扫描系统中可用的显示器设备:

ddccontrol -p

此命令会列出所有连接的显示器及其详细信息,包括设备编号。

2. 读取显示器设置

使用显示器设备编号读取当前的显示器设置。例如:

ddccontrol /dev/i2c-X

其中,/dev/i2c-X 是从上一步命令中获取的显示器设备路径(如 /dev/i2c-1)。

3. 设置显示器参数

可以使用以下命令更改特定参数(如亮度):

sudo ddccontrol -r 0x10 -w <value> /dev/i2c-X
  • -r 0x10 是亮度控制寄存器的地址(0x10 表示亮度,其他设置可能使用不同的寄存器地址)。
  • <value> 是你希望设置的值(通常范围为 0-100 或 0-255)。
  • /dev/i2c-X 是你目标显示器的设备路径。

4. 列出所有支持的控制项

如果想知道哪些参数可以调整,可以使用以下命令:

sudo ddccontrol -p -c /dev/i2c-X

这将显示所有支持的控制寄存器地址及其当前值和范围。

示例

假设显示器的设备路径是 /dev/i2c-1,你想把亮度设置为 50,可以运行:

sudo ddccontrol -r 0x10 -w 50 /dev/i2c-1

通过 ddccontrol,你可以方便地调节显示器的硬件设置,而无需手动操作显示器上的物理按钮。

Influence | 影响范围

ADDITIONAL INFORMATION | 额外补充

@deepin-bot
Copy link
Author

deepin-bot bot commented Sep 19, 2024

IntegrationProjector Notify the author
@xzl01: Integrated issue updated

@deepin-bot
Copy link
Author

deepin-bot bot commented Sep 19, 2024

IntegrationProjector Bot
Deepin Testing Integration Project Manager Info
Link to deepin-community/Repository-Integration#2009

@xzl01 xzl01 assigned babyfengfjx and unassigned Zeno-sole and hudeng-go Sep 19, 2024
@babyfengfjx babyfengfjx assigned kobe337 and unassigned babyfengfjx Sep 19, 2024
@babyfengfjx babyfengfjx added the 吴波 吴波 label Sep 19, 2024
@babyfengfjx
Copy link

@kobe337 请开展集成验证。

@kobe337
Copy link

kobe337 commented Sep 19, 2024

【环境】:
镜像:Deepin OS-23-20240813143522-1_x86_64
内核:Linux hhh-PC 6.6.47-amd64-desktop-hwe #23.01.00.37 SMP PREEMPT_DYNAMIC Tue Aug 20 17:33:52 CST 2024 x86_64 GNU/Linux

【结论】:
测试通过,暂无严重问题及影响,安装校验、版本核对,执行应用程序,设置功能项成功,验证通过
ddcc

@kobe337 kobe337 assigned Zeno-sole and unassigned kobe337 Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Project:integrated 集成管理相关 吴波 吴波
Projects
Status: 已集成
Development

No branches or pull requests

4 participants