On Saturday, January 21, 2017 at 1:17:29 PM UTC-5, Gray Olson wrote: > Try a permissive pass through of the usb pci device > https://www.qubes-os.org/doc/assigning-devices/
Thanks a lot Gray, there is a lot of new information in the documentation indeed: I went around the problem in a different way, which I describe here for future reference: First open a terminal in your TemplateVM (fedora-23 in my case) and type: > groups if dialout does not appear listed you can either type > sudo gpasswd --add user dialout or > sudo usermod -aG dialout user Either way. it will give you access to the dialout group in order to make use of the /dev/tty* communication devices inside VMs that depend on that Template. But you must restart the Template VM in order to see a change in the output of the command: "> groups", since the groups information is only loaded at login. Finally, it is reported (https://www.qubes-os.org/doc/usb/#attaching-a-single-usb-device-to-a-qube-usb-passthrough) that with Qubes 3.2 it is now possible to give access to any USB device to a VM from dom0. It goes as follows: Assuming that you have not created yet a USB qube (it's a VM usually named: sys-usb) you can create one in two easy steps, by typing in dom0: > qubesctl top.enable qvm.sys-usb > qubesctl state.highstate >From now on your dom0 environment is protected from direct contact with any >USB device and they are directly attached to the sys-usb VM. Now, what you can >do after starting sys-usb, is to transfer the device from that VM to another >one, lets say "work" VM: First identify it from a terminal in dom0, > qvm-usb sys-usb:3-2 2341:0043 Arduino__www.arduino.cc__0043... and then attach it to your ALREADY STARTED "work" VM, >qvm-usb -a work sys-usb:3-2 The final check is to open a terminal in your "work" VM and type in there: > lsusb and > ls -l /dev/ttyACM0 both outputs should tell you that there is a device connected to your VM. Cheers, Javier -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/b0dc60ed-2be9-4c2e-83a1-3bf72bc720f3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
