From owner-freebsd-usb@FreeBSD.ORG Wed Aug 24 22:41:12 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 2C7A516A421 for ; Wed, 24 Aug 2005 22:41:12 +0000 (GMT) (envelope-from jpandrusky@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D41843D62 for ; Wed, 24 Aug 2005 22:41:01 +0000 (GMT) (envelope-from jpandrusky@gmail.com) Received: by wproxy.gmail.com with SMTP id i1so22709wra for ; Wed, 24 Aug 2005 15:40:51 -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=M68RoS5Zyofgl2GrKXtpe+cDHho0p7j75dn94pZ4cCPhqzvFd1Sd0bCmu6ZgbZeBCLS6XGc1EkvzC0LnkGIEk48IOtdP6BN21l2/0O1yWKEEImqJamDWYV86ifA1ZBXkxC/z+86duqOp023Ew7GNqmvTYDAY55o8ISZCY9xgErk= Received: by 10.54.44.48 with SMTP id r48mr1244814wrr; Wed, 24 Aug 2005 15:40:51 -0700 (PDT) Received: by 10.54.3.18 with HTTP; Wed, 24 Aug 2005 15:40:51 -0700 (PDT) Message-ID: Date: Wed, 24 Aug 2005 16:40:51 -0600 From: John-Paul Andrusky To: hselasky@c2i.net, freebsd-usb@freebsd.org In-Reply-To: <200508240257.03931.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> <20050823235939.GA9735@steel.dnsalias.org> <200508240257.03931.hselasky@c2i.net> Cc: 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 22:41:12 -0000 "dmesg | grep usb" gives "usb0: uhci_softintr (0)" repeated over and over. With just "hw.usb.uhci.debug=3D15", I get the following when I 'cat' the device, push a button and then do a ctrl-c: uhci_open: pipe=3D0xc1eda800, addr=3D4, endpt=3D130 (1) uhci_device_setintr: pipe=3D0xc1eda800 uhci_device_setintr: ival=3D10 npoll=3D13 uhci_device_setintr: bw=3D0 offs=3D2 uhci_add_intr: n=3D2 sqh=3D0xc1a58d40 uhci_add_intr: n=3D12 sqh=3D0xc1a58d20 uhci_add_intr: n=3D22 sqh=3D0xc1a58d00 uhci_add_intr: n=3D32 sqh=3D0xc1a58ce0 uhci_add_intr: n=3D42 sqh=3D0xc1a58cc0 uhci_add_intr: n=3D52 sqh=3D0xc1a58ca0 uhci_add_intr: n=3D62 sqh=3D0xc1a58c80 uhci_add_intr: n=3D72 sqh=3D0xc1a58c60 uhci_add_intr: n=3D82 sqh=3D0xc1a58c40 uhci_add_intr: n=3D92 sqh=3D0xc1a58c20 uhci_add_intr: n=3D102 sqh=3D0xc1a58c00 uhci_add_intr: n=3D112 sqh=3D0xc1a58be0 uhci_add_intr: n=3D122 sqh=3D0xc1a58bc0 uhci_device_setintr: returns 0xc1eda800 uhci_device_control type=3D0x02, request=3D0x01, wValue=3D0x0000, wIndex=3D0x0082 len=3D0, addr=3D4, endpt=3D0 uhci_device_request: before transfer TD(0xc1a57f00) at 1f3ebf00 =3D link=3D0x1f3ebee4 status=3D0x1c800000 token=3D0x00e0042d buffer=3D0x001f1d80 1f3ebee4 1c800000,errcnt=3D3,actlen=3D1 pid=3D2d,addr=3D4,endpt=3D0,D=3D0,maxlen=3D8 TD(0xc1a57ee0) at 1f3ebee0 =3D link=3D0x00000001 status=3D0x1d800000 token=3D0xffe80469 buffer=3D0x00000000 1 1d800000,errcnt=3D3,actlen=3D1 pid=3D69,addr=3D4,endpt=3D0,D=3D1,maxlen=3D0 uhci_add_ls_ctrl: sqh=3D0xc1a58d60 uhci_enter_ctl_q: follow from [0] TD(0xc1a5afc0) at 0022efc0 =3D link=3D0x0022df62 status=3D0x02000000 token=3D0x00000000 buffer=3D0x00000000 22df62 2000000,errcnt=3D0,actlen=3D1 pid=3D00,addr=3D0,endpt=3D0,= D=3D0,maxlen=3D1 QH(0xc1a59f60) at 0022df60: hlink=3D1f3ecf42 elink=3D00000001 QH(0xc1a59f60) at 0022df60: hlink=3D1f3ecf42 elink=3D00000001 QH(0xc1a58f40) at 1f3ecf40: hlink=3D0022df82 elink=3D1f3ebf80 QH(0xc1a59f80) at 0022df80: hlink=3D1f3ecd62 elink=3D00000001 QH(0xc1a58d60) at 1f3ecd60: hlink=3D0022dfa2 elink=3D1f3ebee4 QH(0xc1a59fc0) at 0022dfc0: hlink=3D0022dfe2 elink=3D00000001 QH(0xc1a59fe0) at 0022dfe0: hlink=3D00000001 elink=3D0022efe0 Enqueued QH: QH(0xc1a58d60) at 1f3ecd60: hlink=3D0022dfa2 elink=3D1f3ebee4 TD(0xc1a57f00) at 1f3ebf00 =3D link=3D0x1f3ebee4 status=3D0x1c000007 token=3D0x00e0042d buffer=3D0x001f1d80 1f3ebee4 1c000007,errcnt=3D3,actlen=3D8 pid=3D2d,addr=3D4,endpt= =3D0,D=3D0,maxlen=3D8 TD(0xc1a57ee0) at 1f3ebee0 =3D link=3D0x00000001 status=3D0x1d8807ff token=3D0xffe80469 buffer=3D0x00000000 1 1d8807ff,errcnt=3D3,actlen=3D0 pid=3D69,addr=3D4,endpt=3D0,D=3D1,maxlen=3D0 usb0: uhci_softintr (0) uhci_check_intr: ii=3D0xc1c1616c done uhci_idone: ii=3D0xc1c1616c uhci_idone: ii=3D0xc1c1616c, xfer=3D0xc1c16100, pipe=3D0xc1ed5d80 ready TD(0xc1a57f00) at 1f3ebf00 =3D link=3D0x1f3ebee4 status=3D0x1c000007 token=3D0x00e0042d buffer=3D0x001f1d80 1f3ebee4 1c000007,errcnt=3D3,actlen=3D8 pid=3D2d,addr=3D4,endpt= =3D0,D=3D0,maxlen=3D8 TD(0xc1a57ee0) at 1f3ebee0 =3D link=3D0x00000001 status=3D0x1d0007ff token=3D0xffe80469 buffer=3D0x00000000 1 1d0007ff,errcnt=3D3,actlen=3D0 pid=3D69,addr=3D4,endpt=3D0,D= =3D1,maxlen=3D0 uhci_idone: actlen=3D0, status=3D0x0 uhci_remove_ls_ctrl: sqh=3D0xc1a58d60 uhci_device_ctrl_done: length=3D0 uhci_idone: ii=3D0xc1c1616c done uhci_check_intr: active ii=3D0xc1c1626c uhci_check_intr: ii=3D0xc1c1626c std=3D0xc1a57f20 still active uhci_check_intr: active ii=3D0xc1a41a6c uhci_check_intr: ii=3D0xc1a41a6c std=3D0xc1a57f80 still active uhci_device_intr_transfer: xfer=3D0xc1c16100 len=3D6 flags=3D4 uhci_alloc_std_chain: addr=3D4 endpt=3D2 len=3D6 speed=3D1 flags=3D0x4 uhci_alloc_std_chain: maxp=3D5 ntd=3D2 uhci_alloc_std_chain: nexttog=3D0 uhci_device_intr_transfer: data(1) TD(0xc1a57ea0) at 1f3ebea0 =3D link=3D0x1f3ebec4 status=3D0x3c8003ff token=3D0x00810469 buffer=3D0x001f1d40 1f3ebec4 3c8003ff,errcnt=3D3,actlen=3D0 pid=3D69,addr=3D4,endpt=3D2,D=3D0,maxlen=3D5 TD(0xc1a57ec0) at 1f3ebec0 =3D link=3D0x00000005 status=3D0x3d8003ff token=3D0x00090469 buffer=3D0x001f1d45 5 3d8003ff,errcnt=3D3,actlen=3D0 pid=3D69,addr=3D4,endpt=3D2,D=3D1,maxlen=3D1 QH(0xc1a58d40) at 1f3ecd40: hlink=3D0022df82 elink=3D00000001 uhci_device_intr_transfer: qhs[0]=3D0xc1a58d40 uhci_device_intr_transfer: data(2) TD(0xc1a57ea0) at 1f3ebea0 =3D link=3D0x1f3ebec4 status=3D0x3c8003ff token=3D0x00810469 buffer=3D0x001f1d40 1f3ebec4 3c8003ff,errcnt=3D3,actlen=3D0 pid=3D69,addr=3D4,endpt=3D2,D=3D0,maxlen=3D5 TD(0xc1a57ec0) at 1f3ebec0 =3D link=3D0x00000005 status=3D0x3d8003ff token=3D0x00090469 buffer=3D0x001f1d45 5 3d8003ff,errcnt=3D3,actlen=3D0 pid=3D69,addr=3D4,endpt=3D2,D=3D1,maxlen=3D1 QH(0xc1a58d40) at 1f3ecd40: hlink=3D0022df82 elink=3D1f3ebea0 usb0: uhci_softintr (0) uhci_check_intr: ii=3D0xc1c1616c done uhci_idone: ii=3D0xc1c1616c uhci_idone: ii=3D0xc1c1616c, xfer=3D0xc1c16100, pipe=3D0xc1eda800 ready TD(0xc1a57ea0) at 1f3ebea0 =3D link=3D0x1f3ebec4 status=3D0x1c000004 token=3D0x00810469 buffer=3D0x001f1d40 1f3ebec4 1c000004,errcnt=3D3,actlen=3D5 pid=3D69,addr=3D4,endpt= =3D2,D=3D0,maxlen=3D5 TD(0xc1a57ec0) at 1f3ebec0 =3D link=3D0x00000005 status=3D0x1d500000 token=3D0x00090469 buffer=3D0x001f1d45 5 1d500000,errcnt=3D3,actlen=3D1 pid=3D69,addr=3D4,endpt=3D2,D=3D1,maxlen=3D1 uhci_idone: actlen=3D6, status=3D0x500000 uhci_idone: error, addr=3D4, endpt=3D0x82, status 0x500000 uhci_device_intr_done: length=3D6 uhci_device_intr_done: requeing uhci_alloc_std_chain: addr=3D4 endpt=3D2 len=3D6 speed=3D1 flags=3D0x4 uhci_alloc_std_chain: maxp=3D5 ntd=3D2 uhci_alloc_std_chain: nexttog=3D0 uhci_device_intr_done: data(1) TD(0xc1a57ea0) at 1f3ebea0 =3D link=3D0x1f3ebec4 status=3D0x3c8003ff token=3D0x00810469 buffer=3D0x001f1d40 1f3ebec4 3c8003ff,errcnt=3D3,actlen=3D0 pid=3D69,addr=3D4,endpt=3D2,D=3D0,maxlen=3D5 TD(0xc1a57ec0) at 1f3ebec0 =3D link=3D0x00000005 status=3D0x3d8003ff token=3D0x00090469 buffer=3D0x001f1d45 5 3d8003ff,errcnt=3D3,actlen=3D0 pid=3D69,addr=3D4,endpt=3D2,D=3D1,maxlen=3D1 QH(0xc1a58d40) at 1f3ecd40: hlink=3D0022df82 elink=3D00000001 uhci_idone: ii=3D0xc1c1616c done uhci_check_intr: active ii=3D0xc1c1626c uhci_check_intr: ii=3D0xc1c1626c std=3D0xc1a57f20 still active uhci_check_intr: active ii=3D0xc1a41a6c uhci_check_intr: ii=3D0xc1a41a6c std=3D0xc1a57f80 still active uhci_device_intr_abort: xfer=3D0xc1c16100 uhci_device_intr_abort: remove uhci_abort_xfer: xfer=3D0xc1c16100, status=3D6 uhci_abort_xfer: stop ii=3D0xc1c1616c usb0: uhci_softintr (0) uhci_check_intr: aborted xfer=3D0xc1c16100 uhci_check_intr: active ii=3D0xc1c1626c uhci_check_intr: ii=3D0xc1c1626c std=3D0xc1a57f20 still active uhci_check_intr: active ii=3D0xc1a41a6c uhci_check_intr: ii=3D0xc1a41a6c std=3D0xc1a57f80 still active uhci_abort_xfer: callback uhci_device_intr_done: length=3D6 uhci_device_intr_done: removing uhci_remove_intr: n=3D2 sqh=3D0xc1a58d40 uhci_remove_intr: n=3D12 sqh=3D0xc1a58d20 uhci_remove_intr: n=3D22 sqh=3D0xc1a58d00 uhci_remove_intr: n=3D32 sqh=3D0xc1a58ce0 uhci_remove_intr: n=3D42 sqh=3D0xc1a58cc0 uhci_remove_intr: n=3D52 sqh=3D0xc1a58ca0 uhci_remove_intr: n=3D62 sqh=3D0xc1a58c80 uhci_remove_intr: n=3D72 sqh=3D0xc1a58c60 uhci_remove_intr: n=3D82 sqh=3D0xc1a58c40 uhci_remove_intr: n=3D92 sqh=3D0xc1a58c20 uhci_remove_intr: n=3D102 sqh=3D0xc1a58c00 uhci_remove_intr: n=3D112 sqh=3D0xc1a58be0 uhci_remove_intr: n=3D122 sqh=3D0xc1a58bc0 uhci_root_ctrl_control type=3D0xa3 request=3D00 uhci_root_ctrl_control type=3D0x23 request=3D01 uhci_root_ctrl_control: UR_CLEAR_PORT_FEATURE port=3D1 feature=3D17 uhci_root_ctrl_control type=3D0x23 request=3D01 uhci_root_ctrl_control: UR_CLEAR_PORT_FEATURE port=3D1 feature=3D16 uhub4: at uhub0 port 1 (addr 2) disconnected uhci_device_intr_abort: xfer=3D0xc1a41a00 uhci_device_intr_abort: remove uhci_abort_xfer: xfer=3D0xc1a41a00, status=3D6 uhci_abort_xfer: stop ii=3D0xc1a41a6c usb0: uhci_softintr (0) uhci_check_intr: active ii=3D0xc1c1626c uhci_check_intr: ii=3D0xc1c1626c std=3D0xc1a57f20 still active uhci_check_intr: aborted xfer=3D0xc1a41a00 uhci_abort_xfer: callback uhci_device_intr_done: length=3D1 uhci_device_intr_done: removing uhci_remove_intr: n=3D0 sqh=3D0xc1a58f40 ums0: at uhub4 port 1 (addr 3) disconnected uhci_device_intr_abort: xfer=3D0xc1c16200 uhci_device_intr_abort: remove uhci_abort_xfer: xfer=3D0xc1c16200, status=3D6 uhci_abort_xfer: stop ii=3D0xc1c1626c usb0: uhci_softintr (0) uhci_check_intr: aborted xfer=3D0xc1c16200 uhci_abort_xfer: callback uhci_device_intr_done: length=3D7 uhci_device_intr_done: removing uhci_remove_intr: n=3D1 sqh=3D0xc1a58f00 uhci_remove_intr: n=3D11 sqh=3D0xc1a58ee0 uhci_remove_intr: n=3D21 sqh=3D0xc1a58ec0 uhci_remove_intr: n=3D31 sqh=3D0xc1a58ea0 uhci_remove_intr: n=3D41 sqh=3D0xc1a58e80 uhci_remove_intr: n=3D51 sqh=3D0xc1a58e60 uhci_remove_intr: n=3D61 sqh=3D0xc1a58e40 uhci_remove_intr: n=3D71 sqh=3D0xc1a58e20 uhci_remove_intr: n=3D81 sqh=3D0xc1a58e00 uhci_remove_intr: n=3D91 sqh=3D0xc1a58de0 uhci_remove_intr: n=3D101 sqh=3D0xc1a58dc0 uhci_remove_intr: n=3D111 sqh=3D0xc1a58da0 uhci_remove_intr: n=3D121 sqh=3D0xc1a58d80 ums0: detached uhid0: at uhub4 port 2 (addr 4) disconnected uhid0: detached uhid1: at uhub4 port 2 (addr 4) disconnected uhid1: detached uhid2: at uhub4 port 2 (addr 4) disconnected uhid2: detached uhub4: detached uhci_root_ctrl_control type=3D0x23 request=3D01 uhci_root_ctrl_control: UR_CLEAR_PORT_FEATURE port=3D1 feature=3D16 uhci_root_ctrl_control type=3D0xa3 request=3D00 --=20 Cheers, John-Paul Andrusky