/dev/ttyUSB0 PORT

mohan
Dear Sir,

        I am using friendly arm mini2440. Inorder to get /dev/ttyUSB0 port
        what modules to be included in kernel configuration and any other
things to be done. Please help me.


Thanks In advance.

TheRegnirps
Please explain more. If you use a USB to RS232 converter, like PL2303 (the
free one supplied by ARMWorks when asked), it will enumerate in /dev
automatically. What are you trying to do?

viresh
I have same problem.........
I am using a GPRS modem with usb0 port and its shows on /dev/ttyUSB0...
But I want to issue AT command to modem. How I can? help me..

mohan
I'm using USB to RS232 converter like PL2303  but I'm unable to cat
/dev/ttyUSB0  and other end I'm using hyper terminal with 9600 8N1 setting.
 please help

davef
With PL2303 unplugged type demsg on the command line, note the devices
listed, then plug in PL2303 and type demsg again.

What do you see?

Juergen
mohan: First of all:
 - what side of your USB/serial converter is connected to your host?
 - what side of your USB/serial converter is connected to your target?

Using "cat" cannot work, because you need to configure your serial line
(baudrate and so on). Use a serial terminal at both sides.

sundeep
Hi Mohan,

U r Mistake is the baudrate, the mini2440 will communicate at 115200 baud
rate...

mohan
Hi Juergen & Sundeep, thanks for reply

Pls find the details below

USB side is connected to target

serial side is connected to com port of PC

PC->BAFO(serial to usb adapter , not mini adapter)->mini2440

used picocom at mini2440 and hyper terminal on windows side.

Tried with different baud rates 9600 to 115200  using stty -F /dev/ttyUSB0
9600

mohan
Hi,

dmesg output:

usb 1-1: USB disconnect, address 2
pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
pl2303 1-1:1.0: device disconnected
usb 1-1: new full speed USB device using s3c2410-ohci and address 3
usb 1-1: New USB device found, idVendor=067b, idProduct=2303
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 1-1: Product: USB 2.0 To COM Device
usb 1-1: Manufacturer: Prolific Technology Inc.
usb 1-1: configuration #1 chosen from 1 choice
pl2303 1-1:1.0: pl2303 converter detected
usb 1-1: pl2303 converter now attached to ttyUSB0

stty -F /dev/ttyUSB0:

speed 9600 baud; rows 24; columns 80;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
eol2 = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W;
lnext = ^V; flush = ^O; min = 1; time = 0;
-brkint -imaxbel

sometimes i get these messages for "dmesg"

usb 1-1: new full speed USB device using s3c2410-ohci and address 12
usb 1-1: device not accepting address 12, error -62
usb 1-1: new full speed USB device using s3c2410-ohci and address 13
usb 1-1: device not accepting address 13, error -62
hub 1-0:1.0: unable to enumerate USB device on port 1

davef
I would suggest searching for BAFO, even on this site.  I recall people
having problems with this brand.

As you suggested previously, the mini2440 (Supervivi)is set up to
communicate at 115200 baud.

Just a minute ... you are running picocom on the mini2440.  How did you
manage to do that? If you are, have you set it up for the same baudrate as
Hyperterm?

mohan
ya davef,

through telnet I'm able to load picocom and  using same baud rate bothe the
sides.

davef
> through telnet I'm able to load picocom

Interesting, I am not familiar with this process.  I assume you
cross-compiled picocom for Armv4t then?

I checked BAFO on this site and it didn't return anything useful.  Although
one thread suggests a loopback test to verify its operation.  I must have
read the negative comments about some BAFO products on another website.

mohan
sorry davef, using FTP i load picocom the cross complied arm and through
telnet i'm able to use it.

mohan
hi Juergen,

you were asking usb/serial converter. Any Clue from this

usb side to target machine mini2440
serial side to com port of pc.

Please let me known if any suggestion

Juergen
Pin  Regular      Mini2440
       PC
 1
 2     RxD(i)      TxD(o)
 3     TxD(o)      RxD(i)
 4
 5
 6
 7     RTS(o)      CTS(i)
 8     CTS(i)      RTS(o)
 9

(i) input (o) output

Do you see the difference? For what kind of DSUB pinout is your USB/serial
connector made?

sundeep
Hi Mohan,

Fine..u just ping me on k.sundeep2007@gmail.com..will solve the problem ur
facing. For Serial communication no need of running serial
interface(picocom) on arm board.