Hi there,
I am runnig "Proxmox Virtual Environment 4.2-17/e1400248"
From this PC-internal gadget:
http://www.tooq.es/product_detail.php?id=1511
I am trying to forward the smartcard reader to a LXC.
The USB gadget, inc. the smartcard reader, seems to be succesfully recognized by Linux.
# lsusb -t
/: Bus 08.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 07.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
|__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 1: Dev 2, If 1, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 1: Dev 2, If 2, Class=Human Interface Device, Driver=usbhid, 12M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/6p, 480M
|__ Port 2: Dev 2, If 0, Class=Chip/SmartCard, Driver=, 480M
|__ Port 2: Dev 2, If 1, Class=Mass Storage, Driver=usb-storage, 480M
|__ Port 2: Dev 2, If 2, Class=Vendor Specific Class, Driver=mceusb, 480M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/6p, 480M
I read links like:
https://forum.proxmox.com/threads/lxc-and-device-passthrough.26967/
https://forum.proxmox.com/threads/passthrough-usb-from-host-to-lxc.23856/
But I can not get the major:minor values of the smartcard reader on itself, to be added to:
/etc/pve/nodes/pmox/lxc/101.conf
in the form:
lxc.cgroup.devices.allow = c <major>:<minor> rwm
I remember that for KVMs you could provide with a line like:
https://forum.proxmox.com/threads/p...rwarded-to-two-different-vm.10575/#post-66561
Where you could be more specific with the USB element to be forwarded.
It is my first time with LXC, but I have experience with KVM and OVZ under the ProxMox environment.
I would apprecite your help.
Thanks in advance.
I am runnig "Proxmox Virtual Environment 4.2-17/e1400248"
From this PC-internal gadget:
http://www.tooq.es/product_detail.php?id=1511
I am trying to forward the smartcard reader to a LXC.
The USB gadget, inc. the smartcard reader, seems to be succesfully recognized by Linux.
# lsusb -t
/: Bus 08.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 07.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
|__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 1: Dev 2, If 1, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 1: Dev 2, If 2, Class=Human Interface Device, Driver=usbhid, 12M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/6p, 480M
|__ Port 2: Dev 2, If 0, Class=Chip/SmartCard, Driver=, 480M
|__ Port 2: Dev 2, If 1, Class=Mass Storage, Driver=usb-storage, 480M
|__ Port 2: Dev 2, If 2, Class=Vendor Specific Class, Driver=mceusb, 480M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/6p, 480M
I read links like:
https://forum.proxmox.com/threads/lxc-and-device-passthrough.26967/
https://forum.proxmox.com/threads/passthrough-usb-from-host-to-lxc.23856/
But I can not get the major:minor values of the smartcard reader on itself, to be added to:
/etc/pve/nodes/pmox/lxc/101.conf
in the form:
lxc.cgroup.devices.allow = c <major>:<minor> rwm
I remember that for KVMs you could provide with a line like:
https://forum.proxmox.com/threads/p...rwarded-to-two-different-vm.10575/#post-66561
Where you could be more specific with the USB element to be forwarded.
It is my first time with LXC, but I have experience with KVM and OVZ under the ProxMox environment.
I would apprecite your help.
Thanks in advance.