public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Jeff Johnson <jeff.johnson@aeoncomputing.com>
To: Linux SCSI Mailing List <linux-scsi@vger.kernel.org>
Subject: Using sg_ses to change cooling element rpm speed
Date: Fri, 15 Mar 2013 13:18:22 -0700	[thread overview]
Message-ID: <5143820E.4010902@aeoncomputing.com> (raw)

Greetings,

I'm beating my head against the desk trying to use sg_ses to change the 
cooling control element requested speed code for a fan connected to an 
LSI SAS2X36 SAS expander.

I have tried the raw->edit<-raw method and tried the 
--data/--index/--control method and neither seems to work.

Polling status for the cooling element (--index=26) gets me:

Element 26 descriptor:
         Predicted failure=0, Disabled=0, Swap=0, status: OK
         Ident=0, Hot swap=0, Fail=0, Requested on=1, Off=0
         Actual speed=4920 rpm, Fan at lowest speed

Issuing the following command doesn't change the rpm speed:
'sg_ses --page=0x2 /dev/sg1 --index=26 --control --data=70,00,00,27'

Per the SES spec that string should select "Fan at highest speed".

I have also tried taking the raw output, editing the bytes for the 
element and sending it back and it also does nothing. The sg_ses command 
succeeds but there are no intended results.

Am I using the command syntax correctly? I want to be sure before I go 
after the vendor for improper support of the SES specification.


Thanks!

--Jeff

-- 
------------------------------
Jeff Johnson
Co-Founder

Aeon Computing, Inc
High-performance computing / Lustre filesystems

jeff.johnson@aeoncomputing.com
www.aeoncomputing.com
t: 858-412-3810 x101   f: 858-412-3845

4170 Morena Boulevard, Suite D - San Diego, CA 92117


             reply	other threads:[~2013-03-15 20:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-15 20:18 Jeff Johnson [this message]
2013-03-15 22:20 ` Using sg_ses to change cooling element rpm speed Douglas Gilbert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5143820E.4010902@aeoncomputing.com \
    --to=jeff.johnson@aeoncomputing.com \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox