Skip to content
This repository has been archived by the owner on Dec 4, 2020. It is now read-only.

Repeated excessive logging about unsuccessful port reset during device enumeration #283

Open
wants to merge 1 commit into
base: trueos-master
Choose a base branch
from

Conversation

maxsteciuk
Copy link

Reduce log level for message about unsuccesful port reset which ends up flooding syslog

The following sysctl configuration also helps to get rid of excessive logging but the downside that certain USB device (Create SoundBlaster) are not even getting recognized by USB hub controller.

hw.usb.disable_enumeration=1

Here is sample logging in question:

Jan 29 20:18:44 kernel: uhub_reattach_port: giving up port reset - device vanished

I tested it on my machine and confirmed that excessive logging disappered and my USB devices are successfully recognized and connected

@miwi-fbsd
Copy link
Contributor

Hi,

Could u please open a bug report in bugs.freebsd.org. I think this is a pola change, due to the fact it helps your system, but for others it might hide useful information after the patch is applied. Thank you in advance.

@maxsteciuk
Copy link
Author

Hello I raised this on FreeBSD bug tracker: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235625

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants