[i=s] 本帖最后由 pallana 于 2011-2-12 16:29 编辑 [/i]
USB转串口驱动系统自带的,使用非常方便,自动识别,太方便了。用minicom连接实验箱成功,特发一帖子。实验室的机器只有1G、内存,虚拟机运行慢,而且虚拟机中minicom连接串口有问题。我的笔记本没有串口,使用的是USB转串口。今天来实验室就连接成功了。太高兴了。补充说明:我的系统是Fedora14。
先看成功的提示信息:
Welcome to use 51Board Bootloader for XSBase270 board
Copyright (C) 2002-2006 51Board Co,. Ltd.
Support : http://www.51Board.com
Version : 01.00.03
flash : base=0x00000000, size=0x02000000
Eth port can access, the base address is 0x0c000300
Eth chip is LAN91C111
autoboot in progress, press any key to stop.
Boot delay 2 seconds .
autoboot aborted.
============================ Operation Menu ==========================
[0] ComanndLine mode
[1] View current configuration
[2] Bootp
[3] Download default Kernel (zImage)
[4] Flash Kernel
[5] Download default Filesystem (rootfs.img)
[6] Flash Filesystem
[7] Boot system
[8] Reboot system
[9] Reset to factory default configuration
[a] Set default Kernel filename and Filesystem filename
[b] Set boot delay time
[c] Help(to get a list of commands)
======================================================================
Please enter your selection:
。
================这是分割线================================
下面是我百度搜索的有关帖子,我只建立了设备,配置好了minicom,然后就可以使用了。
linux usb 转 串口
来源: ChinaUnix博客 日期: 2008.11.20 12:49 (共有0条评论) 我要评论
The Linux USB sub-system
How to get USB devices working under Linux
http://www.linux-usb.org/USB-guide/x370.html
USB Serial Converter support
This serial driver supports a wide range of USB to serial adapters. It
also allows communication with the Handspring Visor. You need to turn on
USB Serial Converter support, and then select
whichever of the various particular drivers you need. The
Generic Serial Driver can be used with a wide
range of converters, by specifying the vendor and product ID codes when
you load the USB serial converter module:
insmod usb-serial.o vendor=0xVVVV product-0xPPPP,
where you need to change the VVVV and
PPPP to match your device.
The serial port driver uses a major number of 188. Up to sixteen serial
ports are supported. To create the appropriate device entries, use the
following commands:
mknod /dev/usb/ttyUSB0 c 188 0
mknod /dev/usb/ttyUSB1 c 188 1
mknod /dev/usb/ttyUSB2 c 188 2
mknod /dev/usb/ttyUSB3 c 188 3
mknod /dev/usb/ttyUSB4 c 188 4
mknod /dev/usb/ttyUSB5 c 188 5
mknod /dev/usb/ttyUSB6 c 188 6
mknod /dev/usb/ttyUSB7 c 188 7
mknod /dev/usb/ttyUSB8 c 188 8
mknod /dev/usb/ttyUSB9 c 188 9
mknod /dev/usb/ttyUSB10 c 188 10
mknod /dev/usb/ttyUSB11 c 188 11
mknod /dev/usb/ttyUSB12 c 188 12
mknod /dev/usb/ttyUSB13 c 188 13
mknod /dev/usb/ttyUSB14 c 188 14
mknod /dev/usb/ttyUSB15 c 188 15
You should now be able to plug in a serial device into the adapter,
and use the /dev/usb/ttyUSB0 just as if it were a
normal serial port.
To communicate with the Handspring Visor, you need an additional application
package known as
Pilot-Xfer
. Installation and use of this
package is covered later in this guide.
http://www.linux-usb.org/USB-guide/book1.html
Printer Support
Up
USB Cameras
=========================================
Linux下如何使用USB转串口线?
计算机的串口不能用,怎么与目标板的串口连接呢?
windows下可以用USB转串口线实现,在google上搜索了一下,linux下更简单,连驱动都免装!
测试环境:redhat linux fedora core 4
总结如下:
1. 检查是否存在设备/dev/ttyUSB0,如果没有就建立一个:
mknod /dev/ttyUSB0 c 188 0
以下推理未测试:
如果有多个USB口,可以类推,建立/dev/ttyUSB[1-n],注意从设备号要累加,
如:mknod /dev/ttyUSB[1-n] c 188 [1-n]
2. 启动minicom, 设置串口设备为 /dev/ttyUSB0, 再设置波特率/数据位/停止位,保存为缺省配置df1
3. 重启minicom, 复位目标板,看是否有打印信息?
如果没有请确认:a)USB/串口线没问题,b)确认你使用的USB口是第一个(一个个的试吧,一般电脑不会标示出来)
==========================================
==========================================
==========================================
==========================================
==========================================
==========================================
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/47395/showart_1432431.html
========================依然是分割线===================
原来,Linux有如此方便的功能,考虑到了笔记本的接口少问题。我的信心受到了鼓舞。


cainiaogaofei 于 2010-12-20 10:37:02发表:
我是新手,我要交流,我要赚现金!
shenhao0129 于 2010-12-15 21:59:07发表:
从来没有用过USB无线网卡
奶茶dsk 于 2010-12-15 19:38:26发表:
3# pallana
可以看看无线网卡用的啥模块,手动载入试试,
qq461733578 于 2010-12-15 16:42:35发表:
(q):s
ljq870804 于 2010-12-15 15:57:23发表:
学习啦
Inwind 于 2010-12-15 15:05:37发表:
路过
pallana 于 2010-12-15 11:49:40发表:
。。。。。。。。。。。今天我还发现USB接口的无线网卡也是自动识别的,担心了很久的事情终于解决了。
另外,一个问题。我的笔记本自带了无线网卡,如果我关闭无线网卡电源,那么接入的USB无线网卡也不能使用了,这个问题如何解决呢?楼上的有没有办法?
shenhao0129 于 2010-12-15 11:30:53发表:
早知道我,USB转串口自动是别的