when the machine is all the way up in multiuser mode.. how can u tell if the keyboard / mouse is plugged in.. usually see it when u boot the machine, it tells u whether they are plugged in or not.. but w/o rebooting the machine.. how can u tell.. eeprom ? TIA
check sysdef output for reference to keyboard, may look like sun-keyboard. If it is not attached or not being used then it will say something like (driver not assigned). Unfortunately what happens is when the device is not being used the driver is unloaded, and then reloaded by the OS when you use the device.
Not sure if there is any other way but I will post if I figure anything else out.
Hey I just figured out another way to see if keyboard and mouse are attached. I was doing some testing with cfgadm command and noticed it will tell you if they are attached.
FYI as I was typing this I had a thought to double check an older E250 and it does not show keyboard and mouse entry so it must only work on USB systems.
ex 280R, see bottom 2 lines of output.
cfgadm -al
Ap_Id Type Receptacle Occupant Condition
c0 scsi-bus connected configured unknown
c0::dsk/c0t6d0 CD-ROM connected configured unknown
c2 scsi-bus connected unconfigured unknown
usb0/1 unknown empty unconfigured ok
usb0/2 unknown empty unconfigured ok
usb0/3 usb-mouse connected configured ok
usb0/4 usb-kbd connected configured ok
Well I sounds like a good point but notice that the 280R in my post actually has qty4 usb ports and and 2 are being used. I will have to do some more research on this on monday. I have a few different model system with USB ports so I can run this on all of them and see what is up.
I checked my v210 this morning and it show the usb ports.
With keyboard and mouse plugged in and when removed, see outputs below;
I am not sure why the V440 would not show the USB ports but you may want to check OBP level etc..
I do not have a v440 at this time so I can't look into this myself.
Also I am running Solaris 9 9/04.
Maybe other Engineers/Administrators could check their systems and post what they find for the different systems.
# cfgadm -al
Ap_Id Type Receptacle Occupant Condition
c0 scsi-bus connected configured unknown
c0::dsk/c0t0d0 disk connected configured unknown
c0::dsk/c0t1d0 disk connected configured unknown
c1 scsi-bus connected unconfigured unknown
uata0:scsi scsi-bus connected configured unknown
uata0:scsi::sd30 CD-ROM connected configured unknown
usb0/1 usb-kbd connected configured ok
usb0/2 usb-mouse connected configured ok
# cfgadm -al
Ap_Id Type Receptacle Occupant Condition
c0 scsi-bus connected configured unknown
c0::dsk/c0t0d0 disk connected configured unknown
c0::dsk/c0t1d0 disk connected configured unknown
c1 scsi-bus connected unconfigured unknown
uata0:scsi scsi-bus connected configured unknown
uata0:scsi::sd30 CD-ROM connected configured unknown
usb0/1 unknown empty unconfigured ok
usb0/2 unknown empty unconfigured ok
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.