LinuxQuestions.org
Visit Jeremy's Blog.
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 09-20-2013, 05:25 AM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,414

Rep: Reputation: 51
Capslock keyboard LED strange behavior.


Slackware 14.0

Hi: when I switch from one console (text consoles) to the other, the state of the capslock key is preserved. The keyboard capslock LED state is preserved too. However, if one of the consoles is /dev/tty7 (the GUI), then the LED does not keep pace with the capslock key. You have to press the capslock key twice for the LED to synchronize with the capslock key. This behavior I have observed under versions 14.0 and 12.0 with different machines and keyboards. Is there a remedy for this?
 
Old 09-20-2013, 10:12 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,980

Rep: Reputation: 630Reputation: 630Reputation: 630Reputation: 630Reputation: 630Reputation: 630
Yes - contribute the patch :-P. It's one of those fiddly feature requests that are low on priority, so nobody bothers.
 
Old 09-20-2013, 10:25 AM   #3
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,414

Original Poster
Rep: Reputation: 51
Nobody bothers because nobody works in the /dev/tty's, I think.
 
Old 09-20-2013, 02:15 PM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,980

Rep: Reputation: 630Reputation: 630Reputation: 630Reputation: 630Reputation: 630Reputation: 630
I do. But I wouldn't give a $£@&! what the keyboard leds did, as long as the keyboard works. The younger generation has a shorter attention span and does several things simultaneously in a gui. It's more productive, if you have the mind for it.
 
Old 09-20-2013, 02:31 PM   #5
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,414

Original Poster
Rep: Reputation: 51
I could have the mind, but not the eyes. I find the text consoles, with its fixed dot matrix characters and lack of equispacing definitely more legible and certainly more comfortable: white foreground, black background, as credits are shown in the cinema. What I do not know is if the characters are directly generated by hardware as in the old days.
 
Old 09-20-2013, 03:05 PM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,980

Rep: Reputation: 630Reputation: 630Reputation: 630Reputation: 630Reputation: 630Reputation: 630
If eyesight is a problem (as mine is) grab the terminus fonts from some red hat family distro and run rpm2targz on them. They go up to 32 point, but I can only use 28 point I have this in rc.local

setfont ter-928n

28 being the size. The biggest ones are just too big for the console to stretch to it. No doubt red hat put in a patch to hack that, and visited it on luckless Fedora users.
 
1 members found this post helpful.
Old 09-20-2013, 03:09 PM   #7
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,414

Original Poster
Rep: Reputation: 51
Thank you very much, business_kid.
 
Old 08-22-2014, 12:17 AM   #8
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,414

Original Poster
Rep: Reputation: 51
Quote:
Originally Posted by business_kid View Post
Yes - contribute the patch :-P. It's one of those fiddly feature requests that are low on priority, so nobody bothers.
I have to resurrect this thread. Why is it that "nobody bothers"? Because (almost) everyone works in the GUI. And why is this? Because powerful companies made it immensely popular. Some genius back then said: let's make it as in the book. There the background is white and the text is black! Because of that decision millions of people strain their eyes, staying all day at a distance of one or two feet of the equivalent of a 60 watts lamp. True, you can invert the colors. Who knows how to do it or are even aware it can be done? In fact, they are happy reading white background pages, as that of wikipedia and most sites.

This is the greatest reason of the GUI success, whether you like or not. And developers work in the GUI because that's the way they were educated as children. This is just an example of the stupidity of people, a subject so well known in certain circles that it is not worth speaking about. But these are philosophers and I, not belonging to this elite, will speak.
 
Old 08-22-2014, 10:03 AM   #9
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: Slackware®
Posts: 11,863
Blog Entries: 14

Rep: Reputation: 1638Reputation: 1638Reputation: 1638Reputation: 1638Reputation: 1638Reputation: 1638Reputation: 1638Reputation: 1638Reputation: 1638Reputation: 1638Reputation: 1638
Member Response

Hi,

I have no such issue with Slackware. Moving between console(s) do not have issues with caps lock on my Laptops or Desktops. Normal state is off. If I change caps lock to on the state remains on between virtual consoles. This is a local peripheral issue since you are changing the state on the keyboard thus that will remain until change is made again and remain in the state until toggled once again by a user.

Hope this helps.
Have fun & enjoy!
 
Old 08-22-2014, 03:06 PM   #10
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,980

Rep: Reputation: 630Reputation: 630Reputation: 630Reputation: 630Reputation: 630Reputation: 630
Quote:
Originally Posted by stf92 View Post
I have to resurrect this thread. Why is it that "nobody bothers"? Because (almost) everyone works in the GUI. And why is this? Because powerful companies made it immensely popular. Some genius back then said: let's make it as in the book. There the background is white and the text is black! Because of that decision millions of people strain their eyes, staying all day at a distance of one or two feet of the equivalent of a 60 watts lamp. True, you can invert the colors. Who knows how to do it or are even aware it can be done? In fact, they are happy reading white background pages, as that of wikipedia and most sites.

This is the greatest reason of the GUI success, whether you like or not. And developers work in the GUI because that's the way they were educated as children. This is just an example of the stupidity of people, a subject so well known in certain circles that it is not worth speaking about. But these are philosophers and I, not belonging to this elite, will speak.
For your information, as the male of the species goes over 40, the eyeball shortens and your focal length increases. I am there and find white text on black an immense strain to the eyes. Yes, the white background, reasonable size type, and control of brightness and contrast are necessary. It is essential for me to change colour to white and the type to black when I can. I need a much bigger font otherwise. Anyone looking into a 60 watt bulb is getting what they deserve - eyestrain.

There is also a bl;ink rate issue, and a monotony of focal length issue using monitors. We were not made for it.
 
Old 08-23-2014, 08:57 PM   #11
briselec
Member
 
Registered: Jun 2013
Location: Ipswich, Australia
Distribution: Slackware
Posts: 32

Rep: Reputation: Disabled
Quote:
Originally Posted by onebuck View Post
Hi,

I have no such issue with Slackware. Moving between console(s) do not have issues with caps lock on my Laptops or Desktops. Normal state is off. If I change caps lock to on the state remains on between virtual consoles. This is a local peripheral issue since you are changing the state on the keyboard thus that will remain until change is made again and remain in the state until toggled once again by a user.

Hope this helps.
Have fun & enjoy!
It's software that turns the LEDs on and off, not hardware. Most likely it's a bug in the desktop environment he is using.
 
Old 08-23-2014, 09:17 PM   #12
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: Slackware®
Posts: 11,863
Blog Entries: 14

Rep: Reputation: 1638Reputation: 1638Reputation: 1638Reputation: 1638Reputation: 1638Reputation: 1638Reputation: 1638Reputation: 1638Reputation: 1638Reputation: 1638Reputation: 1638
Member Response

Hi,

Yes, it is software controlling hardware. The keyboards does have a local controller. When you type that is sensed and provided to the port. Once the user enters a X window then that will pass control from the X server as to the required settings as per the Xorg.conf to the system peripherals. Inter-communications with a peripheral are controlled via the service ports of the system by the Kernel via service drivers/modules. Look at: http://www.ibm.com/developerworks/li...-linux-kernel/ ;
Quote:
Given that the goal of this article is to introduce you to the Linux kernel and explore its architecture and major components, let's start with a short tour of Linux kernel history, then look at the Linux kernel architecture from 30,000 feet, and, finally, examine its major subsystems. The Linux kernel is over six million lines of code, so this introduction is not exhaustive. Use the pointers to more content to dig in further.
EDIT: Look at: http://www.makelinux.net/kernel_map/
Hope this helps.
Have fun & enjoy!

Last edited by onebuck; 08-23-2014 at 10:11 PM. Reason: add link
 
Old 08-23-2014, 10:07 PM   #13
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Wheezy/Jessie/Sid, Linux Mint DE
Posts: 4,487

Rep: Reputation: 626Reputation: 626Reputation: 626Reputation: 626Reputation: 626Reputation: 626
Quote:
Originally Posted by stf92 View Post
True, you can invert the colors. Who knows how to do it or are even aware it can be done?
Well, as trained GUI guinea pig I happen to know it is in the Settings | Change Profile menu.

I think that most people who need a console know how to adjust the font and color settings. They usually are the more computer literate species.

For myself, I usually have 2 or 3 console windows open with 4 or more tabs in each window. On different machines, in different subdirectories. I agree with you the console is invaluable, but the tty is way too limited. For one, whatever I am doing, over 90% of the time I need a web page next to my console to read the instructions on what I am doing.

jlinkels
 
Old 08-23-2014, 11:20 PM   #14
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,414

Original Poster
Rep: Reputation: 51
Quote:
Originally Posted by business_kid View Post
For your information, as the male of the species goes over 40, the eyeball shortens and your focal length increases. I am there and find white text on black an immense strain to the eyes. Yes, the white background, reasonable size type, and control of brightness and contrast are necessary. It is essential for me to change colour to white and the type to black when I can. I need a much bigger font otherwise. Anyone looking into a 60 watt bulb is getting what they deserve - eyestrain.

There is also a bl;ink rate issue, and a monotony of focal length issue using monitors. We were not made for it.
Then it's all a matter of getting used to. You were educated in a black-type environment, I began with the first microcomputers (and mini) who used white types. However, consider what happens in the movies. Once in a while a mad director uses black on white for the credits, but its an inveterate custom in the film industry to use white types on a black background for that purpose. Why would that be? Well, consider how much effort and study that issue must have had then, when people was for the first time exposed to an unknown medium. Is this a matter ruled by the custom too? I don't think so.

Last edited by stf92; 08-23-2014 at 11:21 PM.
 
Old 08-23-2014, 11:49 PM   #15
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,414

Original Poster
Rep: Reputation: 51
Quote:
Originally Posted by onebuck View Post
Hi,

Yes, it is software controlling hardware. The keyboards does have a local controller. When you type that is sensed and provided to the port. Once the user enters a X window then that will pass control from the X server as to the required settings as per the Xorg.conf to the system peripherals. Inter-communications with a peripheral are controlled via the service ports of the system by the Kernel via service drivers/modules. Look at: http://www.ibm.com/developerworks/li...-linux-kernel/ ;
EDIT: Look at: http://www.makelinux.net/kernel_map/
Hope this helps.
Have fun & enjoy!
I have seen this issue in many machines not only in Slackware but on several versions of Debian, from old ones up to the most recent.

Try this: start in a text console, type some letters in lower case. Enter X. In an X window, press capslock. Now go to a text console. You are no longer in X. You'll see the LED is on but you continue typing in lowercase as before entering X. This is what I'm speaking about, and business kid got it right (though he doesn't care). Who's to blame? I'll risk an answer: the X server is.

Last edited by stf92; 08-23-2014 at 11:54 PM.
 
  


Reply


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] Strange keyboard behavior - funny characters on the console montyny Linux - Newbie 2 02-22-2012 07:09 AM
Strange behavior from X: screen freezing, keyboard disabled, mouse continues working creativename Slackware 1 06-21-2010 12:07 AM
Strange capslock problem and numpad behavior (Ubuntu 8.10) xr82 Ubuntu 1 01-09-2009 03:52 AM
Keyboard strange behavior trebek Linux - Hardware 8 09-19-2007 02:26 AM
Strange keyboard behavior VAS Arch 3 11-11-2006 12:07 PM


All times are GMT -5. The time now is 08:56 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration