Operating System - HP-UX
1825017 Members
4334 Online
109678 Solutions
New Discussion юеВ

Re: How do i disable Keyboard and Mouse?

 
Rajeesh_1
Advisor

How do i disable Keyboard and Mouse?

I would like to disable key board and
mouse of my HP Unix B-Class workstations.

Basically i want to remove keyboard and
mouse physically from the systems which
will help me to keep the systems on rack.

I'm able to disable solaris by commenting
keyboard properties under /etc/default/kbd

Can i do the same on HP B2000 Machines

Thanks in Advance,
Rajeesh
7 REPLIES 7
Ravi_8
Honored Contributor

Re: How do i disable Keyboard and Mouse?

Hi,

If you disconnect the KB and mouse,system will not hang/power down. Remove the kB and mouse from the system, mount it on rack.

whenever you need, connect them to machine.

I haven't seen any such file to disable KB and mouse (It will be a driver embeded in the kernel itself)
never give up
Radhakrishnan Venkatara
Trusted Contributor

Re: How do i disable Keyboard and Mouse?

I had manytimes removed keyboard when the machine is running.
Negative thinking is a highest form of Intelligence
Rajeesh_1
Advisor

Re: How do i disable Keyboard and Mouse?

I agree with your points that system will
not hung once you pull out keyboard and
mouse when it's running.

Question is how do we get rid of the keyboard and mouse dependencies? The problem is
system looks for the keyboard and mouse during startup.

Regards,
Rajeesh
Bill Hassell
Honored Contributor

Re: How do i disable Keyboard and Mouse?

Actually, CDE (Xwindows) is requiring the mouse (poiting device) and keyboard. You can change the console over to the serial port and now it will boot without needing GUI-stuff. This is how you transform a workstation into a server. You'll need to interrupt the bootup process and interact with the processor ROMs to setup the console. Just to make sure everything is working BEFORE you make the change, hook up a terminal to the serial port and make sure you can cat some text to the port. Note that the default HP-UX baud rate is 300, not 9600 for an idle serial port). The console baud rate settings will be established by the processor ROMs and inittab once you switch.


Bill Hassell, sysadmin
Paul Cross_1
Respected Contributor

Re: How do i disable Keyboard and Mouse?

This is off topic, but for the benefit of future searchers, the solaris information needs clarification. You don't have to change any files in order to switch between serial and graphic heads. /etc/default/* only changes the DEFAULT boot behaviour. Solaris automatically test for the presence of a keyboard and acts accordingly.

IE: plug in a keyboard and boot, and you get a graphical console, unplug the keyboard and boot, and you get a text console through serial A.
Dan Bolton
Frequent Advisor

Re: How do i disable Keyboard and Mouse?

Hi,

I have a few B and C class workstations, rack mounted as servers. The Owner's Guide indicates (and I have confirmed) that to change the console from the graphics card to serial, just boot up without the USB keyboard connected. The console will then be directed to Serial 1.

If I recall correctly, you will also want to disable the auto-start of the graphical login, as the box will beep incessantly every few minutes if you don't.

Will post how to do that as soon as I find my notes!

db
...skid in sideways, chocolate in one hand, martini in the other, totally worn out and screaming, "WOO HOO what a ride!"
Dan Bolton
Frequent Advisor

Re: How do i disable Keyboard and Mouse?

Rajeesh,

Either before or after booting up with the serial console, run dtconfig to disable the desktop login (and the associated beeping)...

# /usr/dt/bin/dtconfig -d
to disable auto-start of desktop(CDE)on subsequent re-boots

# /usr/dt/bin/dtconfig -kill
to halt current desktop login process

see: man dtconfig for more info

... I owe this forum for that one, as I stumbled across the dtconfig command here, the same day I first booted a C class box to serial console, and didn't know how I was going to stop that awfull noise ;)

Good luck,
D
...skid in sideways, chocolate in one hand, martini in the other, totally worn out and screaming, "WOO HOO what a ride!"