Date: Fri, 14 Feb 2014 09:22:39 +0100 From: Hans Petter Selasky <hps@bitfrost.no> To: Chris Duffy <cjd@small-tree.com>, freebsd-usb@freebsd.org Subject: Re: Question on Freebsd 9.1, usb interface to a UPSonic CXR 2000 using NUT code. Message-ID: <52FDD24F.40904@bitfrost.no> In-Reply-To: <52FBAF6A.5000304@small-tree.com> References: <52FBAF6A.5000304@small-tree.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 02/12/14 18:29, Chris Duffy wrote: > I have a customer of mine that just bought a > > UPSonic CXR 2000 > > and is trying to connect the usb cable from this UPS > to a Freebsd 9.1 system running the 2.6.5 NUT code. > Freebsd/NUT does not see the device properly. > > I have also been working with the NUT people and > they suggested that I discuss this issue with the freebsd-usb > folks..... > > Here are some command output that the NUT people asked for > and after seeing it, they think it may be a bug on Freebsd > so here I am asking for help :) They also stated that they > had thought that others may have gotten the blazer_usb > driver to work properly on Freebsd but........ > > I deactivated the uhidd stuff since NUT suggested this > in order to get more debug info.... > > > # uhidd -v -u /dev/ugen1.3 > > ugen1.3[0]-> Report descriptor size = 27 > ugen1.3[0]-> Kernel driver is active > ugen1.3[0]-> kernel driver detached! > ugen1.3[0]-> Find IN interrupt ep: 0x81 packet_size=0x8 > > > # /usr/local/libexec/nut/blazer_usb -a UPSonic -u root -DDDD > > 0.000000 debug level is '4' > 0.176793 Checking device (06DA/0005) (/dev/usb//dev/ugen1.3) > 0.183672 - VendorID: 06da > 0.183696 - ProductID: 0005 > 0.183699 - Manufacturer: PPC > 0.183703 - Product: USB UPS > 0.183707 - Serial Number: unknown > 0.183710 - Bus: /dev/usb > 0.183714 Trying to match device > 0.183718 Device matches > 0.183746 Trying megatec protocol... > 0.184566 send: Q1 > 0.423946 read: (239.3 239.3 229.9 027 50.0 2.19 22.8 00000001 > 0.423988 Status read in 1 tries > 0.424000 Supported UPS detected with megatec protocol > 1.455927 send: Unknown error > 1.455973 Permissions problem: Input/output error > > > Network UPS Tools - Megatec/Q1 protocol USB driver 0.09 > (2.6.5-Unversioned directory) > > I have checked all the ownership/permissions on the /dev > related files and confirmed with NUT the proper stuff.... > > Is there something I am missing to support the usb attachment > for UPS driver for this particular UPS? > > Thx for any pointers/help. Hi, For ugenX.Y run: usbdump -i usbusX -f Y -s 65536 -vvv And you will see right away what USB traffic is causing the problem. --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52FDD24F.40904>