From owner-freebsd-usb@FreeBSD.ORG Wed Aug 24 02:57:57 2005 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 68FF816A41F for ; Wed, 24 Aug 2005 02:57:57 +0000 (GMT) (envelope-from jpandrusky@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id E8C7A43D49 for ; Wed, 24 Aug 2005 02:57:56 +0000 (GMT) (envelope-from jpandrusky@gmail.com) Received: by wproxy.gmail.com with SMTP id i4so16895wra for ; Tue, 23 Aug 2005 19:57:56 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jJcQzDa3koKGfXEhEvUPej8muy6QyimBpNin1DuNmQM39LCaaAbxeryy34Ko7fP1pnv+fkboVbnweqlxF7A1cP6H3VPHWKx2U51Zq516pPVihBkHqSw7I4IXBFQCBdx/iuu+q0NeNDdjdnZ13XZZFD+B2Q2XE8EKHJH2G3vjgDs= Received: by 10.54.48.24 with SMTP id v24mr62714wrv; Tue, 23 Aug 2005 19:57:56 -0700 (PDT) Received: by 10.54.3.18 with HTTP; Tue, 23 Aug 2005 19:57:56 -0700 (PDT) Message-ID: Date: Tue, 23 Aug 2005 20:57:56 -0600 From: John-Paul Andrusky To: freebsd-usb@freebsd.org In-Reply-To: <200508231931.09780.hselasky@c2i.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <200508231931.09780.hselasky@c2i.net> Subject: Re: Problems with uhid device. X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Aug 2005 02:57:57 -0000 Here is the resulting `dmesg` from doing a `cat /dev/uhid1` (the keyboard became uhid0): uhidopen: sc=3D0xc1aa5e00 usbd_open_pipe_intr: address=3D0x82 flags=3D0x4 len=3D6 usbd_open_pipe: iface=3D0xc1aa5d1c address=3D0x82 flags=3D0x1 usbd_setup_pipe: dev=3D0xc1aa5480 iface=3D0xc1aa5d1c ep=3D0xc1aad060 pipe=3D0xd543e96c usbd_clear_endpoint_stall usbd_alloc_xfer() =3D 0xc1efbc00 usbd_transfer: xfer=3D0xc1efbc00, flags=3D2, pipe=3D0xc1aa5500, running=3D0 usbd_dump_queue: pipe=3D0xc1aa5500 usb_insert_transfer: pipe=3D0xc1aa5500 running=3D0 timeout=3D5000 usb_schedsoftintr: polling=3D0 usb_transfer_complete: pipe=3D0xc1aa5500 xfer=3D0xc1efbc00 status=3D0 actlen=3D0 usb_transfer_complete: repeat=3D0 new head=3D0 usbd_start_next: pipe=3D0xc1aa5500, xfer=3D0 usbd_free_xfer: 0xc1efbc00 usbd_alloc_xfer() =3D 0xc1efbc00 usbd_transfer: xfer=3D0xc1efbc00, flags=3D4, pipe=3D0xc1edb180, running=3D0 usbd_dump_queue: pipe=3D0xc1edb180 usb_allocmem: use frag=3D0xc1a5dd40 size=3D6 usb_insert_transfer: pipe=3D0xc1edb180 running=3D0 timeout=3D0 uhidread uhidread: sleep on 0xc1aa5e34 >>> did a ctrl-c here usb_schedsoftintr: polling=3D0 usb_transfer_complete: pipe=3D0xc1edb180 xfer=3D0xc1efbc00 status=3D13 actlen=3D6 usb_transfer_complete: repeat=3D1 new head=3D0xc1efbc00 uhid_intr: status=3D13 cc=3D6 uhid_intr: data =3D 01 20 00 00 00 01 uhid_intr: status=3D13 uhidread: woke, error=3D4 uhidclose: sc=3D0xc1aa5e00 usbd_ar_pipe: pipe=3D0xc1edb180 usbd_dump_queue: pipe=3D0xc1edb180 xfer=3D0xc1efbc00 usbd_ar_pipe: pipe=3D0xc1edb180 xfer=3D0xc1efbc00 (methods=3D0xc06daa50) usb_schedsoftintr: polling=3D0 usb_transfer_complete: pipe=3D0xc1edb180 xfer=3D0xc1efbc00 status=3D6 actlen=3D6 usb_freemem: frag=3D0xc1a5dd40 usb_transfer_complete: repeat=3D0 new head=3D0 uhid_intr: status=3D6 cc=3D6 uhid_intr: data =3D 01 20 00 00 00 01 And now of course, nothing usb works (until reboot). --=20 Cheers, John-Paul Andrusky