On 17.04.2020 18:38, Hans Petter Selasky wrote: > Maybe the kernel was compiles w/o: > > options USB_DEBUG Yep. I have kernel with this option now, and debug shows that each disconnection looks like this (there are one successful explore cycle and one which triggers disconnection):
Apr 17 21:31:48 gateway kernel: usb_needs_explore: Apr 17 21:31:48 gateway kernel: usb_bus_powerd: bus=0xfffffe00322b2cd8 Apr 17 21:31:48 gateway kernel: usb_bus_powerd: Recomputing power masks Apr 17 21:31:48 gateway kernel: uhub_explore: udev=0xfffff80006c35000 addr=1 Apr 17 21:31:48 gateway kernel: uhub_read_port_status: port 1, wPortStatus=0x0500, wPortChange=0x0000, err=USB_ERR_NORMAL_COMPLETION Apr 17 21:31:48 gateway kernel: uhub_read_port_status: port 2, wPortStatus=0x0500, wPortChange=0x0000, err=USB_ERR_NORMAL_COMPLETION Apr 17 21:31:48 gateway kernel: uhub_read_port_status: port 3, wPortStatus=0x0500, wPortChange=0x0000, err=USB_ERR_NORMAL_COMPLETION Apr 17 21:31:48 gateway kernel: uhub_read_port_status: port 4, wPortStatus=0x0500, wPortChange=0x0000, err=USB_ERR_NORMAL_COMPLETION Apr 17 21:31:48 gateway kernel: uhub_read_port_status: port 5, wPortStatus=0x0500, wPortChange=0x0000, err=USB_ERR_NORMAL_COMPLETION Apr 17 21:31:48 gateway kernel: uhub_read_port_status: port 6, wPortStatus=0x0500, wPortChange=0x0000, err=USB_ERR_NORMAL_COMPLETION Apr 17 21:31:48 gateway kernel: uhub_read_port_status: port 7, wPortStatus=0x0500, wPortChange=0x0000, err=USB_ERR_NORMAL_COMPLETION Apr 17 21:31:48 gateway kernel: uhub_read_port_status: port 8, wPortStatus=0x0500, wPortChange=0x0000, err=USB_ERR_NORMAL_COMPLETION Apr 17 21:31:49 gateway kernel: usb_needs_explore: Apr 17 21:31:49 gateway kernel: usb_bus_powerd: bus=0xfffffe0031f7edb0 Apr 17 21:31:49 gateway kernel: usb_bus_powerd: Recomputing power masks Apr 17 21:31:49 gateway kernel: uhub_explore: udev=0xfffff80006c29000 addr=1 Apr 17 21:31:49 gateway kernel: uhub_read_port_status: port 1, wPortStatus=0x0100, wPortChange=0x0000, err=USB_ERR_NORMAL_COMPLETION Apr 17 21:31:49 gateway kernel: uhub_read_port_status: port 2, wPortStatus=0x0100, wPortChange=0x0003, err=USB_ERR_NORMAL_COMPLETION Apr 17 21:31:49 gateway kernel: uhub_reattach_port: reattaching port 2 Apr 17 21:31:49 gateway kernel: ugen2.2: <PPC Offline UPS> at usbus2 (disconnected) -- // Lev Serebryakov
signature.asc
Description: OpenPGP digital signature