LinuxQuestions.org
Register a domain and help support LQ
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 08-24-2004, 08:29 AM   #1
thebover
Member
 
Registered: Jul 2004
Location: Canada
Distribution: suse 9.1/knoppix/slackware
Posts: 60

Rep: Reputation: 15
Angry how do i disable keyboard input?


( i posted this on the hardware forum but i think the newbie forum was the better choice!!!!!!!)

This is (i think) a fairly unusual question, but i think that it is possible.

Is it possible (and if so how) to disable the keyboard (aka PS2 barcode scanner) on startup until linux has booted, logged in, apache, mysql, and the lynx browser, started without errors?

basically this is going to be a dumb terminal, with no monitor, and only a barcode scanner as input, and the scanner must not be active until everthing is running, also how hard would it be ( i am assuming part of startup script, to enable a remote logon to troubleshoot if anything goes wrong, ssh i assume)



Thanks in advance

p.s fastest distro on startup with the above features would be???
 
Old 08-24-2004, 08:37 AM   #2
joe83
Member
 
Registered: Sep 2003
Location: Kennesaw GA
Distribution: Slackware-current , Slack81Zip, Smoothwall v2
Posts: 427

Rep: Reputation: 30
Talking

Unplg it ?
 
Old 08-24-2004, 08:42 AM   #3
thebover
Member
 
Registered: Jul 2004
Location: Canada
Distribution: suse 9.1/knoppix/slackware
Posts: 60

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by joe83
Unplg it ?
Smart


it has to be renabled AFTER (or UNTIL) the programs had started aka lynx.
 
Old 08-24-2004, 08:44 AM   #4
joe83
Member
 
Registered: Sep 2003
Location: Kennesaw GA
Distribution: Slackware-current , Slack81Zip, Smoothwall v2
Posts: 427

Rep: Reputation: 30
Sorry, hit return by mistake. I run a dumb terminal for smoothwall and I just unplugged the mouse, keyboard and monitor. Gives me a few bios errors at boot but it runs fine.As far as remote access, ssh works well just make sure your security settings are up to date.(no root access, 2 only, strict authentication)


 
Old 08-24-2004, 08:53 AM   #5
thebover
Member
 
Registered: Jul 2004
Location: Canada
Distribution: suse 9.1/knoppix/slackware
Posts: 60

Original Poster
Rep: Reputation: 15
i know that can be done, i did the same when i set up a linux print server, the prob is, the reason i need the keyboard to be disabled, is because if the power goes out or for some reason needs to be restarted, i need the ps2 barcode scanner to be disabled, until apache is back up and running and lynx is at its home page so then the input from the barcode scanner can be stored in to the database. As there is no monitor, and this is in retail environment, (not me using it ) it needs to be "idiot" proof, and not accept a barcode until it is able to handle it in the manner.

(all the php/mysql is doing is "counting" the barcodes")
 
Old 08-24-2004, 10:13 AM   #6
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
there should be a link to the keyboard in /dev
maybe adjust the keyboards permissions on login, adn adjust them back on logout
 
  


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
Disable mouse, keyboard or other input devices / drivers bastl Programming 0 05-15-2005 06:39 AM
How to disable F11 user input? jpan Linux - General 3 09-17-2004 03:28 AM
Howto disable user input on the console? jpan Programming 15 08-13-2004 01:29 AM
my mouse input is takes as keyboard input in BASH e1000 Slackware 5 12-08-2003 03:00 PM
No keyboard input seen neo77777 Linux - General 5 07-12-2002 09:32 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration