1752614 Members
4710 Online
108788 Solutions
New Discussion юеВ

ioscan for tty

 
SOLVED
Go to solution
Raj_Ranjan
Frequent Advisor

ioscan for tty

Hi,
Can someone please explain me the output of the command in attached file.

If anyone can provide me with some document regarding serial port in hpux.

Thanks
9 REPLIES 9
Torsten.
Acclaimed Contributor

Re: ioscan for tty

These are several serial ports.

#ioscan -funC tty
Class I H/W Path Driver S/W State H/W Type Description
===================================================================
tty 1 1/0/0/0/0 func0 CLAIMED INTERFACE PCI BaseSystem (103c128d)
tty 0 1/0/0/0/1 asio0 CLAIMED INTERFACE PCI Serial (103c1048)
/dev/GSPdiag1 /dev/mux0 /dev/tty0p1
/dev/diag/mux0 /dev/tty0p0 /dev/tty0p2



Without knowing your server model I cannot tell you much more.

What do you want to do?

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!   
Raj_Ranjan
Frequent Advisor

Re: ioscan for tty

server model is L2000. As these servers are in remote location. I want to know what are connected to serial ports and which ports are vacant...
Torsten.
Acclaimed Contributor

Re: ioscan for tty

Would you run "model" on this system to confirm this?

Somehow this does IMHO not match an L-class.

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!   
Raj_Ranjan
Frequent Advisor

Re: ioscan for tty

# model
9000/800/L2000-44
root@demo [/etc]


Torsten.
Acclaimed Contributor

Re: ioscan for tty

I would expect this for a L-class (note the hardware path - depends on GSP model and firmware):

tty 0 0/0/4/0 asio0 CLAIMED INTERFACE PCI Se
rial (103c1048)
/dev/GSPdiag1 /dev/tty0p0
/dev/diag/mux0 /dev/tty0p1
/dev/mux0 /dev/tty0p2

** OR **

tty 0 0/0/4/1 asio0 CLAIMED INTERFACE PCI Ser
ial (103c1048)
/dev/GSPdiag1 /dev/tty0p0
/dev/diag/mux0 /dev/tty0p1
/dev/mux0 /dev/tty0p2


Anyway, 3 serial ports come out of the GSP:

console, UPS connector, modem connector - these are the p0,p1 and p2 ports you can see.

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
Solution

Re: ioscan for tty

Are you really sure you took this ioscan on this L2000?
This looks to me more like a rp7410 or something similar.

Anyway, for what reason you need "vacant" ports?

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!   
Raj_Ranjan
Frequent Advisor

Re: ioscan for tty

Very sorry, Its RP7410. You are correct. But one thing how you can say that so confidently just by seeing the ioscan.

output for rp7410

# ioscan -funC tty
Class I H/W Path Driver S/W State H/W Type Description
===================================================================
tty 1 1/0/0/0/0 func0 CLAIMED INTERFACE PCI BaseSystem (103c128d)
tty 0 1/0/0/0/1 asio0 CLAIMED INTERFACE PCI Serial (103c1048)
/dev/GSPdiag1 /dev/mux0 /dev/tty0p1
/dev/diag/mux0 /dev/tty0p0 /dev/tty0p2


and for L2000

# ioscan -funC tty
Class I H/W Path Driver S/W State H/W Type Description
==================================================================
tty 0 0/0/4/0 asio0 CLAIMED INTERFACE PCI Serial (103c1048)
/dev/GSPdiag1 /dev/mux0 /dev/tty0p1
/dev/diag/mux0 /dev/tty0p0 /dev/tty0p2
tty 1 0/0/5/0 asio0 CLAIMED INTERFACE PCI Serial (103c1048)
/dev/GSPdiag2 /dev/mux1
/dev/diag/mux1 /dev/tty1p1


Thanks,

Rajeev
Torsten.
Acclaimed Contributor

Re: ioscan for tty

This is just experience ... I like to read ioscan's.

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!   
Raj_Ranjan
Frequent Advisor

Re: ioscan for tty

can you please share some with me.