Displaying 2 results from an estimated 2 matches for "loadpoweroff".
2013 Aug 08
0
shutdown.* and load.*, and how to possibly add more instcmd for bcmxcp
...uot;load.on.delayed.time"
For the two "OFF" commands, is "load.off" appropriate ?
What is the difference between "load.off" and "shutdown.stayoff" ?
The following two are already mapped in the driver :
#define PW_LOAD_OFF_RESTART .. /* Delayed LoadPowerOff & Restart
command. length 2-4 */
This is mapped to shutdown.return
#define PW_UPS_OFF .. /* UPS off command. length
1-2 */
This is mapped to shutdown.stayoff
As additional info, here is the instcmd I found in the other drivers,
the number being the number of times...
2013 Jul 03
1
bcmxcp: Patch for using command map if present to control commands added by dstate_addcmd
...)0x43 /* Request ups
topology data requset. length 1 */
-/* Need autorisation before this commands */
+/* Need autorisation before these commands */
#define PW_UPS_ON (unsigned char)0x89 /* UPS on command. length
1-2 */
#define PW_LOAD_OFF_RESTART (unsigned char)0x8A /* Delayed
LoadPowerOff & Restart command. length 2-4 */
#define PW_UPS_OFF (unsigned char)0x8B /* UPS off command.
length 1-2 */
@@ -417,5 +417,12 @@ typedef struct {
double (*nuf)(const char *nut_value); /* optional NUT to
HID mapping */
} info_lkp_t;
+/* use explicit booleans */
+#ifnd...