[url]http://blog.chinaunix.net/u1/38994/showart_1132963.html[/url]
1. Make sure the virtual machine configured with from vmware console usb controller
Sutdown the virtual machine before config
2. add below line into related <VM Name>.vmx
usb.generic.skipSetConfig = "TRUE"
3. Edit /etc/init.d/mountdevsubfs.sh uncomment below lines near line 42
mkdir -p /dev/bus/usb/.usbfs
domount usbfs "" /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644
ln -s .usbfs/devices /dev/bus/usb/devices
mount --rbind /dev/bus/usb /proc/bus/usb
4. Restart mountdevsubfs.sh
sudo /etc/init.d/mountdevsubfs.sh start
5. Restart vmware service
sudo /etc/init.d/vmware* restart
6. Start Virtual machine
1. Make sure the virtual machine configured with from vmware console usb controller
Sutdown the virtual machine before config
2. add below line into related <VM Name>.vmx
usb.generic.skipSetConfig = "TRUE"
3. Edit /etc/init.d/mountdevsubfs.sh uncomment below lines near line 42
mkdir -p /dev/bus/usb/.usbfs
domount usbfs "" /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644
ln -s .usbfs/devices /dev/bus/usb/devices
mount --rbind /dev/bus/usb /proc/bus/usb
4. Restart mountdevsubfs.sh
sudo /etc/init.d/mountdevsubfs.sh start
5. Restart vmware service
sudo /etc/init.d/vmware* restart
6. Start Virtual machine
本文介绍如何在VMware虚拟机中正确配置USB设备映射。主要步骤包括:确保虚拟机关机并配置USB控制器、编辑相关.vm文件、修改挂载脚本、重启挂载服务及VMware服务等。完成这些配置后,可以实现在虚拟机中使用宿主机的USB设备。
226

被折叠的 条评论
为什么被折叠?



