Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

UPS recognition

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
atma
n00b
n00b
Posts: 13
Joined: Fri Sep 22, 2006 5:32 pm
Location: Greece, Drama
Contact:
Contact atma
Website

UPS recognition

  • Quote

Post by atma » Thu Oct 26, 2006 3:28 pm

Hello,

I bought a UPS from a local resseler. The name on the box is Guard 1500 I don' t know where it came from, it has software for linux on the box but it's for old kernels. I know that they used software made by the German firm Generex if this can help.

Does anyone know how can I recognize which driver to use in order to make upsmon work with it?

I'm using NUT but I can't find the correct driver. The drivers are aprox. 110 and I can't stand trying them one by one, is there any smarter way to do this? Maybe in some way probing the hardware?


Thank you.
I like Apples!
Top
timeBandit
Bodhisattva
Bodhisattva
User avatar
Posts: 2719
Joined: Fri Dec 31, 2004 1:54 am
Location: here, there or in transit

  • Quote

Post by timeBandit » Fri Oct 27, 2006 12:35 am

If it connects to the host via USB, try cat /proc/bus/usb/devices or lsusb (as root). Either might provide some identifying info to help make a selection (e.g., if the brand was resold from another manufacturer).
Plants are pithy, brooks tend to babble--I'm content to lie between them.
Super-short f.g.o checklist: Search first, strip comments, mark solved, help others.
Top
atma
n00b
n00b
Posts: 13
Joined: Fri Sep 22, 2006 5:32 pm
Location: Greece, Drama
Contact:
Contact atma
Website

  • Quote

Post by atma » Fri Oct 27, 2006 9:20 am

timeBandit wrote:If it connects to the host via USB, try cat /proc/bus/usb/devices or lsusb (as root). Either might provide some identifying info to help make a selection (e.g., if the brand was resold from another manufacturer).
I am not sure if it can connect via USB. I'll try that out though asap!
I like Apples!
Top
atma
n00b
n00b
Posts: 13
Joined: Fri Sep 22, 2006 5:32 pm
Location: Greece, Drama
Contact:
Contact atma
Website

  • Quote

Post by atma » Fri Oct 27, 2006 7:38 pm

nope, not USB :-/

I think I'm a bit fucked up with this..
I like Apples!
Top
timeBandit
Bodhisattva
Bodhisattva
User avatar
Posts: 2719
Joined: Fri Dec 31, 2004 1:54 am
Location: here, there or in transit

  • Quote

Post by timeBandit » Fri Oct 27, 2006 8:19 pm

atma wrote:nope, not USB :-/
That's too bad. So how does it communicate with the host--serial port, Ethernet, ... smoke signals? :wink: I assume it can report its condition to a computer or there's nothing NUT or anything else can do.

Does NUT offer anything like a generic or "dumb" driver? Most UPS status data is just nice-to-have; all you really need is a signal for "batteries exhausted, shut down now." An APC UPS would call this "dumb" signalling mode.

If you can somehow get NUT to respond to at least that, you're not at a total loss.
Plants are pithy, brooks tend to babble--I'm content to lie between them.
Super-short f.g.o checklist: Search first, strip comments, mark solved, help others.
Top
keyson
l33t
l33t
Posts: 830
Joined: Tue Jun 10, 2003 12:36 pm
Location: Sweden

  • Quote

Post by keyson » Sat Oct 28, 2006 8:35 am

Hi.

If it is a 'Inform Guard 1500" you may try the powercom driver.
The smaller 'Guard 625 AP' run with this driver.

Try this ups.conf

Code: Select all

[myups]
       driver = powercom
         port = /dev/ttyS0
        type = KIN1500AP
        desc = "Guard"
        linevoltage = 220
        shutdownArguments={{1,0},y}
If your line voltage is 115 enter this instead of 220.

To make the testing easy start the driver like this.

Code: Select all

 /usr/local/ups/bin/powercom -DD -u root -a myups
It should spit out something like this.
debug level is '2'
Values of arguments:
manufacturer : 'PowerCom'
model name : 'Unknown'
serial number : 'Unknown'
line voltage : '220'
type : 'KP625AP'
number of bytes from UPS: '16'
method of flow control : 'dtr0rts1'
validation sequence: '{{5,0x80},{7,0},{8,0}}'
shutdown arguments: '{{1,0},y}'
frequency calculation coefficients: '{0.000210,0.000209}'
load percentage calculation coefficients: '{6.134300,-0.380800,4.311000,0.181100}'
battery percentage calculation coefficients: '{5.000000,0.326800,-825.000000,4.563900,-835.820007}'
voltage calculation coefficients: '{0.954500,0.000000}'
DTR => 0, RTS => 1
input.frequency: 49.10
output.frequency: 49.10
ups.load: 0.2
battery.charge: (null)
input.voltage: 232.4
output.voltage: 232.4
STATUS: OL
If this work you have to test the shutdown and maybe change the shutdownargument.

Regards
Kjell (Nut developer)
Top
Post Reply

6 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic