Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.


  Search this Thread
Old 03-10-2007, 09:34 AM   #1
LQ Newbie
Registered: Jan 2004
Posts: 15

Rep: Reputation: 0
Minor hickups

Hello all,

I've now got an LFS system up with Xorg 6.9 from BLFS and a few other programs from BLFS. I still have a lot to do with it but there are some niggling problems I want to get rid of.

With all linux distros I get this error when booting:

atkbd.c: Use 'setkeycodes e001 <keycode>' to make it known
atkbd.c: Use 'setkeycodes e059 <keycode>' to make it known

And whats more they stream down the prompt making it hard to type.

So I follow it and setkeycodes to something random like 250, which works until I reboot.

I want this to go away permanently, what can I do?

Thats my first problem, second:

Bash prompts. I don't know what to call it, but the bit showing before you type something which normally looks something like this:

user@host : /directory symbol
So something like:
root@superhost : /root #

However, my machine looks more like this:

root@host : /rootroot@host:~# (when i'm in the ~ directory)

And I want to change it to look more like the earlier one. What can I do?

Old 03-10-2007, 10:28 AM   #2
LQ Newbie
Registered: Jan 2004
Posts: 15

Original Poster
Rep: Reputation: 0
Fixed the problem with bash.

Anyone know how I can fix the setkeycodes problem? Cheers
Old 03-10-2007, 10:31 AM   #3
Registered: Nov 2003
Location: London, UK
Distribution: openSUSE, Ubuntu
Posts: 358

Rep: Reputation: 35
bash prompts

Can't help you with the other stuff, but for Bash prompts look here

Chapter 2 gives you the info you need.
Old 03-17-2007, 04:02 PM   #4
Registered: Jan 2005
Location: california
Distribution: O.A.M. (Overmonitoring Address Matrix) Release 2.2 with 2120 Patch
Posts: 37

Rep: Reputation: 17
Post your full dmesg & your full error/boot log. What kind of keyboard & keyboard controller are you using? Try rebuilding your kernel (using your old .config, of course), making a few keyboard/controller related changes. Good luck.

Last edited by na5m; 03-17-2007 at 04:17 PM.
Old 03-21-2007, 04:21 PM   #5
Registered: Mar 2007
Posts: 119

Rep: Reputation: 16
The source code of atkbd (./drivers/input/keyboard/atkbd.c) may also help a bit.

Some of the comments in there tell of keyboards that have compatibility problems.

There is also mention of a userland tool to set the keycodes, you could add that to the initial process run or perhaps the shell login resource file.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
i need minor help with SUSE 9.1 Cap'n Skyler Linux - Newbie 3 10-02-2004 11:27 AM
UT2004 Sound Hickups/Lag .. I've done a search here orgee Linux - Games 0 09-17-2004 02:32 PM
minor problems ahmed_alzahrani Linux From Scratch 2 09-05-2004 03:21 PM
Minor problems Gai-jin Linux - Newbie 4 01-07-2003 09:11 PM
Minor Problem PlanetNEO Linux - Networking 3 12-08-2002 04:23 PM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 06:49 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration