Neebie: Simple Question, USB ports?

Hi all, I'm new to Solaris, What is the equivilent to COM7 for example in Solaris?

My problem is this code:

CService srv =new CService("COM7", 57600,"Samsung","");

This works in Windows Vista, but when I try it in Solaris 10 x86 it says no such port.

I'm running Solaris in VMware's Workstation 6. It has picked up my Samsung SGH-D900 and assigned it to port1.

So my Question's are:

What is the equivilent to COM in Solaris?

How do I find out the specific port that the Samsung is using?

How do I query the modem, as in Windows it was the "AT" command?

Since Samsung don't offer drivers for this phone on Linux, can I still use it as a modem? (I'm trying to check if SMSlib works in Solaris since it has difficulties in Vista)

Cheers and sorry for the easy question, I am new to Solaris and Linux

[980 byte] By [3Pca] at [2007-11-27 6:32:19]
# 1

Hello.

1) Under Solaris the serial ports are named /dev/term/0 to /dev/term/n. Under Linux these ports are named /dev/ttySxx.

2) If you have no driver for an USB device you cannot use it. I do not know much about VMWare. But maybe it is possible to emulate a serial port with a Windows serial port in VMWare (e.g. emulate a on-board serial port using COM7: which is in reality an USB device) so the operating system run by VMWare sees the USB device as serial port and not as USB device.

Martin

Martin_Rosenaua at 2007-7-12 17:57:43 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 2

Kewl so i replaced "COM7" in the code with "/dev/term/a" to give

CService srv = new CService("/dev/term/a", 57600, "Samsung", "");

It now recognises there is a port there but still fails.

In windows I could query the com port with command such as "AT" which would return "OK" if there was a suitable device attached. How can I trigger the same command in Solaris to check the response of a device on a certain port?

VMware doesn't offer anything like mapping a device, only the Host or the Guest may have control of a device.

Cheers for your help so far.

3Pca at 2007-7-12 17:57:43 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...