Displaying 3 results from an estimated 3 matches for "alarm_init".
2007 May 15
0
Build error
...nut_usb.o ../common/libcommon.a libnuthalmain.a
-L/usr/lib /usr/lib/libusb.so /usr/lib/libhal.so /usr/lib/libdbus-glib-1.so -lnsl /usr/lib/libdbus-1.so /usr/lib/libgobject-2.0.so /usr/lib/libglib-2.0.so
bcmxcp.o: In function `upsdrv_updateinfo':
bcmxcp.c:(.text+0x1f2c): undefined reference to `alarm_init'
bcmxcp.c:(.text+0x1f59): undefined reference to `alarm_set'
bcmxcp.c:(.text+0x20dc): undefined reference to `alarm_commit'
collect2: ld returned 1 exit status
make[1]: *** [hald-addon-bcmxcp_usb] Fel 1
make[1]: Leaving directory `/home/kjell/nut/trunktest/drivers'
make: *** [all-re...
2007 May 23
1
[nut-commits] svn commit r915 - in trunk: . drivers
..._usb bcmxcp_usb.o bcmxcp.o
nut_usb.o ../common/libcommon.a libnuthalmain.a -L/usr/lib
/usr/lib/libusb.so /usr/lib/libhal.so -ldbus-glib-1
/usr/lib/libgobject-2.0.so /usr/lib/libglib-2.0.so -ldbus-1 -lrt
bcmxcp.o: In function `upsdrv_updateinfo':
bcmxcp.c:(.text+0x2c78): undefined reference to `alarm_init'
bcmxcp.c:(.text+0x2cec): undefined reference to `alarm_set'
bcmxcp.c:(.text+0x2f78): undefined reference to `alarm_commit'
collect2: ld returned 1 exit status
make[3]: *** [hald-addon-bcmxcp_usb] Error 1
--
- Charles Lepple
2006 Jun 02
2
NUT shutdown on 'building alarm' (
...) to the 'Alarm 1'
contacts. If the room temperature reaches 35C, the thermostat contacts
close, and the UPS signals 'Building Alarm 1'.
I have browsed the NUT source code, and it appears that the driver itself
can detect this. But it also appears that there is a commented-out
alarm_init() stub function:
drivers/bcmxcp.c
...
bcmxcp_alarm_map[BCMXCP_ALARM_BUILDING_ALARM_1].alarm_desc = "BUILDING_ALARM_1";
...
/* alarm_init(); Alarms are not supported by NUT */
I browsed the docs:
docs/new-drivers.txt:
There is no official list of alarm words as of this wr...