相关疑难解决方法(0)

写入时如何关闭USB设备的缓存?

使用 ubuntu/kubuntu 通过 USB 安装板时,我在将二进制程序传输到微控制器原型板时遇到问题。使用 MacOS 和 Windows 没有问题。我发现来自 Ubuntu 的写作肯定会改变所写的文件。我怀疑写缓存是问题所在。我怎样才能禁用它,或者还有什么问题。

usb

9
推荐指数
2
解决办法
3万
查看次数

从 cron 休眠

我正在尝试使用命令从 cron 休眠systemctl hibernate。但是,我收到以下错误:

Failed to set wall message, ignoring: Interactive authentication required.
Failed to hibernate system via logind: Interactive authentication required.
Failed to start hibernate.target: Interactive authentication required.
See system logs and 'systemctl status hibernate.target' for details.
Run Code Online (Sandbox Code Playgroud)

如果我从终端手动执行上述命令,它会按预期工作。

如何从 cron 休眠?

我使用的是 Ubuntu 16.04。

cron hibernate automation systemd 16.04

3
推荐指数
1
解决办法
4324
查看次数

标签 统计

16.04 ×1

automation ×1

cron ×1

hibernate ×1

systemd ×1

usb ×1