Feathers, Rangers, and Ivory Towers

About
Musings about open-source, baseball, and life as a grad student.
By: Justin R. Erenkrantz
Subscribe (Atom)
Weblog Home

October
Sun Mon Tue Wed Thu Fri Sat
           
17
         

Themes

Links

Mon, 17 Oct 2005

Ubuntu Breezy breaks my nut.

As I mentioned on archstudio-dev, Ubuntu Breezy (5.10) breaks nut with our Belkin 550VA.

It'll think there is no power and immediately shutdown the system.

This is apparently due to an upstream bug with nut that will be fixed for the upcoming nut 2.0.3.

In the meantime, here's the general idea behind the fix:

  • Fetch the current Testing nut from CVS (the alioth CVS server is slow!)
cvs -d :pserver:anonymous@cvs.alioth.debian.org:/cvsroot/nut co -rTesting nut
  • ./configure (Match the configure args from Ubuntu)
  • cd drivers && make newhidups
  • Add to the end of /etc/hotplug/usb/libhid.usermap :
libhidups      0x0003      0x050d   0x0550   ...the rest is the same...

For the lazy (and those who trust me! ha!), fetch:

Once you have the bits, installation:

[ tell nut to use the newhidups driver ]
edit /etc/nut/upsd.conf to have driver = 'newhidups'
[ copy the newhidups driver ]
sudo cp /lib/nut/newhidups /lib/nut/newhidups.orig
sudo cp newhidups /lib/nut/newhidups
[ Install the nut hotplug scripts into /etc/hotplug/usb ]
cp scripts/hotplug/libhidups /etc/hotplug/usb
chmod +x /etc/hotplug/usb/lidhidups
cp scripts/hotplug/libhid.usermap /etc/hotplug/usb

Voila. nut 2.0.3 knows a lot more about the Belkin protocol than 1.4 did.


Powered by Bloxsom Creative Commons Attribution License Valid XHTML 1.0 Strict! Valid CSS! [Blue Ribbon Campaign icon]