Thread: DR1000 Patch for DR1000 firmware
View Single Post
Old 03-03-2011, 04:12 PM   #167
Mackx
Guru
Mackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to behold
 
Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
Quote:
Originally Posted by rvs View Post
This is not a request, but do you think in theory it would be possible to have the DR shutdown by holding the lower middle button for a few seconds (the same way you start it)?

I've looked at the ION Development PDF and it says there's no keyboard mapping associated with this action (holding the lower middle button for a few seconds), which seems like a bad sign.
Also don't know if UDS could get in the way.

Thanks in advance for any ideas.
It took some time to find the correct code:
The keyboard driver is here: \iRex\Sources\4.0\Kernel\DR800S-1.x\drivers\input\keyboard\ionkbd in the published code.
From that a short and a long press both lead to the same key-event. A shift-press (holding middle left or right and pressing short on bottom middle) leads to a Backspace, as does any other combination of middle buttons. So no quick solution.

The driver is included in the kernel, so I guess that you would need a complete kernel rebuild to change its behaviour.

The question remains: would you want the (long) press of a single easy accessible key to shutdown your reader? I do not have too much problems with the current 3 key-sequence (menu, pagedown (long down), enter (middle L/R))

A two-key sequence would be possible if the shutdown menu item would be the one that is default selected when bringing up the menu. But that still makes it easy to select by accident.

Just my thoughts.
Marcel.
Mackx is offline   Reply With Quote