On Saturday 27 November 2004 11:04, Matan Ziv-Av wrote:
> On Sat, 27 Nov 2004, Shlomi Fish wrote:
> > > Did you try the shipped program? Did it work?
> >
> > In any case, I'd rather avoid having to use such a program.
>
> I did not think of using it usually, but if it works, you can at least
> strace it, and see which device files it uses.
>

Yes, right.

> > Sorry, but no attachment is included here. Can you please send it to me
> > in private or place it on a web-server or something?
>
> Sorry, I forgot to attach. It should be attached now.

OK, I compiled and run it on /dev/input/event*. /dev/input/event0 is the 
keyboard. /dev/input/event1 is the mouse. /dev/input/event2 seems to be the 
UPS based on the fact evtest reports:

<<<
Input device name: "Cypress Semiconductor USB to Serial"
>>>

Where /proc/bus/usb/devices says:

<<<
S:  Manufacturer=Cypress Semiconductor
S:  Product=USB to Serial
>>>

However, disconnecting the UPS from the main power supply did not report 
anything there. On the other hand, I did not connect anything else to the UPS 
per Shaul Karl's suggestion, because there are only comm out ports there and 
not any 220V ones.

Regards,

        Shlomi Fish

---------------------------------------------------------------------
Shlomi Fish      [EMAIL PROTECTED]
Homepage:        http://www.shlomifish.org/

Knuth is not God! It took him two days to build the Roman Empire.

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to