Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Proper way of passing usb devices to qemu?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
_______0
Guru
Guru


Joined: 15 Oct 2012
Posts: 521

PostPosted: Fri Jul 05, 2013 10:17 pm    Post subject: Proper way of passing usb devices to qemu? Reply with quote

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
View user's profile Send private message
vaxbrat
Guru
Guru


Joined: 05 Oct 2005
Posts: 578
Location: DC Burbs

PostPosted: Sun Jul 07, 2013 5:22 pm    Post subject: usb group Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum