View previous topic :: View next topic |
Author |
Message |
_______0 Guru
Joined: 15 Oct 2012 Posts: 521
|
Posted: Fri Jul 05, 2013 10:17 pm Post subject: Proper way of passing usb devices to qemu? |
|
|
hi,
When I use:
Code: | -usbdevice
host:bus.addr
Pass through the host device identified by bus.addr (Linux only).
host:vendor_id:product_id
Pass through the host device identified by vendor_id:product_id (Linux only).
|
I get:
husb: open /dev/bus/../../: Permission denied
How is this possible? If qemu is supposed to run as user and not as root why can't properly use USB devices?
How to fix this?
thanks |
|
Back to top |
|
|
vaxbrat l33t
Joined: 05 Oct 2005 Posts: 731 Location: DC Burbs
|
Posted: Sun Jul 07, 2013 5:22 pm Post subject: usb group |
|
|
If you aren't running the qemu process as root, but instead as qemu or something else, make sure it's in the usb group in /etc/group. Also check the ownership and permissions of the usb devices you are wanting to use in /dev. You may need to tweak udev rules, etc to open them up and make sure the group ownership is set correctly. |
|
Back to top |
|
|
|