[Q] Prevent Android from wakeup on keypress - external USB Keyboard - UD - Gen8, Gen9, Gen10 Q&A, Help & Troubleshooting

Hey i recently bought an Case with an included USB Keyboard for my 101.
But I noticed each time a "android related key" (ESC, Win-Key, Menu-Key, all arrow-keys, F1-F4) is pressed the device wakes up.
Is there any way to deactive this?
I remember there have been options in CM7 on my Cellphone for activating options like "wake up on home key",...
So they are propably set for wakup events somewhere (even in UD).
As far as I found out the keys are emulated as follows:
ESC -> back
Menu-Key, F1 -> Menu
Win-Key -> Home
F2 -> ?, Phone perhaps?
F3 -> Contacts
F4 -> Power
Arrow-Keys -> Directional Pad
Another option would be to deactive the USB port while in sleep - which actualy would be the best for me atm - as the keyboard would't take power then aslso...
Is this possible somehow?
Any help appreciated.
Regards
Frecp
Archos 101
Using Urukdroid 1.6RC2
EDIT: Answers like "pull the cable while powered off" - are known by the author...

can't believe nobody uses a USB Keyboard here and seems to have this "problem"
anyway here is what i found yet...
http://www.kandroid.org/online-pdk/guide/keymaps_keyboard_input.html
looks promising - but i don't get how i can use it for an external keyboard - seems its just for internal ones....!??!
another problem i found is - in terminal emulator (no matter wich one i used) it seems i can't use all keys. So for example "del" key doesn't delete but print out ^@.
So each "not supported" key gives out ^@...
still glad for any help

also found this:
http://code.google.com/p/extkeyboardremapper/updates/list
sounds promising - will report any results

Related

[APP][01.10.2008] Vibration Feedback

[SIZE=+1][highlight]Vibration Feedback for Windows Mobile 5+ (DISCONTINUED)[/highlight][/SIZE]
Original Thread: http://forum.xda-developers.com/showthread.php?t=412491
Different approach by writing an own touch.dll: http://forum.xda-developers.com/showthread.php?t=450256
This Software lets the phone vibrate when the touchscreen is touched. This feature is knwon from the Samsung Omnia Phone for example. It gives a better response and feeling for a finger tip on the screen.
It consists of two parts. The first one is VOA aka vibrate.exe (which is already mentioned in different threads) by Const and a configuration part VOAConfig by Kisja.
[SIZE="+1"][highlight]Help needed![/highlight][/SIZE]
VOA is not developed anymore and the sources are not availible. To optimize the reaction and some other things (see TODO later) we need to rewrite VOA. Since I have not enough time for it, we need someone who has experience in development. I could help with some ideas, since I know how VOA works. Send mit a PN or simply reply on this thread!
Current version with VOA 01.10.2008 and VOAConfig v1.5: Vibration_Feedback_1.5_01.10.2008_volume fix.cab
[SIZE=+1][highlight]VOA by Const[/highlight][/SIZE]
It's a little application which runs in background and reacts on user activities with vibration.
[highlight]Features:[/highlight]
- Vibrate always on touch events (mouse down, or mouse up)
- Vibrate only if SIP is active
- Vibrate on Key press (hardware keys)
- Adjustable vibration (duration in ms)
- configuration over command line parameters
- fully event based, so only battery consumption while vibrating
- No runtimes needed (pure C++ application)
- Works with WM 5+ (not 2003)
[highlight]Command Line Parameters:[/highlight]
-nled: Which nled to use (1 on Diamond)
-len: vibration duration in milliseconds
-ondown: 0 - on mouse up, 1 - on mouse down
-onsip: 0 - handle every touch event, 1 - vibrate only if SIP (or phone) is active
-keyon: 1 - Vibrate on Key press (is not affected by onsip!)
[highlight]Changes:[/highlight]
Code:
[URL="http://forum.xda-developers.com/attachment.php?attachmentid=117756"]01.10.2008[/URL]
- Fix for volume buttons (HTC Diamond), the keyboard part of
the code is completely disabled if onkey 0 is set
[URL="http://forum.xda-developers.com/attachment.php?attachmentid=117757"]10.09.2008[/URL]
- improved vibration length/strength
- With short values (10-30) is the vibration like in Teeter
- Phone Dialpad support if onsip 1 is set
[URL="http://forum.xda-developers.com/attachment.php?attachmentid=117758"]08.09.2008[/URL]
- support for HTC Diamond
[highlight]Known Issues/TODO:[/highlight]
- lags while fast typing (vibration doesn't stop or no input possible while vibrating, seems to be ROM or Phone dependent)
- Volume keys are blocked on HTC Diamond if onkey is set to 1. Don't use key vibration or enable the default windows volume bubble to have workung response and volume keys (Use Diamond Tweak for example).
- vibrates during an active call, if dialpad vibration is enabled
[highlight]Download:[/highlight]
VOA*.zip contains VOA.EXE and an exaple VOA.LNK file for launching VOA with desired parameters
With volume buttons fix: VOA_01.10.2008_volume_fix.zip
With Dialpad support: VOA_10.09.2008_Dialpad.zip
Without Dialpad support: VOA_10.09.2008.zip
[SIZE=+1][highlight]VOAConfig by Kisja[/highlight][/SIZE]
This application makes the configuration of VOA more simple.
[highlight]Features:[/highlight]
- Choose activity mode (always/SIP only) (-onsip 0/1)
- Enable Vibration on Keys (-onkey 0/1)
- Enable VOA on startup (autostart)
- Choose vibration duration/strength (-len x)
- Start/Stop VOA
- Saves settings in registry
- Source code open (VisualBasic .NET/VS 2008 Solution)
- .NET 2.0/3.5 Runtime needed
[highlight]Manual:[/highlight]
1) Adjust settings as desired
2) Tap on "Save" to save settings to registry and create new startup link
3) Tap on "Start/Stop" twice to restart VOA or reset device
[highlight]Known Issues/TODO:[/highlight]
- Restart VOA automatically after saving configuration
[highlight]Changes:[/highlight]
Code:
16.09.2008 v.1.5
- vibration strength costumization optimized.
Select between "low", "middle", "high" and adjust more prcise with the slider
- "Advanced Options" in "Options" menu:
- select NLED Interface (-nled option in VOA)
- select Event to react on (-ondown option in VOA)
- VOA is started using CreateProcess Call from coredll.dll (see "help needed" please!)
10.09.2008 v.1.4
- Startup folder not hardcoded anymore,
instead a localized path is used (Environment.GetFolderPath)
[highlight]Download:[/highlight]
The CAB file includes both applications in a single install file.
The version number reflects the version of VOAConfig and the Date stands for the release Date of VOA.
V 1.5 with current VOA in a cab: Vibration_Feedback_1.5_01.10.2008_volume fix.cab
Source (VS 2008 VB .NET Solution): VOAConfig_1.5_Source.zip
[SIZE=+1][highlight]What it does not do[/highlight][/SIZE]
and what will possibly never be implemented:
- hook in other applications. VOA uses a systemwide activity timer to recognize events and does not communicate directly with other applications. This causes sometimes a little lag between the touch event and the vibration. Hooking into other applications would speed it up, but most applications do not have public events to react on.
- reduce touch screen area (for which vibration is activated) to windows borders or something else (think of SIP). VOA reacts on touch events on the whole touch screen.
thank you very much.. this is a really great application!
is it possible to make a "dailpad vibration only" option?
thanks for the program!!!! it works great....
unfortunately i found 2 probles that are not important for me but maybe other people finds annoying:
1.- volume up/down key does not work when VOA.exe is active.When you press vol up or vol down the volume level bar appears, but you cant change volume with keys.
2.-voaconfig crashes when i try to "enable startup". i think this is caused because of folder names (i'm using a spanish rom, so my startup folder is "windows/inicio" and not "windows/startup").
thanks again for your work
app really slows down sms typing... is this something i can fix?
unfortunatly the vibration feedback is a serious battery eater...
but is also a cool idea.
jpresencia said:
[...]
2.-voaconfig crashes when i try to "enable startup". i think this is caused because of folder names (i'm using a spanish rom, so my startup folder is "windows/inicio" and not "windows/startup").
Click to expand...
Click to collapse
Oh jes, I forgot! Sure its always different. Does anyone know how to detect this automatically? A Reg Value with the path perhaps?
jpresencia said:
thanks for the program!!!! it works great....
unfortunately i found 2 probles that are not important for me but maybe other people finds annoying:
1.- volume up/down key does not work when VOA.exe is active.When you press vol up or vol down the volume level bar appears, but you cant change volume with keys.
2.-voaconfig crashes when i try to "enable startup". i think this is caused because of folder names (i'm using a spanish rom, so my startup folder is "windows/inicio" and not "windows/startup").
thanks again for your work
Click to expand...
Click to collapse
Got the same problems as you , for number 2, I am using English stock rom which used the path "windows/startup", yet voaconfig crashed when i start it.
cpt.bert said:
app really slows down sms typing...
Click to expand...
Click to collapse
I also noticed this... Hopefully this can be optimized, cause this app would be perfect
Even if duration is set to 1ms the length of the vibratation is far to long to be useful on my Polaris (HTC Touch Cruise). I've previously tried google Android which has the same functionality built-in. And it gives a small buzz on each key-press which was very good.
This application vibrates too long, and also it does not accept more keypresses when vibrating slowing down the whole input method.
add vibration when PhonePad on foreground and onsip=1
cool concept, I actually like it on my friend's Instinct.....but the battery thing and the accelerated wear on the vibration motor deters me (my titan battery is bad enough as it is already).
yesterday i just thought that something like this would be great
->someone´s up there
schnappus boesus said:
yesterday i just thought that something like this would be great
->someone´s up there
Click to expand...
Click to collapse
oh no, its a cool feature/app (especially on phones without a hard keyboard)
if I had something like a Diamond, I would defintely use this app.
Im using a german samsung i900 omnia, but your app doesnt work here. No vibration whatever setting i use.
Good Work, but seems that doesn't recognize diamond keyboard installed on my wm 6.1 artemis. If i set to vibrate only on SIP it never do, otherwise works great (at any click).
thank You
Bye
The main difference with the samsung version is that on the I900 the phone vibrates only when you press a button on your screen (or at least it is supposed to act like this), which really makes a difference between pressing "nothing" and pressing a button.
I would I love to see this feature, even on my I900, because samsung forgot many things (like the opera browser, in which the phone vibrates whatever the part of the application you're touching, or their SIP, where it does not vibrate even though it is THE software where it should).
*const said:
add vibration when PhonePad on foreground and onsip=1
Click to expand...
Click to collapse
thank you very much ... now it is nearly perfect
How about the slow sms typing and the error while trying to save settings?
cpt.bert said:
How about the slow sms typing and the error while trying to save settings?
Click to expand...
Click to collapse
what do you mean by "slow sms typing"? be more specific please
_4saken_ said:
what do you mean by "slow sms typing"? be more specific please
Click to expand...
Click to collapse
For every key I press on the keyboard the vibrator starts for a short period. During this period I cannot enter another key. Or atleast the key is not displayed until the vibration has stopped. So where I could write very fluid and quick before, I now feel it's going much slower and more like a stutter, if you know what I mean.

[Q] Access hidden power save menu

Hi there,
the last days I played with my motorola milestone with CM 7.1.2 (Android 2.3.7) ROM and "found" an power settings menu, where I can set such things like "enable bluetooth if device charge" and many other usefull things.
Now, I tried to access this again but I can't. Now, I found not much about it but I found here some users which also find a/this menu: http://androidforums.com/evo-4g-tips-tricks/354267-hidden-power-saving-menu.html
Now, question: How this settings can reached? So far I can remember, I access this settings by "Settings -> About the phone -> Battery usage" and there was an entry which I call. Then I pressed a button for this settings and see them.
Any Idea how this menu can reached?
p7
Please use the Q&A Forum for questions Thanks
Moving to Q&A
No one with idea?
Hello Yes!

[Q] Keyboard not working, trackpad fine

Hello all,
I just unpacked my brandnew prime. When booting up I could use the trackpad during the initial install, but the keyboarddock did not work. When finished with the initial install, I could not use the dock keyboard (except for the trackpad) in Android. In the lower right corner there is an icon for the dock (and the prime is charging through the dock). When I select a textbox, there is an additional icon (a keyboard icon) in the lower right corner, but not a single key (not even the top row) works...
Am I missing something or is this dock broken? I have hard reset the prime several times now and undocked and docked several times and am out of options.
Does anyone know of a fix (other than return the tab for RMA/refund)?
Hi
Go to Settings - Language & Keyboard
Verify that Asus Keyboard is set as default keyboard.
Hello Pnoire,
I have checked that the asus keyboard is the default. I have also tried setting the android keyboard as default. I then get a message about the hardware keyboard not being used. I tried toggling between the android and the asus one several times, but all keys remain dead. When I loose the mouse (happens after I change the keyboard), I can get it back by closing and opening tablet + dock. The keys remain non funtional however.
Hi dannykix
I don't know what you can do, now. It could be a hardware problem!
I contacted Asus support, they indicated that it is most likely hardware related. As I just opened the package the tablet is returned to the supplier as a DOA. I hope the new one arrives a bit faster then this one.
Case closed.

Entering Developer Mode on the HP Chromebook X2 and other Chrome OS Tablets

Note : More detailed instructions including pictures can be found on my blog - https://kmyers.me/blog/chromeos/entering-developer-mode-on-the-hp-chromebook-x2-and-other-chrome-os-tablets/
Entering Developer Mode
Step 1) Power Down Your Chromebook
Step 2) Detach the Tablet from the Keyboard Dock (Not required but it does make it easier)
Step 3) Hold the Volume Up, Volume Down and Power Buttons Down for about 7 seconds – specifically until the charging indicator above the USB Type C Ports Flash White. You will be sent to the Chrome OS Recovery Menu.
Step 4) Press the Volume Down Button once to be taken to the Menu
Step 5) Press the Volume Up and Down buttons to bring up the prompt to disable OS Verification
Step 6) Press the Volume Up button to select “Confirm Disabling OS Verification”
Step 7) Press the Power Button to confirm
At this point, your device will factory reset itself and transition into Developer Mode. These instructions should be the same for all Chrome OS Tablets.
Not all chromebooks use this method and it shouldn't be assumed that they all do. The Asus Chromebook flip and many newer CB's utilize the power button-escape-refresh button combo and once at the recovery you have to push Ctrl-D to enter developer mode.
KhanSW said:
Not all chromebooks use this method and it shouldn't be assumed that they all do. The Asus Chromebook flip and many newer CB's utilize the power button-escape-refresh button combo and once at the recovery you have to push Ctrl-D to enter developer mode.
Click to expand...
Click to collapse
This topic was specifically for Chrome Tablets with a detachable keyboard in which the normal keyboard shortcuts dont work (fun fact, they also do not work on Chromeboxes). The only 2 ChromeOS tablets that currently fit into this category is the new Acer Chromebook Tab and the HP Chromebook X2.
This is due to a security design within ChromeOS to make sure that developer mode cannot be entered without the user explicitly doing so. On a Chromebook, it is trusted if done via the built-in keyboard (but not via USB Keyboards) due to some specialized hardware built into all Chromebooks with a built in keyboard. This is to prevent attacks via things like the Maldunio, BadUSB, Teensy and Rubber Ducky - all of which emulate a USB Keyboards to inject keystrokes.
On the X2, the keyboard acts like a USB keyboard and is therefore is un-trusted and therefore needs a way to ensure it is actually being done by the user, hence the combination of the volume/power keys that I posted above. On Chromeboxes, which all require a keyboard, there is a small button that must be held down with a bent paperclip while reconnecting the power to bring up the recovery menu (you then use the keyboard for navigation)
KMyers said:
This topic was specifically for Chrome Tablets with a detachable keyboard in which the normal keyboard shortcuts dont work (fun fact, they also do not work on Chromeboxes). The only 2 ChromeOS tablets that currently fit into this category is the new Acer Chromebook Tab and the HP Chromebook X2.
This is due to a security design within ChromeOS to make sure that developer mode cannot be entered without the user explicitly doing so. On a Chromebook, it is trusted if done via the built-in keyboard (but not via USB Keyboards) due to some specialized hardware built into all Chromebooks with a built in keyboard. This is to prevent attacks via things like the Maldunio, BadUSB, Teensy and Rubber Ducky - all of which emulate a USB Keyboards to inject keystrokes.
On the X2, the keyboard acts like a USB keyboard and is therefore is un-trusted and therefore needs a way to ensure it is actually being done by the user, hence the combination of the volume/power keys that I posted above. On Chromeboxes, which all require a keyboard, there is a small button that must be held down with a bent paperclip while reconnecting the power to bring up the recovery menu (you then use the keyboard for navigation)
Click to expand...
Click to collapse
My apologies for not paying more attention to the title instead of the forum name.
Worked out for me. Thanks!
KhanSW said:
My apologies for not paying more attention to the title instead of the forum name
Click to expand...
Click to collapse
Tried today to change Bios install from USB stick and for some reason the system created 2 roots, 2GB each… is it a dupe? Can i delete a duplicate somehow and how do i know which files/folders from the list?
Nyta8591 said:
Tried today to change Bios install from USB stick and for some reason the system created 2 roots, 2GB each… is it a dupe? Can i delete a duplicate somehow and how do i know which files/folders from the list?
Click to expand...
Click to collapse
I will be replacing ChromeOS with Prime anyway, do i need all these system files? I thought i only need the startup setup to have a chance install from USB…

BT keyboard, disabling annoying shift + space shortcut?

I've been googling and cruising a number of forums, surely there must be a logical way to get rid of this annoying thing. I am unrooted, locked BL. I have a BT keyboard. Swiftkey installed as system app by default, and I have gboard installed, too. I have an annoying keyboard shortcut of space + shift that brings up the Select input method screen. Seems it's an annoying problem, but without root no easy way to fix?
I disabled swiftkey, and I see the keyboard shortcut helper lists the shift + space shortcut, but there's no way to disable or change it to something else.
Has anyone else with a BT keyboard encountered and solved this? Maybe it's my ebay keyboard and some brief lag that interprets capital letters as my sending the space + shift shortcut. It's nearly impossible to take notes with this thing because the input menu pops up every 10 seconds or so. I'll be travelling to the mainland later this week and would love to find a way to fix this because I want to use the tablet and keyboard to take notes at a conference.
Thank you very much for any help you may have. I thought every answer was on google, but this one is not popping up....

Categories

Resources