Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 75508 Details for
Bug 85296
www-apps/nut version 2.0.1 version bump required
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to disable extraneous syslog'ing in hidups
nut-usb-events.1.patch (text/plain), 883 bytes, created by
Jonathan Sailor
on 2005-12-25 09:38:51 UTC
(
hide
)
Description:
Patch to disable extraneous syslog'ing in hidups
Filename:
MIME Type:
Creator:
Jonathan Sailor
Created:
2005-12-25 09:38:51 UTC
Size:
883 bytes
patch
obsolete
>diff -rNu nut-2.0.2.orig/drivers/hidups.c nut-2.0.2/drivers/hidups.c >--- nut-2.0.2.orig/drivers/hidups.c 2005-01-27 09:33:20.000000000 -0500 >+++ nut-2.0.2/drivers/hidups.c 2005-12-23 17:12:16.000000000 -0500 >@@ -108,14 +108,14 @@ > > /* XXX: deal with bogosity by throwing it out */ > if (ev->value > 3000000) { >- upslogx(LOG_INFO, "Ignoring bogus event 0x%x (%d)", >+ upsdebugx(2, "Ignoring bogus event 0x%x (%d)", > ev->hid, ev->value); > return; > } > > /* x86 page == ups-specific, ignore these for now */ > if ((ev->hid & 0x860000) == 0x860000) { >- upslogx(LOG_INFO, "Ignoring x86 page event 0x%x (%d)", >+ upsdebugx(2, "Ignoring x86 page event 0x%x (%d)", > ev->hid, ev->value); > return; > } >@@ -176,7 +176,7 @@ > break; > > default: >- upslogx(LOG_INFO, "Unhandled event: 0x%x (%d)", >+ upsdebugx(2, "Unhandled event: 0x%x (%d)", > ev->hid, ev->value); > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 85296
:
54007
|
62634
|
66391
|
67163
|
67164
| 75508 |
80074
|
80768
|
86852