Giter Site home page Giter Site logo

openstick-failsafe-guard's People

Contributors

hyx0329 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

openstick-failsafe-guard's Issues

[FAILED] Failed to start OpenStick Button Monitor Service.

开机启动过程:

...
...
         Starting Hostname Service...
[  OK  ] Finished Load/Save Random Seed.
[  OK  ] Started OpenBSD Secure Shell server.
[  OK  ] Started Dispatcher daemon for systemd-networkd.
[  OK  ] Reached target Multi-User System.
[  OK  ] Listening on Load/Save RF …itch Status /dev/rfkill Watch.
[  OK  ] Stopped OpenStick Button Monitor Service.
[  OK  ] Started OpenStick Button Monitor Service.
[  OK  ] Started Hostname Service.
         Starting Load/Save RF Kill Switch Status...
[  OK  ] Started Load/Save RF Kill Switch Status.
[  OK  ] Reached target Bluetooth.
         Starting Network Manager Script Dispatcher Service...
[  OK  ] Stopped OpenStick Button Monitor Service.
[  OK  ] Started OpenStick Button Monitor Service.
[  OK  ] Started Network Manager Script Dispatcher Service.
[  OK  ] Stopped OpenStick Button Monitor Service.
[  OK  ] Started OpenStick Button Monitor Service.
[  OK  ] Stopped OpenStick Button Monitor Service.
[FAILED] Failed to start OpenStick Button Monitor Service.
See 'systemctl status openstick-button-monitor.service' for details.
[    9.274643] l13: voltage operation not allowed
[  OK  ] Started ADB Daemon.

systemctl status openstick-button-monitor.service:

● openstick-button-monitor.service - OpenStick Button Monitor Service
     Loaded: loaded (/lib/systemd/system/openstick-button-monitor.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Thu 2023-03-02 20:58:07 CST; 1 months 24 days ago
    Process: 336 ExecStart=/usr/bin/systemd-inhibit --what=handle-reboot-key --who=OpenStick Button Monitor Servic
e --why=Take over KEY_RESET /usr/sbin/openstick-button-monitor.sh (code=exited, status=1/FAILURE)
   Main PID: 336 (code=exited, status=1/FAILURE)

3月 02 20:58:07 UFI-Ubuntu systemd[1]: openstick-button-monitor.service: Scheduled restart job, restart counter is
 at 5.
3月 02 20:58:07 UFI-Ubuntu systemd[1]: Stopped OpenStick Button Monitor Service.
3月 02 20:58:07 UFI-Ubuntu systemd[1]: openstick-button-monitor.service: Start
 request repeated too quickly.
3月 02 20:58:07 UFI-Ubuntu systemd[1]: openstick-button-monitor.service: Faile
d with result 'exit-code'.
3月 02 20:58:07 UFI-Ubuntu systemd[1]: Failed to start OpenStick Button Monitor Service.

遇到这个问题,Button Monitor 服务无法启动,使用的是 @wu17481748UFI-Ubuntu20.40
另外问一下,如果我想设置短按的动作,是不是只需要定义PRESS_ACTION_SHORT环境变量就可以了呢?
感谢

About how to change sim without a reboot

I discovered this looooong before. But I don't have the motivation to push an update. I'll just write here in case someone cannot find it on the internet(I mean it's on my "blog").

Here is the procedure:

echo 0 > /sys/class/leds/esim0_select/brightness  # disable current sim, change accordingly
echo 1 > /sys/class/leds/sim0_select/brightness   # enable the other sim, change accordingly
# reload kernel module so the modem is rebooted
modprobe -r qcom-q6v5-mss
modprobe qcom-q6v5-mss
# restart related services
systemctl restart rmtfs
systemctl restart ModemManager
# On some devices, the modem will crash intentionally.
# In this case, you need to restart the ModemManager manually. (BTW the startup diagnose do it for you, but only once after boot)

openstick-utils : Depends: qrtr-tools but it is not installable

root@openstick:/tmp# apt install ./openstick-utils-basics-with-binaries.deb 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 openstick-utils : Depends: qrtr-tools but it is not installable
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
root@openstick:/tmp# 

device model: uf896_v1.1
kernel: Linux openstick 5.15.0-handsomekernel+ #17 SMP PREEMPT Sun Feb 6 22:10:37 CST 2022 aarch64 GNU/Linux
OS: Debian 11 (from HandsomeYingyan)

I already tried adding deb http://ftp.de.debian.org/debian sid main into source.list.
But when I tried installing qrtr-tools I get.

The following additional packages will be installed:
  qrtr-tools
The following NEW packages will be installed:
  qrtr-tools
0 upgraded, 1 newly installed, 0 to remove and 215 not upgraded.
3 not fully installed or removed.
Need to get 0 B/14.8 kB of archives.
After this operation, 222 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 32539 files and directories currently installed.)
Preparing to unpack .../qrtr-tools_0.3+git20201207-2_arm64.deb ...
Unpacking qrtr-tools (0.3+git20201207-2) ...
dpkg: error processing archive /var/cache/apt/archives/qrtr-tools_0.3+git20201207-2_arm64.deb (--unpack):
 trying to overwrite '/usr/bin/qrtr-cfg', which is also in package qrtr 0.3+git20201207-0.2
Errors were encountered while processing:
 /var/cache/apt/archives/qrtr-tools_0.3+git20201207-2_arm64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.