Re: ucom(4)

Previous thread: Agenda PEH - Florais Golfinhos - Golfinhos Tour by Instituto Ser Pleno on Saturday, June 12, 2010 - 11:17 am. (1 message)

Next thread: apm(8) life estimate error? by Jona Joachim on Sunday, June 13, 2010 - 7:52 am. (3 messages)
From: Gregory Edigarov
Subject: ucom(4)
Date: Sunday, June 13, 2010 - 7:39 am

Hello,

Today I've bought myself Viewcon USB-to-RS232c adapter cable.
Under OpenBSD it is identifies as:

uplcom0 at uhub1 port 6 "Prolific Technology Inc. USB-Serial
Controller" rev 1.10/3.00 addr 3

however, when I try to connect to any device via the cable, and then
access to it using cu -l /dev/cuaU0, it behaves strangely:
I could see the device receiving  what I type, but I cannot see any
response from the device.

If somebody had any success with this device please let me know.  
-- 
With best regards,
	Gregory Edigarov

From: Gregory Edigarov
Subject: Re: ucom(4)
Date: Sunday, June 13, 2010 - 7:46 am

On Sun, 13 Jun 2010 17:39:00 +0300


may be it is just a bad device? 

-- 
With best regards,
	Gregory Edigarov

From: FRLinux
Subject: Re: ucom(4)
Date: Sunday, June 13, 2010 - 9:33 am

On Sun, Jun 13, 2010 at 3:46 PM, Gregory Edigarov

Have you tried with screen directly ? screen /dev/xxx

Also i'd give it a go with and without parity (look at the man page)

Cheers,
Steph

From: Gregory Edigarov
Subject: Re: ucom(4)
Date: Sunday, June 13, 2010 - 9:53 am

On Sun, 13 Jun 2010 17:33:03 +0100


further investigating the issue I found, that ispeed is somehow got set
to 0:

# stty -f /dev/cuaU0 
ispeed 0 baud; ospeed 9600 baud;
lflags: echoe echoke echoctl
cflags: cs8 -parenb

# stty -f /dev/ttyU0 
ispeed 0 baud; ospeed 9600 baud;
lflags: echoe echoke echoctl
cflags: cs8 -parenb

could there be a reason, and if so how can I change this?

-- 
With best regards,
	Gregory Edigarov

From: Floor Terra
Subject: Re: ucom(4)
Date: Sunday, June 13, 2010 - 9:46 am

On Sun, Jun 13, 2010 at 4:39 PM, Gregory Edigarov

Does "cu -l /dev/ttyU0" work?

Floor


--
Floor Terra <floort@gmail.com>
www: http://brobding.mine.nu/

From: Gregory Edigarov
Subject: Re: ucom(4)
Date: Sunday, June 13, 2010 - 9:55 am

On Sun, 13 Jun 2010 18:46:40 +0200


tried that too, doesn't work either. 



-- 
With best regards,
	Gregory Edigarov

From: Gregory Edigarov
Subject: Re: ucom(4)
Date: Monday, June 14, 2010 - 12:09 am

On Sun, 13 Jun 2010 17:39:00 +0300

Forget about it, it's the cable itself. I've just exchanged it  and
the problem disapear. Sorry for the noise. 

Thank you. 

-- 
With best regards,
	Gregory Edigarov

Previous thread: Agenda PEH - Florais Golfinhos - Golfinhos Tour by Instituto Ser Pleno on Saturday, June 12, 2010 - 11:17 am. (1 message)

Next thread: apm(8) life estimate error? by Jona Joachim on Sunday, June 13, 2010 - 7:52 am. (3 messages)