On Tue, Apr 22, 2008 at 11:15:27AM +0200, Arjen de Korte wrote:
Attached is approx 30 sec of output from the following command:
[...]
/* Get HID notifications on Interrupt pipe first */
/* TODO: cap number of times we check for events? */
while ((evtCount =
John Darrah wrote:
I have determined that the the socket is never created because the program
never reaches dstate_init().
It *must* reach this, otherwise it would never reach the part where it
continuously loops through upsdrv_updateinfo().
[...]
The following is a section of
On Mon, Apr 21, 2008 at 09:36:07AM +0200, Arjen de Korte wrote:
John Darrah wrote:
I have determined that the the socket is never created because the program
never reaches dstate_init().
It *must* reach this, otherwise it would never reach the part where it
continuously loops through
On Mon, Mar 31, 2008 at 09:16:03AM +0200, Arjen de Korte wrote:
John Darrah wrote:
I have determined that the socket is not being created. Even with -
the following is never executed:
upsdebugx(2, dstate_init: sock %s open on fd %d, sockname, sockfd)
With the driver running if did a
The only reference to /var/run/nut in the strace is a
chdir(/var/run/nut).
That's where the driver has just dropped priviledges (line 537 in
drivers/main.c) and just before it sets up the signals (line 540).
Does it create the socket after this this chdir?
Yes, but *way* after that in
On Sat, Mar 29, 2008 at 06:28:38PM +0100, Arjen de Korte wrote:
You may also want to checkout that you didn't do something
weird to the STATEPATH (the directory where this socket is
created). After starting up the driver, you should be able
to see a listening socket being created there.
6 matches
Mail list logo