Opened 3 months ago
Last modified 7 weeks ago
#1839 new patch
Request to Add SQFlash Information to Smartmontools Database
Reported by: | Wade Cheng | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | undecided |
Component: | drivedb | Version: | |
Keywords: | ssd | Cc: | Wade Cheng |
Description
Dear Smartmontools Development Team,
My name is Wade, and I am an Application Engineer at Advantech, specifically with the SQFlash team.
We develop and support a range of SSD products under the SQFlash brand, which are widely used in various industrial and embedded applications.
We have been utilizing Smartmontools for monitoring and maintaining the health of our SSDs, and we greatly appreciate the comprehensive and robust features your tool provides.
To enhance the compatibility and accuracy of Smartmontools with our products, we would like to request the inclusion of detailed information about our SQFlash SSDs into the Smartmontools database.
We are happy to provide any further technical details, datasheets, or samples of our SSDs to facilitate this process. Our goal is to ensure that users of our SQFlash SSDs can leverage the full capabilities of Smartmontools for optimal performance and reliability.
Please let us know the best way to proceed with this request. We are eager to collaborate and support your team in any way necessary to integrate SQFlash SSD information into Smartmontools.
Thank you for your time and consideration. We look forward to your positive response.
Best Regards,
Wade Cheng
Application Engineer
Embedded SQFlash
Tel: +886 2 7732-3399 ext.9246
No. 27, Wende Road, Guishan District, Taoyuan City, Taiwan (ROC) 333
Attachments (5)
Change History (11)
by , 3 months ago
Attachment: | SQFlash SATA.h added |
---|
comment:1 by , 3 months ago
Component: | all → drivedb |
---|---|
Keywords: | ssd added |
Milestone: | → undecided |
by , 2 months ago
Attachment: | SQFlash SATA_new.h.h added |
---|
by , 2 months ago
Attachment: | syntax error.png added |
---|
comment:2 by , 2 months ago
Hi Christian
I have edited my header file, but still have some syntax error.
Could you give me some advices how to fix this error.
I have put a screenshot as attachment.
Thanks
Best Regards
Wade Cheng
comment:3 by , 2 months ago
...but still have some syntax error.
- Missing
warningmsg
field (see comments on top of drivedb.h) - Trailing comma.
Apply these changes...
-
.h
old new 2 2 "SQFlash SATA SSDs", // See SQFlash SMART ID Definition(SATA)_v1.5.1_Y2024.pdf 3 3 "SQFlash (6[456]0|830|840( FIPS)?) Series|SAFM(A2A3|02A[3-6])|SBFM(A611|A612|A613|A614|A615|AH12|AU12|AU13|A011|A012|A013)|SCEM(H2A3|H2A4|H2A5|12A3|12A4|12A5|13A4|MP3A0|I15A1|I15A2|I15A3|IH5A3|IP5A0)|SHFB(A221|A222|A223)|SHFM(A211|A212|A213|A231|A232)|S23A05S|SCPB13.0", 4 4 "", 5 "", 5 6 // Comment out DEFAULT-covered attributes 6 7 "-v 1,raw48,Uncorrectable_ECC_Count " // Not covered by DEFAULT 7 8 "-v 9,raw48,Power_On_Hours " // Covered by DEFAULT … … 24 25 "-v 241,raw48,Total_Host_Write_(Sector) " // Not covered by DEFAULT 25 26 "-v 242,raw48,Total_Host_Read_(Sector) " // Not covered by DEFAULT 26 27 "-v 244,raw48,Average_Erase_Count " // Not covered by DEFAULT 27 "-v 245,raw48,Max_Erase_Count " ,// Not covered by DEFAULT28 "-v 245,raw48,Max_Erase_Count " // Not covered by DEFAULT 28 29 },
... and then run smartctl -B SQFlash_SATA_new-fixed.h -P showall
.
- Fix the reported
Attribute name too long
errors. - Actually comment out (
//-v ...
) options covered byDEFAULT
entry. See drivedb.h for many examples. Remove all these// ... by DEFAULT
comments. - Provide various sample
smartctl -x -a
outputs. This is mandatory for each new entry. - Avoid excess long lines. The regex could further shortened and split into multiple lines.
PS:
- Avoid spaces in filenames.
- Do not use screenshots for console outputs. Use plain-text attachments or wiki markup for preformatted text instead.
by , 2 months ago
Attachment: | SQFlash_SATA.h added |
---|
by , 2 months ago
Attachment: | smartctl_output added |
---|
comment:4 by , 2 months ago
Hi Christian
I have uploaded a new version of SQFlaf_SATA.h without Sntax error.
And, check it with smartctl -B SQFlash_SATA_new-fixed.h -P showall,
output as smartctl_output
Thank you
Besr Regard
Wade
comment:5 by , 7 weeks ago
Hi Christian
Could you check if my header file meets the requirement to upload to your database?
Thank you
Best Regard
Wade
comment:6 by , 7 weeks ago
- Attributes converted by
DEFAULT
are still not commented out. - Regex line is still very long and overly complex.
- Sample
smartctl -x -a
outputs of real devices are still missing.
Please see also the FAQ.
smartctl -x -a
outputs for some of the matched devices, at least one from a device with identify string likeSQFlash 830 Series
and one with a short one likeSAFMA2A3
.SQFlash (6[456]0|830|840( FIPS)?) Series
orSAFM(A2A3|02A[3-6])
.-v
options which are covered by theDEFAULT
entry. See other drivedb.h entries for examples.|
in regex, spaces instead of '_' in attribute names, ...) and then test the entry, see options-B
and-P showall 'MODEL'
on smartctl man page.