Re: Do packages built on libusb need rebuilding on libusbx? upsd won't stay connected over usb.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 06/09/2012 07:37 PM, slubman wrote:
> 
> Have you looked to the usb device permission?
> 
> After the latest upgrade I did (kernel, libusbx, systems-tools and a lot of other stuffs), upsd wouldn’t connect.
> 
> But as described on the AUR page, the package must be recompiled, with an addition to the configure command to put the udev rules in the correct directory.
> 
> Cf. http://aur.archlinux.org/packages.php?ID=5379
> 
> Best regards.
> 
> --
> Nicolas D (a.k.a slubman)
> 

Thanks Nicolas,

  Yes, I incorporated that into the PKGBUILD before rebuilding:

build() {
  cd $srcdir/nut-$pkgver
  ./configure --with-user=nut \
    --prefix=/usr \
    --datadir=/usr/share/ups \
    --sysconfdir=/etc/ups \
    --with-group=nut \
    --with-hal \
    --with-usb \
    --with-udev-dir=/etc/udev || return 1

  That looked right, but now doesn't make sense since the rules are in
pkg/lib/udev/rules.d/52-nut-usbups.rules. The new post today to the AUR package
corrects the issue:

"Those udev rules were moved to /usr/lib/udev/rules.d, so
--with-udev-dir=/usr/lib/udev might be a better option."

  That makes sense -- I'll give it a go.

-- 
David C. Rankin, J.D.,P.E.




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux