Re: [USB] Keyboard, mouse and ergonomy
On 2010-Sep-27 15:34:19 +0200, Alexander Leidinger alexan...@leidinger.net wrote: Quoting Hans Petter Selasky hsela...@c2i.net (from Mon, 27 Sep 2010 14:21:42 +0200): I was thinking about adding a sysctl to ukbd and ums that shows how many keypresses have been done and how many pixels you have moved the mouse during a day. I agree with Alexander's comments on the usefulness or otherwise of just counting keypresses and mouse pixels. Mouse clicks or number of mouse movements is probably more useful for ergonomics than pixels moved. Regarding the security: - don't make this real-time stats, add some artificial delay Delaying the reporting of actual keystroke numbers by several seconds is rather painful. If you want to go this path, either just update the visible count every N seconds (have a callout that triggers every N seconds) or M events (where N or M are configurable and maybe small random numbers). - make it depending on a compile time knob (disabled by default) and issue a warning on device attach if compiled in My personal view is that this is being excessively paranoid. Note that FreeBSD already reports the total number characters read/written via TTY devices. I don't think it's necessary to go as far as compiled-out by default with warnings if enabled - a runtime knob is adequate. Having the sysctl disabled by default and only enabled by root (maybe only readable by root) should be adequate since there are plenty of other mechanisms for root to obtain actual keypress and mouse movement data. -- Peter Jeremy pgpOUztlgvtTB.pgp Description: PGP signature
Re: [USB] Keyboard, mouse and ergonomy
On 27 September 2010 20:21, Hans Petter Selasky hsela...@c2i.net wrote: Hi, I was thinking about adding a sysctl to ukbd and ums that shows how many keypresses have been done and how many pixels you have moved the mouse during a day. These number will mostly be useful for making ergonomic arguments that a certain way of working is better than another one. Anyone have any comments or input on this? Are there any security concerns about this? Grab a book or five on ergonomics, UI design and Human/Computer Interaction. Read some of the papers that you can find on what went into say, apple's (earlier) UI design. It's all rather interesting and enlightening. :) As other have said, minimising keypresses/mouse movements isn't 1:1 correlated with better ergonomic design. Adrian ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
[USB] Keyboard, mouse and ergonomy
Hi, I was thinking about adding a sysctl to ukbd and ums that shows how many keypresses have been done and how many pixels you have moved the mouse during a day. These number will mostly be useful for making ergonomic arguments that a certain way of working is better than another one. Anyone have any comments or input on this? Are there any security concerns about this? --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
[USB] Keyboard, mouse and ergonomy
Hi, I was thinking about adding a sysctl to ukbd and ums that shows how many keypresses have been done and how many pixels you have moved the mouse during a day. These number will mostly be useful for making ergonomic arguments that a certain way of working is better than another one. Anyone have any comments or input on this? Are there any security concerns about this? --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
Re: [USB] Keyboard, mouse and ergonomy
Quoting Hans Petter Selasky hsela...@c2i.net (from Mon, 27 Sep 2010 14:21:42 +0200): Hi, I was thinking about adding a sysctl to ukbd and ums that shows how many keypresses have been done and how many pixels you have moved the mouse during a day. These number will mostly be useful for making ergonomic arguments that a certain way of working is better than another one. Anyone have any comments or input on this? Are there any security concerns about this? Be careful with ergonomic arguments. For example the screen corners are easy (and fast) mouse targets (if they are used for something in the software), and would give a false impression if you count mouse-device movement instead of mouse-pointer movement on the screen (which you can not measure in ums). The most easy ergonomic point for a mouse is the current position (pop-up menus), and this involves not much movement... Regarding key-presses there's also the problem of having the keys directly under your fingers, or having to move back and forth with the hands (also depends upon the keyboard layout and type of work you do). Regarding metrics I suggest to: - add a click-count - not hardcode the counter-reset (let a sysctl handle the counter reset upon request) - differentiate between normal key presses and shift-ed/control-ed/... ones (I do not think that caps-lock should count as shift-ed) - I do not know if it makes sense to have a hold-time (for shift/control/...), if this is for real ergonomic research, this could be helpful Regarding the security: - don't make this real-time stats, add some artificial delay (you could interpolate what is typed just by watching the stats), I suggest to make the delay at least several seconds long (to cover people with disabilities and maybe people which search each character with one finger), for real ergonomic research this is counter-productive (but you stated that you want to measure on a per-day basis, to this should not matter in your case) - make it depending on a compile time knob (disabled by default) and issue a warning on device attach if compiled in Bye, Alexander. -- An honest tale speeds best being plainly told. -- William Shakespeare, Henry VI http://www.Leidinger.netAlexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
Re: [USB] Keyboard, mouse and ergonomy
On Mon Sep 27 10, Hans Petter Selasky wrote: Hi, I was thinking about adding a sysctl to ukbd and ums that shows how many keypresses have been done and how many pixels you have moved the mouse during a day. These number will mostly be useful for making ergonomic arguments that a certain way of working is better than another one. Anyone have any comments or input on this? Are there any security concerns about this? i like the idea. :) would be nice if this could be turned on/off for ums and ukbd seperately. how about the kernel options: USB_STATS_UMS USB_STATS_UKBD cheers. alex --HPS -- a13x ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org