linux-8086.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Pietzonke <jay-t@gmx.net>
To: linux-8086@vger.kernel.org
Subject: fix for keyboard driver config
Date: Mon, 02 Nov 2015 20:59:24 +0100	[thread overview]
Message-ID: <5637C09C.8050001@gmx.net> (raw)

Hello,
while trying to make an ELKS build with the GitHub ELKS sources I found 
a bug in the key maps configuration file:

elks/elks/arch/i86/drivers/char/KeyMaps/mkcfg

The grep command to extract the key map names from the code headers was 
missing the -a option. Some of the text files got recognized as "binary 
files". And the menuconfig showed just garbage to choose from.

If I build a comb360 image with the German keyboard driver then a simple 
"ls" command at / shows no files and hangs forever... I don't know if it 
has something to do with the keyboard driver.

cheers

Stefan Pietzonke


Here is a fix code snippet: (mkcfg) for the missing "-a" on grep: (mkcfg)

#!/bin/bash

# This is a script to create the correct choice command to select from
# the currently available keyboard code sets when configuring ELKS.

function codes() {
     grep '^/\* Keymap:' keys-*.h -a | cut -d : -f 1,3,4 | tr : ' '
}

             reply	other threads:[~2015-11-02 19:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-02 19:59 Stefan Pietzonke [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-05-20 12:16 fix for keyboard driver config Marc-F. LUCCA-DANIAU

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5637C09C.8050001@gmx.net \
    --to=jay-t@gmx.net \
    --cc=linux-8086@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).