2010年6月24日 星期四

在Ubuntu下的Virtualbox的Windows 7使用RS232

有鑑於自己工作上用的東西開始移植到VBox的Win7裡面使用,
所以開始有了一些哩哩摳摳的需求,
今天要用到RS232,上網找了一些資料,
花了些時間終於把它搞定!
有用到的人可以參考一下。
(這篇根本只是自己的小筆記而已 XD)

Host: Ubuntu 10.04 Release
VM: Oracle Virtualbox v3.2.4 r62467
VM Host: Windows 7
原本是找到了一個簡體網站,不過按照裡面設定是沒有成功,
大概是因為裡面是用WinXP設定的關係。
網站:http://blog.csdn.net/ralphsage/archive/2010/05/26/5626014.aspx
總之呢,最後我是找到了VirtualBox Forum的一篇文章才設定完成!
一部份設定跟上面那個網站相同,差別在新增硬體的部分:
WIN7:
From the Action menu select Add legacy hardware.
Select Next, ‘Install the hardware that I manually select from a list’ and Next
Select ‘Ports (COM & LPT)’ and Next
Select ‘Communication Port’ from Standard port types.
Continue with Next and Finish.
In the Device Manager you should now see the COM3 port with a yellow warning icon.
Open Properties for the COM3 port.
Select Advanced from Port Settings.
Choose COM1 from the ‘COM Port Number’ (Ignore the In Use)
In the Resources tab select ‘Set Configuration Manually’ if you see it.
In Windows 7 uncheck ‘Use automatic settings’
Select the configuration that corresponds to the VirtualBox settings as noted – likely configuration 0000.
Close the box and you should be asked to reboot.
After reboot the COM1 port should now be working.
裡面有更詳細的說明,可以點網址過去參考。
網站:http://forums.virtualbox.org/viewtopic.php?f=6&t=23956&p

沒有留言:

張貼留言