Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
> ---- Help with NumLock ----
Musab
post Mar 14 2008, 01:00 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 3
Joined: 14-March 08
Member No.: 13,378



Hello All,

My question is not simple as you think, I have used some commands but they don't work the reason is: I'm using an embedded system with Linux.

I used the command "uname -a" and got 'GumStix' .. I need to modify inittab to turn the NumLock on the startup, or if you know some other way?

thanks,
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies (1 - 5)
Hemant
post Mar 14 2008, 02:41 AM
Post #2


RMS is my Hero
******

Group: Support Specialist
Posts: 782
Joined: 6-October 02
From: Trichy,INDIA
Member No.: 29



A quick google search reveals that you can add following to rc.local :

<pre>
# Turn numlock on:
for tty in /dev/tty[1-6]; do
/usr/bin/setleds -D +num < $tty
done
</pre>


--------------------
Hemant Kumar
user posted image
hemant@linuxhelp.net
Go to the top of the page
 
+Quote Post
Musab
post Mar 14 2008, 07:43 AM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 3
Joined: 14-March 08
Member No.: 13,378



Hemant, thats what I mean, the linux does not have this command "setleds", its kind of missing alot of things. E.g. `make` does not work cause missing gcc!

the thing is that I can turn on the numlock key on the keyboard and it works, but I need this to be done automatically. So is there a way to find out what happens when I turn the key on on the keyboard, can I know what gets executed when this key is pressed?

thanks,
Go to the top of the page
 
+Quote Post
michaelk
post Mar 14 2008, 04:12 PM
Post #4


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,800
Joined: 23-January 03
Member No.: 360



Gumstix looks like it has some interesting products. So which one do you have? Typically embedded systems use a scaled down shell called busybox
and have limited resources so that one must compile applications on a development system and then transfer to the host. Which is why there isn't gcc.
I am not familiar with these products so my help is limited. In addition depending on the system you have typical x86 applications might not run the same.
Go to the top of the page
 
+Quote Post
Musab
post Mar 18 2008, 02:24 PM
Post #5


Whats this Lie-nix Thing?
*

Group: Members
Posts: 3
Joined: 14-March 08
Member No.: 13,378



QUOTE (michaelk @ Mar 14 2008, 03:12 PM) *
Gumstix looks like it has some interesting products. So which one do you have? Typically embedded systems use a scaled down shell called busybox
and have limited resources so that one must compile applications on a development system and then transfer to the host. Which is why there isn't gcc.
I am not familiar with these products so my help is limited. In addition depending on the system you have typical x86 applications might not run the same.



Thanks Michaelk,

I see what you mean..so I have to compile it in different machine and run it in the gumstix system.

Here is the full uname -a result: Linux gumstix-custom-verdex 2.6.21 #1 Sun Feb 3 03:38:52 PST 2008 armv5tel unknown
Go to the top of the page
 
+Quote Post
michaelk
post Mar 18 2008, 02:52 PM
Post #6


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,800
Joined: 23-January 03
Member No.: 360



I was looking for the product model number which has nothing to do with the output of uname.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 17th December 2017 - 04:37 PM