Operating System - HP-UX
1748182 Members
3671 Online
108759 Solutions
New Discussion юеВ

Re: USB Serial ports cu on rx2800

 
SOLVED
Go to solution
bigdaddy68
Advisor

USB Serial ports cu on rx2800

Hi,

Is there anything special I need to do to use one of the USB ports on back of rx2800 for a serial terminal session on another system ? On HP-UX 11.31..

There are 2 USB ports and I have each USB to Mini-5 cable plugged into a P2000 disk array controller to configure it.

I see these devices:

/dev/tty0P0
/dev/tty1p0

in /etc/uucp/Devices I have 2 entries:
.
.
Direct tty0p0 - 115200 direct
Direct tty1p0 - 115200 direct

Then I tried using

# TERM=vt100 ; tset
# cu -ltty0p0

it says I get connected however I can't see any characters and the only cmds that work are ~# or ~. to get out..

Can anyone suggest if I am doing this right or if I am off base here ?

Thanks much
bigdaddy68

BigDaddy68
25 REPLIES 25
bigdaddy68
Advisor

Re: USB Serial ports cu on rx2800

..even slower sped of 19200 in /etc/uucp/Devices doesn't seem to work..

BigDaddy68
Steven Schweda
Honored Contributor

Re: USB Serial ports cu on rx2800

I know nothing, but ...

A USB port is not the same as a serial port.
I would not expect "cu" to work with any
random USB device.

Because I know nothing about what's supposed
to be connected to the USB port on a "P2000
disk array controller", whichever model, I'd
probably try reading the manual before I
started connecting cables. And my guess is
that I'd be trying to talk to the thing over
the (Ethernet) network instead of trying to
use its USB interface.

Knowing nothing, my guess would be that
there's some Windows program which knows how
to talk to the USB port on one of these
things. But I know nothing, and I haven't
seen a manual.
Torsten.
Acclaimed Contributor

Re: USB Serial ports cu on rx2800

AFAIK the special driver for windows systems turns this USB connection into a serial port for configuring the P2000 - I assume you cannot do this with a hp-ux system.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Torsten.
Acclaimed Contributor

Re: USB Serial ports cu on rx2800

Just to add - you can configure the array via the web interface. IMHO the best method is via the CLI by using a telnet or SSH connection.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Steven Schweda
Honored Contributor

Re: USB Serial ports cu on rx2800

> AFAIK the special driver for windows
> systems turns this USB connection into a
> serial port for configuring the P2000

No software can turn a "USB connection into a
serial port". A USB port is one thing. A
serial port is a different thing. (And a
"connection" is not a "port".) The "S" in
"USB" does stand for Serial, but that's just
about all that the two things have in common.

> - I assume you cannot do this with a hp-ux
> system.

If you had enough software on an HP-UX
system, then you could probably use a USB
port there to communicate with the USB port
on one of these disk arrays. But you might
need to write most of it yourself.
Torsten.
Acclaimed Contributor

Re: USB Serial ports cu on rx2800

>> No software can turn a "USB connection into a serial port".



Steven, once I connect a P2000 via USB and I load a driver, I get another COM port and access it with any terminal emulator, e.g. reflection, putty (serial), hyperterminal, etc ...


So it works like a "normal" serial port.



You can find the same when using a new Procurve switch, you do the same thing there, connection with a normal USB cable, load the driver and access with a terminal emulator application.


So in fact you "turn the connection into a serial port".



Try it or read about!


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Torsten.
Acclaimed Contributor

Re: USB Serial ports cu on rx2800

See attachment.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Steven Schweda
Honored Contributor

Re: USB Serial ports cu on rx2800

> So in fact you "turn the connection into a
> serial port".

That's like saying that Telnet can "turn a
connection into a serial port". Many things
allow communication, but that doesn't make
them all serial ports.

> So it works like a "normal" serial port.

That doesn't make it a serial port, either.
It might _emulate_ a serial port.

With enough software, many things can emulate
many other things. Without enough software,
dissimilar things stay dissimilar, which is
why merely connecting a couple of USB ports
together is unlikely to do anything useful,
if you were expecting then to act like two
serial ports, which they're not.
Matti_Kurkela
Honored Contributor
Solution

Re: USB Serial ports cu on rx2800

Torsten, that probably means the P2000 has a built-in USB-to-serial adapter. That's a piece of hardware: therefore, Steven's "No software can turn a 'USB connection into a
serial port'" is accurate.

The original poster seems to be trying to use the USB ports on the rx2800 side.

HP-UX has USB support for a very limited range of devices only. As far as I know, this includes only USB hubs, HID devices (keyboards, mice and equivalents) and some mass storage devices.

This seems to be the latest official word on the state of the USB hardware support on HP-UX:
http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c01914764/c01914764.pdf

Looking at the multitude of USB-to-serial adapter drivers existing on Linux, it looks like there is no single "USB-to-serial adapter" standard. (Or if such a standard exists, it doesn't seem to be widely adopted yet.) So I would not expect HP-UX to start handling *all* USB-to-serial adapters on the market. If we're lucky, perhaps HP will support the adapters included in HP's own products, but I wouldn't hold my breath...

MK
MK