Enable usb for virtualbox in ubuntu

Source: Internet
Author: User
In ubuntu, enabling the usb device for virtualbox does not support the usb device by default. you need to manually modify some settings to use it. Modify www.2cto. com1. add common user permissions to the usb device. 1.1 add a user group named usbfs, jim @ jim-laptop :~ $ Su... enable usb for virtualbox in ubuntu. by default, virtualbox does not support usb devices. you need to manually modify some settings to use it. Www.2cto.com 1. change to usb device add common user permissions 1.1 add a user group named usb FS jim @ jim-laptop :~ $ Sudo groupadd usbfs [sudo] password for jim: 1.2 add the current user to the working group www.2cto.com jim @ jim-laptop :~ $ Sudo adduser jim usbfs // here, jim is the logon name of my system [sudo] password for jim: 1.3. get the id of the usb fs group and run the following command: www.2cto.com jim @ jim-laptop :~ $ Cat/etc/group | grep usbfsusbfs: x: 1002: jim, where root 1002 is the id of the usb fs group. 1.4 modify the/etc/fstab File jim @ jim-laptop :~ $ Sudo gedit/etc/fstab add a line of none/proc/bus/usb usbfs devgid = 1002 at the end of the file, devmode = 664 0 0 where devgid = 1002, among them, 1002 is the usb FS group id 1.5 that just now added permissions for/proc/bus/usb. first, Grant all permissions for/proc/bus/usb, that is, everyone can access it. Jim @ jim-laptop :~ $ Sudo chmod 777/proc/bus/usbjim @ jim-laptop :~ $ Then set/proc/bus/usb to the current user, and my current user is jim. Jim @ jim-laptop :~ $ Sudo chown jim/proc/bus/usbjim @ jim-laptop :~ $1.6 restart the computer jim @ jim-laptop :~ $ Sudo reboot must be restarted after modification; otherwise, the modification will not take effect. 2. to obtain the VendorId and ProductId of the usb device, you need to obtain the VendorId and ProductId of the usb device. Both are required for the usb settings of virtualbox. The command and feedback are as follows: jim @ jim-laptop :~ $ VBoxManage list usbhostVirtualBox Command Line Management Interface Version 1.6.2 (C) 2005-2008 Sun Microsystems, Inc. all rights reserved. host USB Devices: UUID: random: 0x0403 (0403) ProductId: 0x6001 (6001) Revision: 4.0 (0400) Manufacturer: ftdiProduct: usb serial converterSerialNumber: ftDZ0DA5Address: /proc/bus/usb/003/002 Current State: Busy UUID: 9cf790af- Outputs: 0x05e3 (05E3) ProductId: 0x1205 (1205) Revision: 1.16 (0116) Manufacturer: GenesysLogicProduct: USB MouseAddress:/proc/bus/usb/001/004 Current State: busy UUID: f34662af-88c0-4790-f6b1-6645a3a35133VendorId: 0x08ff (08FF) ProductId: 0x1600 (1600) Revision: 12.16 (1216) Product: Fingerprint SensorAddress:/proc/bus/usb/002/002 Current State: available note: If you do not have the preceding settings, run BoxManage list usbhost is not displayed. 3. configure virtualbox in virtualbox configuration details/usb, enable the usb controller and usb controller, and then click "add filter from device list" related settings will be automatically added to the filter list. I added two usb devices, one being usb to serial port, and the other being E390's fingerprint reader OK. Now I can use the usb device in guest.
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.