From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk0-x231.google.com (mail-qk0-x231.google.com [IPv6:2607:f8b0:400d:c09::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 4952E1A1EDC for ; Thu, 13 Oct 2016 07:28:39 -0700 (PDT) Received: by mail-qk0-x231.google.com with SMTP id f128so88898130qkb.1 for ; Thu, 13 Oct 2016 07:28:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=sQkIwP1RccQCS34ZeQ2w5p2ZJW4/6WHgjug2SbXZ7WY=; b=kUJUNTx3NgsYkpVAfu/G2PkwHeam6yM4GbbycGqN7pQ3CSRDaCPITISAiVUOpRbiii +YJUYeEn6Srbbn/FhSLuw3U6hAFiB+UzqRfl1ZYq5cDlbx+0EjyVY8TqLz59sgKQPEO1 8UjFnB9yrEHV+8tALmbbQteGR2FKCgvP8NyfpJSe4Qwr9u1+wIX4YgLjAU0VrMroRzVs a98Dq8gROXAQBTjfioEFPT+zReA4SOB/MNm5WVWVNZcjD5RYPMBx8MYbeG6fHpDwY8X5 V/CKSBKxAVj3PUze6kTXMCPQ9gW+SZVCoAMVY2rHghFkyWHCQ1QVoGS1pECLX7lYFt4q yluw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=sQkIwP1RccQCS34ZeQ2w5p2ZJW4/6WHgjug2SbXZ7WY=; b=g8WgR8OPxB5vlh3H+HBeJTonUx92+ZJHijBlqg7km9vJ3wTLZVBEsnPKuxw/etrR61 wntXS/hnQdAMnBTzEu74456greG/Hit1KkxEu+4OPPjL3vtFv42buJWje2Zz8v2oIcEN 7iKCE2AkGpshqvVGCuvdxKgQL4glxYCm6fndYfA81lJ/tClcgbUc+EsT3AcmT2LwbM0R f9lNRk2EtOZicssnRR1dMDd9ZSrct2kDgelBllVR7xoB3vodSEFH46L2GsWABRxndRTu vwcHSEn0c/Q63jkcWZXrhe3acEF0scd+jTgitPWnXJGbIZFbGgPzXsoaRy3+qJHUSXct U++A== X-Gm-Message-State: AA6/9RnSxVx3k/O/IO9UMfk07+slR5oD6xjS0OGz1NnuB+Ys3DG2pUr4jUEG4xnw0qOaG03r1ToRLGEA/6rr1A== X-Received: by 10.55.105.130 with SMTP id e124mr6252339qkc.101.1476368914709; Thu, 13 Oct 2016 07:28:34 -0700 (PDT) MIME-Version: 1.0 From: Rafael Machado Date: Thu, 13 Oct 2016 14:28:24 +0000 Message-ID: To: "edk2-devel@lists.01.org" X-Content-Filtered-By: Mailman/MimeDel 2.1.21 Subject: Sending command to SAS devices X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Oct 2016 14:28:39 -0000 Content-Type: text/plain; charset=UTF-8 Hi everyone I'm trying to send a command to a SAS (serial attached scsi) storage device to retrieve some SMART information, but I'm facing some problems that maybe you can give me some light. During a research about how does the SAS devices work I faced this specification: http://www.t10.org/members/w_sat4.htm. My hope was to have a SCSI or ATA protocol attached to this device / controller, so I could create a SAT library and would be able to end a ATA command over the SCSI protocol, or a SCSI command over a ATA protocol (not sure about the correct option yet). After checking the handles created on this device I had a terrible surprise. No ATA_PASS_THRU protocol instance was created to it, and no SCSI_EXT_PASS_THRU protocol instance was created too. My questions are: Does anyone ever worked with SAS devices and had success with it? In case I really need to do that, seems I would need to create a SAS controller driver so I could send the command to the correct device. Am I right about this? Any other idea? Thanks and Regards Rafael R. Machado