Subject says most of the concern: I have tons of debugging data from hidmap.
I took a look at the source and chased things over to hidmap.c where I can see that the logging function is `DPRINTFN` which should only be defined as no-op when HID_DEBUG is defined.
I wouldn't expect that to be set in a release build.
On top of that, the code suggests if
or
As far as I know, I don't have those set. I checked my sysctl and
is 0. And I don't see any references to a hid inside of sysctl.conf.
At this point, I think I've followed a decent path in terms of trying to debug this, but I'm not sure what to do next short of try to build 15-CURRENT in a way that I can debug why the DPRINTFN is actually logging. I checked the 14.2 release notes and didn't see anything; I'm still knew to FreeBSD culture so maybe I looked in the wrong spot, though. My goals would be:
1. Stop the logging (per the above, it seems like that shouldn't be happening, no?)
2. If not possible, update syslog to make these go away.
Thanks for any help!
Code:
Datestamp host kernel: hms0: hidmap_intr: hm=0x... len=
Datestamp host kernel: hms0: hidmap_intr: data= ...
I took a look at the source and chased things over to hidmap.c where I can see that the logging function is `DPRINTFN` which should only be defined as no-op when HID_DEBUG is defined.
I wouldn't expect that to be set in a release build.
On top of that, the code suggests if
Code:
(hm)->debug_var != NULL
Code:
(hm)->debug_var > n-log-level
As far as I know, I don't have those set. I checked my sysctl and
Code:
hw.hid.debug
At this point, I think I've followed a decent path in terms of trying to debug this, but I'm not sure what to do next short of try to build 15-CURRENT in a way that I can debug why the DPRINTFN is actually logging. I checked the 14.2 release notes and didn't see anything; I'm still knew to FreeBSD culture so maybe I looked in the wrong spot, though. My goals would be:
1. Stop the logging (per the above, it seems like that shouldn't be happening, no?)
2. If not possible, update syslog to make these go away.
Thanks for any help!