Giter Site home page Giter Site logo

connect usb? about cura-novnc HOT 5 CLOSED

helfrichmichael avatar helfrichmichael commented on July 24, 2024
connect usb?

from cura-novnc.

Comments (5)

helfrichmichael avatar helfrichmichael commented on July 24, 2024

You'll need to do something like: https://forums.unraid.net/topic/47595-how-do-i-pass-through-a-usb-device-to-a-docker-container/

Basically you have to pass the USB device from /dev/* into the container.

from cura-novnc.

bushibot avatar bushibot commented on July 24, 2024

Right, I can do that but what I can't seem to do in cura is map it. In octoprint I can add the port I mapped via the serial config and just map /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0 and set it as the port.

from cura-novnc.

helfrichmichael avatar helfrichmichael commented on July 24, 2024

In the console/terminal of the novnc container, can you see the device via lsusb, or the path you passed in? I'm wondering if it's even been bound to the container.

from cura-novnc.

bushibot avatar bushibot commented on July 24, 2024

Seems to be passing it. From container console. That is the same thing I map for octo print and it can communicate.

# ls
bin   cura  etc   lib    media  opt     proc  run   srv  tmp  var
boot  dev   home  lib64  mnt    prints  root  sbin  sys  usr
# ls /dev/serial/by-id/
usb-1a86_USB_Serial-if00-port0
# 

from cura-novnc.

helfrichmichael avatar helfrichmichael commented on July 24, 2024

What are the permissions of that device? I wonder if there's a read/write/execute issue with the ownership of the device.

ls -la /dev/serial/by-id/ will probably provide this

from cura-novnc.

Related Issues (11)

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.