Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello every body
as you know many laptops have not serial port. in windows there are several software as USB to SERIAL converters that can make a virtual com for other softwares that need serial port is there any thing like those software for linux that install and work easily and with no problem for all distributions.
Just a note of caution from a hardware perspective.
USB to Serial converters sometimes present an interfacing problem on the serial side when taking into account the fact that the device is "simulating" the serial handshake line signals during data communication. This can present timing sequence issues when these devices are used with some serial equipment.
I've used these with no problem. Just plug it in and the kernel knows what to do.
what do you mean ? you mean that this is on all linux distributions by default? because I want to test it on all distributions (debian ,fedora ,desktop ubuntu ,ubuntu server, CentOS)
How can I test that? I mean to see if it is there or not?
which device file should I use in /dev?how can I use it?
how can I test it through minicom?
how can I change its paramiter like baud rate and so on ?
USB serial adapaters will have device IDs beginning with /dev/ttyUSB0.
If your adapter is automatically recognized the modules will load and the device ID will be created so as stated there is nothing special required. However, it depends on the kernel version and adapter chipset (pl2303 and FTDI are probably the most common chipsets). Look at the output of the lsusb command to see the manufacture/chipset information. Some adapters may not be automatically recognized. You can look at the output of the dmesg command to see if your device is recognized.
As stated to test your adapter you can use minicom with a serial loopback plug or connect it to another computer using a NULL modem serial cable. Both computer need to be configured with the same settings i.e. baudrate, parity etc.
I reciently brought a USB/Serial from Digikey to access my "beagleboard" as I'm playing around with small/embeded stuff (not very well I might add, it makes my head hurt doing everything from scratch and source, lol) it worked out of the box.
The numbers are BBC01-ND (serial 9pin female, which obviates the need for a null modem/cable.) and AE10289-ND (USB/serial 9pin Male)
It shows up as ttyUSB0 or ttyUSB1 so i need to occasionally change the minicom setting.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.