Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 133733

Summary: Patch sys-power/nut to fix superflous log messages
Product: Gentoo Linux Reporter: Jonathan Sailor <jsailor>
Component: Current packagesAssignee: Robin Johnson <robbat2>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch to nut ebuild

Description Jonathan Sailor 2006-05-18 15:40:10 UTC
On recent kernels with some USB UPSs, sys-power/nut will get many USB events it doesn't want to handle. It normally syslog's for those events, which can result in lots of clutter in the logs (i.e. 7 messages
every 5 seconds), a la <https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=160700>.

Attachment 75508 [details, diff] is a simple patch to nut which changes the appropriate upslogx() calls to usbdebugx() calls. I've been using it for a few months with no problems.
Comment 1 Jonathan Sailor 2006-05-18 15:43:43 UTC
Created attachment 87023 [details, diff]
Patch to nut ebuild

This is a patch to nut's ebuild to apply the patch in attachment 75508 [details, diff] to nut. It should apply to most recent versions of nut, including 2.0.2 and 2.0.3.
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-05-18 16:09:06 UTC
NAK.
Stop using hidups and use newhidups instead.