A
A
Alex90912014-06-23 18:25:46
DVD
Alex9091, 2014-06-23 18:25:46

Non-standard use of a DVD drive for physical activities. How?

Gentlemen, good afternoon.
Such situation: the small organization, workstations <10, there is a server with the connected "managed" UPS. However, this "controllability" is not quite controllability. It can turn off the server systematically, but turning it on is a big problem. And in order to start the server, it takes one human finger to press the UPS button.
At one point, everything got tired and, since there was no proper funding, we decided to build crutches and assembled a mini PC with an old DVD drive on board. What does this mean: the light is detected in the office, the mini PC is turned on and the DVD drive is opened by a remote command via SSH, respectively, presses the UPS power button. But, we ran into a problem.
How can I remake or re-equip the opticala drive so that when it stumbles directly on the UPS button, it doesn't go crazy back and forth ? That is, each drive has such a "nano-disease" that if something prevents it from completely getting out, it starts hysterically chasing back and forth, but in our situation this is not good. You just need the drive to drive to a certain support by pressing the UPS power button, then drive back.
The script itself is written in such a way that it remains open for 2 seconds and then the tray closes.
Hardware/software is:
* UPS: Ion V-1000 (without LCD);
* Software from UPS: ViewPower v2.11;
* regular PC with Windows XP operating system on board;
* and a regular DVD drive connected via a SATA II cable.
Just in case, the script (used by nircmd ):

:: open our cd-rom
nircmd cdrom open e:

:: okay, timout in 2 seconds
ping -n 3 localhost>Nul

:: close our cd-rom
nircmd cdrom close e:

Thank you very much in advance for any answer/advice,
your budding IT mediocrity guys.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
OvLab, 2014-06-23
@OvLab

Some complex structure. It can still lead the wires from the button to the relay contacts, which will turn on by itself for 1 second when electricity is supplied or on command from the same mini PC via SSH through a simple interface, COM port, for example.
As a matter of fact, the DVD itself only pushes the lid back when an obstacle is detected. Subsequent attempts to open are caused by software commands. Maybe reduce the timeout so that the command to close coincides with the collision with the button?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question