{"id":816,"date":"2011-11-20T09:10:02","date_gmt":"2011-11-20T14:10:02","guid":{"rendered":"http:\/\/www.familytidings.com\/blog\/?p=816"},"modified":"2011-11-20T09:10:02","modified_gmt":"2011-11-20T14:10:02","slug":"the-worlds-gone-crazy","status":"publish","type":"post","link":"https:\/\/www.familytidings.com\/blog\/?p=816","title":{"rendered":"The World&#8217;s Gone Crazy"},"content":{"rendered":"<p>Actually not, but starting last night Pinto, my Thinkpad T60 with Ubuntu 10.04 started giving me errors about an X windows failure.  This morning, I was still getting them, so I thought maybe an upgrade got some libraries out of sync and tried a restart.  (This hasn&#8217;t actually happened with Ubuntu, but it was a problem I&#8217;ve seen in the past.)  Then I couldn&#8217;t log in.  My password was accepted, but after a second or two, I was returned to the log-in screen.  I hit Ctrl-Alt-F1 and logged in to a text session.  I looked for errors in \/var\/log and didn&#8217;t see any, but noticed the logs were pretty big.  Next I looked in ~\/.xsession-errors.  There was an error about not being able to write a file to \/tmp.  Turns out I was out of disk space.  \/var\/log\/debug, user.log and syslog were huge.  Each was filled with messages from discovery.c about searching for HID devices.  The first problem was to get some disk space back so the system could function.  I deleted the previous copy of the huge logs and restarted.  Now I can log in again.  <\/p>\n<p>There are two problems here.  First is that I had turned off the low disk notification for this drive.  That wasn&#8217;t smart.  Googling that turned up some <a href=\"http:\/\/askubuntu.com\/questions\/7925\/can-i-configure-low-disk-space-warning-to-a-lesser-threshold\">advice about changing the low disk space warning<\/a>.  Running gconf-editor and drilling down to apps -> gnome-settings-daemon -> plugins -> housekeeping shows that it&#8217;s active, but ignore_paths is set to &#8220;\/&#8221;.  I double-clicked ignore_paths, selected &#8220;\/&#8221; and clicked &#8220;remove.&#8221;  Problem one solved.<\/p>\n<p>Problem two is why are my logs filling up with these messages.  In \/var\/log\/debug, this sequence appears every 20 seconds:<\/p>\n<p><code><br \/>\nsrc\/demon.cpp   : 234  main                 -- Checking for USB scanners...<br \/>\nsrc\/discovery.c : 79   getScanners          -- ::::::::::::::: METHOD START :::::::::::::::<br \/>\nsrc\/discovery.c : 213  getUsbScanners       -- ::::::::::::::: METHOD START :::::::::::::::<br \/>\nsrc\/discovery.c : 221  getUsbScanners       -- finding attached HID devices...<br \/>\nsrc\/discovery.c : 131  getHidDevices        -- ::::::::::::::: METHOD START :::::::::::::::<br \/>\nsrc\/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: \/dev\/usb\/hiddev0. No such file or directory<br \/>\nsrc\/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: \/dev\/usb\/hiddev1. No such file or directory<br \/>\n<\/code>[a few dozen more messages like this with different device names]<code><br \/>\nsrc\/discovery.c : 197  getHidDevices        -- ::::::::::::::: METHOD END :::::::::::::::<br \/>\nsrc\/discovery.c : 223  getUsbScanners       -- total HID devices found: 0<br \/>\nsrc\/discovery.c : 226  getUsbScanners       -- ::::::::::::::: METHOD END :::::::::::::::<br \/>\nsrc\/discovery.c : 92   getScanners          -- getUsbScanners successful<br \/>\nsrc\/discovery.c : 125  getScanners          -- ::::::::::::::: METHOD END :::::::::::::::<br \/>\nsrc\/demon.cpp   : 240  main                 -- usb scanners found is 0<br \/>\nsrc\/demon.cpp   : 309  main                 -- End of checking for USB scanners.<br \/>\n<\/code><\/p>\n<p>The most recent change to my system was adding drivers for the new Lexmark all-in-one printer.  It has a scanner.  Hmm&#8230;<\/p>\n<p>The first hit for those messages turned up <a href=\"http:\/\/tech.velmont.net\/lexmark-drivers-are-pure-pukecrap-demond-what-is-it-doing\/\">a blog entry by a really pissed off Norwegian dude<\/a>.  He obviously hates Lexmark and his solution was to uninstall the drivers.  I don&#8217;t hate Lexmark and I plan to use my printer, so his solution doesn&#8217;t really help me.  <\/p>\n<p>Since the error messages are about scanners and I don&#8217;t scan often from this laptop, I tried removing XSane (sane-utils, lib-sane, xsane and xsane-common).  In the list, hplip also came up.  This is for the HP printer the Lexmark replaced and also is used by the older HP Photosmart, but I don&#8217;t print to that printer from the laptop.<\/p>\n<p>Alas, this didn&#8217;t stop the flow of messages.  I&#8217;ll try Lexmark support.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Actually not, but starting last night Pinto, my Thinkpad T60 with Ubuntu 10.04 started giving me errors about an X windows failure. This morning, I was still getting them, so I thought maybe an upgrade got some libraries out of sync and tried a restart. (This hasn&#8217;t actually happened with Ubuntu, but it was a [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-816","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/816","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=816"}],"version-history":[{"count":10,"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/816\/revisions"}],"predecessor-version":[{"id":826,"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/816\/revisions\/826"}],"wp:attachment":[{"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=816"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=816"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=816"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}