GithubHelp home page GithubHelp logo

Comments (4)

ThunderEX avatar ThunderEX commented on July 19, 2024 1

Hi @vonericsen
It works:

[root@localhost tmp]# echo "88 12 14 00 ff ff 00 00 ff ff ff ff 91 20 00 00" > wceMP.txt
[root@localhost tmp]# ~/dev/openSeaChest/Make/gcc/openseachest_exes/openSeaChest_Configure -d /dev/sdb --setSCSIMP file=wceMP.txt
==========================================================================================
 openSeaChest_Configure - openSeaChest drive utilities - NVMe Enabled
 Copyright (c) 2014-2021 Seagate Technology LLC and/or its Affiliates, All Rights Reserved
 openSeaChest_Configure Version: 2.0.2-2_2_4 X86_64
 Build Date: Sep 19 2021
 Today: Tue Sep 21 10:54:47 2021        User: root
==========================================================================================

/dev/sg2 - ST1200MM0129 - WFK47SPX0000E9454C89 - SCSI
Successfully set SCSI mode page!

[root@localhost tmp]# sdparm --page=08h --hex /dev/sdb
Caching (SBC) [0x8] mode page:
    Current:
 00     88 12 14 00 ff ff 00 00  ff ff ff ff 91 20 00 00
 10     00 00 00 00
    Changeable:
 00     88 12 a5 00 00 00 ff ff  ff ff 00 00 21 00 00 00
 10     00 00 00 00
    Default:
 00     88 12 10 00 ff ff 00 00  ff ff ff ff 90 20 00 00
 10     00 00 00 00
    Saved:
 00     88 12 14 00 ff ff 00 00  ff ff ff ff 91 20 00 00
 10     00 00 00 00

from openseachest.

ThunderEX avatar ThunderEX commented on July 19, 2024 1

It works! Thanks@vonericsen !

from openseachest.

vonericsen avatar vonericsen commented on July 19, 2024

Hi @ThunderEX,
We will take a look and figure out what happened.

Can you try it with a file as the input as well?
Your file would be a text file (wceMP.txt) that looks like this (change any field as you see fit):
88 12 14 00 ff ff 00 00 ff ff ff ff 91 20 00 00

The openSeaChest command would be openSeaChest_Configure -d /dev/yourDeviceHandle --setSCSIMP file=wceMP.txt

from openseachest.

vonericsen avatar vonericsen commented on July 19, 2024

@ThunderEX,
Please reopen this issue if you see any other problems, but the commit I pushed resolved the problem in my testing.

Thanks for reporting this issue!

from openseachest.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.