Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I wrote a Java application that connects to the serial port of the GSM modem. On Windows the serial ports have names like COM3, but in Linux Redhat 6.0 I had to switch to something like ttySx (X is number that came after S in /dev/ directory). When I plug my modem in to Linux there are no serial entries in /dev (just ttyUSBx), but on Windows it works fine. What am I doing wrong?

share|improve this question
add comment

1 Answer

Well, those (ttyUSB{0..2}) are the serial devices and are the ones you want your application to use.

share|improve this answer
    
I used these (ttyUSB{0..2}) but it does not work either –  danarj Oct 3 '12 at 9:33
3  
Please update your question with information on how exactly it does not work (what, you're trying to do, what you're expecting and what you're seeing) –  Stephane Chazelas Oct 3 '12 at 10:06
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.