LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-14-2016, 01:40 PM   #1
newfoo_l
LQ Newbie
 
Registered: Aug 2016
Posts: 2

Rep: Reputation: Disabled
Question Passing key mappings at boot / Slackware install not recognizing spacebar


Hi LQ,

I'm a linux newbie so forgive my ignorance. After working with a few distros the past month via VirtualBox VMs, for me personally, I found Slackware easier to digest/make sense of.

Now I want to move from console VMs to full install, dual boot with Windows 8, but hitting a small bump. When I boot from the install media, it does not recognize the spacebar, this is only after slackware has loaded though all other keys work. Dmesg reports errors relating to serio0 atkbd, unkown key, 0x39, use setkeycodes.

After some googling, I guess I need "setkeycodes 0x39 57" which maps, 0x39- what I assume slackware is interpreting from my space bar to 57, which I believe is the spacebar code.

This is a problem however as I can't do anything essentially without space so I wanted to know if there is someway to pass this mapping at boot? Or is there another means to get a space character without a spacebar?

I'm on a multi day trip at the moment and wanted to use the downtime to complete the setup of slackware as my new workstation- I brought everything I thought I would need except a keyboard. I would rather not have to buy one just for things.

Thanks guys.
 
Old 10-14-2016, 03:16 PM   #2
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 1,254

Rep: Reputation: 220Reputation: 220Reputation: 220
Quote:
Originally Posted by newfoo_l View Post
Dmesg reports errors relating to serio0 atkbd, unkown key, 0x39, use setkeycodes.
So try to use the setkeycodes tool to find a command, which will work for you. After installing Slackware to a hard disk drive, you can add this command to the rc.local file so that it could be executed during the boot.

.
 
Old 10-14-2016, 03:47 PM   #3
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,471
Blog Entries: 2

Rep: Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980
I _think_ You might consider borrowing a keyboard shortly just to check Your is working properly?
I use Slackware over years and quite few desktops and work stations and have yet to find one not delivering " " on pressing the "largest key" out there?

My bet is either You have a non-typical hardware or just a broken (in some way) setup?

Best bet - borrow an USB keyboard shortly from a friend and check out?

Otherwise try login to an installed Slackware via ssh and ad those codes to rc.local

There are ssh clients on Android (If You have an Android phone?) like ConnectBot or Terminal Emulator

Per default setup the ssh server is auto started.

To complete the setup You would have to borrow an "usual" USB keyboard.
 
Old 10-14-2016, 06:03 PM   #4
newfoo_l
LQ Newbie
 
Registered: Aug 2016
Posts: 2

Original Poster
Rep: Reputation: Disabled
So the laptop is a Thinkpad Yoga and the space bar works in all other situations. Right now I'm using it fine from Windows. Spacebar also works fine in EUFI boot manager, at the boot prompt to modify to init/boot line. Also can use it when I boot a live Ubuntu 16 and openSuse 42. It only does not work once booted from the slackware 14.1 boot usb I have.

As for the keyboard, I'm traveling by bus/train over the next few days but will try to see where I can borrow a keyboard.

As for ssh'ing into- is ssh started on an install boot? I don't have slackware installed, that is what I'm trying to do. Will give that a good and see.
 
Old 10-15-2016, 03:04 AM   #5
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,471
Blog Entries: 2

Rep: Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980
hope it helps?

Anyhow its just reasonably uncommon to have the keyboard behave funny on Slackware setup - I never had the case yet used quite a few odd setups :-/

I would also try re-copy the flash - it's wouldn't be first time a download botched etc. (Windows NT series where obnoxiously famous for ftp screw up at the time)

Last thing i would suspect is actual setup code and as You stated the Lenovo hardware - both have flawless track record in regards of compatibility.
 
  


Reply



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
BASH Key mappings on HPUX 11.x dazdaz Other *NIX 1 10-20-2012 01:04 PM
key mappings michaeljh2000 Slackware 11 12-25-2006 11:57 AM
Modifying key mappings pda_h4x0r Linux - Software 0 12-18-2006 02:47 AM
Error loading key mappings {!!} geletine Linux - Software 2 09-10-2006 08:22 AM
extra key mappings lechuck Linux - Newbie 6 11-04-2003 02:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:32 PM.

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