Hello folks
First of all a great thank you for this incredible piece of software (PVE).
As I'm getting in touch with PVE discovering all the great possibilities I got my first questions.
What am I doing? I try to set up a headless scanner station with my Fujitsu Scansnap iX500 (using SANE and ScanBD) in an unpriviledged Debian 10 LXC.
So here my questions:
1. Host and LXC: The
I tried to solve that by
- creating a UDEV rule symlinking it to /dev/usb/scanner and granting access to the mapped (LXC) User and for testing purpose mapped root.
- configuring the LXC.conf like this:
Unfortunately the scanner wasn't recognized until I configured to use
2. Is it possible to passthrough a USB Port to a LXC (not only the device)
3. Can my "project" be realized with a container? I'd prefer that as a LXC is a lightweight posibility to run a "PC" 24/7 even if used not really frequently.
P.S. I posted my problem already in the german PVE forum, but maybe I couldn't get help as it was "too much" for one thread. So I try it here step by step.
Thanks in advance - Andi
First of all a great thank you for this incredible piece of software (PVE).
As I'm getting in touch with PVE discovering all the great possibilities I got my first questions.
What am I doing? I try to set up a headless scanner station with my Fujitsu Scansnap iX500 (using SANE and ScanBD) in an unpriviledged Debian 10 LXC.
So here my questions:
1. Host and LXC: The
/dev/bus/usb/[port]/DeviceNumber
increments with every PowerOn of the scanner. How can I get rid of that?I tried to solve that by
- creating a UDEV rule symlinking it to /dev/usb/scanner and granting access to the mapped (LXC) User and for testing purpose mapped root.
- configuring the LXC.conf like this:
lxc.cgroup.devices.allow: c 189:* rwm
lxc.mount.entry: /dev/usb/scanner dev/usb/scanner none bind,optional,create=file
Unfortunately the scanner wasn't recognized until I configured to use
/dev/bus/usb/[port]/DeviceNumber
again, which worked until the next PowerOff (standby) an On of the scanner.2. Is it possible to passthrough a USB Port to a LXC (not only the device)
3. Can my "project" be realized with a container? I'd prefer that as a LXC is a lightweight posibility to run a "PC" 24/7 even if used not really frequently.
P.S. I posted my problem already in the german PVE forum, but maybe I couldn't get help as it was "too much" for one thread. So I try it here step by step.
Thanks in advance - Andi