I am attempting to get a TrippLite BC PRO 850 interfaced for automatic shutdown (as mentioned in earlier post). Any clues why all the weirdness? - I am running the SuSE-provided software. ps -ef dump: nobody 586 1 0 21:22 ? 00:00:00 /usr/lib/ups/driver/genericups -t 4 /dev/ttyS1 root 593 1 0 21:22 ? 00:00:00 /usr/sbin/upsmon nobody 594 593 0 21:22 ? 00:00:00 /usr/sbin/upsmon - I believe I have the correct RS-232 port, because when the daemon runs, the RTS line swings positive. In other words, something happens. - When I apply plus or minus voltage to the CTD and/or DCD lines in the RS-232 port (pins as documented in generic-ups.txt), nothing happens. The system does not shut down. - There is no doc re pin-out in the TrippLite manual. The following site has some relevant pin-out information: http://www.lugor.org/ups/genpower.txt. But, it disagrees with what I actually measure on the TrippLite. I measure a contact closure between pins 1 and 5 when power fail. But the web site indicates the signal should be on pin 6... - The following diagnostic programs do not provide useful results: alta1:~ # upsc localhost Unable to get variable list - Receive timeout alta1:~ # upsct localhost Unable to connect to localhost - Connection failure: Connection refused - This isn't too useful, either: alta1:~ # upslog localhost - 10 Network UPS Tools upslog 0.45.1 logging status of localhost to - (10s intervals) 20020214 215727 NA NA NA [NA] NA NA 20020214 215749 NA NA NA [NA] NA NA 20020214 215811 NA NA NA [NA] NA NA 20020214 215833 NA NA NA [NA] NA NA 20020214 215855 NA NA NA [NA] NA NA 20020214 215917 NA NA NA [NA] NA NA Looks like I've got problems at both ends. ... Reed, alta@alta-research.com
On Friday 15 February 2002 01:08, alta wrote:
I am attempting to get a TrippLite BC PRO 850 interfaced for automatic shutdown (as mentioned in earlier post). Any clues why all the weirdness?
Hi Reed. I have two TrippLites, which is why I was interested in your problem. I may want to connect mine to shutdown their boxes in the future. I dug around a bit more with Google and came up with this: http://www.exploits.org/nut/library/tripplite.html This supposedly is the schematic of an actual TrippLite shutdown cable. I'm not sure how this compares with the diagram on the other site, but when I look at the diagram the labeling doesn't make any sense. For example, pin 5 on the PC end is SG (signal ground), an unchanging value. Calling it Inverter Shutoff - is a bit unclear. Also, pin 3, PC end, is not ground. It's the send data line (SD). This is somewhat of a an educated guess, but I think that the UPS grounds its pins 5 and/or 6 as appropriate to signal to the PC. Normally, the PC keeps its pins 8 and 1 high via pin 4 through the resistors. The UPS gets its ground on its pin 4. UPS pin 2 gets the shut down signal from the PC when pin 7 goes high. I suspect that the top line labeled ground is actually a serial data line that is uses to send data to the bigger, high priced UPSes, and is not used by small UPS applications. All of the above should be taken with the understanding that I have not actually measured any of this, and nothing I've said is guaranteed. <backpedals furiously> {:^)> Anyway, perhaps this will help. Good luck. -- Regards, Malcolm KMail l.3.1 -- KDE 2.2.2 -- SuSE Linux 7.3 Remove the dots to email me
Malcom ... Good find. I am sending a copy to TrippLite Tech Support for verification. Unlike the previous web site, the cable depicted at the following web site (you provided) seems to match my measurements, and the documentation for genericups 5. http://www.exploits.org/nut/library/tripplite.html The ups software changes the RTS line pin-7 to +12v, and leaves DTR line pin-4 at -12v. Yet the diagram says +V. So, not everything adds up for me. To a computer person, the pin-assignments on the TrippLite (and other UPS units) and associated cables seem rather odd -- evidently not designed by a comphter hardwre person. But then, the computer hardware designers did not use pin-1 as ground, which is an unwritten electronic standard. TrippLite did stick with pin-1 as ground. Now if I could just understand why my computer does not shut down when I simulate contact closures... ... Reed, alta@alta-research.com On Friday 15 February 2002 06:31, you wrote:
On Friday 15 February 2002 01:08, alta wrote:
I am attempting to get a TrippLite BC PRO 850 interfaced for automatic shutdown (as mentioned in earlier post). Any clues why all the weirdness?
Hi Reed.
I have two TrippLites, which is why I was interested in your problem. I may want to connect mine to shutdown their boxes in the future.
I dug around a bit more with Google and came up with this:
http://www.exploits.org/nut/library/tripplite.html
This supposedly is the schematic of an actual TrippLite shutdown cable.
I'm not sure how this compares with the diagram on the other site, but when I look at the diagram the labeling doesn't make any sense. For example, pin 5 on the PC end is SG (signal ground), an unchanging value. Calling it Inverter Shutoff - is a bit unclear.
Also, pin 3, PC end, is not ground. It's the send data line (SD).
This is somewhat of a an educated guess, but I think that the UPS grounds its pins 5 and/or 6 as appropriate to signal to the PC. Normally, the PC keeps its pins 8 and 1 high via pin 4 through the resistors. The UPS gets its ground on its pin 4. UPS pin 2 gets the shut down signal from the PC when pin 7 goes high.
I suspect that the top line labeled ground is actually a serial data line that is uses to send data to the bigger, high priced UPSes, and is not used by small UPS applications.
All of the above should be taken with the understanding that I have not actually measured any of this, and nothing I've said is guaranteed. <backpedals furiously> {:^)>
Anyway, perhaps this will help.
Good luck.
-- Reed White - ALTA RESEARCH - www.alta-research.com Phone: 877-360-2582 - Email: alta@alta-research.com
On Friday 15 February 2002 10:24, alta wrote:
Malcom ...
Good find. I am sending a copy to TrippLite Tech Support for verification. Unlike the previous web site, the cable depicted at the following web site (you provided) seems to match my measurements, and the documentation for genericups 5.
http://www.exploits.org/nut/library/tripplite.html
The ups software changes the RTS line pin-7 to +12v, and leaves DTR line pin-4 at -12v. Yet the diagram says +V. So, not everything adds up for me.
To a computer person, the pin-assignments on the TrippLite (and other UPS units) and associated cables seem rather odd -- evidently not designed by a computer hardware person. But then, the computer hardware designers did not use pin-1 as ground, which is an unwritten electronic standard.
Actually, they did. On the 25 pin connector, pin 1 is ground, but it is frame ground. Signal ground is separate, and is on pin 7. When IBM decided to use a nine pin connector, they had to decide which of the 25 pin connector's signals they could do without. Among others, they dropped frame ground while retaining signal ground. Since signal ground is not always the same as frame ground, it would have been inappropriate to assign it to pin 1. BTW, Tripplite could easily have put those resistors and the diode inside their unit. Of course that would have cost them a few cents more per unit in manufacturing costs--and they wouldn't be able to sell high priced shutdown cables. If I ever do hook my UPSes up, I'll open 'em up and add the components inside if it's at all feasible. Then I'll just use a standard 9 pin extension cable. -- Regards, Malcolm KMail l.3.1 -- KDE 2.2.2 -- SuSE Linux 7.3 Remove the dots to email me
On Friday 15 February 2002 10:24, alta wrote:
Now if I could just understand why my computer does not shut down when I simulate contact closures...
I don't think it's just a contact closure. From the diagram, it looks like you first have to bring pins 1 and 8 high (through the resistors from pin 4), and then bring 1 and/or 8 low to initiate shutdown. I would assume the software would look for the high on 1 and 8 at startup to assure itself that it was really seeing a functioning UPS before it would respond to the pins going low and shut the system down. Is this how you are testing? -- Regards, Malcolm KMail l.3.1 -- KDE 2.2.2 -- SuSE Linux 7.3 Remove the dots to email me
Can someone give me a step-by-step to mount an NTFS hard drive to Suse 7.3?? I'm an idiot. Here's what's in my fstab /dev/hdb7 / ext2 defaults 1 1 /dev/hdb5 /boot ext2 defaults 1 2 /dev/cdrom /media/cdrom auto ro,noauto,user,exec 0 0 devpts /dev/pts devpts defaults 0 0 /dev/fd0 /media/floppy auto noauto,user,sync 0 0 proc /proc proc defaults 0 0 usbdevfs /proc/bus/usb usbdevfs defaults,noauto 0 0 /dev/hda1 /windows/C ntfs ro,noauto,user,umask=022 0 2 /dev/hdb1 /windows/D vfat noauto,user 0 2 /dev/sda4 /media/zip auto noauto,user 0 0 /dev/hdb6 swap swap pri=42 0 0 Tom
participants (5)
-
alta
-
alta
-
M. Clark
-
M. Clark
-
Tom Nielsen