{"id":158,"date":"2003-09-09T01:29:35","date_gmt":"2003-09-09T06:29:35","guid":{"rendered":"http:\/\/www.flamingspork.com\/blog\/?p=158"},"modified":"2013-10-04T09:25:16","modified_gmt":"2013-10-03T23:25:16","slug":"potential-fix-for-keyboard-scancode-errors","status":"publish","type":"post","link":"https:\/\/www.flamingspork.com\/blog\/2003\/09\/09\/potential-fix-for-keyboard-scancode-errors\/","title":{"rendered":"potential fix for keyboard scancode errors"},"content":{"rendered":"<p>on my ibook2 (500mhz), while on console and changing brightness, i get a &#8220;keyboard: unknown scancode e0 4c&#8221; (or e0 54 if going up brightness) log message. Changing the brightness still works though&#8230;.<\/p>\n<p>This <a href=\"https:\/\/www.flamingspork.com\/linux\/kernel\/stew-patches\/patch-mac_hid-brightness.diff\">patch<\/a> may help&#8230;..<\/p>\n<pre>\n--- linux-2.4.21-ben2-xfs.recent\/drivers\/macintosh\/mac_hid.c    2002-08-03 10:39:44.000000000 +1000\n+++ linux-2.4.21-ben2-xfs.recent-stew1\/drivers\/macintosh\/mac_hid.c      2003-09-09 00:20:13.000000000 +1000\n@@ -207,8 +207,8 @@\n        KEY_RIGHTALT, KEY_BRIGHTNESSUP, KEY_BRIGHTNESSDOWN,\n                KEY_EJECTCD, 0, 0, 0, 0,                        \/* 0x38-0x3f *\/\n        0, 0, 0, 0, 0, 0, 0, KEY_HOME,                          \/* 0x40-0x47 *\/\n-       KEY_UP, KEY_PAGEUP, 0, KEY_LEFT, 0, KEY_RIGHT, 0, KEY_END, \/* 0x48-0x4f *\/\n-       KEY_DOWN, KEY_PAGEDOWN, KEY_INSERT, KEY_DELETE, 0, 0, 0, 0, \/* 0x50-0x57 *\/\n+       KEY_UP, KEY_PAGEUP, 0, KEY_LEFT, KEY_BRIGHTNESSDOWN, KEY_RIGHT, 0, KEY_END, \/* 0x48-0x4f *\/\n+       KEY_DOWN, KEY_PAGEDOWN, KEY_INSERT, KEY_DELETE, KEY_BRIGHTNESSUP, 0, 0, 0, \/* 0x50-0x57 *\/\n        0, 0, 0, KEY_LEFTMETA, KEY_RIGHTMETA, KEY_COMPOSE, KEY_POWER, 0, \/* 0x58-0x5f *\/\n        0, 0, 0, 0, 0, 0, 0, 0,                                 \/* 0x60-0x67 *\/\n        0, 0, 0, 0, 0, 0, 0, KEY_MACRO,                         \/* 0x68-0x6f *\/\n\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>on my ibook2 (500mhz), while on console and changing brightness, i get a &#8220;keyboard: unknown scancode e0 4c&#8221; (or e0 54 if going up brightness) log message. Changing the brightness still works though&#8230;. This patch may help&#8230;.. &#8212; linux-2.4.21-ben2-xfs.recent\/drivers\/macintosh\/mac_hid.c 2002-08-03 &hellip; <a href=\"https:\/\/www.flamingspork.com\/blog\/2003\/09\/09\/potential-fix-for-keyboard-scancode-errors\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[8],"tags":[],"class_list":["post-158","post","type-post","status-publish","format-standard","hentry","category-linux-kernel"],"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5a6n8-2y","jetpack-related-posts":[{"id":151,"url":"https:\/\/www.flamingspork.com\/blog\/2003\/09\/04\/new-2421-ben2-xfs-patch\/","url_meta":{"origin":158,"position":0},"title":"new 2.4.21-ben2-xfs patch","author":"Stewart Smith","date":"2003-09-04","format":false,"excerpt":"patch-2.4.21-ben2-xfs.recent.bz2 Apply in the usual way, this one is against 2.4.21 stock, so it includes both BenH patches and the XFS patches. The XFS patches are: SGI XFS snapshot-2.4.21-2003-06-23_01:45_UTC as opposed to my last effort with XFS 1.1 (i think). This patch is pretty similar (if not identical) to what\u2026","rel":"","context":"In &quot;linux-kernel&quot;","block_context":{"text":"linux-kernel","link":"https:\/\/www.flamingspork.com\/blog\/category\/linux-kernel\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":169,"url":"https:\/\/www.flamingspork.com\/blog\/2003\/10\/03\/linux-2422-ben2-stew1-xfs-available\/","url_meta":{"origin":158,"position":1},"title":"linux-2.4.22-ben2-stew1-xfs available","author":"Stewart Smith","date":"2003-10-03","format":false,"excerpt":"Okay, I admit that the -stew1 part is pure vanity - but hey, that's what EXTRAVERSION is for, right? A patch against stock 2.4.22 which gives you: - benh fixes and features - a fix for that annoying message on console when changing brightness (brightness down seems to generate a\u2026","rel":"","context":"In &quot;linux-kernel&quot;","block_context":{"text":"linux-kernel","link":"https:\/\/www.flamingspork.com\/blog\/category\/linux-kernel\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":139,"url":"https:\/\/www.flamingspork.com\/blog\/2003\/08\/04\/benh-and-xfs\/","url_meta":{"origin":158,"position":2},"title":"benh and xfs!","author":"Stewart Smith","date":"2003-08-04","format":false,"excerpt":"patch-2.4.21-ben2-xfs.bz2 It works! (as in, that's what I'm running now). The EXTRAVERSION in the Makefile isn't quite accurate, but there you go. Also, check out my .config for my ibook2.","rel":"","context":"In &quot;linux-kernel&quot;","block_context":{"text":"linux-kernel","link":"https:\/\/www.flamingspork.com\/blog\/category\/linux-kernel\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":191,"url":"https:\/\/www.flamingspork.com\/blog\/2003\/11\/19\/reminder-to-self\/","url_meta":{"origin":158,"position":3},"title":"reminder to self","author":"Stewart Smith","date":"2003-11-19","format":false,"excerpt":"find out why linux 2.4.22-ben2-stew2-xfs is crashing on saving the clock on shutdown. It's really annoying.","rel":"","context":"In &quot;linux-kernel&quot;","block_context":{"text":"linux-kernel","link":"https:\/\/www.flamingspork.com\/blog\/category\/linux-kernel\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":103,"url":"https:\/\/www.flamingspork.com\/blog\/2003\/06\/12\/new-stews-kernel\/","url_meta":{"origin":158,"position":4},"title":"new &#8220;stew&#8217;s kernel&#8221;","author":"Stewart Smith","date":"2003-06-12","format":false,"excerpt":"http:\/\/www.flamingspork.com\/linux\/kernel\/debs\/ Debs for 2.4.21-rc7-ac1-stew1 are up. Basically a bit of a test release this - trying to see how pany people actually like compete, nice, remotely optimized builds of the kernel in an easy to swallow .deb package. That and I want an easy package for myself to carry around\u2026","rel":"","context":"In &quot;linux-kernel&quot;","block_context":{"text":"linux-kernel","link":"https:\/\/www.flamingspork.com\/blog\/category\/linux-kernel\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":137,"url":"https:\/\/www.flamingspork.com\/blog\/2003\/08\/03\/linux-on-an-ibook\/","url_meta":{"origin":158,"position":5},"title":"linux on an ibook","author":"Stewart Smith","date":"2003-08-03","format":false,"excerpt":"well, i've got the Linux and the MacOS X on the ibook now. Finally had enough things to do that the procrastination value of moving 25GB worth of home directory data around was worth it. This, of course, had to be accomplished by buying another hard drive. So, an extra\u2026","rel":"","context":"In &quot;linux-kernel&quot;","block_context":{"text":"linux-kernel","link":"https:\/\/www.flamingspork.com\/blog\/category\/linux-kernel\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_likes_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts\/158","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/comments?post=158"}],"version-history":[{"count":2,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts\/158\/revisions"}],"predecessor-version":[{"id":3438,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts\/158\/revisions\/3438"}],"wp:attachment":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/media?parent=158"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/categories?post=158"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/tags?post=158"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}