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

SAT-SMART Driver fails to properly identify enclosure names for Realtek RTL9210 and other devices #8

Open
Kwonsunuk opened this issue Jan 7, 2025 · 3 comments

Comments

@Kwonsunuk
Copy link

Description:
The SAT-SMART driver currently does not properly identify the enclosure names for certain devices, including those using the Realtek RTL9210 chipset and other similar configurations. These enclosures are marked as Unknown under Enclosure Name, even though they are SATSMARTCapable.

UX980 PRO:

      Product ID: 0x9210
      Vendor ID: 0x0bda  (Realtek Semiconductor Corp.)
      Version: f0.01
      Speed: Up to 10 Gb/s
      Manufacturer: RevuAhn
      Location ID: 0x01200000 / 1
      Current Available (mA): 900
      Current Required (mA): 896
      Extra Operating Current (mA): 0
      Media:
          WD_BLACK SN770 1TB:
              Capacity: 1 TB (1,000,204,886,016 bytes)
              Removable Media: No
              BSD Name: disk4
              Logical Unit: 0
              Partition Map Type: GPT (GUID Partition Table)
              S.M.A.R.T. status: Verified
              USB Interface: 0
              Volumes:
                  EFI:
                      Capacity: 209.7 MB (209,715,200 bytes)
                      File System: MS-DOS FAT32
                      BSD Name: disk4s1
                      Content: EFI
                  disk4s2:
                      Capacity: 999.99 GB (999,994,101,760 bytes)
                      BSD Name: disk4s2
                      Content: Apple_APFS
      |   "Enclosure Name" = "Unknown 0bda:9210"
      |   "SATSMARTCapable" = Yes
      |   "KnownEnclosure" = No
      |   "PassThroughMode" = "sat12"

SHARGE DISK:

              Product ID: 0xd709
              Vendor ID: 0x2d01
              Version: f0.01
              Speed: Up to 5 Gb/s
              Manufacturer: SHARGE
              Location ID: 0x00212000 / 17
              Current Available (mA): 900
              Current Required (mA): 896
              Extra Operating Current (mA): 0
              Media:
                  WD PC SN740 SDDPTQD-1T00:
                      Capacity: 1.02 TB (1,024,209,543,168 bytes)
                      Removable Media: No
                      BSD Name: disk12
                      Logical Unit: 0
                      Partition Map Type: MBR (Master Boot Record)
                      S.M.A.R.T. status: Verified
                      USB Interface: 0
                      Volumes:
                          ShargeDisk:
                              Capacity: 1.02 TB (1,024,207,093,760 bytes)
                              Free: 522.95 GB (522,946,293,760 bytes)
                              Writable: Yes
                              File System: Case-Sensitive Journaled HFS+
                              BSD Name: disk12s1
                              Mount Point: /Volumes/ShargeDisk
                              Content: Apple_HFS
              |   "Enclosure Name" = "Unknown 2d01:d709"
              |   "SATSMARTCapable" = Yes
              |   "KnownEnclosure" = No
              |   "PassThroughMode" = "sat12"

RTL9210:

              Product ID: 0x9210
              Vendor ID: 0x0bda  (Realtek Semiconductor Corp.)
              Version: 21.62
              Speed: Up to 5 Gb/s
              Manufacturer: Realtek
              Location ID: 0x00211000 / 19
              Current Available (mA): 900
              Current Required (mA): 0
              Extra Operating Current (mA): 0
              Media:
                  PC SN740 NVMe WD 512GB:
                      Capacity: 512.11 GB (512,110,190,592 bytes)
                      Removable Media: No
                      BSD Name: disk13
                      Logical Unit: 0
                      Partition Map Type: MBR (Master Boot Record)
                      S.M.A.R.T. status: Verified
                      USB Interface: 0
                      Volumes:
                          SN740:
                              Capacity: 512.11 GB (512,107,741,184 bytes)
                              Free: 503.02 GB (503,024,189,440 bytes)
                              Writable: Yes
                              File System: ExFAT
                              BSD Name: disk13s1
                              Mount Point: /Volumes/SN740
                              Content: Windows_NTFS
              |   "Enclosure Name" = "Unknown 0bda:9210"
              |   "SATSMARTCapable" = Yes
              |   "KnownEnclosure" = No
              |   "PassThroughMode" = "sat12"

Can you add the above three enclosures to the SAT-SMART driver?
Thank you.

@RJVB
Copy link
Owner

RJVB commented Jan 7, 2025 via email

@Kwonsunuk
Copy link
Author

Hi RJVB,

Thank you for your response. I understand the potential risks of adding new devices to the SAT-SMART driver. To ensure smooth integration, I will test the driver with the proposed enclosures and provide a patch if everything works as expected.

Please let me know if there are any specific guidelines or testing procedures you'd like me to follow when preparing the patch. I'll make sure to include all relevant logs and documentation to streamline the review process.

Looking forward to collaborating on this!

@RJVB
Copy link
Owner

RJVB commented Jan 8, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants