crosh: battery_firmware no longer valid

960 views
Skip to first unread message

DennisLfromGA

unread,
Nov 29, 2016, 5:11:13 PM11/29/16
to Chromium OS discuss
With the removal of the 'ectool' package perhaps it's time to remove/retire 'battery_firmware' from the crosh script to avoid any confusion when errors are displayed.

battery_firmware <info|check|update>  
  info   : Query battery info.
  check  : Check whether the AC adapter is connected.
           Also check whether the battery firmware is the latest.
  update : Trigger battery firmware update.

When I attempt to run battery_firmware with any option it fails, see below -

crosh> battery_firmware info
Target program '/usr/sbin/ectool' is not accessible.

crosh> 
crosh> battery_firmware check
Target program '/usr/sbin/ec_sb_firmware_update' is not accessible.

crosh> 
crosh> battery_firmware update

================================================================================
                  Battery firmware update is in progress.
================================================================================
Please DO NOT remove the power adapter cable, otherwise the update will fail.

To recover from a failed battery firmware update,
   please plug in the power adapter cable, reboot and run this command again.

================================================================================

Target program '/usr/sbin/ec_sb_firmware_update' is not accessible.


I confess I don't know how these things are handled internally so maybe it's already part of the plan.

Thanx for your consideration,
DennisL

DennisLfromGA

unread,
Jan 5, 2017, 3:54:46 PM1/5/17
to Chromium OS discuss
Is this worthy of a crbug or should I just be patient and let it drift away naturally?

Sonny Rao

unread,
Jan 5, 2017, 4:52:23 PM1/5/17
to Dennis Lockhart, Chromium OS discuss
seems worthy of a crbug
> --
> --
> Chromium OS discuss mailing list: chromium-...@chromium.org
> View archives, change email options, or unsubscribe:
> http://groups.google.com/a/chromium.org/group/chromium-os-discuss?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Chromium OS discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to chromium-os-dis...@chromium.org.

DennisLfromGA

unread,
Jan 5, 2017, 5:16:36 PM1/5/17
to Chromium OS discuss, denny.l...@gmail.com
Well, right or wrong it's done: crbug.com/678779
Reply all
Reply to author
Forward
0 new messages