Raconeisteron / omnia2droid

Automatically exported from code.google.com/p/omnia2droid
0 stars 0 forks source link

b7610: keymapping and driver #6

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. Trying to open the wifi menu

What is the expected output? What do you see instead?

There is no hardware key corresponding to the wifi-menu.

What version of the product are you using? On what operating system?

Beta 1024

Please provide any additional information below.

Im running this Beta on a B7610. So I understand that probably there are 
incompatibility issues. But still, the B7610 is almost identical to the Omnia 
II, so this is more of a plead to the developers to fix some support for this 
phone :)

Original issue reported on code.google.com by wvandenb...@gmail.com on 19 Jan 2011 at 12:31

GoogleCodeExporter commented 8 years ago
Hi thewolf and mosci, i browsed the kernelcode today, and i have an idea what 
can cause the bug.

I would like to try it out, but compiling isn't working for me yet. To be 
exact: the compiling is ok, but just after android starts it crashed after 7th 
message "[   11.605107] [ ak4671.c (ak4671_set_path,375) ] New Path: 41". This 
ak4671 should be sound, but unclear to me why it crashes here or what command 
comes next in init. Who can help out? Would like to try fix the ENDCALL key ...

Original comment by elbee1...@gmail.com on 9 Feb 2011 at 6:46

GoogleCodeExporter commented 8 years ago
Hi all, I see Beta2 is out! Will this keymap patch need to be changed or can it 
be used again after implementing the Beta2 patch?

Original comment by vabb...@gmail.com on 10 Feb 2011 at 6:42

GoogleCodeExporter commented 8 years ago
you will need another update for the Beta2
it's attached here - but unfortunatly 3G is not working anymore on my Phone ...
3G sign is shown in statusbar but no traffic will pass through :-(
that don't seems to be related to the kernel more to the filesystem (os).
this kernel/modules works fine (with 3G) on Beta1-Os.
but even with the original Beta2-kernel/modules I'm not able to get Traffic 
over 3G.
the update should be installed at LAST!

Original comment by mosclamer on 10 Feb 2011 at 8:39

GoogleCodeExporter commented 8 years ago
Thanx for fast update! I have the same problem with data...

Original comment by erikcas1972@gmail.com on 10 Feb 2011 at 9:25

GoogleCodeExporter commented 8 years ago
Guys, 3G was ok here for a couple of times on Beta2 (3 UK) so dont give up 
hope, until on the third reboot I now get a "process system is not responding" 
window and the phone restarts. I think its due to the 'process killer' app I 
installed. bit OT but try a different APN for your service provider.

Original comment by vabb...@gmail.com on 10 Feb 2011 at 9:31

GoogleCodeExporter commented 8 years ago
Confirm that 3G is working when using o2bupdate.zip - but not working whnen 
using o2b2filesys.zip

Original comment by mosclamer on 10 Feb 2011 at 9:42

GoogleCodeExporter commented 8 years ago
Not only no data, sleep of death is back too.. on o2b2

Original comment by erikcas1972@gmail.com on 10 Feb 2011 at 9:50

GoogleCodeExporter commented 8 years ago
ah, not tried O2b2filesys.zip. Was working on o2bupdate.zip.

Original comment by vabb...@gmail.com on 10 Feb 2011 at 9:51

GoogleCodeExporter commented 8 years ago
great work with the keyboard update so quick!
it works about 95% with latest o2bupdate.zip.
i installed your update last, and reset since, but now the send button has no 
function and neither does the w&l button meaning you cannot turn off the device 
with buttons.
vibration and most others work perfect. (some characters on hard keyboard like 
? do not work)
thanks again!

Original comment by alexjbro...@gmail.com on 10 Feb 2011 at 12:42

GoogleCodeExporter commented 8 years ago
@alexjbro what kind of keyboardlayout do you have?  qwerty,qwertz or azerty? 
(first 6 letters on the upper row)

Original comment by mosclamer on 10 Feb 2011 at 12:57

GoogleCodeExporter commented 8 years ago
maybe this post can help you to find the missing signs
http://www.modaco.com/content-page/329882/official-android-on-b7610-thnks-to-dev
s/page/224/#

Original comment by mosclamer on 10 Feb 2011 at 1:03

GoogleCodeExporter commented 8 years ago
i'm a qwerty. your last keyboard layout worked perfect. just did some more 
testing and found the numbers come up when holding the alt key in a square shape
what i mean is when holding alt:
w=1 e=2 r=3
s=4 d=5 f=6
x=7 x=8 c=9
and whilst pressing these i have somehow got into the code screen that haret 
launches and it is telling me S3C-Keypard high pressed : 
and i don't know how...

Original comment by alexjbro...@gmail.com on 10 Feb 2011 at 1:11

GoogleCodeExporter commented 8 years ago
this update should fix the qwerty keyboard

Original comment by mosclamer on 10 Feb 2011 at 1:29

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
i hadn't got onto trying the first fix out yet as was starting fresh install, 
but thanks for the further fix. very appreciated!

Original comment by alexjbro...@gmail.com on 10 Feb 2011 at 2:06

GoogleCodeExporter commented 8 years ago
btw: pressing alt+right will replace the gui to std-out-console ... press it 
again will
switch back to gui (graphical user interface) ... i think there is no need for 
most of the users, but i like to have it for debugging the keyboard and having 
no access via adb ;-)

Original comment by mosclamer on 10 Feb 2011 at 2:16

GoogleCodeExporter commented 8 years ago
same outcome with latest keyboard fix you supplied. qwerty layout is perfect, 
just the alt characters all seem to have changed since beta 1, plus the send 
button and w&l still do nothing. hope this helps

Original comment by alexjbro...@gmail.com on 10 Feb 2011 at 3:31

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
ok ok ... my mistake again ... i shouldn't do this at work ;-)
in a hurry way ... but this time i have doublechecked 

Original comment by mosclamer on 10 Feb 2011 at 4:52

Attachments:

GoogleCodeExporter commented 8 years ago
i can confirm that the latest file works perfect! all qwerty buttons plus alt 
characters and the send and w&l buttons. superb work!

Original comment by alexjbro...@gmail.com on 10 Feb 2011 at 6:18

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Manually copied the new filesystem to SDcard, loaded 3d drivers then the latest 
Keyboard fix above. ..went to enter my APN details with the help of the keyboard

Hitting 'T' produces 'qwertyu'
; and : are transposed

Original comment by vabb...@gmail.com on 10 Feb 2011 at 6:28

GoogleCodeExporter commented 8 years ago
if you have more than one letter per key, you probably did the keyboardfix not 
as last step in the update.
looks like you have the kernel for the I800 running.

Original comment by mosclamer on 10 Feb 2011 at 6:31

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
kernel=zImage 
(there is also a zImage in the zip which should be used as replacemnt for the 
I8000 zImage)

Original comment by mosclamer on 10 Feb 2011 at 6:33

GoogleCodeExporter commented 8 years ago
[quote name='mosci' post='1596993' date='Feb 10 2011, 18:10']so you talking 
about beta1?
if not, in bet2 update was a little mess regarding the qwerty layout (i'm sorry 
for that) now it should be fixed.

i have tried numbers with username & password in APN-Settings and in 
Google-Account-Settings ... both worked for me.
can you give me a reproduceable example in 
[url="http://code.google.com/p/omnia2droid/issues/detail?can=2&q=&colspec=ID%20S
tatus%20Type%20Summary&sort=&id=6"]Issue 6[/url]?[/quote]

Hey Mosci, thx for your work. This is the first keyboard of yours that I've 
tried.
But it is full of bugs on my device.
Everything works, except these buttons. They seem to do something else.

T = qwertyu
G=asdfghj
V=Zxcvbn
Spacebar = ??? I think search button.!
Alt= doesnt work at all. Does change cursor style, but shows normal characters 
after entering!

Please alter it! :)

Could you also make the W&L button do figure as a 'back' button? Or is it only 
able to use the arrow(back) button on hardware keyboard? Cause this kinda 
limits the phone to use the home button(camera-button) when not slided out.

* Tested keyboard in whatsapp (ping program)

I used the correct files, that came with the packages. :)

Original comment by Jamievan...@gmail.com on 10 Feb 2011 at 6:35

GoogleCodeExporter commented 8 years ago
if you want to change keybehavior you have to edit the textfile 
/system/usr/keylayout/qwerty.kl
i can not (and i'm not willing too) do a special file for every user.
in  post 4 of this issue/thread is a link to a nice howto - but the textfile is 
also selfexplaining. i'm sure there is a app arround that allows you to edit 
the file on the phone too. (
reboot is needed to make changes take effect)

Original comment by mosclamer on 10 Feb 2011 at 6:40

GoogleCodeExporter commented 8 years ago
@jamievan
read post 74 & 75 of this page and update again with the file from post 70

Original comment by mosclamer on 10 Feb 2011 at 6:44

GoogleCodeExporter commented 8 years ago
>:-)  74 & 76

Original comment by mosclamer on 10 Feb 2011 at 6:50

GoogleCodeExporter commented 8 years ago
Ill have to be excused, I did update it again. :) And it still didn't work.

I extracted both files in the zipfile above again to '/mijn opslag'. (From the 
above file! Post 70)
And the whole phone didnt like android anymore, crashed and crashes. 

Original comment by Jamievan...@gmail.com on 10 Feb 2011 at 7:16

GoogleCodeExporter commented 8 years ago
to restore I8000 keybehavior you can use this 'update'
(don't forget to replace the zImage also!! - it's within this zipfile)

Original comment by mosclamer on 10 Feb 2011 at 7:16

Attachments:

GoogleCodeExporter commented 8 years ago
I kinda reused the beta2 file and the fix, published on the o2droid site. Got 
Android working with the original set keymap. Then used the Hardware keyboard 
files. And it still seems to have the same flaws with those particular buttons. 
And yes I did use the correct image. :)

Original comment by Jamievan...@gmail.com on 10 Feb 2011 at 7:20

GoogleCodeExporter commented 8 years ago
you should only extract the zip-file and put the zImage & the o2b2update.tar.gz 
 next to haret.exe. don't extract the o2b2update.tar.gt zu your 'my Storage'!! 
if you want to extract it - then you should extract it to the root of your 
android-fs.

Original comment by mosclamer on 10 Feb 2011 at 7:22

GoogleCodeExporter commented 8 years ago
Installed the usual way, copy the 02b2 in folder with haret. After 2 reboots 
its walking on sunshine! Works perfect.

Thanx again!

(note: After last update from devs data is working, no sleep of death after 
that)

Original comment by erikcas1972@gmail.com on 10 Feb 2011 at 8:26

GoogleCodeExporter commented 8 years ago
@thew0lf: finaly managed to compile kernel/modules and fixed double scancode 
for sleep/power for i8000.

On a local machine changed 
http://o2droid.phj.hu/trac/browser/kern_oII/drivers/input/keyboard/s3c-keypad.h?
rev=74 line 52 "KEY_POWER" into "KEY_DOT". 
This changes scancode for winmo sleep button in upper right corner from 116 to 
52 (http://o2droid.phj.hu/trac/browser/kern_oII/include/linux/input.h?rev=74 
line 175). 
Also in 
http://o2droid.phj.hu/trac/browser/img/beta2/system/usr/keylayout/qwerty.kl?rev=
73 line 72 replaced "PERIOD" for "POWER WAKE"
Now both sleep and hangup key have POWER function.
But hangup key is controlled by one gpio (N5) and all other i8000 keys (so also 
sleep key) are controlled by two gpios in a 3x3 keypad matrix formed by six 
gpios (K8-10, L0-2).
Also the hangup key has special functions/priority (not sure yet how) so 
sometimes you can wake by hangup key but not by sleep key although they have 
the same function in Android/qwerty.kl (also when they had same scancode they 
could behave different).

Original comment by elbee1...@gmail.com on 12 Feb 2011 at 9:35

GoogleCodeExporter commented 8 years ago
Great work elbee1972, thanks. Yes, hang up button is actually a system key, 
that's why it has a dedicated GPIO (which makes it able to turn on the phone 
when it's fully off). Getting the same behavior as in WinMo shouldn't be much 
work (I think the devs chose to allow only the hang up key to wake up the 
phone).
But thanks to your finding, we can now use the lock key for something else ;)

Original comment by nathrin...@gmail.com on 13 Feb 2011 at 1:35

GoogleCodeExporter commented 8 years ago
As from last evening: No reaction when pressing keys anymore when phone sleeps. 
It's strange, it worked perfectly from friday till last evening. No changes, it 
just corrupted itself I think.

Original comment by erikcas1972@gmail.com on 13 Feb 2011 at 9:04

GoogleCodeExporter commented 8 years ago
Yes, same happened to me, became less and less responsive to wake-up if slept 
for more than about 20 seconds until every sleep was sleep of death.

Original comment by vabb...@gmail.com on 13 Feb 2011 at 9:26

GoogleCodeExporter commented 8 years ago
Excuse me again. 

Used the new files on the devs website. 
Installed this again, same flaws. But stupid me just reset the phone and the 
keyboard works perfect now. :)

Thank you!

Original comment by Jamievan...@gmail.com on 14 Feb 2011 at 1:35

GoogleCodeExporter commented 8 years ago
Only as stated already. The : and ; are turned around and the question mark is 
not working. 

Original comment by Jamievan...@gmail.com on 17 Feb 2011 at 9:34

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
for fixing ':',';'& '?','"' on qwerty-keylayout
try this:
replace the /system/usr/keychars/qwerty.kcm.bin
with the attached qwerty.kcm.bn
unfortunatly 
DPAD_UP & DPAD_DOWN are not assignable ... yet 
so '"' has moved to DPAD_RIGHT
(see attached picture wich will explain)

Original comment by mosclamer on 19 Feb 2011 at 2:34

Attachments:

GoogleCodeExporter commented 8 years ago
the devs have fixed the POWER-BUTTON behavior .. so we can use it as it was 
meant to be.
there is no need zu update with this files if you are glad with the current 
behavior!.
the attached files will change the behavior as follow:
POWER-BUTTON long-press -> POWER-Menu
POWER-BUTTON short-press while call -> call-end
POWER-BUTTON short-press while unlocked screen -> lock screen
POWER-BUTTON short-press while sleep -> wakeup (can take 1 to 2 seconds)
so the W&L-BUTTON is also defined as BACK (same to LOCK-BUTTON)

to change the behavior of the buttons:
edit the qwerty/qwertz.kl file in /system/usr/keylayout/

btw: this kernel also supports the ext4 filesystem

Original comment by mosclamer on 21 Feb 2011 at 1:15

Attachments:

GoogleCodeExporter commented 8 years ago
Moscla, just applied. All is workingafter applying, reboot once to have 
vibration working again.

Original comment by erikcas1972@gmail.com on 21 Feb 2011 at 2:38

GoogleCodeExporter commented 8 years ago
@devs
kernel / module patches for rev80 to get keyboard working on a B7610

Original comment by mosclamer on 22 Feb 2011 at 12:08

Attachments:

GoogleCodeExporter commented 8 years ago
how to install patches.tar.gz ?

Original comment by htdu...@gmail.com on 22 Feb 2011 at 3:16

GoogleCodeExporter commented 8 years ago
if you don't know what to do whith kernel-patches - you will not need them!
they are NOT usable on the phone itself - they are only used to patch the 
kernel-sourcecode.

Original comment by mosclamer on 22 Feb 2011 at 3:18

GoogleCodeExporter commented 8 years ago
Agree on that. Just the update in post 95.

Original comment by erikcas1972@gmail.com on 22 Feb 2011 at 3:27