Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Sep 2018 16:14:34 +0200
From:      Hans Petter Selasky <hps@selasky.org>
To:        =?UTF-8?Q?Gerrit_K=c3=bchn?= <gerrit.kuehn@aei.mpg.de>
Cc:        freebsd-usb@FreeBSD.org
Subject:   Re: nut/apc values sparse after update to 11.2
Message-ID:  <a406815a-2b16-a5a5-0060-61a0aa4dd3ab@selasky.org>
In-Reply-To: <20180903160517.e443ef89ce9564c0fec5122d@aei.mpg.de>
References:  <20180903150854.6bd6052d5c1a8c02e539509d@aei.mpg.de> <f35c8c19-040a-e10e-68ab-31d06170d7ba@selasky.org> <20180903160517.e443ef89ce9564c0fec5122d@aei.mpg.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On 9/3/18 4:05 PM, Gerrit Kühn wrote:
> On Mon, 3 Sep 2018 15:37:18 +0200 Hans Petter Selasky <hps@selasky.org>
> wrote about Re: nut/apc values sparse after update to 11.2:
> 
>> Did you check the permissions for the USB device?
> 
> Yes, they should be fine:
> 
> ---
> # ll /dev/uhid0
> crw-r-----  1 uucp  uucp  0xde Sep  3 15:40 /dev/uhid0
> ---
> 
>> Did you try to re-attach the USB device?
> 
> Yes, doesn't change anything:
> 
> ---
> # dmesg|grep uhid0
> uhid0 on uhub3
> uhid0: <American Power Conversion Smart-UPS 3000 FWUPS 09.3  ID18, class
> 0/0, rev 2.00/1.06, addr 3> on usbus1
> uhid0: detached
> uhid0 on uhub3
> uhid0: <American Power Conversion Smart-UPS 3000 FWUPS 09.3  ID18, class
> 0/0, rev 2.00/1.06, addr 3> on usbus1
> uhid0: detached
> uhid0 on uhub3
> uhid0: <American Power Conversion Smart-UPS 3000 FWUPS 09.3  ID18, class
> 0/0, rev 2.00/1.06, addr 3> on usbus1
> ---
> 
>> What does usbconfig output? Does it detect your device?
> 
> Yes, it does (otherwise it wouldn't work at all, I guess?):
> 
> ---
> # usbconfig|grep American
> ugen1.3: <American Power Conversion Smart-UPS 3000 FWUPS 09.3  ID18> at
> usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (2mA)
> ---
> 
>> Did you try a 11-stable kernel?
> 

Hi,

> No, should I? Running -stable on that machine would be tedious.

What does uname -a tell about your current kernel?

Some debug options for you:

1) ktrace nut/apc

2) usbdump -i usbus1 -f 3 -s 65536 -vvv    --- any ERR= non-zero lines?

3) Have you tried sysutils/apcupsd ?

4) Try booting an 11-stable kernel.

--HPS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a406815a-2b16-a5a5-0060-61a0aa4dd3ab>