Help - Search - Members - Calendar
Full Version: ---- Help with NumLock ----
Linuxhelp > Support > Technical Support
Musab
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,
Hemant
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>
Musab
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,
michaelk
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.
Musab
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
michaelk
I was looking for the product model number which has nothing to do with the output of uname.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.