Berikut adalah langkah-langkah yang dilakukan :
root@ubuntu:/home/user# uname -a Linux ubuntu 3.2.0-39-generic-pae #62-Ubuntu SMP Wed Feb 27 22:25:11 UTC 2013 i686 i686 i386 GNU/Linux root@ubuntu:/home/user# cat /etc/os-release NAME="Ubuntu" VERSION="12.04.2 LTS, Precise Pangolin" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu precise (12.04.2 LTS)" VERSION_ID="12.04" root@ubuntu:/home/user# uname -a Linux ubuntu 3.2.0-39-generic-pae #62-Ubuntu SMP Wed Feb 27 22:25:11 UTC 2013 i686 i686 i386 GNU/Linux root@ubuntu:/home/user# uname -r 3.2.0-39-generic-pae root@ubuntu:/home/user# usermod -a -G vboxusers user root@ubuntu:/home/user# id user uid=1001(user) gid=1001(user) groups=1001(user),5(tty),20(dialout),128(vboxusers) root@ubuntu:/home/user# groups user user : user tty dialout vboxusers root@ubuntu:/home/user# reboot
Setelah reboot dan login kembali ke OS Ubuntu, disaat kita menjalankan Virtualbox maka kita dapat melihat dan mengakses langsung perangkat USB yang terhubung dengan Host OS melalui menu "Devices -> USB Devices", atau dapat menggunakan perintah berikut ini.
root@ubuntu:/home/user# VBoxManage list usbhost Host USB Devices: UUID: 620c14e1-36e1-4934-8f2c-fd0a16821602 VendorId: 0x090c (090C) ProductId: 0x1000 (1000) Revision: 17.0 (1700) Manufacturer: USB 2.0 Product: USB Flash Drive SerialNumber: AA00000000005421 Address: sysfs:/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-1//device:/dev/vboxusb/002/006 Current State: Busy UUID: 8fc3f426-ca8c-47bb-98cf-476d9bf19440 VendorId: 0x148f (148F) ProductId: 0x7601 (7601) Revision: 0.0 (0000) Manufacturer: MediaTek Product: 802.11 n WLAN SerialNumber: 1.0 Address: sysfs:/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2//device:/dev/vboxusb/002/002 Current State: Available UUID: 17162c07-ab52-4ce6-9af7-4c9a12951b69 VendorId: 0x1c4f (1C4F) ProductId: 0x0003 (0003) Revision: 1.16 (0116) Manufacturer: SIGMACHIP Product: Usb Mouse Address: sysfs:/sys/devices/pci0000:00/0000:00:1d.2/usb8/8-2//device:/dev/vboxusb/008/002 Current State: Busy UUID: da23ee83-2af0-4925-bfcc-65534086a686 VendorId: 0x1c6b (1C6B) ProductId: 0xa223 (A223) Revision: 0.0 (0000) Manufacturer: USB2.0 External Product: Mass Storag Device SerialNumber: 012220327758 Address: sysfs:/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-5//device:/dev/vboxusb/002/003 Current State: Busy root@ubuntu:/home/user# VBoxManage list usbhost | head -19 Host USB Devices: UUID: dc54ee00-314c-493a-bc20-a4407e090c35 VendorId: 0x090c (090C) ProductId: 0x1000 (1000) Revision: 17.0 (1700) Manufacturer: USB 2.0 Product: USB Flash Drive SerialNumber: AA00000000005421 Address: sysfs:/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-1//device:/dev/vboxusb/002/006 Current State: Busy UUID: 5caa972d-2e86-4585-a590-59bc155ba88d VendorId: 0x148f (148F) ProductId: 0x7601 (7601) Revision: 0.0 (0000) Manufacturer: MediaTek Product: 802.11 n WLAN SerialNumber: 1.0
Demikian tutorial singkat ini. Semoga bermanfaat.
Tidak ada komentar:
Posting Komentar