Disable modem manager


Recommended Posts

Unraid 6.6.7

 

I think I am in the correct support forum but please move the thread if necessary.

I'm having problems forwarding a USB device to a docker container, in this case a Zigbee stick to a Home Assistant container. I have forwarded the device to the container as depicted below.

 

1716303401_Skrmavbild2019-05-31kl_22_35_28.thumb.png.762c7c2302f3497209cd805ab7d6de53.png

 

I get the following error message from the docker log:

Error setting up entry /dev/ttyUSB0

I may have found a cause and solution on a Home Assistant page mentioning "On Linux hosts ZHA can fail to start during Home Assistant startup or restarts because the zigbee USB device is being claimed by the host’s modemmanager service. To fix this disable the modemmanger on the host system."

 

The proposed solution is to disable the modem manger by running the following command:

sudo apt-get purge modemmanager

However, when I run the command in the system terminal I get the following error message:

sudo: apt-get: command not found

Is there another way to disable the modem manager or maybe there is a complete different solution to my problem?

 

Thanks,

David

Edited by Klench
Making some stuff more clear
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.