public inbox for linux-8086@vger.kernel.org
 help / color / mirror / Atom feed
* fix for keyboard driver config
@ 2015-11-02 19:59 Stefan Pietzonke
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Pietzonke @ 2015-11-02 19:59 UTC (permalink / raw)
  To: linux-8086

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 : ' '
}

^ permalink raw reply	[flat|nested] 2+ messages in thread
* Re: fix for keyboard driver config
@ 2016-05-20 12:16 Marc-F. LUCCA-DANIAU
  0 siblings, 0 replies; 2+ messages in thread
From: Marc-F. LUCCA-DANIAU @ 2016-05-20 12:16 UTC (permalink / raw)
  To: ELKS

Thanks Stefan for the patch !

Applied in:
https://github.com/jbruchon/elks/pull/25

MFLD


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-05-20 12:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-02 19:59 fix for keyboard driver config Stefan Pietzonke
  -- strict thread matches above, loose matches on Subject: below --
2016-05-20 12:16 Marc-F. LUCCA-DANIAU

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox