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 :-)