[PR #86] [MERGED] Add workaround to correctly display device serials #1047

Open
opened 2026-01-29 15:39:56 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/aaru-dps/Aaru/pull/86
Author: @darkstar
Created: 12/20/2017
Status: Merged
Merged: 12/20/2017
Merged by: @claunia

Base: masterHead: fixes


📝 Commits (2)

  • cfd0b26 Add workaround to correctly display device serials
  • 7cc1b1e Formatting fixes

📊 Changes

1 file changed (+22 additions, -0 deletions)

View changed files

📝 DiscImageChef.Devices/Windows/ListDevices.cs (+22 -0)

📄 Description

Some devices on windows (especially, apparently, SATA devices behind a bridge chip) report their serial number as a string of hex bytes instead of ASCII.

This patch tries to detect that and transparently work around it.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/aaru-dps/Aaru/pull/86 **Author:** [@darkstar](https://github.com/darkstar) **Created:** 12/20/2017 **Status:** ✅ Merged **Merged:** 12/20/2017 **Merged by:** [@claunia](https://github.com/claunia) **Base:** `master` ← **Head:** `fixes` --- ### 📝 Commits (2) - [`cfd0b26`](https://github.com/aaru-dps/Aaru/commit/cfd0b2655f2b488f45fa72fca1688fbb5d3d0992) Add workaround to correctly display device serials - [`7cc1b1e`](https://github.com/aaru-dps/Aaru/commit/7cc1b1e0a2eff41c7bba0498c20a096ef2686b8a) Formatting fixes ### 📊 Changes **1 file changed** (+22 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `DiscImageChef.Devices/Windows/ListDevices.cs` (+22 -0) </details> ### 📄 Description Some devices on windows (especially, apparently, SATA devices behind a bridge chip) report their serial number as a string of hex bytes instead of ASCII. This patch tries to detect that and transparently work around it. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 15:39:56 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: aaru-dps/Aaru-aaru-dps#1047