We use linux. (Ubuntu 9.10) with kernel version 2.6.31-20 as testing machine.( Linux <2.6.31 does not allow the low-speed bulk transfer. Replace the kernel to 2.6.31 or higher )
In Ubuntu 9.10, the driver would automatically be loaded when you plug this device onto it.
You can check the device by followings:
1. Plug the device
2. #dmesg…….
[ 185.844194] usb 3-1: new full speed USB device using uhci_hcd and address 2
[ 186.030486] usb 3-1: configuration #1 chosen from 1 choice
[ 186.471939] cdc_acm 3-1:1.0: This device cannot do calls on its own. It is not a modem.[ 186.472612] cdc_acm 3-1:1.0: ttyACM0: USB ACM device
[ 186.475460] usbcore: registered new interface driver cdc_acm
[ 186.475468] cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
/dev/ttyACM0 is the COM port
/dev/ttyACM0 is the COM port
3. #lsmod grep cdc -> lsmod list the loaded drivers
cdc_acm 16544 0
it means that cdc_acm driver is loaded
it means that cdc_acm driver is loaded
4. and then use minicom (it is a tool similar to super terminals in windows-like environment); in the application we can have command to USB_IO Card.
set COM port to -> /dev/ttyACM0
Baud rate -> 9600
Hardware Flow Control -> Yes (either Yes or No are fine)
If there is no minicom in the machine, you can install it basing on the information of above link.
5. Baud rate=115200
沒有留言:
張貼留言