Opened 3 years ago

Last modified 3 years ago

#1518 new patch

Device support: Swissbit F-240 (SFCA2048H4BV4TO-I-MS-226-...)

Reported by: Graham Knap Owned by:
Priority: minor Milestone: unscheduled
Component: drivedb Version:
Keywords: ssd Cc:

Description

smartmontools 7.2 doesn't seem to recognize these devices. Here's my best guess at how to add them to "drivedb.h", starting with the USB bridge:

  // SanDisk SDDR-299 Extreme PRO USB CFast 2.0 Reader
  { "USB: ; ",
    "0x0781:0xc7cf",
    "",
    "",
    "-d sat"
  },

I've submitted that USB ID to the Linux USB IDs project. Sorry, I don't know what chip it contains.

Here's the CFast card:

  { "Swissbit F-240 Industrial CFast Card",
    // datasheet v1.21 found at https://www.farnell.com/datasheets/1821169.pdf
    "SFCA(2048|4096|8192|16GB|32GB|64GB)H[0-9]BV4TO-(C|I)-(MS|DT|QT|NU)-2[0-9]6-STD",
    "", "",
    "-v 196,raw24/raw24,Spare_Blocks "
    "-v 213,raw24/raw24,Spare_Blocks_Worst_Chip "
    "-v 229,raw48,Erase_Count "
    "-v 203,raw48,Total_ECC_Errors "
    "-v 232,raw48,Total_Number_of_Reads "
    "-v 214,raw48,Anchor_Block_Status " // spec says "no useful data yet"
    "-v 215,raw48,Trim_Status " // spec says "no useful data yet"
  },

I'll attach the "smartctl -x" output. Let me know if you need anything else. Thanks.

Attachments (1)

smartctl-Swissbit-F-240.txt (3.8 KB ) - added by Graham Knap 3 years ago.

Download all attachments as: .zip

Change History (4)

by Graham Knap, 3 years ago

Attachment: smartctl-Swissbit-F-240.txt added

comment:1 by Graham Knap, 3 years ago

Note, the model number of my card ends in "-BR1" instead of "-STD". This card was purchased from B&R Automation, so that's likely what the suffix indicates. I don't know what other suffixes are possible. Could the drivedb.h entry be written to match any suffix?

comment:2 by Christian Franke, 3 years ago

Component: alldrivedb
Keywords: ssd added
Milestone: unscheduled
Summary: Device support: Swissbit F-240, SanDisk SDDR-299Device support: Swissbit F-240 (SFCA2048H4BV4TO-I-MS-226-...)
Type: enhancementpatch

Thanks. Summary changed to CFast card only. Please create a separate ticket for the USB bridge.

comment:3 by Christian Franke, 3 years ago

... Could the drivedb.h entry be written to match any suffix?

"SFCA(2048|4096|8192|16GB|32GB|64GB)H[0-9]BV4TO-(C|I)-(MS|DT|QT|NU)-2[0-9]6-.*"
Note: See TracTickets for help on using tickets.