[Nut-upsuser] Eco Eclipse 1600 connects via USB put does not put out any data:
Stefan Schumacher
stefanschumacheratwork at gmail.com
Fri Jul 12 22:18:41 BST 2024
Please ignore the last posting, I already found out that I had to
install pkg-config. Now usb-hid builds correctly and I will test it
tomorrow.
Cheers
Stefan
Am Fr., 12. Juli 2024 um 23:09 Uhr schrieb Stefan Schumacher
<stefanschumacheratwork at gmail.com>:
>
> Hi
> I have installed the following libraries in Debian 12.
>
> ii libusb-0.1-4:amd64 2:0.1.12-32
> amd64 userspace USB programming library
> ii libusb-1.0-0:amd64 2:1.0.26-1
> amd64 userspace USB programming library
> ii libusb-1.0-0-dev:amd64 2:1.0.26-1
> amd64 userspace USB programming library development files
> ii libusb-1.0-doc 2:1.0.26-1
> all documentation for userspace USB programming
>
> But when I try configure with :
> ./configure --with-libsystemd --with-user=nut --with-group=nut --with-usb
>
> I only get the following output. Do I need another version of libusb?
> Its version 1.0 and the dev files are there. Normally it should work,
> shouldn't it?
>
> configure: can not check libusb settings via pkg-config
> checking for libusb-config... no
> checking for libusb preferred version... none
> configure: WARNING: Defaulting libusb configuration
> checking for libusb cflags...
> checking for libusb ldflags... -lusb
> checking for usb.h... no
> checking for usb_init... no
> configure: error: USB drivers requested, but libusb not found.
>
>
> Yours
> Stefan
>
> Am Sa., 6. Juli 2024 um 19:57 Uhr schrieb Greg Troxel via Nut-upsuser
> <nut-upsuser at alioth-lists.debian.net>:
> >
> > Stefan Schumacher via Nut-upsuser <nut-upsuser at alioth-lists.debian.net>
> > writes:
> >
> > > Thanks for the info. Nut runs on bare metal, there is no
> > > virtualization layer. I will have a look at the github post after
> > > writing this post. I have compiled and installed nut 2.8.2 as
> > > suggested. But now I am confused: Where is the usb-hid driver, which I
> > > used in Nut 2.8.0? Does one need to pass a special flag to configure
> > > to build it?
> >
> > My memory is that nut builds things if the prereqs are present.
> >
> > so
> >
> > ./configure --help
> >
> > and when you run configure, save stdout/stderr and read it. especially
> > around building usb, and having the libusb1 libs present.
> >
> > _______________________________________________
> > Nut-upsuser mailing list
> > Nut-upsuser at alioth-lists.debian.net
> > https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser
More information about the Nut-upsuser
mailing list