Comments (5)
Possibly they are using wrong input device on your hardware. Would you go through the following steps, please:
- launch fmbt-scripter from fMBT's devel branch.
- Choose File -> New Tizen.
- Press the Rec button.
- Press the Power key on your Tizen device.
- Press the Home key on your Tizen device.
- Copy-paste here what was printed by fmbt-scripter below the editor. I'm especially interested about the lines starting with "GestureEvent(time=...", because it shows correct input device for both buttons. (The device may be different for different buttons.)
from fmbt.
GestureEvent(time=371.753121, event="keydown", key=Power, pos=None, device='qpnp_pon')
GestureEvent(time=372.366826, event="keyup", key=Power, pos=None, device='qpnp_pon')
GestureEvent(time=379.71038, event="keydown", key=KEY_MENU, pos=None, device='gpio-keys')
GestureEvent(time=380.300362, event="keyup", key=KEY_MENU, pos=None, device='gpio-keys')
from fmbt.
Thanks! I added a patch. If you update the latest fMBT devel version, pressPower(), pressHome() (that is equal to pressKey("MENU")) should work fine now. Feel free to repen this issue, if they do not.
from fmbt.
The issue does not seem to working.... Please re-open
from fmbt.
root@madhav:~/fMBT/utils# sdb shell
sh-4.1# grep qpnp_pon /tmp/fmbttizen-agent.py
sh-4.1# python /tmp/fmbttizen-agent.py --debug
FMBTAGENT OK {'input devices': ['accelerometer_sensor', 'max77803-muic', 'sec_touchkey', 'sec_touchscreen', 'light_sensor', 'qpnp_pon', 'gpio-keys', 'sii8240_rcp', 'magnetic_sensor', 'gyro_sensor', 'proximity_sensor']}
kp POWER
FMBTAGENT OK None
kp POWER
FMBTAGENT OK None
kp MENU
Traceback (most recent call last):
File "/tmp/fmbttizen-agent.py", line 928, in
if iAmRoot: rv, msg = sendHwKey(cmd[3:], 0, 0)
File "/tmp/fmbttizen-agent.py", line 416, in sendHwKey
except: fd = keyboard_device._fd
NameError: global name 'keyboard_device' is not defined
sh-4.1# kp HOME
sh: kp: command not found
sh-4.1# kp HOME
sh: kp: command not found
sh-4.1#
root@madhav:~/fMBT# python -c 'import fmbttizen;c=fmbttizen.Device; c.pressPower()'
Traceback (most recent call last):
File "", line 1, in
TypeError: unbound method pressPower() must be called with Device instance as first argument (got nothing instead)
sh-4.1# grep qpnp_pon /tmp/fmbttizen-agent.py
sh-4.1#
from fmbt.
Related Issues (20)
- fmbt-editor and fmbt-scripter: ImportError: No module named fmbt_config HOT 5
- failed to install python on tizen device HOT 2
- OS X build HOT 16
- [fmbttizen]How did you get screenshot from Tizen device HOT 1
- Error : "cannot update screenshot, no connection" When i try to Refresh Screenshot in fmbt-scripter for tizen HOT 3
- fmbt-editor not found HOT 4
- Typing non-ascii characters doesn't work HOT 4
- general question: when modeling, should i seperate data combination and path combination? HOT 3
- using multiprocessing in aal model with heuristic lookahead HOT 3
- fmbt-log seperater not working HOT 4
- using model as an adapter only ? HOT 1
- fmbt on windows doesn't seem to be able to create subprocess HOT 3
- ways to find which action haven't been covered? HOT 1
- adapter questions HOT 1
- Connecting to Tizen Device/emulator failed. Error: Agent connection HOT 3
- FMBT windows installer error - libpcre-1.dll is missing HOT 5
- java-unittest example not working
- can I use it on Tizen wearable? HOT 2
- fmbt-scripter.exe error HOT 2
- Display of error empty: fmbt3-editor tries to search contents of byte String, but should search decoded string instead
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fmbt.