Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 295247 - /var/log/messages is filled up with usb-storage and hald-addon-usb-csr messages
Summary: /var/log/messages is filled up with usb-storage and hald-addon-usb-csr messages
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-30 20:44 UTC by Fatih
Modified: 2009-12-24 16:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
/var/log/message (messages_on_mouse_attach_and_later,31.96 KB, text/plain)
2009-11-30 20:45 UTC, Fatih
Details
Forgotten dmesg (dmesg,145.47 KB, text/plain)
2009-12-06 13:57 UTC, Fatih
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fatih 2009-11-30 20:44:18 UTC
The following messages[1] drop to /var/log/messages every 30 seconds resulting in hundred-MBs.

The mouse in question is the following one and works perfectly fine:
Bus 002 Device 002: ID 046d:c510 Logitech, Inc. Cordless Mouse

These annoying messages were a bit different[2] before I commented out everything (including InputDevice section for the mouse) except Device section for graphics card and let the hald take care of the rest (xorg1.5 upgrade).


Reproducible: Always

Steps to Reproduce:
1. attach the mouse and # tail -f /var/log/messages
Actual Results:  
See: attachment

Expected Results:  
Stop bloating the logs.

When googling the messages[2] I was getting before commenting out the mouse section, I found this[3] post with similar usb-storage messages; though the device in question there is an external hard drive.

I don't know if this is another kernel bug or something that can be dismissed since my mouse is working fine. Either way I would at least like to suppress these messages from getting into the logs. 

[3] http://kerneltrap.org/node/3844
Comment 1 Fatih 2009-11-30 20:45:58 UTC
Created attachment 211628 [details]
/var/log/message

messages when mouse is attached and the repeating messages ref.ed as [1] and [2]
Comment 2 Fatih 2009-12-06 13:57:40 UTC
Created attachment 212230 [details]
Forgotten dmesg
Comment 3 Fatih 2009-12-06 14:10:31 UTC
Today, I updated to 2.6.31-gentoo-r6. I also revised my .config and 
set USB_DEBUG and USE_SUSPEND to [n] hoping that would reduce the flood. 
On next boot, I noticed that the messages I mention on my previous post 
as [1] were indeed reduced to the following lines:

Dec  6 15:58:48 elsewhere b-csr: listening on 'Cordless Click Mouse': [4195]: 15:58:48.029 [D] addon-usb-csr.c:212: ** Check batteries
Dec  6 15:58:48 elsewhere b-csr: listening on 'Cordless Click Mouse': [4195]: 15:58:48.030 [D] addon-usb-csr.c:125: CSR device: [/org/freedesktop/Hal/devices/usb_device_46d_c510_noserial]
Dec  6 15:58:48 elsewhere b-csr: listening on 'Cordless Click Mouse': [4195]: 15:58:48.030 [D] addon-usb-csr.c:129: Is dual: 0
Dec  6 15:58:48 elsewhere b-csr: listening on 'Cordless Click Mouse': [4195]: 15:58:48.030 [D] addon-usb-csr.c:186: Looking for: [001][006]
Dec  6 15:58:48 elsewhere b-csr: listening on 'Cordless Click Mouse': [4195]: 15:58:48.030 [D] addon-usb-csr.c:202: Matched device: [001][006][046D:C510]
Dec  6 15:58:48 elsewhere b-csr: listening on 'Cordless Click Mouse': [4195]: 15:58:48.031 [D] addon-usb-csr.c:151: Charge level: 5->5

I don't understand why the thing called csr feels like it has to check 
the battery level of my usb mouse every 30 seconds and bloat the 
/var/log/messages. 
Are these messages a sign of something I  should be worried about or 
will someone just point me a way to suppress and ignore these messages?

Thanks in advance!
Fatih
Comment 4 Fatih 2009-12-24 16:39:29 UTC
Make sure USB_STORAGE_DEBUG is not set in kernel config and disable hald verbosity in /etc/conf.d/hald file as follows
HALD_VERBOSE="no"

peace...