Displaying 13 results from an estimated 13 matches for "ldadd_drivers".
2014 Oct 20
1
[PATCH] missing -lm in drivers/Makefile
...l linkers happy.
Regards,
diff -Naubr nut-2.7.2.old/drivers/Makefile.am nut-2.7.2.new/drivers/Makefile.am
--- nut-2.7.2.old/drivers/Makefile.am 2014-02-27 22:17:32.000000000 +0100
+++ nut-2.7.2.new/drivers/Makefile.am 2014-10-20 15:50:31.000000000 +0200
@@ -171,7 +171,7 @@
tripplite_usb_LDADD = $(LDADD_DRIVERS) $(LIBUSB_LIBS) -lm
bcmxcp_usb_SOURCES = bcmxcp_usb.c bcmxcp.c usb-common.c
-bcmxcp_usb_LDADD = $(LDADD_DRIVERS) $(LIBUSB_LIBS)
+bcmxcp_usb_LDADD = $(LDADD_DRIVERS) $(LIBUSB_LIBS) -lm
blazer_usb_SOURCES = blazer.c blazer_usb.c libusb.c usb-common.c
blazer_usb_LDADD = $(LDADD_DRIVERS) $(LIBUS...
2007 May 20
1
Sweex 1000VA UPS (was: powermust usb)
--- Arjen de Korte <nut+users at de-korte.org> wrote:
>
> > I also did:
> >
> > # ./megatec_usb -DDDDD -x vendor=06da -x mfr=OMRON
> > /dev/usb/hiddev0
>
> Please have a look at 'man 8 megatec_usb' again.
>
> You probably need to specify the '-x vendorid' and
> '-x productid' options
> and most likely, the
2007 May 20
1
Sweex 1000VA UPS (was: powermust usb)
--- Arjen de Korte <nut+users at de-korte.org> wrote:
>
> > I also did:
> >
> > # ./megatec_usb -DDDDD -x vendor=06da -x mfr=OMRON
> > /dev/usb/hiddev0
>
> Please have a look at 'man 8 megatec_usb' again.
>
> You probably need to specify the '-x vendorid' and
> '-x productid' options
> and most likely, the
2007 Nov 20
2
Mustek Powermust 600VA
Hi,
I'm having a hard time configuring a Mustek Powermust 600VA ups to
work via USB with nut. I read somewhere that nut works OK via the
rs232 cable, but unfortunately I don't have a COM port in my computer.
The kernel detects the ups as an Xbox pad :) and loads the xpad
module. I tried running /lib/nut/megatec with different /dev/ttySx but
it displays megatec protocol UPS was not
2024 Nov 02
1
Driver with calls to USB functions not linking
Do your drivers/Makefile.am rules for the resulting new program specify
dependencies to use similar to other USB-capable drivers? e.g.
````
blazer_usb_SOURCES = blazer.c blazer_usb.c $(LIBUSB_IMPL) usb-common.c
blazer_usb_LDADD = $(LDADD_DRIVERS) $(LIBUSB_LIBS) -lm
````
Jim
On Sat, Nov 2, 2024 at 2:30?AM William R. Elliot <bill at wreassoc.com> wrote:
> Hello again all.
>
> I am trying to use USB functions (non-HID) and I get a linker error
> for functions that are in the included usb-common.h file.
>
> Specifica...
2024 Nov 02
1
Driver with calls to USB functions not linking
Hello again all.
I am trying to use USB functions (non-HID) and I get a linker error
for functions that are in the included usb-common.h file.
Specifically, at the start, these functions:
- warn_if_bad_usb_port_filename
- nutusb_open
- is_usb_device_supported
Clearly the headers are there or I don't think the driver would
compile. Can someone point me in the right direction please?
Thank
2007 Jan 23
2
Voltage override in megatec and megatec-over-usb [was: Re: nut-2.0.5 megatec + Online Xanto]
On 1/23/07, Henning Brauer <hb-nut@bsws.de> wrote:
> good new first: the megatec driverin 2.0.5 now works with the Online
> Xanto S3000R here - well, for the very basics.
>
> the UPS has NO way ofidentifying itself. It also does not respond to
> the power ratings query ("F"). I previously used a hacked up fentonups
> driver. This means the driver cannot figure out
2007 Sep 04
1
powercom-usb drriver complie?
...te, megatec_usb.c should really be named serial_usb.c, since
the megatec protocol is dealt with in the megatec.c file.
Something like
> powercom_usb_SOURCES = powercom.c megatec_usb.c libusb.c
> powercom_usb_CFLAGS = $(AM_CFLAGS) $(LIBUSB_CFLAGS) -DMEGATEC_SUBDRV
> powercom_usb_LDADD = $(LDADD_DRIVERS) $(LIBUSB_LDFLAGS)
in Makefile.am. You'll need to run configure again and maybe you need to
make other changes to this file as well. Remember to specify '-x
vendorid=0d9f -x productid=0002' on the startup commandline for the
powercom_usb driver. Please let us know how you get along.
B...
2007 Sep 03
1
Powercom USB UPS is not support
Hi, fellow NUT gurus;
I am having a big issue with our new Powercom Imperial Digital UPS. The
UPS is come with a serial over USB port and plug into the usb port on
the computer. I am having problem to setup our fedora 7 linux machine
talks to the ups. The kernel 2.6.22.1 seems to be able to detect the
ups is plug into one of its usb port. But it just couldn't establish a
connection with
2007 Sep 03
1
Powercom USB UPS is not support
Hi, fellow NUT gurus;
I am having a big issue with our new Powercom Imperial Digital UPS. The
UPS is come with a serial over USB port and plug into the usb port on
the computer. I am having problem to setup our fedora 7 linux machine
talks to the ups. The kernel 2.6.22.1 seems to be able to detect the
ups is plug into one of its usb port. But it just couldn't establish a
connection with
2006 Dec 05
3
megatec over USB - new driver patch
...ard_SOURCES = masterguard.c
-megatec_SOURCES = megatec.c
+megatec_SOURCES = megatec.c megatec_ser.c
metasys_SOURCES = metasys.c
mge_shut_SOURCES = mge-shut.c hidparser.c
mge_utalk_SOURCES = mge-utalk.c
@@ -133,6 +133,10 @@
bcmxcp_usb_CFLAGS = $(AM_CFLAGS) $(LIBUSB_CFLAGS)
bcmxcp_usb_LDADD = $(LDADD_DRIVERS) $(LIBUSB_LIBS)
+megatec_usb_SOURCES = megatec.c megatec_usb.c libusb.c
+megatec_usb_CFLAGS = $(AM_CFLAGS) $(LIBUSB_CFLAGS)
+megatec_usb_LDADD = $(LDADD_DRIVERS) $(LIBUSB_LIBS)
+
# USB-over-serial
newmge_shut_SOURCES = newhidups.c libshut.c libhid.c hidparser.c mge-hid.c
newmge_shut_CFLAGS = $...
2012 Nov 20
2
[PATCH][RFC] OpenUPS driver
...ore_subdriver,
+ &openups_subdriver,
#endif
&mge_subdriver,
#ifndef SHUT_MODE
Index: drivers/Makefile.am
===================================================================
--- drivers/Makefile.am (revision 3782)
+++ drivers/Makefile.am (working copy)
@@ -159,7 +159,7 @@
skel_LDADD = $(LDADD_DRIVERS)
# USB
-USBHID_UPS_SUBDRIVERS = apc-hid.c belkin-hid.c cps-hid.c explore-hid.c \
+USBHID_UPS_SUBDRIVERS = openups-hid.c apc-hid.c belkin-hid.c cps-hid.c explore-hid.c \
liebert-hid.c mge-hid.c powercom-hid.c tripplite-hid.c idowell-hid.c
usbhid_ups_SOURCES = usbhid-ups.c libhid.c libusb.c hid...
2015 Mar 26
2
New snmp-ups subdriver for Huawei
...= snmp-ups.c apc-mib.c baytech-mib.c compaq-mib.c eaton-mib.c \
ietf-mib.c mge-mib.c netvision-mib.c powerware-mib.c raritan-pdu-mib.c \
- bestpower-mib.c cyberpower-mib.c delta_ups-mib.c \
- xppc-mib.c
+ bestpower-mib.c cyberpower-mib.c delta_ups-mib.c xppc-mib.c huawei-mib.c
snmp_ups_LDADD = $(LDADD_DRIVERS) $(LIBNETSNMP_LIBS)
# NEON XML/HTTP
@@ -264,7 +263,7 @@ dist_noinst_HEADERS = apc-mib.h apc-hid.h baytech-mib.h bcmxcp.h \
delta_ups-mib.h nutdrv_qx.h nutdrv_qx_bestups.h nutdrv_qx_blazer-common.h nutdrv_qx_mecer.h \
nutdrv_qx_megatec.h nutdrv_qx_megatec-old.h nutdrv_qx_mustek.h nutdrv_qx_q1...