home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Technical Support
Ask a Tech Support Question (free)!

Weird need for Keyboard Lock Application

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 2367
Discussions: 200,942, Posts: 2,379,330, Members: 246,305
Old July 19th, 2005, 02:01 PM   Digg it!   #1 (permalink)
Member
 
Join Date: Oct 2001
Posts: 119
Weird need for Keyboard Lock Application

This is a bit of a weird one. I have two machines, one windows, and one linux, both dual headed to the same two monitors, and both radio connected to the same logitech keyboard and mouse.

This is handy, except that obviously anything I do happens on both machines at once. What I really want are two applications (one windows, one linux) which will lock the keyboard and mouse on the press of some keypress, (preferably without doing anything to the desktop) and wait for another different keypress to release the keyboard and mouse (basically I want to emulate a KVM - or at least a KM - without suffering a KVM)

Any helpful hints from anyone would be great.

Hey I can't be the only person wanting to do this... cough! cough!. :-)

Amos
amos is offline   Reply With Quote
Old July 19th, 2005, 10:31 PM     #2 (permalink)
Member
 
just_a_nobody's Avatar
 
Join Date: May 2005
Posts: 356
Because they are radio controlled, there is no solution, in fact, you can have your computers in different locations (upstairs and downstairs), of your house, and the mouse may still function, on both computers, at the same time. I would just get a ps/2 mouse for one computer, and remove the, or get a KVM box.
just_a_nobody is offline   Reply With Quote
Old July 20th, 2005, 08:41 AM     #3 (permalink)
Member
 
Join Date: Oct 2001
Posts: 119
I believe you misunderstand. Yes the mouse and keyboard will work on both computers. But if on each computer there is an application which locks the keyboard and mouse until some key is pressed (a screen lock program) ideally without disrupting the desktop image shown, then I can hotkey the application to kick off on the windows machine when I hit f9 say, which waits for f10 before releasing the keyboard. Then on the linux machine, if I can hotkey (or have a daemon wait for) f10 before locking the keyboard, and then the lock released on f9, then hey presto I can swith between machines.

There are many many screenlock programs, but most clear the screen and with for a pawword entry. I need one that just works with keypresses.

The thing that hinders me from coding it is knowing how to claim control of the keyboard/mice from the whole desktop, not just my application.

At the moment I just have to bring up a screen lock with password on each computer. A bit of a pain if you are quickly switching from one to the other.

Of course the best of both worlds would be to make the keyboard and click functions dependent on where the cursor is. Then you could give both screens to either computer or one screen to one, and the other to the other, but have a cursor control that pans across both. But that would be way too cool, and in fact fairly useful given how much cross platform stuff I do...
amos is offline   Reply With Quote
Old July 20th, 2005, 09:15 AM     #4 (permalink)
Caveat Emptor
 
Rootstonian's Avatar
 
Join Date: Mar 2005
Location: Out of my mind
Posts: 3,241
Send a message via AIM to Rootstonian
Basically, he needs a TSR that traps the BIOS keyboard interrupt and just trashes the keystrokes.

However, my assembler is so rusty, it would take me a while to write this. And then I would have to charge you and copyright it and sell it to Gates and I'm just kinda tired right now and don't feel like it LOL

Try an Internet search...I'm sure someone, somewhere has written something close.
Rootstonian is offline   Reply With Quote
Old July 20th, 2005, 10:04 AM     #5 (permalink)
Ultimate Member
 
golfcart's Avatar
 
Join Date: Oct 2001
Location: Michigan
Posts: 1,769
Not what you are looking for but might solve your troubles...

http://www.cablesnmor.com/usb-switch-box.html
golfcart is offline   Reply With Quote
Old July 20th, 2005, 11:06 AM     #6 (permalink)
Member
 
Join Date: Oct 2001
Posts: 119
Quote:
Originally Posted by Rootstonian
Basically, he needs a TSR that traps the BIOS keyboard interrupt and just trashes the keystrokes.

However, my assembler is so rusty, it would take me a while to write this. And then I would have to charge you and copyright it and sell it to Gates and I'm just kinda tired right now and don't feel like it LOL

Yeah. Just my feeling and I'm the one who wants it

Quote:
Originally Posted by Rootstonian
Try an Internet search...I'm sure someone, somewhere has written something close.

Yeah did that. That's what I thought, but found nothing. I could go the hardware route obviously, but logitech say their stuff is highly likely not to work with switchboxes etc. Still may be worth a try. Or maybe I'll write some software sometime, but given the list of important things I have to write, this probably is currently sitting at 231 and unlikely to climb
amos is offline   Reply With Quote
Old July 20th, 2005, 11:12 AM     #7 (permalink)
Caveat Emptor
 
Rootstonian's Avatar
 
Join Date: Mar 2005
Location: Out of my mind
Posts: 3,241
Send a message via AIM to Rootstonian
Yep, and on second thought, this would probably not be assembler. A Win32 program that you can run that "hooks" the keyboard would be better.

http://www.kbalertz.com/kb_33690.aspx
Rootstonian is offline   Reply With Quote
Old July 20th, 2005, 02:36 PM     #8 (permalink)
Member
 
just_a_nobody's Avatar
 
Join Date: May 2005
Posts: 356
I would just go with a KVM switch, with the keyboard and mouse connected, and the monitors, not connected, going directly to the computers. It would suffice, till you found your program...lol. KVMs are pretty cheap on eBay.
just_a_nobody is offline   Reply With Quote
Old July 21st, 2005, 06:45 AM     #9 (permalink)
Member
 
Join Date: Oct 2001
Posts: 119
Thanks. Yes you are probably right. If the KVM works it'll do most of what I want. I was put off KVMs cause there was no way it would support the monitors, but I can get a cheap one to do the KM, and just check it out. If it doesn't work, well it can hit the large graveyard I already have
amos is offline   Reply With Quote
Old July 21st, 2005, 05:45 PM     #10 (permalink)
Member
 
just_a_nobody's Avatar
 
Join Date: May 2005
Posts: 356
How do you mean a KVM would not support the monitors? You don't have to have any monitor connected, just the one mouse, and one keyboard, then have each monitor connected directly to its designated computer.
just_a_nobody is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads
Thread Thread Starter Forum Replies Last Post
Keyboard number lock not working twistedbrntucker General Tech Discussion 6 February 27th, 2005 07:43 PM
Sandisk Cruzer lock application! jmoore2001 Applications and Operating Systems 2 September 20th, 2004 11:42 PM
Mecer 244110 keyboard lock on windows install cancel Mobile Computing 0 February 15th, 2004 05:38 PM
Weird Lock up problem jutah General Tech Discussion 4 October 20th, 2002 10:19 PM
HELP! Lock ups and weird memory errors swamp-fox Technical Support 9 January 2nd, 2002 05:00 PM


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Making Health Care Worse (159)
The disrespect of Obama by Russian .. (14)
Wireless Televisions. (11)
windows 7 problem (7)
CPU fan stops spinning randomly (8)
Regular Build (6)
Is the PSU I received dead? (11)
Print spooler problem (15)
HIS HD5770 graphic card question (15)
windows vista security holes (9)
Install XP pro and a Vista laptop ?.. (11)
Foreign voltage (10)
Dept. of HS: NSA 'Helped' Develop V.. (15)
A good PSU? (10)
Recent Discussions
BSOD On Startup (ntoskrnl.exe) (2)
Print spooler problem (15)
Laptop with wireless problem. (1)
Wireless Televisions. (11)
Have you switched yet? (86)
Asus P4G8X Mobo (5)
screen resolution vs monitor size (2)
radeon x850xt platinum & shader 3 (4)
sms storage to PC (0)
Regular Build (6)
Open With ..... Win7 (0)
java code for fibonacci (1)
[F@H SPAM 11/16/09] ! 1/2 months to r.. (35)
windows 7 problem (7)
CPU fan stops spinning randomly (8)
Partition Magic caused HDD problem (3)
Is the PSU I received dead? (11)
Point and Shoot Camera Suggestions. (2)
Modern Warfare 2 freeze (13)
wireless user (1)
World's largest Monopoly Game using G.. (332)
Ideal cheap graph card for PC-Gaming? (17)
BIOS won't read disk when I try to fl.. (0)
Install XP pro and a Vista laptop ?? (11)
Graphics Card Upgrade Question (1)


All times are GMT -4. The time now is 05:29 PM.
TechIMO Copyright 2009 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28