log of nusb/usbd -ddd 2017-11-17 eekee there are some comments at the end with plumber links to the relevant lines. save as 'usb_e2' to plumb them. startup messages elided. this is a logitech wireless keyboard and mouse with a tiny usb tranceiver. mouse and keyboard have their own power switches; connecting with both switched on. connect stdout/err: nusb/usbd: /dev/usb/ep8.0: port 2 attach sts 0x10401 /dev/usb/ep8.0: h2d|cls|oth setfeat val 0|1 idx 2 cnt 0 out[8] 23 03 01 00 02 00 00 00 /dev/usb/ep8.0: h2d|cls|oth setfeat val 0|4 idx 2 cnt 0 out[8] 23 03 04 00 02 00 00 00 nusb/usbd: /dev/usb/ep8.0: port 2: not enabled? /dev/usb/ep8.0: h2d|cls|oth setfeat val 0|1 idx 2 cnt 0 out[8] 23 03 01 00 02 00 00 00 /dev/usb/ep8.0: h2d|cls|oth clrfeat val 0|1 idx 2 cnt 0 out[8] 23 01 01 00 02 00 00 00 nusb/usbd: /dev/usb/ep4.0: port 2 attach sts 0x10001 /dev/usb/ep4.0: h2d|cls|oth setfeat val 0|1 idx 2 cnt 0 out[8] 23 03 01 00 02 00 00 00 /dev/usb/ep4.0: h2d|cls|oth setfeat val 0|4 idx 2 cnt 0 out[8] 23 03 04 00 02 00 00 00 nusb/usbd: /dev/usb/ep4.0: port 2: attached status 0x3, speed full nusb/usbd: opendev 0x40cab0 /dev/usb/ep9.0 /dev/usb/ep9.0: h2d|std|dev setaddr val 0|9 idx 0 cnt 0 out[8] 00 05 09 00 00 00 00 00 /dev/usb/ep9.0: h2d|std|dev setaddr val 0|9 idx 0 cnt 0 out[8] 00 05 09 00 00 00 00 00 /dev/usb/ep9.0: h2d|std|dev setaddr val 0|9 idx 0 cnt 0 out[8] 00 05 09 00 00 00 00 00 /dev/usb/ep9.0: h2d|std|dev setaddr val 0|9 idx 0 cnt 0 out[8] 00 05 09 00 00 00 00 00 nusb/usbd: /dev/usb/ep4.0: port 2: setaddress: request timed out /dev/usb/ep4.0: h2d|cls|oth clrfeat val 0|1 idx 2 cnt 0 out[8] 23 01 01 00 02 00 00 00 nusb/usbd: closedev 0x40cab0 /dev/usb/ep9.0 nusb/usbd: /dev/usb/ep4.0 port 2: sts ps 0x10001 -> p 0x1 connect kprint: usb: ep9.0 debug 1 usbopen q 0x24 fid 367 omode 2 uhci: epopen ep9.0 uhci port 0x18a0 frames 0xffffffff8006b000 nintr 0 ntdintr 0 nqhintr 0 nisointr 0 cmd 0x1 sts 0x0 fl 0x6b0ac ps1 0x80 ps2 0x95 frames[0] 0x63322 qh CTL 0xffffffff80063320 state idle link 0x63562Q elink 0x1T io 0x0 qh epc 0xffffffff80063560 state idle link 0x63352Q elink 0x1T io 0xffffffff8215c168 qh INT 0xffffffff80063350 state idle link 0x63382Q elink 0x1T io 0x0 qh BLK 0xffffffff80063380 state idle link 0x633b2Q elink 0x1T io 0x0 qh BWS 0xffffffff800633b0 state idle link 0x1T elink 0x63dc0 io 0x0 td 0xffffffff80063dc0 link 0x63dc0 csw 0x0 z stslen 1 token 0x0 next 0x0 != link 0x63dc0 0xffffffff80063dc0 hw tds: 0x63dc0 uhci: epopen done usb epctl detach ep9.0 usbclose q 0x24 fid 367 ref 2 uhci: epclose ep9.0 uhci: cancelio for qh 0xffffffff80063560 state idle usb: ep9.0 0xffffffff81152688 released no reaction from mouse movement or buttons, or keyboard keys. disconnect stdout/err: nusb/usbd: /dev/usb/ep4.0 port 2: sts s 0x10000 -> - 0x0 disconnect produces nothing on kprint. comments: usb_e2:32 "setaddress: request timed out" usb_e2:51 "!=" again; line identical to previous mouse and keyboard. usb_e2:55 detach after epopen again. this time i was watching, and saw there was a pause of several seconds between epopen and detach.