Giter Club home page Giter Club logo

Comments (5)

mauhl0194 avatar mauhl0194 commented on June 27, 2024 1

Did you try to run the command with root access?

I had a similar problem (not sure if exactly the same) with "npm start", but it was working correctly with "sudo npm start".

If this works then probably the correct solution is to give access to the serial port to the current user, but I'm not an expert in Linux permissions so I can't help you very much in that case.

That was not the problem. My user has root access...

from zigbee2mqtt.

LamerTex avatar LamerTex commented on June 27, 2024

Did you try to run the command with root access?

I had a similar problem (not sure if exactly the same) with "npm start", but it was working correctly with "sudo npm start".

If this works then probably the correct solution is to give access to the serial port to the current user, but I'm not an expert in Linux permissions so I can't help you very much in that case.

from zigbee2mqtt.

LamerTex avatar LamerTex commented on June 27, 2024

And does the command ls -l /dev/ttyACM0 return the right info as displayed in the installation instruction?

If that command works correctly then I don't know how to help you, let's see if someone else can.

from zigbee2mqtt.

mauhl0194 avatar mauhl0194 commented on June 27, 2024

And does the command ls -l /dev/ttyACM0 return the right info as displayed in the installation instruction?

If that command works correctly then I don't know how to help you, let's see if someone else can.

Yes, I get the right info as seen below:

root@proxmox:~# ls -l /dev/ttyACM0
crw-rw-rw- 1 root dialout 166, 0 Jun 4 13:39 /dev/ttyACM0

from zigbee2mqtt.

LaurentChardin avatar LaurentChardin commented on June 27, 2024

LXC on Proxmox on Intel NUC : LXC on promox is a pain ;-)

You need to do some black magic for the container to be allowed to access the shared resource:
https://forum.proxmox.com/threads/passthrough-usb-device-to-lxc-keeping-the-path-dev-bus-usb-00x-00y.127774/
https://forum.proxmox.com/threads/hard-time-passing-through-usb-to-lxc.129928/

You need to change the PVE configuration in order for the container to re-apply the right permission. And also to actually surface it in the container.

Assuming you are trying to run Z2M in a LXC container.
(and your container needs to be privileged as well)

from zigbee2mqtt.

Related Issues (20)

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.