Код: Выделить всё
#uname -rp
8.1-RELEASE-p1 i386
Код: Выделить всё
Oct 29 12:02:45 ttys kernel: ugen0.2: <POWERCOM Co.,LTD> at usbus0
Oct 29 12:02:46 ttys root: Unknown USB device: vendor 0x0d9f product 0x0004 bus uhub0
Oct 29 12:02:46 ttys kernel: uhid0: <POWERCOM Co.,LTD HID UPS Battery, class 0/0, rev 1.10/0.01, addr 2> on usbus0
Код: Выделить всё
# usbconfig
ugen0.1: <UHCI root HUB VIA> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen1.1: <UHCI root HUB VIA> at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen2.1: <UHCI root HUB VIA> at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen3.1: <EHCI root HUB VIA> at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
ugen0.2: <HID UPS Battery POWERCOM Co.,LTD> at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON
Код: Выделить всё
#/usr/local/etc/rc.d/nut start
Network UPS Tools - UPS driver controller 2.4.1
Network UPS Tools - PowerCom protocol UPS driver 0.12 (2.4.1)
tcgetattr(/dev/ugen0.2): Inappropriate ioctl for device
Driver failed to start (exit status=1)
/usr/local/etc/rc.d/nut: WARNING: failed precmd routine for nut
Код: Выделить всё
# /usr/local/etc/rc.d/nut start
Network UPS Tools - UPS driver controller 2.4.1
Network UPS Tools - Megatec protocol driver 1.6 (2.4.1)
Serial-over-USB transport layer 0.10
No supported devices found. Please check your device availability with 'lsusb'
and make sure you have an up-to-date version of NUT. If this does not help,
try running the driver with at least 'vendorid' and 'subdriver' options
specified. Please refer to the man page for details about these options
(man 8 megatec_usb).
Please report your results to the NUT user's mailing list
<nut-upsuser@lists.alioth.debian.org>.
Driver failed to start (exit status=1)
/usr/local/etc/rc.d/nut: WARNING: failed precmd routine for nut