From owner-freebsd-current@FreeBSD.ORG Thu Sep 16 05:47:02 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 22A3E16A4CE for ; Thu, 16 Sep 2004 05:47:02 +0000 (GMT) Received: from cocoa.syncrontech.com (cocoa-sonera3.syncrontech.com [62.71.8.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 420D743D39 for ; Thu, 16 Sep 2004 05:47:00 +0000 (GMT) (envelope-from ari@suutari.iki.fi) Received: from guinness.syncrontech.com (guinness.syncrontech.com [62.71.8.19])i8G5ksWw026653 for ; Thu, 16 Sep 2004 08:46:57 +0300 (EEST) (envelope-from ari@suutari.iki.fi) Received: from coffee (coffee.syncrontech.com [62.71.8.37]) i8G5kpEd092726 for ; Thu, 16 Sep 2004 08:46:52 +0300 (EEST) (envelope-from ari@suutari.iki.fi) Message-ID: <017801c49bb0$913b2ba0$2508473e@sad.syncrontech.com> From: "Ari Suutari" To: References: <035b01c49a2f$641a92a0$2508473e@sad.syncrontech.com> Date: Thu, 16 Sep 2004 08:46:51 +0300 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Scanned-By: MIMEDefang 2.30 (www . roaringpenguin . com / mimedefang) Subject: Re: Usb uhid probed as ugen after upgrade to 5.3-beta X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Sep 2004 05:47:02 -0000 > Hi, > > I have a APC Back-UPS attached to my FreeBSD box via USB. > It was detected as uhid under FreeBSD 4.x. After upgrading > to FreeBSD 5.3 (now BETA4) it is now detected as ugen0, > which makes it impossible to monitor it's state via usb (at least > with the routines in libusbhid). Well, the devices is attached to uhid driver if I turn on USB_DEBUG (and hw.usb.*.debug to 1). I get the following debug messages: kernel: uhub_explore: status change hub=1 port=2 kernel: usbd_new_device bus=0xc163c000 port=2 depth=1 speed=1 kernel: usbd_new_device: adding unit addr=2, rev=110, class=0, subclass=0, protocol=0, maxpacket=8, len=18, speed=1 kernel: usbd_new_device: new dev (addr 2), dev=0xc1841200, parent=0xc1621e00 kernel: usbd_probe_and_attach: trying device specific drivers kernel: usbd_probe_and_attach: no device specific driver found kernel: usbd_probe_and_attach: looping over 1 configurations kernel: usbd_set_config_index: status=0x0001, error=NORMAL_COMPLETION kernel: usbd_set_config_index: (addr 1) cno=2 attr=0xe0, selfpowered=1, power=0 kernel: usbd_set_config_index: set config 1 kernel: uhid0: American Power Conversion Back-UPS CS 350 FW:807.q3.I USB FW:q3, rev 1.10/0.06, addr 2, iclass 3/0 kernel: usbd_do_request: status = 0x0000 Without debug, I get just: kernel: ugen0: American Power Conversion Back-UPS CS 350 FW:807.q3.I USB FW:q3, rev 1.10/0.06, addr 2 Ari S.