New issue
Advanced search Search tips

Issue 761695 link

Starred by 1 user

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

ectool: motionsense usage shows non-implemented command

Project Member Reported by cheyuw@google.com, Sep 4 2017

Issue description

Sending host command MOTIONSENSE_CMD_DATA is not implemented in ectool, but the usage shows this function.

Usage:
  motionsense                            - dump all motion data
  motionsense active                     - print active flag
  motionsense info NUM                   - print sensor info
  motionsense ec_rate [RATE_MS]          - set/get sample rate
  motionsense odr NUM [ODR [ROUNDUP]]    - set/get sensor ODR
  motionsense range NUM [RANGE [ROUNDUP]]- set/get sensor range
  motionsense offset NUM                 - get sensor offset
  motionsense kb_wake NUM                - set/get KB wake ang
  motionsense data NUM                   - read sensor latest data
  motionsense fifo_info                  - print fifo info
  motionsense fifo_int_enable [0/1]      - enable/disable/get fifo interrupt status
  motionsense fifo_read MAX_DATA         - read fifo data
  motionsense fifo_flush NUM             - trigger fifo interrupt
  motionsense list_activities NUM        - list supported activities
  motionsense set_activity NUM ACT EN    - enable/disable activity
  motionsense lid_angle                  - print lid angle
  motionsense spoof -- NUM [0/1] [X Y Z] - enable/disable spoofing

What steps will reproduce the problem?
ectool motionsense data 0

What is the expected result?
Executes corresponding EC host command (MOTIONSENSE_CMD_DATA).

What happens instead?
ectool reports the command not found.

 

Comment 1 by cheyuw@google.com, Sep 4 2017

Cc: drinkcat@chromium.org
Labels: OS-Chrome

Sign in to add a comment