6 Replies Latest reply on Jan 17, 2017 7:46 PM by coze

    How to tell I am running on Intel Compute Stick ?

    coze

      Hello, I am developing a project that will run on Intel Compute Stick (ubuntu) as well as other platforms.

      I was wondering how can I tell whether I am running on Intel Compute Stick ?

      Is there a platform specific information somewhere in `uname -a` ? or /proc/cpuinfo ? /etc/apt/sources ?

        • 1. Re: How to tell I am running on Intel Compute Stick ?
          Repeat%20Offender

          # sudo dmidecode -t 1 | grep stick

          • 2. Re: How to tell I am running on Intel Compute Stick ?
            N.Scott.Pearson

            James is correct; you want to be looking at the contents of the SMBIOS Structure Table and DMIDECODE is the tool that you use to do so. The SMBIOS structure Table contains strings that you can peruse to determine what you are actually running on.

             

            To help you further, here are dumps of the strings found in a number of structures for each of my ICS. Note that this was done using a different (Windows-based) tool that only displays certain fields, so its output doesn't look what you will see with DMIDECODE. Note also that I have hidden information private to my ICS using question marks.

             

            1. For the STK2M3W64CC:

             

            System Information:

             

                 Manufacturer:       Intel Corporation

                 Product Name:      STK2M3W64CC

                 Version:                 H87908-202

                 Serial Number:      ????????????

                 SKU Number:

                 Family:                  Compute Stick

                 UUID:                    ????????-????-????-????-????????????

             

            Chassis Information:

             

                 Type:                     Desktop

                 Manufacturer:       Intel Corporation

                 Version:                 2.0

                Serial Number:       ????????????

                 Asset Tag:

             

            Board Information:

             

                 Manufacturer:       Intel Corporation

                 Product Name:      STK2M3W64CC

                 Version:                 H89289-401

                 Serial Number:      ????????????

             

            BIOS Information:

             

                 Manufacturer:       Intel Corp.

                 Version:                CCSKLm30.86A.0044.2016.0909.1528

                 Release Date:       09/09/2016

             

            2. For the STK2MV64CC:

             

            System Information:

             

                 Manufacturer:       Intel Corporation

                 Product Name:      STK2MV64CC

                 Version:                 H87914-205

                 Serial Number:      ????????????

                 SKU Number:

                 Family:                  Compute Stick

                 UUID:                    ????????-????-????-????-????????????

             

            Chassis Information:

             

                 Type:                     Desktop

                 Manufacturer:       Intel Corporation

                 Version:                 H87914-205

                 Serial Number:      ????????????

                 Asset Tag:

             

            Board Information:

             

                 Manufacturer:       Intel Corporation

                 Product Name:     STK2MV64CC

                 Version:                H89290-502

                 Serial Number:     ????????????

             

            BIOS Information:

             

                 Manufacturer:      Intel Corp.

                 Version:               CCSKLm5v.86A.0044.2016.0909.1600

                 Release Date:     09/09/2016

             

            3. For the STCK1A32WFC:

             

            System Information:

             

                 Manufacturer:       Intel Corporation

                 Product Name:      STCK1A32WFC

                 Version:                 H69761-103

                 Serial Number:      ????????????

                 SKU Number:

                 Family:                  Compute Stick

                 UUID:                    ????????-????-????-????-????????????

             

            OEM Strings:

             

                 String 1:                 To Be Filled By O.E.M.

             

            Chassis Information:

             

                 Type:                     Desktop

                 Manufacturer:       Intel Corporation

                 Version:                 1.0

                 Serial Number:      ????????????

                 Asset Tag:

             

            Board Information:

             

                 Manufacturer:       Intel Corporation

                 Product Name:     STCK1A32WFC

                 Version:                H67490-301

                 Serial Number:     ????????????

             

            BIOS Information:

             

                 Manufacturer:      Intel Corp.

                 Version:                FCBYT10H.86A.0032.2016.0831.1658

                 Release Date:      08/31/2016

             

            4. For the STK1AW32SC:

             

            System Information:

             

                Manufacturer:        Intel Corporation

                Product Name:       STK1AW32SC

                Version:                  H93326-102

                Serial Number:       ????????????

                SKU Number:

                Family:                   Compute Stick

                UUID:                     ????????-????-????-????-????????????

             

            OEM Strings:

             

                String 1:                 Default string

             

            Chassis Information:

             

                Type:                     Desktop

                Manufacturer:       Intel Corporation

                Version:                 1.0

                Serial Number:      ????????????

                Asset Tag:

             

            Board Information:

             

                Manufacturer:        Intel Corporation

                Product Name:       STK1AW32SC

                Version:                  H91596-301

                Serial Number:       ????????????

             

            BIOS Information:

             

                Manufacturer:        Intel Corp.

                Version:                  SCCHTAX5.86A.0026.2016.0722.1307

                Release Date:        07/22/2016

             

            Within the System Information structure, you can see that the one thing in common across the ICS is that the System Family string is set to "Compute Stick". This is something you can easily test for in a script (James' command is an example of this).

             

            Hope this helps,

            ...S

             

            P.S. Trivial Time. Originally, in order to make specific information available to their group's implementation of the Desktop Management Interface (DMI) framework, the Intel Desktop Boards BIOS group invented a structure table within the BIOS that they called the DMIBIOS Structure Table. Later on, Intel placed this invention in the public domain and an Industry Working Group was created to maintain it. This WG was eventually subsumed by the Distributed Management Task Force (DMTF). Somewhere during this process, it was renamed to be the System Management BIOS (SMBIOS) Structure Table. But, because the tool for Linux was created long before the rename took place, it was assigned, and has retained, the DMIDECODE name.

            • 3. Re: How to tell I am running on Intel Compute Stick ?
              Repeat%20Offender

              So I guess you're saying that the thing to do in Windows would be:

              wmic computersystem get SystemFamily

              • 4. Re: How to tell I am running on Intel Compute Stick ?
                N.Scott.Pearson

                Hey man, I am a software developer! That way's way too easy! I have to write a tool that displays/checks the data myself. Haven't you heard of NIH?

                 

                Actually, I wrote this tool for Intel way back in 1996, long before WMI existed. Old habits die hard...

                ...S

                • 5. Re: How to tell I am running on Intel Compute Stick ?
                  Intel Corporation
                  This message was posted on behalf of Intel Corporation

                  Repeat%20Offender and N. Scott Pearson, thanks for your collaboration along this thread.
                  To: Coze

                  Hello Coze,

                  I would like to know if the information provided to you was able to solve your concern?

                  In case if you need further assistance do not hesitate to reply back.

                  I am looking forward to hearing from you.

                  Regards,
                  Angie.
                   

                  • 6. Re: How to tell I am running on Intel Compute Stick ?
                    coze

                    Yes, this works. Thank you all for the prompt and extremely helpful replies !