Opened 9 months ago

Last modified 2 months ago

#1820 new enhancement

Add new rule of Apacer SSDs to drivedb (SMFL*)

Reported by: kobegao Owned by:
Priority: minor Milestone: undecided
Component: drivedb Version:
Keywords: ssd Cc:

Description (last modified by kobegao)

Hi, I am Apacer software engineer.
There need add one firmware rule to the model of "Apacer SSDs" in the drivedb.h.
There add rule of 'L' to "SFM[BCDEGHJL]", and the fully code is as following

  { "Apacer SSDs",
    "([1248]|1[056]|20|3[02]|40|60|64|80|12[08]|160|240|256|320|480|512|640|960|1024|1280|1920|2048|3840|4096)(GB|TB) SATA Flash Drive|"
    "1TB SATA SSD|" // tested with 1TB SATA SSD/AP613PE0 (AP1TPPSS25-R)
    "S[GHTV]250-(M2[48][02]|25) ([1248]|1[056]|20|3[02]|40|60|64|80|12[08]|160|240|256|320|480|512|640|960|1024|1280|1920|2048|3840|4096)(GB|TB) SSD",
      // tested with 120GB SATA Flash Drive/SFMB6130, SH250-M242 128GB SSD/SFMB8120, ST250-M280 256GB SSD/SFMD6110
    "AP613PE0|SFM[BCDEGHJL][0-9A-Z][0-9A-Z][1-9A-Z][0-9A-Z]",
    "",
  //"-v 9,raw24(raw8),Power_On_Hours "
  //"-v 12,raw48,Power_Cycle_Count "
    "-v 163,raw48,Maximum_Erase_Count "
    "-v 164,raw48,Average_Erase_Count "
    "-v 166,raw48,Total_Later_Bad_Blk_Ct "
    "-v 167,raw48,SSD_Protect_Mode "
    "-v 168,raw48,SATA_PHY_Error_Count "
    "-v 171,raw48,Program_Fail_Count "
    "-v 172,raw48,Erase_Fail_Count "
    "-v 175,raw48,Bad_Cluster_Table_Ct "
    "-v 192,raw48,Unexpect_Power_Loss_Ct "
  //"-v 194,tempminmax,Temperature_Celsius "
    "-v 231,raw48,Lifetime_Left "
  //"-v 241,raw48,Total_LBAs_Written "
  }

Or you could refer apacer_drivedb.h and smartctl_x_output.txt that are in the attachment.
If you need any more information, please let me know.
Thanks for your help.
Best Regards,
Kobe

Attachments (2)

smartctl_x_output.txt (7.8 KB ) - added by kobegao 9 months ago.
apacer_drivedb.h (1.1 KB ) - added by kobegao 9 months ago.

Download all attachments as: .zip

Change History (7)

by kobegao, 9 months ago

Attachment: smartctl_x_output.txt added

by kobegao, 9 months ago

Attachment: apacer_drivedb.h added

comment:1 by kobegao, 9 months ago

Description: modified (diff)

comment:2 by kobegao, 9 months ago

Description: modified (diff)

comment:3 by Christian Franke, 9 months ago

Component: alldrivedb
Keywords: ssd added
Milestone: unscheduled
Priority: majorminor
Type: defectenhancement

comment:4 by Christian Franke, 9 months ago

Summary: Add new rule of Apacer SSDs to drivedbAdd new rule of Apacer SSDs to drivedb (SH250-M242/M280)

comment:5 by Christian Franke, 2 months ago

Milestone: unscheduledundecided
Summary: Add new rule of Apacer SSDs to drivedb (SH250-M242/M280)Add new rule of Apacer SSDs to drivedb (SMFL*)

smartctl_x_output.txt:

smartctl 6.5 2016-01-24 r4214 [x86_64-linux-5.4.0-050400-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Device Model:     SH250-M280 512GB SSD
...

This smartctl version is 8+ years old. The device is already detected by the current drivedb.h:

$ smartctl -P showall 'SH250-M280 512GB SSD'
Drive found in smartmontools Database.  Drive identity strings:
MODEL:              SH250-M280 512GB SSD
FIRMWARE:           (any)
match smartmontools Drive Database entry:
MODEL REGEXP:       ([1248]|1[056]|20|3[02]|40|60|64|80|12[08]|160|240|256|320|480|512|640|960|1024|1280|1920|2048|3840|4096)(GB|T
B) SATA Flash Drive|1TB SATA SSD|S[GHTV]250-(M2[48][02]|25) ([1248]|1[056]|20|3[02]|40|60|64|80|12[08]|160|240|256|320|480|512|640
|960|1024|1280|1920|2048|3840|4096)(GB|TB) SSD
FIRMWARE REGEXP:    AP613PE0|SFM[BCDEGHJ][0-9A-Z][0-9A-Z][1-9A-Z][0-9A-Z]
MODEL FAMILY:       Apacer SSDs
ATTRIBUTE OPTIONS:  163 Maximum_Erase_Count
...

The above device identify string does not need the requested change (SMFL...). Please provide a sample output of an actual device which requires this enhancement.

Note: See TracTickets for help on using tickets.