LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-07-2021, 01:12 PM   #1
doom_23
LQ Newbie
 
Registered: Feb 2021
Location: Poland
Distribution: Debian Sid
Posts: 12

Rep: Reputation: Disabled
Keyboard does not work properly in tty


Hello. When I am switching to tty (for example Ctrl+Alt+F1) I need to write my login. But I can't write any letters. All I can write is numbers.
What is the problem? My distro is Debian Sid (bullseye).
 
Old 02-07-2021, 01:36 PM   #2
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,788
Blog Entries: 1

Rep: Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065
Is it always this way?
Did you spill something on your keyboard?
Do you have a stuck key?
Do you have access to another keyboard to try?
Does plugging the USB keyboard into a different USB port change anything?
Does a powerdown reboot fix it?
Did you only just finish installing Bullseye?
Did you only just finish upgrading to Bullseye?
 
Old 02-07-2021, 01:39 PM   #3
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,105
Blog Entries: 6

Rep: Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822
Got the correct keymap?

https://wiki.debian.org/Keyboard
https://superuser.com/questions/4695...-change-keymap
https://www.digitalocean.com/communi...ymap-in-debian
 
Old 02-07-2021, 03:39 PM   #4
doom_23
LQ Newbie
 
Registered: Feb 2021
Location: Poland
Distribution: Debian Sid
Posts: 12

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mrmazda View Post
Is it always this way?
Did you spill something on your keyboard?
Do you have a stuck key?
Do you have access to another keyboard to try?
Does plugging the USB keyboard into a different USB port change anything?
Does a powerdown reboot fix it?
Did you only just finish installing Bullseye?
Did you only just finish upgrading to Bullseye?
1. Yes
2. No, keyboard is good
3. No
4. No
5. No
6. No
7. Yes
8. No

I am using Linux for 2 years but this happened to me for the first time.
This distribution I installed to laptop Dell Latitude D620 at Feb 1 and I have not been in tty mode until today. Also I installed a patch that fixes xorg 865 bug using the script I have found on github. The script itself:
Code:
#!/bin/bash

rm -rf build
mkdir -p build
cd build

sudo apt install devscripts -y
sudo mk-build-deps -t'apt-get -y' -ir xserver-xorg-core

apt source xserver-xorg-core
SRC_DIR=`ls | cut -f1 | head -n1`

#https://bugs.freedesktop.org/show_bug.cgi?id=865
#wget -O ../xkb_switch_on_release.patch https://bugs.freedesktop.org/attachment.cgi?id=129861
patch ${SRC_DIR}/xkb/xkbActions.c < ../xkb_switch_on_release.patch || exit 1

pushd ${SRC_DIR}
dch -n ''
debuild -us -uc
popd

sudo apt purge xorg-server-build-deps devscripts --auto-remove -y

sudo dpkg -i xserver-common_*.deb
sudo dpkg -i xserver-xorg-core_*.deb
rm -rf ../build

Last edited by doom_23; 02-08-2021 at 12:38 PM. Reason: answers on questions
 
Old 02-07-2021, 03:49 PM   #5
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,788
Blog Entries: 1

Rep: Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065
Quote:
Originally Posted by doom_23 View Post
...
6. Yes
...
Has it stayed fixed since the powerdown reboot?
 
Old 02-08-2021, 12:50 PM   #6
doom_23
LQ Newbie
 
Registered: Feb 2021
Location: Poland
Distribution: Debian Sid
Posts: 12

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mrmazda View Post
Has it stayed fixed since the powerdown reboot?
Wait, what? What did I write? Now answers are good.
It's weird, but I have just entered to tty mode and it works, but if I want to return back, I need to press Ctrl+Super+F7 instead of Ctrl+Alt+F7. If I will change a keyboard model in xfce settings, the changes also apply to a tty. For example, the key '/' does not work with "Dell Latitude" model in xfce settings but if I'll set the model to 102 keys keyboard, it works.

Last edited by doom_23; 02-09-2021 at 01:38 AM.
 
Old 02-08-2021, 01:47 PM   #7
doom_23
LQ Newbie
 
Registered: Feb 2021
Location: Poland
Distribution: Debian Sid
Posts: 12

Original Poster
Rep: Reputation: Disabled
I think that something related to keyboard layout.
 
  


Reply

Tags
debian, keyboard, tty


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
[SOLVED] TTY's not working, switching TTY's does nothing David2010 Linux - Hardware 5 01-17-2012 11:25 PM
TTY's not working, switching TTY's does nothing David2010 Linux - Software 3 01-16-2012 03:29 AM
tty in chroot env says "not a tty" pattbert Linux - Software 1 11-19-2011 10:06 PM
change tty => system crashes (ati driver/tty resolution) mosca Debian 6 08-05-2004 07:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:12 AM.

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