星期三, 10月 12, 2011

Virtual Box USB裝置安裝失敗問題

因為一些需要,我的電腦裡面會使用Virtual Box來模擬出一個OS,像是現在許多軟體都還沒有支援Win 7(而且Win 8都已經在試用了)。為此,方便使用一些軟體,我還是在電腦用VB裝了一個XP  OS。

使用Virtual Box我最常遇到的問題是裝置驅動的問題,尤其像是USB熱插拔的裝置,有很多驅動雖然相容XP,但是插入電腦,往往看到Virtual Box沒有反應,或是跳出錯誤,例如:"Usb device with UUID ...... is busy with a previous request. please try again later......"。這樣若需要控制USB裝置的話,有了驅動問題就變得很麻煩。

如果遇到上述問題,可以照以下步驟試試看,可能會有所幫助:

檢查裝置篩選器:
  1. 從VirtualBox清單裝找到虛擬OS,在該OS Icon上點擊右鍵,點選"設定值"。
  2. 在跳出設定值操作清單中,選擇USB
  3. 右邊會出現"USB裝置篩選器",按"從裝置加入篩選器"圖示增加USB裝置,最後按確定。
  4. 再進去虛擬OS後,重新插拔USB裝置,照一般步驟應可成功。

有一部分驅動沒有成功的問題是來自此選項未增加。若還是不成功的話,可以參考以下這篇在VirtualBox論壇的討論串(來源:https://forums.virtualbox.org/viewtopic.php?f=6&t=39104#p176270):

內有提到:
Re: USB not workingPostby nayasis » 24. Feb 2011, 10:14
I've got solution finally... T-T
(It seems like problem of window 7)

1. My Host is window 7 32bit home premium. But, 64bit's solution may be same because problem was caused by USB filtering function of WINDOW 7.
2. first of all, edit your registry
- Open the Windows registry, by clicking on Start > Run and typing regedit
- Navigate to the following location HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Class\{36FC9E60-C465-11CF-8056-444553540000}- In the right hand panel, if the the UpperFilters entry exists, then delete it
3. Install virtualbox USB driver manually.
- Goto folder C:\Program Files\Oracle\VirtualBox\drivers\USB\filter- Click right mouse button on file named VboxUSBMon.inf- Check Install(I) (maybe.. My window is korean so it dose not exact. )
4. Rebooting
5. Unplug your USB memory (or joystick..)
6. Open VirtualBox and Close it rightly.
( it will remove your USB device from VM's seized list. )
7. Plug your USB memory.
8. Open VirtualBox and Run Virtual Machine.
9. Click right mouse button on USB icon placed in status bar which is below VM window.
10. Check USB device what you want to plug in.
11. Enjoy !!


** notice !!
Do not chain your USB device like snake. for example... A usb bridge <- B usb device... and check B usb device in VM. like this...
to use B usb device, you must check A usb bridge first !... it's so complicate..

希望對於類似的問題可以達到幫助。


沒有留言:

張貼留言