niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » Linux » hardware
USB UPS on Debian
Post new topic   Reply to topic Page 1 of 1 [6 Posts] View previous topic :: View next topic
Author Message
Leslie A Rhorer
*nix forums beginner


Joined: 10 Feb 2005
Posts: 14

PostPosted: Thu Feb 10, 2005 10:16 pm    Post subject: USB UPS on Debian Reply with quote

Hello,

I'm running the Debian Woody distro with the 2.6.10 kernel, and I'm
trying to get a USB UPS working with this server. I have an APC and a
Belkin, or I couyld get some other brand, I suppose. I don't have a spare
serial port. I've tried loading the software which comes from Belkin and
APC as well as apcupsd, but so far no joy. The APC package will not
install. I've tried the RPM package, converting it to Debian, and I've
tried the tarball. Both seem to have problems at one point or other with
Java and/or missing files. Belkin's bulldog software is extrmely easy to
load, and the monitor software come up just fine, but the UPS daemon (upsd)
cannot find the UPS. The docs say to simply specify /dev/usb, which I do,
but /dev/usb is a directory, not a device. Nonetheless, upsd doesn't
complain about the /dev target, but it does say it can't speak with the UPS.
I know the USB port is working at least to some extent, because the kernel
reports the correct UPS type. For example, dmesg shows:

hub 1-0:1.0: port 1, status 0300, change 0003, 1.5 Mb/s
usb 1-1: USB disconnect, address 2
usb 1-1: usb_disable_device nuking all URBs
usb 1-1: unregistering interface 1-1:1.0
drivers/usb/core/file.c: removing 96 minor
drivers/usb/core/file.c: release_usb_class_dev - hiddev0
usb 1-1:1.0: hotplug
usb 1-1: unregistering device
usb 1-1: hotplug
hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x300
uhci_hcd 0000:00:07.2: suspend_hc
uhci_hcd 0000:00:07.2: wakeup_hc
hub 1-0:1.0: state 5 ports 2 chg fffc evt 0002
uhci_hcd 0000:00:07.2: port 1 portsc 01ab,00
hub 1-0:1.0: port 1, status 0301, change 0003, 1.5 Mb/s
hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x301
usb 1-1: new low speed USB device using uhci_hcd and address 3
usb 1-1: skipped 1 descriptor after interface
usb 1-1: new device strings: Mfr=4, Product=20, SerialNumber=0
usb 1-1: default language 0x0409
usb 1-1: Product: Belkin UPS
usb 1-1: Manufacturer: Belkin
usb 1-1: hotplug
usb 1-1: adding 1-1:1.0 (config #1, interface 0)
usb 1-1:1.0: hotplug
usbhid 1-1:1.0: usb_probe_interface
usbhid 1-1:1.0: usb_probe_interface - got id
drivers/usb/core/file.c: looking for a minor, starting at 96
hiddev96: USB HID v1.11 Device [Belkin Belkin UPS] on usb-0000:00:07.2-1
hub 1-0:1.0: state 5 ports 2 chg fffc evt 0002

Does anyone know how I coulkd get one of these UPS units working with
Debian and 2.6.10? I've come across numerous posts on the web, but none
seem to apply completely, and most are way out of date, often referring to
Kernel 2.4 or even 2.2.
Back to top
John-Paul Stewart
*nix forums Guru


Joined: 20 Feb 2005
Posts: 497

PostPosted: Thu Feb 10, 2005 10:40 pm    Post subject: Re: USB UPS on Debian Reply with quote

Leslie A Rhorer wrote:
Quote:
Hello,

I'm running the Debian Woody distro with the 2.6.10 kernel, and I'm
trying to get a USB UPS working with this server. I have an APC and a
Belkin, or I couyld get some other brand, I suppose. I don't have a spare
serial port. I've tried loading the software which comes from Belkin and
APC as well as apcupsd, but so far no joy. The APC package will not
install. I've tried the RPM package, converting it to Debian, and I've
tried the tarball. Both seem to have problems at one point or other with
Java and/or missing files. Belkin's bulldog software is extrmely easy to
load, and the monitor software come up just fine, but the UPS daemon (upsd)
cannot find the UPS.

Ditch the manufacturer-supplied software and install NUT. See
http://www.networkupstools.org/ for info. 'apt-get install nut' to
install it on a Debian system. Works fine with my USB-connected APC
SmartUPS units (although the serial driver offers more features).
Back to top
Leslie A Rhorer
*nix forums beginner


Joined: 10 Feb 2005
Posts: 14

PostPosted: Fri Feb 11, 2005 2:41 am    Post subject: Re: USB UPS on Debian Reply with quote

"John-Paul Stewart" <jpstewart@binaryfoundry.ca> wrote in message
news:berguc.uo9.ln@mail.binaryfoundry.ca...
Quote:
Leslie A Rhorer wrote:
Hello,

I'm running the Debian Woody distro with the 2.6.10 kernel, and I'm
trying to get a USB UPS working with this server. I have an APC and a
Belkin, or I couyld get some other brand, I suppose. I don't have a
spare serial port. I've tried loading the software which comes from
Belkin and APC as well as apcupsd, but so far no joy. The APC package
will not install. I've tried the RPM package, converting it to Debian,
and I've tried the tarball. Both seem to have problems at one point or
other with Java and/or missing files. Belkin's bulldog software is
extrmely easy to load, and the monitor software come up just fine, but
the UPS daemon (upsd) cannot find the UPS.

Ditch the manufacturer-supplied software and install NUT. See
http://www.networkupstools.org/ for info. 'apt-get install nut' to
install it on a Debian system. Works fine with my USB-connected APC
SmartUPS units (although the serial driver offers more features).

I read a bit aboout NUT, but couldn't decipher whether it would work for
me, and more importantly whether the Kernel patches I saw mentioned were
necessary under 2.6.10. I'm not married to either PowerChute or Bulldog,
although I do like Bulldog's network and multiple system capabilities.
Should the port be /dev/usb, /dev/usb/ez0, or /dev/usb/ez1?
Back to top
Leslie A Rhorer
*nix forums beginner


Joined: 10 Feb 2005
Posts: 14

PostPosted: Fri Feb 11, 2005 2:47 am    Post subject: Re: USB UPS on Debian Reply with quote

OK, I've got nut, but I don't have a SmartUPS. Where can I find the
correct syntax for the config file?


"John-Paul Stewart" <jpstewart@binaryfoundry.ca> wrote in message
news:berguc.uo9.ln@mail.binaryfoundry.ca...
Quote:
Leslie A Rhorer wrote:
Hello,

I'm running the Debian Woody distro with the 2.6.10 kernel, and I'm
trying to get a USB UPS working with this server. I have an APC and a
Belkin, or I couyld get some other brand, I suppose. I don't have a
spare serial port. I've tried loading the software which comes from
Belkin and APC as well as apcupsd, but so far no joy. The APC package
will not install. I've tried the RPM package, converting it to Debian,
and I've tried the tarball. Both seem to have problems at one point or
other with Java and/or missing files. Belkin's bulldog software is
extrmely easy to load, and the monitor software come up just fine, but
the UPS daemon (upsd) cannot find the UPS.

Ditch the manufacturer-supplied software and install NUT. See
http://www.networkupstools.org/ for info. 'apt-get install nut' to
install it on a Debian system. Works fine with my USB-connected APC
SmartUPS units (although the serial driver offers more features).
Back to top
Dave {Reply Address in.si
*nix forums beginner


Joined: 10 Mar 2005
Posts: 48

PostPosted: Fri Feb 11, 2005 6:23 am    Post subject: Re: USB UPS on Debian Reply with quote

In message <sXROd.39751$uA.6536@fe1.texas.rr.com>, Leslie A Rhorer wrote:

Quote:
Hello,

I'm running the Debian Woody distro with the 2.6.10 kernel, and I'm
trying to get a USB UPS working with this server. I have an APC and a
Belkin, or I couyld get some other brand, I suppose. I don't have a spare
serial port.
[...]


The USB serial dongles work fine with serial UPS systems, that way you can
ue a standard serial interface and plug it into a USB port. I've got a
couple of APC SmartUPS boxes talking to a Linux system and a Mac by this
means, plus contact-closure Liebert UPS boxes talking to other Mac and
Linux systems.
--
Dave
mail da ve@llondel.org (without the space)
http://www.llondel.org/
So many gadgets, so little time...
Back to top
Markku Kolkka
*nix forums addict


Joined: 25 Feb 2005
Posts: 61

PostPosted: Fri Feb 11, 2005 1:56 pm    Post subject: Re: USB UPS on Debian Reply with quote

Leslie A Rhorer wrote:
Quote:
I read a bit aboout NUT, but couldn't decipher whether it would
work for
me, and more importantly whether the Kernel patches I saw mentioned
were
necessary under 2.6.10.

I have used NUT for a couple of years, never needed any kernel patches.

Quote:
I'm not married to either PowerChute or
Bulldog, although I do like Bulldog's network and multiple system
capabilities. Should the port be /dev/usb, /dev/usb/ez0, or
/dev/usb/ez1?

/dev/usb/hid/hiddev0 (at least on my system, Gentoo Linux with 2.6.10
kernel)

--
Markku Kolkka
markku.kolkka@iki.fi
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [6 Posts] View previous topic :: View next topic
The time now is Fri Jan 09, 2009 9:24 am | All times are GMT
navigation Forum index » *nix » Linux » hardware
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts ftp.debian.org & amd64 packages tanelko Debian 1 Fri Jul 21, 2006 2:10 pm
No new posts Recommend an email program for the debian-user-digest? DJ Hackenbruch Debian 5 Fri Jul 21, 2006 3:20 am
No new posts debian install samba_az Setup 1 Thu Jul 20, 2006 2:05 am
No new posts How do I install a non packaged font in Debian? Angelina Carlton Debian 6 Thu Jul 20, 2006 1:00 am
No new posts debian install with promise tx4310 A B Debian 2 Wed Jul 19, 2006 2:40 pm

Debt Help | Credit Cards | Adverse Credit Remortgage | Myspace Codes | Debt Consolidation
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.2317s ][ Queries: 16 (0.1089s) ][ GZIP on - Debug on ]