USB pass-through to container issue

Discussion in 'Proxmox VE: Installation and configuration' started by odysseyf22, Dec 25, 2018.

  1. odysseyf22

    odysseyf22 New Member

    Joined:
    Dec 25, 2018
    Messages:
    1
    Likes Received:
    0
    After a bit of struggle, I managed to setup a USB passthrough for my 3D printer from my Proxmox host to a Ubuntu container that runs Repetier Host. The printer is set as /dev/ttyUSB0.

    Everything works fine so long as the container is freshly rebooted. However, if after a couple of hours I turn the printer back on to run another job it is shown as disconnected. When I check the output from ls -al /dev on the container, ttyUSB0 is still there but has lost the correct file permissions and group; it's now at 000 instead of 660, and no longer has the dialout group set.

    If I reboot the container and run ls -al /dev again everything is back to normal and the printer connects and works fine.

    I had the sense that this might be an issue with the USB port going to "sleep," however I haven't been able to find anything online that has addressed how to resolve that in a container - most posts reference laptop-mode, etc, which I don't have on the container.

    I'd appreciate any insight. It'd certainly be much better if I didn't have to login to Proxmox and reboot the container every time I want to print!
     
  2. ESOFTMB

    ESOFTMB New Member

    Joined:
    Dec 7, 2018
    Messages:
    16
    Likes Received:
    0
  3. Shane beasley

    Shane beasley New Member

    Joined:
    Apr 19, 2019
    Messages:
    3
    Likes Received:
    0
    how did you get it to even see your printer? no matter what i try i still can't get it to see it. i pretty much did everything posted by esoftmb and no go.. im using octoprint but im guessing it would be the same approach
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice