Ah..
$ gcc -I /usr/include/efivar 1.c -lsmbios_c
In file included from /usr/include/smbios_c/config/get_config.h:36:0,
from /usr/include/smbios_c/compat.h:27,
from /usr/include/smbios_c/smi.h:22,
from 1.c:22:
/usr/include/smbios_c/config/compiler/gcc.h:31:7: warning: #warning "Unknown
compiler version - please run the configure tests and report the results"
[-Wcpp]
# warning "Unknown compiler version - please run the configure tests and
report the results"
^~~~~~~
$ ./a.out
This application forces TBT controller to flashing mode on Dell systems
Call with an argument of '1' to force flashing mode
Call with an argument of '0' to return to normal mode
$ ./a.out 1
failed to build buffer
Failed to force device to 1 (ret -1)
$ sudo ./a.out 1
Turned device to 1
$ fwupdmgr install eac3961ba9bd466f6e34d9276c27d524395d7c3c-NN1TN_NVM21.00.cab
Decompressing… [- ]
Restarting device… [****************************************]
Okay. Let me try again.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1715146
Title:
Not Suspending When Lid is Closed Causing Heat Issue
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1715146/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs