LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 01-27-2010, 11:13 PM   #1
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
Smile how do I stop evdev events being repoted in dmesg, and being logged to syslog


Hi, how do I stop these events being repoted in dmesg, and being logged to syslog?

I think it is logging events from mouse, keyboard and joystick actions.

Code:
evbug.c: Event. Dev: input1, Type: 1, Code: 31, Value: 0
evbug.c: Event. Dev: input1, Type: 0, Code: 0, Value: 0
evbug.c: Event. Dev: input1, Type: 4, Code: 4, Value: 34
evbug.c: Event. Dev: input1, Type: 1, Code: 34, Value: 1
evbug.c: Event. Dev: input1, Type: 0, Code: 0, Value: 0
evbug.c: Event. Dev: input1, Type: 4, Code: 4, Value: 34
evbug.c: Event. Dev: input1, Type: 1, Code: 34, Value: 0
evbug.c: Event. Dev: input1, Type: 0, Code: 0, Value: 0
evbug.c: Event. Dev: input1, Type: 4, Code: 4, Value: 28
evbug.c: Event. Dev: input1, Type: 1, Code: 28, Value: 1
evbug.c: Event. Dev: input1, Type: 0, Code: 0, Value: 0
as mentioned in another thread, my logs are full of this and I can't see the real info.

<edit>
upon reading the man page, there is no mention of logging.
The manpage supposes the evdev module is loaded from/listed in xorg.conf.
On my Mandriva system 2010.1 (cooker) evdev is loaded via the /etc/modprobe.preload

My keyboard, joystick and mouse are Logitech, EX110, and JS, extream 3d pro.
</edit>

I've just edited that file and commented evdev from being loaded.
dmesg still states it is loaded
<edit>....................
....................
fb0: VESA VGA frame buffer device
Linux agpgart interface v0.103
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
brd: module loaded
input: Macintosh mouse button emulation as /devices/virtual/input/input0
PNP: PS/2 Controller [PNP0303:PS2K,PNP0f03:PS2M] at 0x60,0x64 irq 1,12
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
cpuidle: using governor ladder
TCP cubic registered
PM: Checking image partition UUID=18e353a7-a5f5-438b-9912-49b265ae0f56
input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1
logips2pp: Detected unknown logitech mouse model 127
input: ImExPS/2 Logitech Explorer Mouse as /devices/platform/i8042/serio1/input/input2
PM: Resume from disk failed.
registered taskstats version 1
Magic number: 10:388:821
BIOS EDD facility v0.16 2004-Jun-25, 4 devices found
Freeing unused kernel memory: 640k freed
........................
........................
evbug.c: Connected device: input0 (Macintosh mouse button emulation at unknown)
evbug.c: Connected device: input1 (AT Translated Set 2 keyboard at isa0060/serio0/input0)
evbug.c: Connected device: input2 (ImExPS/2 Logitech Explorer Mouse at isa0060/serio1/input0)
evbug.c: Connected device: input3 (Power Button at LNXPWRBN/button/input0)
evbug.c: Connected device: input4 (Power Button at PNP0C0C/button/input0)
::::::::::::::::::::::::::::::
evbug.c: Connected device: input5 (HDA Digital PCBeep at card0/codec#0/beep0)
:::::::::::::::::::::::::::::::
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
input: Logitech Logitech Extreme 3D as /devices/pci0000:00/0000:00:02.0/usb2/2-4/2-4:1.0/input/input6
evbug.c: Connected device: input6 (Logitech Logitech Extreme 3D at usb-0000:00:02.0-4/input0)
logitech 0003:046D:C215.0001: input,hidraw0: USB HID v1.10 Joystick [Logitech Logitech Extreme 3D] on usb-0000:00:02.0-4/input0
evbug.c: Event. Dev: input6, Type: 3, Code: 0, Value: 512
evbug.c: Event. Dev: input6, Type: 3, Code: 1, Value: 508
evbug.c: Event. Dev: input6, Type: 3, Code: 5, Value: 127
evbug.c: Event. Dev: input6, Type: 3, Code: 6, Value: 255
evbug.c: Event. Dev: input6, Type: 0, Code: 0, Value: 0
:::::::::::::::::::::::::::::;
evbug.c: Event. Dev: input1, Type: 17, Code: 0, Value: 1
evbug.c: Event. Dev: input1, Type: 0, Code: 0, Value: 0
:::::::::::::::::::::::::::::
evbug.c: Event. Dev: input1, Type: 17, Code: 0, Value: 0
evbug.c: Event. Dev: input1, Type: 17, Code: 0, Value: 1

Etcetera, etcetera....
</edit>

The mouse and kb are using the ps2 inputs, the js is usb.
Any tips appreciated

Thank you, Glenn

Last edited by GlennsPref; 01-28-2010 at 12:39 AM. Reason: can't see the real info
 
Old 01-28-2010, 12:35 AM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657

Original Poster
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
Cool Solved

Hi, I found a solution.

After posting this thread, i did a google search, yeah, I know! should'a done that first.

I found 2 instances that were helpful, one LFS and another sidux.

Both mentioned evbug being set in the kernel as a module (In my case) or set statically in the kernel debugging section.

I didn't realise I had this set, Must be a default.

So, I blacklisted the module evbug, and the messages are gone!

ref:http://sidux.com/PNphpBB2-viewtopic-t-3168.html
http://linuxfromscratch.org/pipermai...ry/032401.html


Thank you to all (28) who had a look.

When I next configure and compile a kernel, I'll fix it properly then.

Thank you, Regards Glenn
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
redirect events from syslog server junust Linux - General 1 08-10-2009 05:38 AM
help with dmesg, klogd, and syslog-ng OutThere Linux - Software 1 06-15-2009 01:46 PM
KDE: Mouse Events Stop working melikai Linux - Software 2 04-24-2008 07:33 AM
dmesg and syslog full of network traffic pljvaldez Linux - Networking 3 04-23-2008 11:10 PM
Syslog fail events! andykerouac Linux - General 3 01-29-2004 05:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 08:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration