Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Feb 2009 10:36:53 +0100
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        Noriyoshi Kawano <bowie@nrik.jp>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: USB2 & apcupsd
Message-ID:  <200902141036.54246.hselasky@c2i.net>
In-Reply-To: <86eiy1iv3x.wl%bowie@nrik.jp>
References:  <86y6wbf2nc.wl%bowie@nrik.jp> <86fxihiwn2.wl%bowie@nrik.jp> <86eiy1iv3x.wl%bowie@nrik.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 14 February 2009, Noriyoshi Kawano wrote:
> Hi, Hans.
>
> I'm sorry. dmesg of the former email disabled apcupsd.
> dmesg which enabled apcupsd is follows.

Hi,

As long as you don't see ugenX.Y attach/detach messages, it means that the 
Apcupsd daemon is doing something. Probably it is the "usb_link_check()" 
procedure that is executing and the connection is reset by the following 
code:

      if (my_data->fd) {
         usb_reset(my_data->fd);
/* XXX: usb_close() not needed according to libusb0.1 refdocs */
	usb_close(my_data->fd);  

Could you enable debugging in Apcupsd ?

What speed is your device reported like by usbconfig ?

--HPS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902141036.54246.hselasky>