[Nut-upsuser] tripplite_usb/nut-2.2.1: Driver not connected.

Forest Bond forest at alittletooquiet.net
Fri May 30 15:33:16 UTC 2008


Hi,

On Fri, May 30, 2008 at 09:25:59AM +0200, Arjen de Korte wrote:
> >> No, just remove (or comment out) the call to upsdrv_cleanup() in the
> >> reconnect_ups() function and rebuild the driver. I suspect that this
> >> will solve the problem.
> >
> > This didn't seem to solve the problem (still got a segfault).  Any other
> > ideas?
> 
> It looks like upsdrv_cleanup() is called in other locations in this driver
> too (which is wrong). Remove (or comment out) all these. The only time
> this function needs to be called is when the driver exits, but there is no
> need to do that in the driver code since this will be handled by main.c
> anyway.

Okay, this seems to have solved my problem.  I believe that everything is back
to normal.

Thanks,
Forest
-- 
Forest Bond
http://www.alittletooquiet.net
http://www.pytagsfs.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20080530/09533c20/attachment.pgp 


More information about the Nut-upsuser mailing list