1833783 Members
2704 Online
110063 Solutions
New Discussion

Re: APC UPS ON RP3440

 
SOLVED
Go to solution
Luk Vandenbussche
Honored Contributor

APC UPS ON RP3440

I have a smartUPS 5000 connected to an rp3440.
I installed Powerchute Plus v4.2.3
I connected my cable to the port UPS on my splitter cable.
Which device file do I have to use to be able to communicate with my ups over RS232
11 REPLIES 11
Slawomir Gora
Honored Contributor

Re: APC UPS ON RP3440

Hi,

I think that: /dev/tty0p1
Luk Vandenbussche
Honored Contributor

Re: APC UPS ON RP3440

Can you also provide the minor and major number of the device file you are using
Slawomir Gora
Honored Contributor
Solution

Re: APC UPS ON RP3440

Hi,

try this:

crw--w--w- 1 bin bin 1 0x000100 Nov 5 2001 /dev/tty0p1


Luk Vandenbussche
Honored Contributor

Re: APC UPS ON RP3440

This is not a valid tty for an rp3440
Slawomir Gora
Honored Contributor

Re: APC UPS ON RP3440

Hi,
sorry but I think that on rp3440 you can try:

/dev/tty1p0
/dev/tty1p2
/dev/tty1p4

crw--w--w- 1 bin bin 1 0x010000 Jun 4 20:48 tty1p0
crw--w--w- 1 bin bin 1 0x010200 Jun 4 20:48 tty1p2
crw--w--w- 1 bin bin 1 0x010400 Jun 4 20:48 tty1p4


Luk Vandenbussche
Honored Contributor

Re: APC UPS ON RP3440

I tried the three device files, the answer is still negative. Do you have a working config with an APC ups
Slawomir Gora
Honored Contributor

Re: APC UPS ON RP3440

Hi,

are you sure you have correct cable ?
try plug loop-device in serial port and
use to check if it is working.
Darren Prior
Honored Contributor

Re: APC UPS ON RP3440

Hi Luk,

Take a look at this document: KBRC00015367

regards,

Darren.
Calm down. It's only ones and zeros...
Luk Vandenbussche
Honored Contributor

Re: APC UPS ON RP3440

DOC KBRC00015367 gives a device file, but not the minor and major number. This is important for the configuration.

I am using the smart signalling cable.
Darren Prior
Honored Contributor

Re: APC UPS ON RP3440

Hi Luk,

The major number will be 1, for asio0 (check using lsdev | grep asio0.) Have you tried using insf to create the device file?

Have you tried the loopback method to check that the port works?

regards,

Darren.
Calm down. It's only ones and zeros...
Luk Vandenbussche
Honored Contributor

Re: APC UPS ON RP3440

I used the following device file to solve the problem

crw--w--w- 1 bin bin 1 0x000000 Oct 12 14:01 /dev/tty0p0