on 06/10/2009 01:42 PM Daniel Gracia Garallar wrote the following: > Gender changers can be a nigthmare because, as FAQ mentions, 'that it > plugs doesn't mean it's going to work'. > > If you miss any doc about serial port standards of any of the devices, > then take a multimeter and measure the voltage between pin 7 -if DB25- > or pin 5 -if DB9- and pin 2 of the cable; it should read anything <= > -5 volts. If pin 2 on the wire as negative voltage, the same must be > true for the pin 3 of the UPS. If wire and UPS have negative voltage > on the very same pin, you're missing a 'null-modem' cable: go for it. > > If these values are ok, it's almost sure we're talking about a > software issue. > > > Thanasis escribio': >> on 06/10/2009 12:34 PM Thanasis wrote the following: >>> on 06/10/2009 11:53 AM Daniel Gracia Garallar wrote the following: >>> >>>> Are you running the program with a user with dialer privileges? First, >>>> make sure your account has dialer privileges -is part of dialer >>>> group-. Then Shortcut pins 2 and 3 of your black cable while connected >>>> to the pc, and try on a shell 'cu -l /dev/ttyb'. If serial port is >>>> working, any keyboard stroke should be echoed in screen. >>> Yes it echoes! >>> So /dev/ttyb must the the device for the port. >>> That's one step closer to solve the problem. :-) >>> >>> >>> >> I don't know if that matters, but let me add that the connection between >> the sparc machine's port and the ups' port consists of two cables and a >> gender changer in between, like so: >> On the sun's port side the plug is a DB25 and the other end on the same >> cable in a DB9. This RS232 DB9 is connected through a "gender changer" >> to the UPS' black cable which is DB9 on both ends. >> Gender changer is DB9 male/male: >> http://www.partsdata.co.uk/Gender_changer_2x_DB9_male_K-100.html >> I hope it's clear ... >> >> > OK, here are my measurement results taken at points A and B:
Connection schema: sparc-ttyb :: DB25--DB9 :: (A) "Gender Changer" (B) :: "DB9 black APC cable DB9" :: ups At Point A, measuring the UPS' side, pin 3 (on the G.C.) is positive and reads about 4V over pin 2. At Point A, measuring the UPS' side, pin 5 (on the G.C.) is positive and reads about 10V* over pin 2. At Point B, measuring the SUN's side, pin 2 (on the G.C.) is positive and reads about 9V over pin 3. At Point B, measuring the SUN's side, no voltage between pin 5 and 3 (on the G.C.). At Point B, measuring the SUN's side, pin 5 (on the G.C.) is positive and reads about 10V* over pin 3. (* maybe 12V)

