Jump to content

kernel 2.6.32


Guest pier11

Recommended Posts

You could try the unlock screen options, there is an unlcok by jogball or somerthing like that..

How to do that? I didn't find anything useful in Settings menu... CM7.1RC1

Unlock security is off, but it still requires to move circle via touchscreen, don't know how to to it via jogball or keypad...

Link to comment
Share on other sites

The issue with touchscreen is that.

Our driver is: synaptics_i2c_rmi_tm1319.c

It's not changed much between kernel versions 27, 29 and 32.

It was working in versions 27 and 29 with settings vreg="gp6" and gpio=57.

This has changed in v32 I'm playing with (huawei u8150) to:

"gp5" and gpio=29. This neither crash nor work.

But I don't trust those settings as touchscreen could not even be properly detected in probe().

Also those settings are used on msm7x25 boards since at least 2.6.29 kernels (u8110 pulse-Mini). So I think those are propagated somewhat by default to our board, even if our chipset is not supported in that 32 kernel.

So, if I revert back to "gp6" (and remain gpio=29), touchscreen got successfully detected in probe(), register itself as an input device. But no output from that device...

If I change gpio=57 in addition to "gp6", kernel hangs on probe() of the touchscreen. (Somewhere in vreg_enable).

-----

I experimented with that u8150 huawei kernel, plain vanilla Code Aurora v32 kernel, also with LG GW620 v32 kernel (same chipset; openeve project, based on official LG v32 kernel, based in turn on Code Aurora) - nearly the same issues, no luck.

If anyone have slightest idea what might be wrong, please let me know.

Link to comment
Share on other sites

I did it! WooHoo :)

One line of code in touchscreen driver made it working.

If you have compiled kernel 2.6.32 img, could you please put it here

Edited by Metkii
Link to comment
Share on other sites

If you have compiled kernel 2.6.32 img, could you please put it here

Here it is: pulse-hw2.6.32_v0.04.img

This image is for CM7.1RC. Extract kernel and repackage to try to use with other roms.

Changes:

- touchscreen works

- transitioned to "usb gadget" code. (Doesn't crash when unplugged from usb.)

Mass storage works, adb, sd card.

Not intended to work in this snapshot: sound, bluetooth, camera, sensors and anything else.

Edited by pier11
Link to comment
Share on other sites

Guest sun lbx

Here it is: pulse-hw2.6.32_v0.04.img

This image is for CM7.1RC. Extract kernel and repackage to try to use with other roms.

Changes:

- touchscreen works

- transitioned to "usb gadget" code. (Doesn't crash when unplugged from usb.)

Mass storage works, adb, sd card.

Not intended to work in this snapshot: sound, bluetooth, camera, sensors and anything else.

nice piece of work!

i can't try it out now because my pulse is in the service center (trackball was full of s**t and it wouldn't move)

but i'm sure that you will manage to get it working.

just remember that your work is highly appreciated here in the community :)

Link to comment
Share on other sites

Guest skykilla

I welcome pier11 I think your big work will give the second life to phone

Has checked up a kernel pulse-hw2.6.32_v0.04.img on cyanogenmod Puls-plus 2.2.1 v0.9.1 works !!!!

At button pressing power off the screen is disconnected, but doesn't go out

Edited by skykilla
Link to comment
Share on other sites

I welcome pier11 I think your big work will give the second life to phone

Has checked up a kernel pulse-hw2.6.32_v0.04.img on cyanogenmod Puls-plus 2.2.1 v0.9.1 works !!!!

At button pressing power off the screen is disconnected, but doesn't go out

Thanks,

I test it with CM7.

Power button allowed me to power off the phone. Short press turns off screen; long press shows menu with power off option...

Ideally you should remake boot image by extracting my kernel and then combining it with ramdisk from your rom's boot image. But not sure it'd affect key buttons.

Thanks for testing.

BTW, did something else accidentally worked for you, like maybe 3g data network? (can't test - don't use it)

Link to comment
Share on other sites

TASK:

could someone please help me test wifi driver from u8150's 2.6.32 rom?

Link is here: ar6000

It's important because our original wifi driver comes in binary only form and only compatible with it's 2.6.29 kernel, thus is not supposed to work.

Fortunately the linked driver is compiled against 2.6.32 kernel, support our wifi and in theory should work...

ADDITIONAL INFO:

In CM7 drivers' firmware is located here:

/system/etc/firmware

but very fortunately it's identical (by md5 sums) to what is in 2.6.32 lib archive, so no replacement even needed;

It's only needed to replace ar6000.ko file in the following location and test:

/system/lib/modules

(Don't forget to make backups before.)

Edited by pier11
Link to comment
Share on other sites

ok, don't bother,

insmod gives:

<4>ar6000: Unknown symbol msmsdcc_wlan_pwr_ctrl

<4>ar6000: Unknown symbol msmsdcc_wlan_pwr_ctrl_new

<4>ar6000: Unknown symbol enable_wlan_power

<4>ar6000: Unknown symbol msmsdcc_disable_wlan_slot

<4>ar6000: Unknown symbol msmsdcc_enable_wlan_slot

those are missed from drivers/mmc/host/msm_sdcc.c

Edited by pier11
Link to comment
Share on other sites

Ported backlight stuff - driver, related board config, huawei's framebuffer patch.

Now brightness changes, also display turns back light completely off when inactive.

The device with wifi/3g but no sound is usable as a small tablet now :)

Link to comment
Share on other sites

Sound/Mic work now.

Plays mp3, does google voice search, heard remote answering machine via normal phone call.

Plugged qdsp5 from current kernel. Seems to be working OK.

2.6.27 kernel also used stock qdsp5 code, with very very minor patches.

While 2.6.29 completely disregarded stock qdsp5 code, and seems ported old code from 2.6.27, renamed it to qdsp5_7200A. (Probably stock version didn't work for them, so they decided to revert to what was working...)

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.