Hi all, Does anyone know how to set up an APC Back_UPS XS 1500 battery backup? This APC ups works with a USB cable on the PC side connecting to an RJ-45 plug in the back of the ups. I'm using Suse 8.2. The apcupsd that comes with 8.2 does not seem to know how to handle the usb connection. Nor does the PowerChute I downloaded from APC, it only seems to work with serial. I tried installing rpm's from suse ftp for suse 9.0 and 9.1, but they have too many dependencies on 8.2. Does anyone have an rpm for a newer version of apcupsd for suse 8.2? Many thanks, Jim Flanagan linuxjim@jjfiii.com
Hi Jim! On Sun, 27 Feb 2005, Jim Flanagan wrote:
Hi all,
Does anyone know how to set up an APC Back_UPS XS 1500 battery backup? This APC ups works with a USB cable on the PC side connecting to an RJ-45 plug in the back of the ups. I'm using Suse 8.2. The apcupsd that comes with 8.2 does not seem to know how to handle the usb connection. Nor does the PowerChute I downloaded from APC, it only seems to work with serial. I tried installing rpm's from suse ftp for suse 9.0 and 9.1, but they have too many dependencies on 8.2.
Does anyone have an rpm for a newer version of apcupsd for suse 8.2?
I ad the same problem on 9.2 and uninstalled the SuSE rpm and just built it from the source tarball. Sorry cannot help anymore but make sure that you add the option to enable USB to the configure script Sean -- Sean Rima ICQ: 679813 AIM: tcobone Jabber.org: thecivvie Vodafone: +353879120530
-- Jim Flanagan linuxjim@jjfiii.com
Hi Jim!
On Sun, 27 Feb 2005, Jim Flanagan wrote:
Hi all,
Does anyone know how to set up an APC Back_UPS XS 1500 battery backup? This APC ups works with a USB cable on the PC side connecting to an RJ-45 plug in the back of the ups. I'm using Suse 8.2. The apcupsd that comes with 8.2 does not seem to know how to handle the usb connection. Nor does the PowerChute I downloaded from APC, it only seems to work with serial. I tried installing rpm's from suse ftp for suse 9.0 and 9.1, but they have too many dependencies on 8.2.
Does anyone have an rpm for a newer version of apcupsd for suse 8.2?
I ad the same problem on 9.2 and uninstalled the SuSE rpm and just built it from the source tarball. Sorry cannot help anymore but make sure that you add the option to enable USB to the configure script
Sean
I was thinking that compiling was the best way to go. I already downloaded the lates version, but have not built anything before. Now is a good a time as any. I did notice from the apcupsd.com site that one can run 2 or more computers off the same ups, using master/slave mode in apcupsd. I may give that a go, but first things first. Many thnaks, Jim Flanagan linuxjim@jjfiii.com
Hi Jim! On Mon, 28 Feb 2005, Jim Flanagan wrote:
Does anyone know how to set up an APC Back_UPS XS 1500 battery backup? This APC ups works with a USB cable on the PC side connecting to an RJ-45 plug in the back of the ups. I'm using Suse 8.2. The apcupsd that comes with 8.2 does not seem to know how to handle the usb connection. Nor does the PowerChute I downloaded from APC, it only seems to work with serial. I tried installing rpm's from suse ftp for suse 9.0 and 9.1, but they have too many dependencies on 8.2.
Does anyone have an rpm for a newer version of apcupsd for suse 8.2?
I ad the same problem on 9.2 and uninstalled the SuSE rpm and just built it from the source tarball. Sorry cannot help anymore but make sure that you add the option to enable USB to the configure script
Sean
I was thinking that compiling was the best way to go. I already downloaded the lates version, but have not built anything before. Now is a good a time as any.
I did notice from the apcupsd.com site that one can run 2 or more computers off the same ups, using master/slave mode in apcupsd. I may give that a go, but first things first.
I was thinking about this myself as the wife's laptop os also connected as well my my cordless phones :) But she runs windows so will have to find out how to do that Sean -- Sean Rima ICQ: 679813 AIM: tcobone Jabber.org: thecivvie Vodafone: +353879120530
Jim Flanagan wrote:
I was thinking that compiling was the best way to go. I already downloaded the lates version, but have not built anything before. Now is a good a time as any.
Unless you have hiddev support in the kernel, it won't even compile, even with the --enable-usb option -- and for Michael Cooke, the sane reason you can't find an rpm with usb enabled is because that support is currently experimental. I've done a lot of work to find all the stuff I have read, and I agree with any decision not to enable it by default. Enabling experimental support that is flakey is a surefire way to convince people that they would have been just as well off not replacing Winblows -- anyone who wants to use it should do so on his own decision, and at his own risk. However, at the same time a distro author should also include a README to this effect, with instructions on how to enable that support. Jim, you must check the kernel config file in /boot: grep USB_HID /boot/config-<kernel-version> -- if it doesn't occur, you don't have hiddev support. Then, as I noted, it's kernel upgrade time, at which point you may as well do a full upgrade. Even if hid support is available but not enabled in 8.2, you'd still have to recompile the kernel. As Greg Freemyer mentioned in reply to me, 9.0 is now up to 2.4.24 or something with the kernel, and so any device identification issues should be resolved -- I haven't upgraded for a while now, so I wasn't aware of the current kernel version. (And Greg, I don't need a personal copy of your replies.) Given the issues with 9.1 and 9.2 kernels (buggy hiddev.h file in 2.6.5+ kernels), 9.0 would thus seem to be the route to go. Do the kernel upgrades first, then recompile apcupsd, or you might just have to recompile the ups daemon again. You should be able to use a src.rpm from SuSE as your source -- install it, then edit the .spec file by adding --enable-usb to the ./configure line. Alternatively, if you upagraded to 9.1 or 9.2, you could use the SuSE src.rpm .spec file as a guide and create your own apcupsd rpm with whatever is the current apcupsd version on their website (you'd need to edit the source lines as well as add --enable-usb on the configure line, also make any version changes necessary -- there might be a few other changes to the .spec file you'd have to make, but I cannot think of any off the top of my head). Personally, I can't see the logic in hanging anything with such a low bitrate off a USB port, particularly if it's a USB2 port, but lots of folks have USB keyboards which is worse :-) Now, if someone were to make a mobo with a couple or four USB2 -hubs- on it, I might be convinced to change my opinion :-)
Darryl Gregorash wrote:
Personally, I can't see the logic in hanging anything with such a low bitrate off a USB port, particularly if it's a USB2 port, but lots of folks have USB keyboards which is worse :-)
Now, if someone were to make a mobo with a couple or four USB2 -hubs- on it, I might be convinced to change my opinion :-)
My main system has 4 USB ports. However, there's nothing to stop you from buying a hub, to put all the low speed stuff on.
Jim Flanagan wrote:
Hi all,
Does anyone know how to set up an APC Back_UPS XS 1500 battery backup? This APC ups works with a USB cable on the PC side connecting to an RJ-45 plug in the back of the ups. I'm using Suse 8.2. The apcupsd that comes with 8.2 does not seem to know how to handle the usb connection. Nor does the PowerChute I downloaded from APC, it only seems to work with serial. I tried installing rpm's from suse ftp for suse 9.0 and 9.1, but they have too many dependencies on 8.2.
Does anyone have an rpm for a newer version of apcupsd for suse 8.2?
I have an APC USB UPS and it works fine with SuSE 9.2 & 9.1.
Hi all,
Does anyone know how to set up an APC Back_UPS XS 1500 battery backup? This APC ups works with a USB cable on the PC side connecting to an RJ-45 plug in the back of the ups. I'm using Suse 8.2. The apcupsd that comes with 8.2 does not seem to know how to handle the usb connection. Nor does the PowerChute I downloaded from APC, it only seems to work with serial. I tried installing rpm's from suse ftp for suse 9.0 and 9.1, but they have too many dependencies on 8.2.
Does anyone have an rpm for a newer version of apcupsd for suse 8.2?
A much better alternative would be APC's own PowerChute application, it's downloadable from their website. Anders
-- Jim Flanagan linuxjim@jjfiii.com
Hi all,
Does anyone know how to set up an APC Back_UPS XS 1500 battery backup? This APC ups works with a USB cable on the PC side connecting to an RJ-45 plug in the back of the ups. I'm using Suse 8.2. The apcupsd that comes with 8.2 does not seem to know how to handle the usb connection. Nor does the PowerChute I downloaded from APC, it only seems to work with serial. I tried installing rpm's from suse ftp for suse 9.0 and 9.1, but they have too many dependencies on 8.2.
Does anyone have an rpm for a newer version of apcupsd for suse 8.2?
A much better alternative would be APC's own PowerChute application, it's downloadable from their website.
Anders
What does PowerChute do that apcuspd does not do? I did install it, but it won't with usb. Jim Flanagan linuxjim@jjfiii.com
Jim Flanagan wrote:
Hi all,
Does anyone know how to set up an APC Back_UPS XS 1500 battery backup? This APC ups works with a USB cable on the PC side connecting to an RJ-45 plug in the back of the ups. I'm using Suse 8.2. The apcupsd that comes with 8.2 does not seem to know how to handle the usb connection. Nor does the PowerChute I downloaded from APC, it only seems to work with serial. I tried installing rpm's from suse ftp for suse 9.0 and 9.1, but they have too many dependencies on 8.2.
Does anyone have an rpm for a newer version of apcupsd for suse 8.2?
I don't think upgrading to a newer apcupsd version is going to help you. According to both the apcupsd and nut (network UPS tools) websites, you need a kernel 2.4.13 or later to have the necessary USB support available. Further, according to apcupsd, up until 2.4.22, the kernel binds the USB device to the wrong driver (for those using 2.6.5 and later kernels, apcupsd claims there is a defect in hiddev.h which requires upgrading to apcupsd version 3.10.14 or later, but that certainly is not an issue for a default 8.2 installation). The apcupsd website says an upgrade to 2.4.22 kernel is the only solution. For the record, USB UPS support depends on availability of the USB_HIDDEV driver, where HID stands for "human interface device". I'm not at all sure just what a human interface has to do with all this, but both apcupsd and nut require it for such devices. In 9.0, it's compiled into the kernel, but that is only up to 2.4.21, and I'm not sure if 8.2 even uses a 2.4 kernel by default. SuSE may have backported the driver binding issue resolution, but I wouldn't count on it. Someone from SuSE may be able to shed some light on this. All things considered, unless that beast has a RS-232 port on it, I think you have a lot of work in front of you to get it working with your system. First grep /boot/config-<kernel-version> for USB_HID and if you don't find that, you require a complete kernel upgrade. If that is the case, an upgrade to SuSE 9.1 or 9.2 might be easier in the long run (but see the above comment re: 2.6.5+ kernels if you install 9.2 -- I'm not sure which kernel 9.2 does use). See also: http://us1.networkupstools.org/ http://www.apcupsd.com/
On Mon, 28 Feb 2005 07:27:01 -0600, Darryl Gregorash wrote:
Jim Flanagan wrote:
Hi all,
Does anyone know how to set up an APC Back_UPS XS 1500 battery backup? This APC ups works with a USB cable on the PC side connecting to an RJ-45 plug in the back of the ups. I'm using Suse 8.2. The apcupsd that comes with 8.2 does not seem to know how to handle the usb connection. Nor does the PowerChute I downloaded from APC, it only seems to work with serial. I tried installing rpm's from suse ftp for suse 9.0 and 9.1, but they have too many dependencies on 8.2.
Does anyone have an rpm for a newer version of apcupsd for suse 8.2?
I don't think upgrading to a newer apcupsd version is going to help you. According to both the apcupsd and nut (network UPS tools) websites, you need a kernel 2.4.13 or later to have the necessary USB support available. Further, according to apcupsd, up until 2.4.22, the kernel binds the USB device to the wrong driver (for those using 2.6.5 and later kernels, apcupsd claims there is a defect in hiddev.h which requires upgrading to apcupsd version 3.10.14 or later, but that certainly is not an issue for a default 8.2 installation). The apcupsd website says an upgrade to 2.4.22 kernel is the only solution.
For the record, USB UPS support depends on availability of the USB_HIDDEV driver, where HID stands for "human interface device". I'm not at all sure just what a human interface has to do with all this, but both apcupsd and nut require it for such devices. In 9.0, it's compiled into the kernel, but that is only up to 2.4.21, and I'm not sure if 8.2 even uses a 2.4 kernel by default. SuSE may have backported the driver binding issue resolution, but I wouldn't count on it. Someone from SuSE may be able to shed some light on this.
All things considered, unless that beast has a RS-232 port on it, I think you have a lot of work in front of you to get it working with your system. First grep /boot/config-<kernel-version> for USB_HID and if you don't find that, you require a complete kernel upgrade. If that is the case, an upgrade to SuSE 9.1 or 9.2 might be easier in the long run (but see the above comment re: 2.6.5+ kernels if you install 9.2 -- I'm not sure which kernel 9.2 does use).
See also:
If you are going to upgrade kernels based on this one thing, I would go with 9.0, not 9.1 or 9.2 9.0 is very related to 8.2 and just uses newer versions of the same basic kernel/software (2.4.24 kernel IIRC). I believe a lot of people believe the 9.0 release was one of the more stable SUSE releases. 9.1 is very different because of the 2.6.5 kernel and seems like a very strange thing to upgrade to now that 9.2 is out with the more tested 2.6.8 kernel. Neither 9.1 or 9.2 seem as stable to me, and there are definately more things to learn with these distros than with a simple upgrade to 9.0. Me: Impatiently awaiting 9.3 with 2.6.11?? - Am I the first to say it. :-) I know a couple more months most likely. Greg -- Greg Freemyer
On Monday 28 February 2005 7:27 am, Darryl Gregorash wrote:
Jim Flanagan wrote:
Hi all,
Does anyone know how to set up an APC Back_UPS XS 1500 battery backup? This APC ups works with a USB cable on the PC side connecting to an RJ-45 plug in the back of the ups. I'm using Suse 8.2. The apcupsd that comes with 8.2 does not seem to know how to handle the usb connection. Nor does the PowerChute I downloaded from APC, it only seems to work with serial. I tried installing rpm's from suse ftp for suse 9.0 and 9.1, but they have too many dependencies on 8.2.
Does anyone have an rpm for a newer version of apcupsd for suse 8.2?
I don't think upgrading to a newer apcupsd version is going to help you. According to both the apcupsd and nut (network UPS tools) websites, you need a kernel 2.4.13 or later to have the necessary USB support available. Further, according to apcupsd, up until 2.4.22, the kernel binds the USB device to the wrong driver (for those using 2.6.5 and later kernels, apcupsd claims there is a defect in hiddev.h which requires upgrading to apcupsd version 3.10.14 or later, but that certainly is not an issue for a default 8.2 installation). The apcupsd website says an upgrade to 2.4.22 kernel is the only solution.
For the record, USB UPS support depends on availability of the USB_HIDDEV driver, where HID stands for "human interface device". I'm not at all sure just what a human interface has to do with all this, but both apcupsd and nut require it for such devices. In 9.0, it's compiled into the kernel, but that is only up to 2.4.21, and I'm not sure if 8.2 even uses a 2.4 kernel by default. SuSE may have backported the driver binding issue resolution, but I wouldn't count on it. Someone from SuSE may be able to shed some light on this.
All things considered, unless that beast has a RS-232 port on it, I think you have a lot of work in front of you to get it working with your system. First grep /boot/config-<kernel-version> for USB_HID and if you don't find that, you require a complete kernel upgrade. If that is the case, an upgrade to SuSE 9.1 or 9.2 might be easier in the long run (but see the above comment re: 2.6.5+ kernels if you install 9.2 -- I'm not sure which kernel 9.2 does use).
See also:
http://us1.networkupstools.org/ http://www.apcupsd.com/ Thanks for the good info here regarding usb and the kernel. I definitely cant run usb on this box with the existing kernel. I do have a 9.1 box running, and may try to setup a master/slave deal, but the shutdown of my 8.2 server will then rely on the 9.1 box, but both are reliable.
Thanks again, Jim
Thanks for the good info here regarding usb and the kernel. I definitely cant run usb on this box with the existing kernel. I do have a 9.1 box running, and may try to setup a master/slave deal, but the shutdown of my 8.2 server will then rely on the 9.1 box, but both are reliable.
Thanks again,
Jim I have an APC back ups 1000, and had a similar problem. In my case APCUPSD didn't yet have USB support, but when I bought the UPS it was with the understanding that it had a serial interface. It turned out that APC offered a free cable on request that plugged into the same RJ45 jack as the USB cable, but the other end went to a serial port. You could probably get a cable from APC for your UPS to enable serial support, but be forewarned. By
On Tuesday March 1 2005 10:49 am, Jim Flanagan wrote: the time I actually got the cable APCUPSD had USB support so I don't think I ever tried it. Charly Baker
On Sunday 27 February 2005 09:15 pm, Jim Flanagan wrote:
Hi all,
Does anyone know how to set up an APC Back_UPS XS 1500 battery backup? This APC ups works with a USB cable on the PC side connecting to an RJ-45 plug in the back of the ups. I'm using Suse 8.2. The apcupsd that comes with 8.2 does not seem to know how to handle the usb connection. Nor does the PowerChute I downloaded from APC, it only seems to work with serial. I tried installing rpm's from suse ftp for suse 9.0 and 9.1, but they have too many dependencies on 8.2.
Does anyone have an rpm for a newer version of apcupsd for suse 8.2?
Many thanks,
Jim Flanagan linuxjim@jjfiii.com
Not sure about USB. I contacted APC and they sent me a free adapter cable (usb on one end/serial on other) I used there free download software and it worked on SuSE 9.0 and now on 9.1 I have a Backup UPS ES 725VA. It does not have all the fancy features of the more expensive units but it works great. I also use a Backup UPS 420 but APC is not able to handle two UPS on the same system. The smaller unit is used for my USB Hub, Router and modem. -- Russ
On Sun, 27 Feb 2005 23:15:33 -0600, you wrote:
Hi all,
Does anyone know how to set up an APC Back_UPS XS 1500 battery backup? This APC ups works with a USB cable on the PC side connecting to an RJ-45 plug in the back of the ups. I'm using Suse 8.2. The apcupsd that comes with 8.2 does not seem to know how to handle the usb connection. Nor does the PowerChute I downloaded from APC, it only seems to work with serial. I tried installing rpm's from suse ftp for suse 9.0 and 9.1, but they have too many dependencies on 8.2.
Does anyone have an rpm for a newer version of apcupsd for suse 8.2?
Powerchute is crap. Use apcupsd. You're going to need to build from tarball because for no sane reason I cannot (and I've looked) find an rpm built with --enable-usb. That specifically includes the ones from suse. Build the most recent apcupsd (I'm using 3.10.15) with --enable-usb, then make these changes to the default apcupsd.conf file. UPSCABLE smart UPSTYPE usb DEVICE /dev/usb/hiddev0 Note you may need to change the device line. That should do it. Don't make any other changes in the apcupsd.conf file until you're sure you know what you're doing. Mike- -- Mornings: Evolution in action. Only the grumpy will survive. -- Please note - Due to the intense volume of spam, we have installed site-wide spam filters at catherders.com. If email from you bounces, try non-HTML, non-encoded, non-attachments.
participants (9)
-
Anders Norrbring
-
Charly Baker
-
Darryl Gregorash
-
Greg Freemyer
-
James Knott
-
Jim Flanagan
-
Michael W Cocke
-
Russ
-
Sean Rima