On 2014/09/10 18:28, Stan Gammons wrote:
> Can't install nut-2.7.1p1 because of libraries
> 
> |library usb-1.0.1.1 not found

Oh, sorry about that - I have an update to libusb1 in my local tree on
the machine I built the package with.

> I didn't fair much better trying to build from ports.  I get this error
> which totally hangs the ssh or console session. Seems like I've seen this
> error before, but can't recall what it is. FTP proxy config error maybe?
> 
> >> Fetch
> ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.35.tar.gz
> Illegal EPRT command
> Illegal PORT command

The simplest way to fix this is to install pcre from packages before
attempting a build.

On 2014/09/10 20:23, Stan Gammons wrote:
> 
> I just noticed this in syslog.
> 
> Sep 10 19:30:10 game /bsd: upd0 detached
> Sep 10 19:30:10 game /bsd: uhidev2 detached
> Sep 10 19:30:15 game /bsd: uhidev2 at uhub3
> Sep 10 19:30:15 game /bsd:  port 1 configuration 1 interface 0 "American
> Power Conversion Smart-UPS 1500 FW:601.3.D USB FW:1.5" rev 1.10/0.06 addr 2
> Sep 10 19:30:15 game /bsd: uhidev2: iclass 3/0, 54 report ids
> Sep 10 19:30:15 game /bsd: upd0 at uhidev2
> Sep 10 19:30:15 game /bsd:
> 
> Looks like it happened a few hours earlier as well.
> 
> cat /var/log/messages |grep detached
> Sep 10 15:20:54 game /bsd: upd0 detached
> Sep 10 15:20:54 game /bsd: uhidev2 detached
> Sep 10 19:30:10 game /bsd: upd0 detached
> Sep 10 19:30:10 game /bsd: uhidev2 detached
> #
> 
> It is a USB driver problem?

Hmm, so upd is still attaching? This suggests that there was a problem
with the boot-config steps I suggested to disable upd..you should have seen
something like this,

ukc> disable upd
336 upd* disabled

and if the disabling was successful, you shouldn't see anything in
'sysctl hw.sensors' relating to upd.

It wouldn't hugely surprise me if there's some conflict between the
upd driver and applications like nut which want to interface with it
directly - unfortunately my APC massively predates USB, and my USB
Liebert is much simpler than the APCs so I don't have a way to replicate
this locally and find out what works and what doesn't.

Reply via email to