Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Aug 2005 16:40:51 -0600
From:      John-Paul Andrusky <jpandrusky@gmail.com>
To:        hselasky@c2i.net, freebsd-usb@freebsd.org
Subject:   Re: Problems with uhid device.
Message-ID:  <d849f17e05082415407b3bd231@mail.gmail.com>
In-Reply-To: <200508240257.03931.hselasky@c2i.net>
References:  <d849f17e05082307553f67f0ce@mail.gmail.com> <200508231931.09780.hselasky@c2i.net> <20050823235939.GA9735@steel.dnsalias.org> <200508240257.03931.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
"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<VF> 1c800000<ACTIVE,LS>,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<T> 1d800000<ACTIVE,IOC,LS>,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<Q> 2000000<ISO>,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<VF> 1c000007<LS>,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<T> 1d8807ff<NAK,ACTIVE,IOC,LS>,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<VF> 1c000007<LS>,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<T> 1d0007ff<IOC,LS>,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<VF> 3c8003ff<ACTIVE,LS,SPD>,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<T,VF> 3d8003ff<ACTIVE,IOC,LS,SPD>,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<VF> 3c8003ff<ACTIVE,LS,SPD>,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<T,VF> 3d8003ff<ACTIVE,IOC,LS,SPD>,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<VF> 1c000004<LS>,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<T,VF> 1d500000<BABBLE,STALLED,IOC,LS>,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<BABBLE,STALLED>
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<VF> 3c8003ff<ACTIVE,LS,SPD>,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<T,VF> 3d8003ff<ACTIVE,IOC,LS,SPD>,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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d849f17e05082415407b3bd231>