Re: [qubes-users] how to forward webcam to a VM?
On 08/17/2018 05:08 PM, 'awokd' via qubes-users wrote: > On Fri, August 17, 2018 12:54 pm, Aliaksandr Kavaliou wrote: >> >> Hey Guys! >> after some time i installed Qubes 4.0 and here the usb-proxy goes over the >> grafic icon. But i still can not run my webcam Logitech C920. I attach it >> to the webcam-VM, run the software (tox, but also cheese), but there is no >> device found. > > With some USB devices, I have to assign a spare USB controller (not the > one you're using for the keyboard/mouse!) directly to the VM before they > will work. This is not the best solution because you lose the benefits of > Qubes isolation, but might be the only way. This actually is the best way to go about it as it is both faster and more secure than a usb proxy that passes via dom0. USB controllers short of a very poorly designed one that I don't know about lack any onboard firmware so as long as it is truly separate from your other "Trusted" controllers[1] and has FLR you are good to go. [1] Intel laptops have shared resources for their usb controllers so they aren't really separate. -- 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 qubes-users+unsubscr...@googlegroups.com. To post to this group, send email to qubes-users@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/4cbc18ab-1b8e-58c8-6e84-8d41b8d20158%40gmx.com. For more options, visit https://groups.google.com/d/optout. 0xDF372A17.asc Description: application/pgp-keys
Re: [qubes-users] how to forward webcam to a VM?
On 08/17/18 23:08, awokd wrote: > On Fri, August 17, 2018 12:54 pm, Aliaksandr Kavaliou wrote: > >> >> >> Hey Guys! >> after some time i installed Qubes 4.0 and here the usb-proxy goes over the >> grafic icon. But i still can not run my webcam Logitech C920. I attach it >> to the webcam-VM, run the software (tox, but also cheese), but there is no >> device found. > > With some USB devices, I have to assign a spare USB controller (not the > one you're using for the keyboard/mouse!) directly to the VM before they > will work. This is not the best solution because you lose the benefits of > Qubes isolation, but might be the only way. > > hmm... are there any (good) webcams, which works well with qubes 4? i will try it with a usb controller. -- 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 qubes-users+unsubscr...@googlegroups.com. To post to this group, send email to qubes-users@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/ff56d94b-04d1-6075-9fdf-14f268c65efc%40sozialekunst.eu. For more options, visit https://groups.google.com/d/optout.
Re: [qubes-users] how to forward webcam to a VM?
On Fri, August 17, 2018 12:54 pm, Aliaksandr Kavaliou wrote: > > > Hey Guys! > after some time i installed Qubes 4.0 and here the usb-proxy goes over the > grafic icon. But i still can not run my webcam Logitech C920. I attach it > to the webcam-VM, run the software (tox, but also cheese), but there is no > device found. With some USB devices, I have to assign a spare USB controller (not the one you're using for the keyboard/mouse!) directly to the VM before they will work. This is not the best solution because you lose the benefits of Qubes isolation, but might be the only way. -- 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 qubes-users+unsubscr...@googlegroups.com. To post to this group, send email to qubes-users@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/181088f45648aa0efe0b046fb9fc4576.squirrel%40tt3j2x4k5ycaa5zt.onion. For more options, visit https://groups.google.com/d/optout.
Re: [qubes-users] how to forward webcam to a VM?
On 11/26/17 16:10, Unman wrote: > On Sun, Nov 26, 2017 at 01:04:39PM +0100, evo wrote: >> >> >> Am 26.11.2017 um 00:58 schrieb awokd: >>> On Sat, November 25, 2017 16:46, evo wrote: >>> I have connected a webcam and i see it via lsusb on sys-usb. I also can use it with "cheese" programm on the sys-usb-VM. But how can i forward it to webcam-VM and use it there?? >>> >>> Many webcams can be used over USB proxy. From dom0, enter "qvm-usb" with >>> the webcam connected. You should see a list of available USB devices, >>> including the webcam. From there, you'd enter "qvm-usb -a webcam-VM >>> sys-usb:12.3". Use the correct name for your VM and sys-usb:device >>> identifier for your webcam. >>> >>> See https://www.qubes-os.org/doc/usb/ for more instructions. >>> >>> >> >> >> Hey! Thanks! >> i installed qubes-usb-proxy on the webcam-VM and tried to attach it >> there, but i get this error: "device attach failed: Invalid speed received" >> >> find nothing about such error in the docs. > > Which Qubes version are you using? > > What's the device you are trying to use? > Can you provde more information? > > This is an error that has been reported before and there's an open > ticket on qubes issues. > It seems to be device and circumstance dependent. (e.g an android in > debug mode throws this error but the same device NOT in debug mode > attaches properly.) > Hey Guys! after some time i installed Qubes 4.0 and here the usb-proxy goes over the grafic icon. But i still can not run my webcam Logitech C920. I attach it to the webcam-VM, run the software (tox, but also cheese), but there is no device found. hmm... can somebody help? -- 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 qubes-users+unsubscr...@googlegroups.com. To post to this group, send email to qubes-users@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/7a1a6e71-62d0-7a1c-b05a-4aa2a6d03a7f%40sozialekunst.eu. For more options, visit https://groups.google.com/d/optout.
Re: [qubes-users] how to forward webcam to a VM?
On Friday, December 15, 2017 at 2:19:40 PM UTC-5, evo wrote: > Am 15.12.2017 um 20:11 schrieb awokd: > > On Fri, December 15, 2017 11:13 am, evo wrote: > > > >> so i've tried it, but i get this error by starting webcam-vm after adding > >> the usb-device to it: "libxenlight could not create a new domain > >> "webcam-vm" > >> > >> > >> if i try it one more time, i get: UnicodeDecodeError: ascii codec can't > >> decode byte 0xc3 in position 34: ordinal not in range(128). > >> > >> i've tried all three usb devices that are shown on sys-usb > > > > You are running Qubes 3.2? Not sure what's going on then, that usually > > fixes it for me... > > > > > > > yes, the last version of qubes (3.2) :-/ shot in the dark. what if you use a usb 2.0 port instead of 3.0? or vice versa? -- 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 qubes-users+unsubscr...@googlegroups.com. To post to this group, send email to qubes-users@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/1be7e5bc-1f1d-46e7-9489-a7b12ac1a9f7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [qubes-users] how to forward webcam to a VM?
On Fri, December 15, 2017 11:13 am, evo wrote: > so i've tried it, but i get this error by starting webcam-vm after adding > the usb-device to it: "libxenlight could not create a new domain > "webcam-vm" > > > if i try it one more time, i get: UnicodeDecodeError: ascii codec can't > decode byte 0xc3 in position 34: ordinal not in range(128). > > i've tried all three usb devices that are shown on sys-usb You are running Qubes 3.2? Not sure what's going on then, that usually fixes it for me... -- 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 qubes-users+unsubscr...@googlegroups.com. To post to this group, send email to qubes-users@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/67f30ab5d8061d39d0f6f1b9458559e1.squirrel%40tt3j2x4k5ycaa5zt.onion. For more options, visit https://groups.google.com/d/optout.
Re: [qubes-users] how to forward webcam to a VM?
Am 26.11.2017 um 16:47 schrieb awokd: > On Sun, November 26, 2017 15:13, evo wrote: >> >> >> Am 26.11.2017 um 16:10 schrieb Unman: >>> On Sun, Nov 26, 2017 at 01:04:39PM +0100, evo wrote: > Hey! Thanks! i installed qubes-usb-proxy on the webcam-VM and tried to attach it there, but i get this error: "device attach failed: Invalid speed received" find nothing about such error in the docs. >>> >>> Which Qubes version are you using? >>> >>> What's the device you are trying to use? >>> Can you provde more information? >>> >>> This is an error that has been reported before and there's an open >>> ticket on qubes issues. >>> It seems to be device and circumstance dependent. (e.g an android in >>> debug mode throws this error but the same device NOT in debug mode >>> attaches properly.) >>> >> >> >> i use qubes 3.2 >> and i try to use logitech hd C920 webcam >> >> i found some postings to such kind of error, yes... and it seems to be a >> bug, isn't it? >> >> So there is no chance to solve it? > > Might be fixed in 4.0 or a future version, but as a temporary workaround > for problem USB devices like that you can assign an entire USB controller > to your webcam-VM. It's not as nice because you lose isolation for that > controller but it should work. If you want to try it, unplug all > unnecessary USB devices. Shutdown both webcam-VM and sys-usb. Look in > sys-usb device list for a USB controller, note the number, remove from > selected list. Add it to webcam-VM Devices, and uncheck Include in memory > balancing in Advanced. You might also need to up the initial memory while > you are in here, try 1024 MB. > > Start webcam-VM. Each USB controller only handles some of the USB ports, > so it might be trial and error to find one that handles the empty port you > are plugging the webcam into. Once you figure out which USB port or ports > are now assigned to the webcam-VM, try to avoid plugging anything else > into them besides the webcam. > > thank you! sorry that i answer so late... had no time till now :-/ so i've tried it, but i get this error by starting webcam-vm after adding the usb-device to it: "libxenlight could not create a new domain "webcam-vm" if i try it one more time, i get: UnicodeDecodeError: ascii codec can't decode byte 0xc3 in position 34: ordinal not in range(128). i've tried all three usb devices that are shown on sys-usb -- 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 qubes-users+unsubscr...@googlegroups.com. To post to this group, send email to qubes-users@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/19d48dcf-9a91-09c6-62da-56a450cdff8c%40aliaks.de. For more options, visit https://groups.google.com/d/optout.
Re: [qubes-users] how to forward webcam to a VM?
On Sun, November 26, 2017 15:13, evo wrote: > > > Am 26.11.2017 um 16:10 schrieb Unman: >> On Sun, Nov 26, 2017 at 01:04:39PM +0100, evo wrote: >>> Hey! Thanks! >>> i installed qubes-usb-proxy on the webcam-VM and tried to attach it >>> there, but i get this error: "device attach failed: Invalid speed >>> received" >>> >>> find nothing about such error in the docs. >> >> Which Qubes version are you using? >> >> What's the device you are trying to use? >> Can you provde more information? >> >> This is an error that has been reported before and there's an open >> ticket on qubes issues. >> It seems to be device and circumstance dependent. (e.g an android in >> debug mode throws this error but the same device NOT in debug mode >> attaches properly.) >> > > > i use qubes 3.2 > and i try to use logitech hd C920 webcam > > i found some postings to such kind of error, yes... and it seems to be a > bug, isn't it? > > So there is no chance to solve it? Might be fixed in 4.0 or a future version, but as a temporary workaround for problem USB devices like that you can assign an entire USB controller to your webcam-VM. It's not as nice because you lose isolation for that controller but it should work. If you want to try it, unplug all unnecessary USB devices. Shutdown both webcam-VM and sys-usb. Look in sys-usb device list for a USB controller, note the number, remove from selected list. Add it to webcam-VM Devices, and uncheck Include in memory balancing in Advanced. You might also need to up the initial memory while you are in here, try 1024 MB. Start webcam-VM. Each USB controller only handles some of the USB ports, so it might be trial and error to find one that handles the empty port you are plugging the webcam into. Once you figure out which USB port or ports are now assigned to the webcam-VM, try to avoid plugging anything else into them besides the webcam. -- 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 qubes-users+unsubscr...@googlegroups.com. To post to this group, send email to qubes-users@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/f332a8378521c1a0587a52c1b35ef33f%40elude.in. For more options, visit https://groups.google.com/d/optout.
Re: [qubes-users] how to forward webcam to a VM?
Am 26.11.2017 um 16:10 schrieb Unman: > On Sun, Nov 26, 2017 at 01:04:39PM +0100, evo wrote: >> >> >> Am 26.11.2017 um 00:58 schrieb awokd: >>> On Sat, November 25, 2017 16:46, evo wrote: >>> I have connected a webcam and i see it via lsusb on sys-usb. I also can use it with "cheese" programm on the sys-usb-VM. But how can i forward it to webcam-VM and use it there?? >>> >>> Many webcams can be used over USB proxy. From dom0, enter "qvm-usb" with >>> the webcam connected. You should see a list of available USB devices, >>> including the webcam. From there, you'd enter "qvm-usb -a webcam-VM >>> sys-usb:12.3". Use the correct name for your VM and sys-usb:device >>> identifier for your webcam. >>> >>> See https://www.qubes-os.org/doc/usb/ for more instructions. >>> >>> >> >> >> Hey! Thanks! >> i installed qubes-usb-proxy on the webcam-VM and tried to attach it >> there, but i get this error: "device attach failed: Invalid speed received" >> >> find nothing about such error in the docs. > > Which Qubes version are you using? > > What's the device you are trying to use? > Can you provde more information? > > This is an error that has been reported before and there's an open > ticket on qubes issues. > It seems to be device and circumstance dependent. (e.g an android in > debug mode throws this error but the same device NOT in debug mode > attaches properly.) > i use qubes 3.2 and i try to use logitech hd C920 webcam i found some postings to such kind of error, yes... and it seems to be a bug, isn't it? So there is no chance to solve it? -- 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 qubes-users+unsubscr...@googlegroups.com. To post to this group, send email to qubes-users@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/369c1722-e005-dbde-0f40-69e3da6f1c64%40aliaks.de. For more options, visit https://groups.google.com/d/optout.
Re: [qubes-users] how to forward webcam to a VM?
On Sun, Nov 26, 2017 at 01:04:39PM +0100, evo wrote: > > > Am 26.11.2017 um 00:58 schrieb awokd: > > On Sat, November 25, 2017 16:46, evo wrote: > > > >> I have connected a webcam and i see it via lsusb on sys-usb. I also can > >> use it with "cheese" programm on the sys-usb-VM. But how can i forward > >> it to webcam-VM and use it there?? > > > > Many webcams can be used over USB proxy. From dom0, enter "qvm-usb" with > > the webcam connected. You should see a list of available USB devices, > > including the webcam. From there, you'd enter "qvm-usb -a webcam-VM > > sys-usb:12.3". Use the correct name for your VM and sys-usb:device > > identifier for your webcam. > > > > See https://www.qubes-os.org/doc/usb/ for more instructions. > > > > > > > Hey! Thanks! > i installed qubes-usb-proxy on the webcam-VM and tried to attach it > there, but i get this error: "device attach failed: Invalid speed received" > > find nothing about such error in the docs. Which Qubes version are you using? What's the device you are trying to use? Can you provde more information? This is an error that has been reported before and there's an open ticket on qubes issues. It seems to be device and circumstance dependent. (e.g an android in debug mode throws this error but the same device NOT in debug mode attaches properly.) -- 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 qubes-users+unsubscr...@googlegroups.com. To post to this group, send email to qubes-users@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/20171126151019.dbkgvzv6c4d7g53f%40thirdeyesecurity.org. For more options, visit https://groups.google.com/d/optout.
Re: [qubes-users] how to forward webcam to a VM?
Am 26.11.2017 um 00:58 schrieb awokd: > On Sat, November 25, 2017 16:46, evo wrote: > >> I have connected a webcam and i see it via lsusb on sys-usb. I also can >> use it with "cheese" programm on the sys-usb-VM. But how can i forward >> it to webcam-VM and use it there?? > > Many webcams can be used over USB proxy. From dom0, enter "qvm-usb" with > the webcam connected. You should see a list of available USB devices, > including the webcam. From there, you'd enter "qvm-usb -a webcam-VM > sys-usb:12.3". Use the correct name for your VM and sys-usb:device > identifier for your webcam. > > See https://www.qubes-os.org/doc/usb/ for more instructions. > > Hey! Thanks! i installed qubes-usb-proxy on the webcam-VM and tried to attach it there, but i get this error: "device attach failed: Invalid speed received" find nothing about such error in the docs. -- 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 qubes-users+unsubscr...@googlegroups.com. To post to this group, send email to qubes-users@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/749eed28-62ce-1b8f-9f4f-0ea15852a23a%40aliaks.de. For more options, visit https://groups.google.com/d/optout.
Re: [qubes-users] how to forward webcam to a VM?
On Sat, November 25, 2017 16:46, evo wrote: > I have connected a webcam and i see it via lsusb on sys-usb. I also can > use it with "cheese" programm on the sys-usb-VM. But how can i forward > it to webcam-VM and use it there?? Many webcams can be used over USB proxy. From dom0, enter "qvm-usb" with the webcam connected. You should see a list of available USB devices, including the webcam. From there, you'd enter "qvm-usb -a webcam-VM sys-usb:12.3". Use the correct name for your VM and sys-usb:device identifier for your webcam. See https://www.qubes-os.org/doc/usb/ for more instructions. -- 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 qubes-users+unsubscr...@googlegroups.com. To post to this group, send email to qubes-users@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/c620e8e7708b12d566b387df44f04485%40elude.in. For more options, visit https://groups.google.com/d/optout.
[qubes-users] how to forward webcam to a VM?
Hey! I have connected a webcam and i see it via lsusb on sys-usb. I also can use it with "cheese" programm on the sys-usb-VM. But how can i forward it to webcam-VM and use it there?? greets evo -- 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 qubes-users+unsubscr...@googlegroups.com. To post to this group, send email to qubes-users@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/666c1d91-e8ea-0293-7ec0-e676492610c7%40aliaks.de. For more options, visit https://groups.google.com/d/optout.