Sometimes I do stupid things, like looking inside my syslog, even if the system seems to work correctly. Last week I have done exactly this stupid thing and I saw this log repeated each 20 seconds:
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/demon.cpp : 234 main — Checking for USB scanners…
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/discovery.c : 79 getScanners — ::::::::::::::: METHOD START :::::::::::::::
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/discovery.c : 213 getUsbScanners — ::::::::::::::: METHOD START :::::::::::::::
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/discovery.c : 221 getUsbScanners — finding attached HID devices…
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/discovery.c : 131 getHidDevices — ::::::::::::::: METHOD START :::::::::::::::
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/discovery.c : 158 getHidDevices — failed in opening HIDDEV file: /dev/usb/hiddev0. No such file or directory
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/discovery.c : 158 getHidDevices — failed in opening HIDDEV file: /dev/usb/hiddev1. No such file or directory
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/discovery.c : 158 getHidDevices — failed in opening HIDDEV file: /dev/usb/hiddev2. No such file or directory
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/discovery.c : 158 getHidDevices — failed in opening HIDDEV file: /dev/usb/hiddev3. No such file or directory
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/discovery.c : 158 getHidDevices — failed in opening HIDDEV file: /dev/usb/hiddev4. No such file or directory
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/discovery.c : 158 getHidDevices — failed in opening HIDDEV file: /dev/usb/hiddev5. No such file or directory
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/discovery.c : 158 getHidDevices — failed in opening HIDDEV file: /dev/usb/hiddev6. No such file or directory
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/discovery.c : 158 getHidDevices — failed in opening HIDDEV file: /dev/usb/hiddev7. No such file or directory
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/discovery.c : 158 getHidDevices — failed in opening HIDDEV file: /dev/usb/hiddev8. No such file or directory
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/discovery.c : 158 getHidDevices — failed in opening HIDDEV file: /dev/usb/hiddev9. No such file or directory
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/discovery.c : 158 getHidDevices — failed in opening HIDDEV file: /dev/usb/hiddev10. No such file or directory
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/discovery.c : 158 getHidDevices — failed in opening HIDDEV file: /dev/usb/hiddev11. No such file or directory
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/discovery.c : 158 getHidDevices — failed in opening HIDDEV file: /dev/usb/hiddev12. No such file or directory
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/discovery.c : 158 getHidDevices — failed in opening HIDDEV file: /dev/usb/hiddev13. No such file or directory
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/discovery.c : 158 getHidDevices — failed in opening HIDDEV file: /dev/usb/hiddev14. No such file or directory
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/discovery.c : 158 getHidDevices — failed in opening HIDDEV file: /dev/usb/hiddev15. No such file or directory
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/discovery.c : 158 getHidDevices — failed in opening HIDDEV file: /dev/hiddev0. No such file or directory
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/discovery.c : 158 getHidDevices — failed in opening HIDDEV file: /dev/hiddev1. No such file or directory
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/discovery.c : 158 getHidDevices — failed in opening HIDDEV file: /dev/hiddev2. No such file or directory
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/discovery.c : 158 getHidDevices — failed in opening HIDDEV file: /dev/hiddev3. No such file or directory
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/discovery.c : 158 getHidDevices — failed in opening HIDDEV file: /dev/hiddev4. No such file or directory
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/discovery.c : 158 getHidDevices — failed in opening HIDDEV file: /dev/hiddev5. No such file or directory
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/discovery.c : 158 getHidDevices — failed in opening HIDDEV file: /dev/hiddev6. No such file or directory
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/discovery.c : 158 getHidDevices — failed in opening HIDDEV file: /dev/hiddev7. No such file or directory
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/discovery.c : 158 getHidDevices — failed in opening HIDDEV file: /dev/hiddev8. No such file or directory
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/discovery.c : 158 getHidDevices — failed in opening HIDDEV file: /dev/hiddev9. No such file or directory
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/discovery.c : 158 getHidDevices — failed in opening HIDDEV file: /dev/hiddev10. No such file or directory
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/discovery.c : 158 getHidDevices — failed in opening HIDDEV file: /dev/hiddev11. No such file or directory
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/discovery.c : 158 getHidDevices — failed in opening HIDDEV file: /dev/hiddev12. No such file or directory
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/discovery.c : 158 getHidDevices — failed in opening HIDDEV file: /dev/hiddev13. No such file or directory
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/discovery.c : 158 getHidDevices — failed in opening HIDDEV file: /dev/hiddev14. No such file or directory
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/discovery.c : 158 getHidDevices — failed in opening HIDDEV file: /dev/hiddev15. No such file or directory
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/discovery.c : 158 getHidDevices — failed in opening HIDDEV file: /dev/hid/usb/hiddev0. No such file or directory
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/discovery.c : 158 getHidDevices — failed in opening HIDDEV file: /dev/hid/usb/hiddev1. No such file or directory
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/discovery.c : 158 getHidDevices — failed in opening HIDDEV file: /dev/hid/usb/hiddev2. No such file or directory
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/discovery.c : 158 getHidDevices — failed in opening HIDDEV file: /dev/hid/usb/hiddev3. No such file or directory
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/discovery.c : 158 getHidDevices — failed in opening HIDDEV file: /dev/hid/usb/hiddev4. No such file or directory
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/discovery.c : 158 getHidDevices — failed in opening HIDDEV file: /dev/hid/usb/hiddev5. No such file or directory
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/discovery.c : 158 getHidDevices — failed in opening HIDDEV file: /dev/hid/usb/hiddev6. No such file or directory
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/discovery.c : 158 getHidDevices — failed in opening HIDDEV file: /dev/hid/usb/hiddev7. No such file or directory
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/discovery.c : 158 getHidDevices — failed in opening HIDDEV file: /dev/hid/usb/hiddev8. No such file or directory
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/discovery.c : 158 getHidDevices — failed in opening HIDDEV file: /dev/hid/usb/hiddev9. No such file or directory
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/discovery.c : 158 getHidDevices — failed in opening HIDDEV file: /dev/hid/usb/hiddev10. No such file or directory
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/discovery.c : 158 getHidDevices — failed in opening HIDDEV file: /dev/hid/usb/hiddev11. No such file or directory
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/discovery.c : 158 getHidDevices — failed in opening HIDDEV file: /dev/hid/usb/hiddev12. No such file or directory
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/discovery.c : 158 getHidDevices — failed in opening HIDDEV file: /dev/hid/usb/hiddev13. No such file or directory
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/discovery.c : 158 getHidDevices — failed in opening HIDDEV file: /dev/hid/usb/hiddev14. No such file or directory
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/discovery.c : 158 getHidDevices — failed in opening HIDDEV file: /dev/hid/usb/hiddev15. No such file or directory
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/discovery.c : 197 getHidDevices — ::::::::::::::: METHOD END :::::::::::::::
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/discovery.c : 223 getUsbScanners — total HID devices found: 0
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/discovery.c : 226 getUsbScanners — ::::::::::::::: METHOD END :::::::::::::::
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/discovery.c : 92 getScanners — getUsbScanners successful
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/discovery.c : 125 getScanners — ::::::::::::::: METHOD END :::::::::::::::
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/demon.cpp : 240 main — usb scanners found is 0
Apr 2 10:55:53 luigi-ThinkPad-T510 demond: [P:2377 T:-1220327728] src/demon.cpp : 309 main — End of checking for USB scanners.
At first I thought “Oh my god, what is happening to my laptop? It’s going to break down!!!” and I almost started to cry (no it’s not true, it a joke. I just thought: “why do developers write silly things everywhere? Deamed me that I took a look inside the syslog !”).
So googling arround for a solution I found only a guy with the same issue and no solution at all, sure very few people look inside the syslog.
Today I had some time to spend to remove this crap from the log, and finally I found the solution, or at least I think it could be the solution, becouse by now I didn’t test if everything work well with my lexmark all in one printer/scanner.
Ok, This is my solution; open and edit the file /etc/X11/Xsession.d/99demon2. This is the original content:
DAEMON=/usr/local/lexmark/legacy/bin/demond
NAME=demond
export ENABLE_D_LOG=1
DESC=”Device Monitor”${DAEMON} lexmark > /dev/null 2>&1 &
Replace the “export ENABLE_D_LOG=1” with “export ENABLE_D_LOG=0”.
That’s all. To make it work you need to log off and start a new X11 session.
Lascia un commento