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] Update pci.ids to the latest version by xzl01@deepin-community/pci.ids by deepin-community-ci-bot[bot] #10964

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

Comments

@deepin-bot
Copy link

deepin-bot bot commented Nov 26, 2024

Package information | 软件包信息

包名 版本
pci.ids 0.0~2024.11.26-0deepin1

Package repository address | 软件包仓库地址

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

Changelog | 更新信息

pci.ids (0.0~2024.11.26-0deepin1) unstablerm; urgency=medium

  • New upstream release.
@deepin-bot deepin-bot bot added the Project:integrated 集成管理相关 label Nov 26, 2024
@deepin-bot deepin-bot bot added this to the V23-Beta3 milestone Nov 26, 2024
@deepin-bot deepin-bot bot moved this to In progress in v23-集成管理 Nov 26, 2024
@deepin-bot
Copy link
Author

deepin-bot bot commented Nov 26, 2024

Integration Test Info

Test suggestion | 测试建议

pci.ids 是一个重要的数据库文件,用于列出所有已知的 PCI(Peripheral Component Interconnect)设备及其厂商、设备、子系统和接口信息。这个文件通常由系统工具(例如 lspci)使用,以便将 PCI 设备的硬件 ID 映射到可读的名称。


文件来源

该项目会不断更新,以支持新的硬件和厂商。


位置

在大多数 Linux 系统中,pci.ids 文件通常位于以下路径:

/usr/share/misc/pci.ids

或者:

/usr/share/hwdata/pci.ids

工具如 lspci 会读取此文件,以将 PCI 硬件的数字 ID 转换为可读的描述信息。


常用工具

1. lspci

  • 用于列出系统中检测到的 PCI 设备。
  • 示例:
    lspci
    输出示例:
    00:02.0 VGA compatible controller: Intel Corporation HD Graphics 620
    00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller
    
  • 带厂商和设备名:
    lspci -nn
    输出示例:
    00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 620 [8086:5916]
    

2. update-pciids


文件结构

pci.ids 文件的内容按层次结构组织,包括厂商、设备和子系统信息:

示例内容:

8086  Intel Corporation
    5916  HD Graphics 620
        17aa 3820  Lenovo ThinkPad X1
10de  NVIDIA Corporation
    1c82  GP107 [GeForce GTX 1050]
  • 8086: 厂商 ID(Intel)
    • 5916: 设备 ID(HD Graphics 620)
      • 17aa: 子系统厂商 ID(Lenovo)
      • 3820: 子系统设备 ID(ThinkPad X1)
  • 10de: 厂商 ID(NVIDIA)
    • 1c82: 设备 ID(GeForce GTX 1050)

手动更新

如果不能直接使用 update-pciids,也可以手动更新:

  1. 下载最新的 pci.ids

    wget https://pci-ids.ucw.cz/v2.2/pci.ids -O /tmp/pci.ids
  2. 替换旧文件:

    sudo mv /tmp/pci.ids /usr/share/misc/pci.ids
  3. 验证:

    lspci -v

自定义设备名称

如果有未识别的设备,可以手动编辑 pci.ids 文件,添加自定义设备和厂商 ID:

示例:

1234  My Custom Vendor
    5678  My Custom Device

保存后运行:

sudo update-pciids

相关链接

pci.ids 文件是硬件识别的重要工具,特别是在调试或配置硬件设备时,它可以帮助快速查找和确认设备的厂商和功能信息。

Influence | 影响范围

ADDITIONAL INFORMATION | 额外补充

@deepin-bot
Copy link
Author

deepin-bot bot commented Nov 26, 2024

IntegrationProjector Notify the author
@xzl01: Integrated issue updated

@deepin-bot
Copy link
Author

deepin-bot bot commented Nov 26, 2024

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

@Zeno-sole Zeno-sole assigned babyfengfjx and unassigned Zeno-sole and hudeng-go Nov 26, 2024
@babyfengfjx babyfengfjx assigned kobe337 and unassigned babyfengfjx Nov 26, 2024
@babyfengfjx babyfengfjx moved this from In progress to 测试中 in v23-集成管理 Nov 26, 2024
@babyfengfjx babyfengfjx added the 吴波 吴波 label Nov 26, 2024
@babyfengfjx
Copy link

@kobe337 请开展集成验证。

@kobe337
Copy link

kobe337 commented Nov 27, 2024

【环境】:
镜像:Deepin OS-25-20241107064136-1_x86_64
内核:Linux deepin-PC 6.12.0-amd64-desktop-rolling #23.01.01.10 SMP PREEMPT_DYNAMIC Tue Nov 19 21:11:07 CST 2024 x86_64 GNU/Linux

【结论】:
测试通过,暂无严重问题及影响, 安装校验、版本核对,执行lspci命令,检查信息是否完整显示,验证通过,请研发同事确认,是否推送内测更新。
Image

@kobe337 kobe337 assigned Zeno-sole and unassigned kobe337 Nov 27, 2024
@kobe337 kobe337 moved this from 测试中 to 测试通过 in v23-集成管理 Nov 27, 2024
@Zeno-sole Zeno-sole moved this from 测试通过 to 已集成 in v23-集成管理 Nov 27, 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