LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 08-19-2017, 06:19 PM   #1
end
Member
 
Registered: Aug 2016
Posts: 266

Rep: Reputation: Disabled
qemu run usbdevice as non root


hi

im trayng run usb wireless adapter with qemu but only works as root. how to run as normal user. i try create rule in udev even after restart not working.

Code:
KERNEL=="1-4",SUBSYSTEM=="usb", ATTR{idVendor}=="2001",ATTR{idProduct}=="3308", MODE="0660" OWNER="me" GROUP="users"
Code:
udevadm trigger
udevadm control --reload
Code:
qemu-system-x86_64 -hda ~/vm/image -m 1G -usb -device usb-host,vendorid=x0x2001,productid=0x3308
thanks

Last edited by end; 08-20-2017 at 06:12 PM.
 
Old 09-01-2017, 02:35 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,980

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
Gee, sorry this sat there for so long.

Guess telling us your distro may help to start.

See the long list of ideas on this. https://wiki.archlinux.org/index.php/QEMU

They have some things that may be related or directly related to your issue but not described as such.
 
1 members found this post helpful.
Old 09-03-2017, 09:43 AM   #3
end
Member
 
Registered: Aug 2016
Posts: 266

Original Poster
Rep: Reputation: Disabled
im using arch host and vm. virtual machine will be firewall so i dont whant run it as root, but i canot figur out have to do this.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can embedded linux be run on qemu ? abhishek564 Linux - Mobile 6 12-27-2010 03:14 AM
can embedded linux be run on qemu ? abhishek564 Linux - Embedded & Single-board computer 1 12-17-2010 04:53 AM
Run ipcop inside qemu HaroldBalta Linux - Software 1 06-07-2009 01:19 AM
How can I run Slackware with QEMU on Windows? asilentmurmur Slackware 2 10-29-2008 12:59 PM
Can't run belenix on qemu eantoranz Linux - Software 7 03-07-2008 05:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 02:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration