I get a error when I run systemctl enable --now chromebook-usbc.service
this is the output:
~
> systemctl enable --now chromebook-usbc.service
Job for chromebook-usbc.service failed because the control process exited with error code.
See "systemctl status chromebook-usbc.service" and "journalctl -xeu chromebook-usbc.service" for details.
~ took 3s
> systemctl status chromebook-usbc.service
Γ chromebook-usbc.service - Enable USB-C on chromebook
Loaded: loaded (/etc/systemd/system/chromebook-usbc.service; enabled; preset: disabled)
Active: failed (Result: exit-code) since Sat 2024-05-04 16:46:10 BST; 6s ago
Process: 7904 ExecStartPre=/sbin/modprobe -r -a cros-ec-typec intel-pmc-mux (code=exited, status=1/FAILURE)
CPU: 3ms
May 04 16:46:10 propio-lenovo systemd[1]: Starting Enable USB-C on chromebook...
May 04 16:46:10 propio-lenovo modprobe[7904]: modprobe: WARNING: Module intel_pmc_mux is in use.
May 04 16:46:10 propio-lenovo systemd[1]: chromebook-usbc.service: Control process exited, code=exited, status=1/FAILURE
May 04 16:46:10 propio-lenovo systemd[1]: chromebook-usbc.service: Failed with result 'exit-code'.
May 04 16:46:10 propio-lenovo systemd[1]: Failed to start Enable USB-C on chromebook.
~
x
#the (~)(>)(x) is part of the bash prompt,I use starship.
and journalctl -xeu chromebook-usbc.service
~
x journalctl -xeu chromebook-usbc.service
ββ
ββ The process' exit code is 'exited' and its exit status is 1.
May 04 16:40:42 propio-lenovo systemd[1]: chromebook-usbc.service: Failed with result 'exit-code'.
ββ Subject: Unit failed
ββ Defined-By: systemd
ββ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
ββ
ββ The unit chromebook-usbc.service has entered the 'failed' state with result 'exit-code'.
May 04 16:40:42 propio-lenovo systemd[1]: Failed to start Enable USB-C on chromebook.
ββ Subject: A start job for unit chromebook-usbc.service has failed
ββ Defined-By: systemd
ββ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
ββ
ββ A start job for unit chromebook-usbc.service has finished with a failure.
ββ
ββ The job identifier is 1659 and the job result is failed.
May 04 16:46:10 propio-lenovo systemd[1]: Starting Enable USB-C on chromebook...
ββ Subject: A start job for unit chromebook-usbc.service has begun execution
ββ Defined-By: systemd
ββ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
ββ
ββ A start job for unit chromebook-usbc.service has begun execution.
ββ
ββ The job identifier is 1757.
May 04 16:46:10 propio-lenovo modprobe[7904]: modprobe: WARNING: Module intel_pmc_mux is in use.
May 04 16:46:10 propio-lenovo systemd[1]: chromebook-usbc.service: Control process exited, code=exited, status=1/FAILURE
ββ Subject: Unit process exited
ββ Defined-By: systemd
ββ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
ββ
ββ An ExecStartPre= process belonging to unit chromebook-usbc.service has exited.
ββ
ββ The process' exit code is 'exited' and its exit status is 1.
May 04 16:46:10 propio-lenovo systemd[1]: chromebook-usbc.service: Failed with result 'exit-code'.
ββ Subject: Unit failed
ββ Defined-By: systemd
ββ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
ββ
ββ The unit chromebook-usbc.service has entered the 'failed' state with result 'exit-code'.
May 04 16:46:10 propio-lenovo systemd[1]: Failed to start Enable USB-C on chromebook.
ββ Subject: A start job for unit chromebook-usbc.service has failed
ββ Defined-By: systemd
ββ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
ββ
ββ A start job for unit chromebook-usbc.service has finished with a failure.
ββ
ββ The job identifier is 1757 and the job result is failed.