Arco Linux (Lenovo Ideapad flex 5i) USB-C error

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.

Were you able to install arch linux on the internal drive? I don’t know why mine didn’t show up during installation.

I installed ubuntu on a usb drive and the service works flawlessly. Can you send the chromebook-usbc.service content?

I install manjaro linux(full) to my USB(SD card with adapter).

chromebook-usbc.service content?
I just copied and pasted the content on the chrultrabook docs(post install section)
#Did you get sound to work?

I deal with the problem using mkinitcpio.conf and add both modules.
modules info

mkinitcpio.conf

i added the modules but no difference,I also did the modinfo command which have very similar results except for the signatures.I’m on manjaro but it still doesn’t work.

ths usbc fix systemd unit is no longer needed on a recent kernel

1 Like

I switched to endeavour OS,less of a headache.

I tried ubuntu 24.04 and just the speaker didn’t work.

endeavour OS has fully functionality,only problem being that the eos repos don’t have as much packages as arco linux.

1 Like

did u run the audio script?

1 Like

Its not compatible with Ubuntu… but i’ll try this weekend.

ubuntu is not supported

You can try it. It works on Jinlon

I’m back with same issue on archcraft and vanilla arch, modprobe doesn’t kill intel-pmc… because of it being used by 14 other processes, any way to force kill and have it still work

Thanks to @kabelu abelu and @t2m, after combining their solutions, it works.
The final solution: you have to add the modules cros-ec-typec and intel-pmc-mux like @kabelu did but the order was wrong like @t2m mentioned in older forums, the final modified line should look something like:
MODULES=(intel-pmc-mux cros-ec-typec)
Sources :kabelu’s solution, t2m’s solution.