[Bug 1904953] Re: USB2.0 HUB only works after an USB device is connected

2021-02-09 Thread Launchpad Bug Tracker
[Expired for linux (Ubuntu) because there has been no activity for 60 days.] ** Changed in: linux (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1904953

[Bug 1904953] Re: USB2.0 HUB only works after an USB device is connected

2020-12-10 Thread Kai-Heng Feng
Well, the hub really didn't detect anything. And apparently adding delay after hub powered on doesn't help. Let's just disable runtime suspend for this device. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1904953] Re: USB2.0 HUB only works after an USB device is connected

2020-11-24 Thread FurretUber
Using the kernel from comment 10, I did not observe an improvement: the devices connected to the hub aren't detected as often as before, requiring the same workaround. ** Attachment added: "Two dmesg with the test kernel"

[Bug 1904953] Re: USB2.0 HUB only works after an USB device is connected

2020-11-23 Thread Kai-Heng Feng
Please test kernel here: https://people.canonical.com/~khfeng/lp1904953/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1904953 Title: USB2.0 HUB only works after an USB device is connected To

[Bug 1904953] Re: USB2.0 HUB only works after an USB device is connected

2020-11-23 Thread FurretUber
Here are two dmesg with the arguments added. On first dmesg I connected the USB hub 3 times. The two devices connected to the hub were: 045e:00cb Microsoft Corp. Basic Optical Mouse v2.0 25a7:fa23 Compx 2.4G Receiver On the first attempt, all devices were detected. On the second and third

[Bug 1904953] Re: USB2.0 HUB only works after an USB device is connected

2020-11-22 Thread Kai-Heng Feng
Ok, please boot v5.10-rc4 kernel with parameter "dyndbg='file drivers/usb/core/* +p; file drivers/usb/host/* +p' log_buf_len=16M", reproduce the issue, and attach dmesg here. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1904953] Re: USB2.0 HUB only works after an USB device is connected

2020-11-22 Thread FurretUber
Using 5.10-rc4, the same problem was observed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1904953 Title: USB2.0 HUB only works after an USB device is connected To manage notifications about this

[Bug 1904953] Re: USB2.0 HUB only works after an USB device is connected

2020-11-21 Thread Kai-Heng Feng
Please test latest mainline kernel: https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.10-rc4/amd64/ ** Changed in: linux (Ubuntu) Status: Confirmed => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1904953] Re: USB2.0 HUB only works after an USB device is connected

2020-11-21 Thread FurretUber
Disabling the autosuspend from the USB device fixed the problem. However, I did not want to disable it for all USB devices, so I added an udev rule: ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="214b", ATTR{idProduct}=="7000", ATTR{product}=="USB2.0 HUB", TEST=="power/control",

[Bug 1904953] Re: USB2.0 HUB only works after an USB device is connected

2020-11-20 Thread Alex Hung
This looks the same as https://ubuntuforums.org/archive/index.php/t-2330904.html In summary, this is caused by USB power-saving, and this can be disabled by kernel parameter "usbcore.autosuspend" -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed

[Bug 1904953] Re: USB2.0 HUB only works after an USB device is connected

2020-11-20 Thread Alex Hung
You can also use powertop to disable USB autosuspend in runtime, but it must be done every time you reboot the compuer -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1904953 Title: USB2.0 HUB only