Date: Sat, 22 Sep 2007 16:01:06 +1200 From: Sam Banks <w0lfie@clear.net.nz> To: freebsd-current@freebsd.org Subject: Re: USB keyboard status indicators not working Message-ID: <46f49382.166.de5.21408@clear.net.nz>
index | next in thread | raw e-mail
[-- Attachment #1 --] It appears, in my case at least, that the TD to change the LED state on the physical keyboard is stalling. I have attached the output of this with hw.usb.uhci.debug up high. Does anyone have any tips or documentation on debugging stalls? Cheers, Sam. ----- Original Message Follows ----- > Sam Banks wrote: > > Out of interest, what USB host controller are each of > > you running? UHCI or OHCI? > > > > Sam. > > > > I tried connecting the same keyboard to my Dell Inspiron > 1501 laptop, with similar results. Interestingly the > built-in keyboard indicator lights on the laptop changed > and worked as expected when I pressed the keys on the USB > keyboard, but the ones on the USB keyboard didn't - the > caps lock button came on once and then none of the lights > changed after that. > > usb0: OHCI version 1.0, legacy support > usb0: <OHCI (generic) USB controller> on ohci0 > usb0: USB revision 1.0 > uhub0: <ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr > 1> on usb0 usb5: companion controllers, 2 ports each: usb0 > usb1 usb2 usb3 usb4 > > uhub0: 2 ports with 2 removable, self powered > ukbd0: <Dell Dell USB Keyboard, class 0/0, rev 1.10/3.01, > addr 2> on uhub0 kbd2 at ukbd0 > > -- > Bruce Cran [-- Attachment #2 --] Sep 20 09:50:09 wolfie kernel: uhci_device_control type=0x21, request=0x09, wValue=0x0200, wIndex=0x0000 len=1, addr=3, endpt=0 Sep 20 09:50:09 wolfie kernel: uhci_alloc_std_chain: addr=3 endpt=0 len=1 speed=2 flags=0x0 Sep 20 09:50:09 wolfie kernel: uhci_alloc_std_chain: maxp=8 ntd=1 Sep 20 09:50:09 wolfie kernel: uhci_alloc_std_chain: nexttog=0 Sep 20 09:50:09 wolfie kernel: uhci_device_request: before transfer Sep 20 09:50:09 wolfie kernel: TD(0xc4df3510) at 011d8510 = link=0x011d84b4 status=0x18800000 token=0x00e0032d buffer=0x01298e80 Sep 20 09:50:09 wolfie kernel: 11d84b4<VF> 18800000<ACTIVE>,errcnt=3,actlen=1 pid=2d,addr=3,endpt=0,D=0,maxlen=8 Sep 20 09:50:09 wolfie kernel: TD(0xc4df34b0) at 011d84b0 = link=0x011d8544 status=0x188003ff token=0x000803e1 buffer=0x02095b07 Sep 20 09:50:09 wolfie kernel: 11d8544<VF> 188003ff<ACTIVE>,errcnt=3,actlen=0 pid=e1,addr=3,endpt=0,D=1,maxlen=1 Sep 20 09:50:09 wolfie kernel: TD(0xc4df3540) at 011d8540 = link=0x00000001 status=0x19800000 token=0xffe80369 buffer=0x00000000 Sep 20 09:50:09 wolfie kernel: 1<T> 19800000<ACTIVE,IOC>,errcnt=3,actlen=1 pid=69,addr=3,endpt=0,D=1,maxlen=0 Sep 20 09:50:09 wolfie kernel: uhci_add_ctrl: sqh=0xc4df2ea0 Sep 20 09:50:09 wolfie kernel: uhci_enter_ctl_q: follow from [0] Sep 20 09:50:09 wolfie kernel: TD(0xc4da8f90) at 0118cf90 = link=0x011d9f62 status=0x02000000 token=0x00000000 buffer=0x00000000 Sep 20 09:50:09 wolfie kernel: 11d9f62<Q> 2000000<ISO>,errcnt=0,actlen=1 pid=00,addr=0,endpt=0,D=0,maxlen=1 Sep 20 09:50:09 wolfie kernel: QH(0xc4df4f60) at 011d9f60: hlink=011d7f02 elink=00000001 Sep 20 09:50:09 wolfie kernel: QH(0xc4df4f60) at 011d9f60: hlink=011d7f02 elink=00000001 Sep 20 09:50:09 wolfie kernel: QH(0xc4df2f00) at 011d7f00: hlink=011d9f82 elink=011d8600 Sep 20 09:50:09 wolfie kernel: QH(0xc4df4f80) at 011d9f80: hlink=011d9fa2 elink=00000001 Sep 20 09:50:09 wolfie kernel: QH(0xc4df4fa0) at 011d9fa0: hlink=011d7ea2 elink=00000001 Sep 20 09:50:09 wolfie kernel: QH(0xc4df2ea0) at 011d7ea0: hlink=011d9fc2 elink=011d8510 Sep 20 09:50:09 wolfie kernel: QH(0xc4df4fc0) at 011d9fc0: hlink=011d9fe2 elink=00000001 Sep 20 09:50:09 wolfie kernel: Enqueued QH: Sep 20 09:50:09 wolfie kernel: QH(0xc4df2ea0) at 011d7ea0: hlink=011d9fc2 elink=011d8510 Sep 20 09:50:09 wolfie kernel: TD(0xc4df3510) at 011d8510 = link=0x011d84b4 status=0x18800000 token=0x00e0032d buffer=0x01298e80 Sep 20 09:50:09 wolfie kernel: 11d84b4<VF> 18800000<ACTIVE>,errcnt=3,actlen=1 pid=2d,addr=3,endpt=0,D=0,maxlen=8 Sep 20 09:50:09 wolfie kernel: TD(0xc4df34b0) at 011d84b0 = link=0x011d8544 status=0x188003ff token=0x000803e1 buffer=0x02095b07 Sep 20 09:50:09 wolfie kernel: 11d8544<VF> 188003ff<ACTIVE>,errcnt=3,actlen=0 pid=e1,addr=3,endpt=0,D=1,maxlen=1 Sep 20 09:50:09 wolfie kernel: TD(0xc4df3540) at 011d8540 = link=0x00000001 status=0x19800000 token=0xffe80369 buffer=0x00000000 Sep 20 09:50:09 wolfie kernel: 1<T> 19800000<ACTIVE,IOC>,errcnt=3,actlen=1 pid=69,addr=3,endpt=0,D=1,maxlen=0 Sep 20 09:50:09 wolfie kernel: uhci_intr: real interrupt Sep 20 09:50:09 wolfie kernel: usb0: uhci_intr1 Sep 20 09:50:09 wolfie kernel: usb0 regs: cmd=0081, sts=0002, intr=000f, frnum=05e2, flbase=011ce788, sof=0040, portsc1=0095, portsc2=0080 Sep 20 09:50:09 wolfie kernel: usb0: uhci_softintr (0) Sep 20 09:50:09 wolfie kernel: uhci_check_intr: ii=0xc5019d78 Sep 20 09:50:09 wolfie kernel: uhci_check_intr: active ii=0xc5019d78 Sep 20 09:50:09 wolfie kernel: uhci_check_intr: ii=0xc5019d78 done Sep 20 09:50:09 wolfie kernel: uhci_idone: ii=0xc5019d78 Sep 20 09:50:09 wolfie kernel: uhci_idone: ii=0xc5019d78, xfer=0xc5019c00, pipe=0xc4e7e200 ready Sep 20 09:50:09 wolfie kernel: TD(0xc4df3510) at 011d8510 = link=0x011d84b4 status=0x18000007 token=0x00e0032d buffer=0x01298e80 Sep 20 09:50:09 wolfie kernel: 11d84b4<VF> 18000007,errcnt=3,actlen=8 pid=2d,addr=3,endpt=0,D=0,maxlen=8 Sep 20 09:50:09 wolfie kernel: TD(0xc4df34b0) at 011d84b0 = link=0x011d8544 status=0x18400000 token=0x000803e1 buffer=0x02095b07 Sep 20 09:50:09 wolfie kernel: 11d8544<VF> 18400000<STALLED>,errcnt=3,actlen=1 pid=e1,addr=3,endpt=0,D=1,maxlen=1 Sep 20 09:50:09 wolfie kernel: TD(0xc4df3540) at 011d8540 = link=0x00000001 status=0x19800000 token=0xffe80369 buffer=0x00000000 Sep 20 09:50:09 wolfie kernel: 1<T> 19800000<ACTIVE,IOC>,errcnt=3,actlen=1 pid=69,addr=3,endpt=0,D=1,maxlen=0 Sep 20 09:50:09 wolfie kernel: uhci_idone: actlen=1, status=0x400000 Sep 20 09:50:09 wolfie kernel: uhci_idone: error, addr=3, endpt=0x00, status 0x400000<STALLED> Sep 20 09:50:09 wolfie kernel: uhci_remove_hs_ctrl: sqh=0xc4df2ea0 Sep 20 09:50:09 wolfie kernel: uhci_find_prev_qh: pqh=0xc4df4fa0 sqh=0xc4df2ea0 Sep 20 09:50:09 wolfie kernel: uhci_device_ctrl_done: length=1 Sep 20 09:50:09 wolfie kernel: uhci_idone: ii=0xc5019d78 done Sep 20 09:50:09 wolfie kernel: uhci_check_intr: ii=0xc4e1f178 Sep 20 09:50:09 wolfie kernel: uhci_check_intr: active ii=0xc4e1f178 Sep 20 09:50:09 wolfie kernel: uhci_check_intr: ii=0xc4e1f178 std=0xc4df3480 still active Sep 20 09:50:09 wolfie kernel: uhci_check_intr: ii=0xc4dc4778 Sep 20 09:50:09 wolfie kernel: uhci_check_intr: active ii=0xc4dc4778 Sep 20 09:50:09 wolfie kernel: uhci_check_intr: ii=0xc4dc4778 std=0xc4df3600 still active Sep 20 09:50:09 wolfie kernel: usb0: uhci_intr: exit Sep 20 09:50:09 wolfie kernel: uhci_intr: real interrupt Sep 20 09:50:09 wolfie kernel: usb3: uhci_intr1 Sep 20 09:50:09 wolfie kernel: usb3 regs: cmd=0081, sts=0000, intr=000f, frnum=074d, flbase=0122fd34, sof=0040, portsc1=0080, portsc2=0080 Sep 20 09:50:09 wolfie kernel: uhci_poll_hubhelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46f49382.166.de5.21408>
