LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 12-22-2004, 09:38 AM   #1
Yntarius
LQ Newbie
 
Registered: May 2004
Location: Sao Paulo, Brazil
Distribution: RedHat 7.3
Posts: 19

Rep: Reputation: 0
Changin lilo src code


Hi everyone,

I belive this is quite an unusual problem, so I'm taking my chances here...

We have linux as the OS for our product, and I have developed a way of updating the software by booting in a safe partition and runing a couple of scripts that update the machine. The issue is, the lilo timer was set to zero, therefore it will not prompt at booting UNLESS it is booted with the ALT key (or ctrl, shift, and another options) pressed while lilo is loading. This is working fine.
The chalenge is, we dont want to have to plug a keyboard in the machine. We would like to use the hardware interruption from a button on the machine to open the lilo "switching" window. And further more, we would need to change the up and down keys on lilo to keys on our machine.
I have downloaded lilo's source code and i have being trying to understand it for a week now, but I still havent found where does it listen to the inputs to see if the alt key is being pressed.
Anyone got a clue?

Thanks a lot
Ariel
 
  


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
src code trini2k Red Hat 1 05-19-2005 01:19 PM
Changin lilo src code Yntarius Linux - Software 1 12-22-2004 10:38 AM
Changin lilo src code Yntarius Linux - General 1 12-22-2004 10:35 AM
rpmbuild doesn't produce the source code in /usr/src/redhat/BUILD Niceman2005 Linux - Software 2 11-29-2004 05:58 PM
changin lilo.conf has no effect kingscott Linux - Newbie 7 11-02-2004 05:46 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:03 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