yashsingh1/xdaforums huggingface dataset:
[G Tablet Android Development] jmdearras:
mouse broken in 112

I tried to use a mouse on my wifes gtab, and it was not recognized. Rolled back to 109 and it attached fine.

Only problem is that on her tablet, the displayed pointer moves at right angles to the mouse movement, but the actual mouse pointer follows the mouse correctly. The neural network live wallpaper showed where the real mouse pointer was when you clicked it.

Now my gtab shows the mouse pointer in the right place. Odd.

Jim
[G Tablet Android Development] jmdearras:
The puzzle deepens! I loaded 112 on mine in prep for the overnight sleep test, and tried the mouse again and it works on my gtab with 112.

Both run vegan 5.1. Weird. :confused:

Jim
[G Tablet Android Development] jmdearras:
More on 112 with mouse.

When i pull the usb plug out, the gtab crashes, goes dark instantly and when awakened, it coldboots. Logs show nothing prior to boot, and no last_ logs. 100% repeatable.

Could a line be entered in init.rc to save the old one, or is it not there at all?

Jim
[G Tablet Android Development] pershoot:
Pull /proc/last_kmsg and post it.
[G Tablet Android Development] pershoot:
vpn should work now for those that couldn't get it to go before.

cant promise PPTP with encryption working out too well tho, given many people having the same issue across various devices (with/without a capable pppd in place).

let me know if the mysterious power bug that effects vegan (that i still have not received logs on from anyone) has gotten better.
[G Tablet Android Development] gojimi:
Pershoot. That is fine. Don't worry about the power issues. At this point Vegan is moving to having a CM7 base for RC1. So these power issues and other issues will be non existent. I have reverse engineered the Vega stock code as much as I can handle. Its time to move to source.

Vegan will be CM7 Gingerbread under the hood. With the tablety enhancements that vegan has brought so far.
[G Tablet Android Development] pershoot:
disregard...
[G Tablet Android Development] stigmax:
on 114, been using it for 20 mins or so. It reboots often. rebooted to vegan-rom boot screen 6-7 times already. It reboots during video play, idle, screen off, etc.

reverting back to 112

EDIT: Looks like something happened, it's still rebooting on 112. Going to wipe and start over.

EDIT2: Looks good so far after a full wipe and reinstall of vegan b5.1 plus 114. running titanium now
[G Tablet Android Development] jmdearras:
There is no last_kmsg there. :confused:
[G Tablet Android Development] pershoot:
Then 1 of 2 things may have ocurred:

1. The kernel did not panic. The subsystem crashed (part of your OS) and it rebooted as a result.

2. The kernel could not write the log because it froze up (if this would have ocurred, you would have had to long press power from a hard lockup).

Im leaning towards 1 currently, due to the lack of your log and it rebooting on its own with no lockup.
[G Tablet Android Development] pershoot:
Ill recheck the config, to ensure I have sufficient debugging turned on, to aid in troubleshooting issues such as these.
[G Tablet Android Development] jmdearras:
114 has fixed the mouse removal crashes. :)

Ill try it on my wifes gtab when she finishes her morning games!
[G Tablet Android Development] jmdearras:
I always reboot a new kernel three times. So far no issues with 114, tried various things, including video playback.
[G Tablet Android Development] anlog:
The wake on lag issue has been around since the beginning, not just 3389. It was finally stamped out when we got source.
[G Tablet Android Development] thebadfrog:
I was answering a question about setting the governor to the best of my knowledge. I am well aware that the lag on wake issue has been fixed and that the lag has been there before the 3389 update. It came to light quite obviously around that time and that was when everyone was trying to find a solution. I was helping test governor settings and cpu frequencies at the time and to the best of my knowledge the only settings are "powersave" and "performance" at this time. He was asking about "ondemand". If I was wrong I apologize for my ignorance and I beg your forgiveness.
[G Tablet Android Development] anlog:
Wow you REALLY got the wrong impression from my post. In no way was I trying to offend you. I apologize if it came across that way. I've been a member of XDA for a very long time and it is not my policy to go around offending people. You and I both know it's sometimes easy to mis-interpret the feelings behind a post.

Your post stated that the wake on lag issue first appeared when 3389 was released. That is incorrect. The wake on lag issue has been known about since mid-November, but nothing could be done because there was no kernel source. I agree that it became a hot topic around 3389, but Clemsyn, rcgabriel, myself, and others had already been working on a fix for quite some time.

To further elaborate, messing with the governors doesn't really have much of an effect (the code is buggy). Your best best is to pin the CPU to 1ghz if you want full speed. I believe Overclock Widget also works with the updated kernels to pin at different frequencies based on if the tab is on/off/etc. More work needs to be done in this arena, however.
[G Tablet Android Development] thebadfrog:
I did get the wrong impression and apologize for that. My bad. I am well aware of the work yous have done and was part of the group helping to test scripts to pin the cpu speeds......completely ineffective as it was lol
[G Tablet Android Development] JohnShaft69:
zpad fat32 woes

i am using zpad v2.2 for the scaling options. all versions of your kernels were working great, or so i thought. I hadnt plugged my 500gb fat32 maxtor in for a few weeks to transfer/stream data from it. under your kernels(ive tried all but the latest so far),

it completely locks up the os

. reflashing stock zpad 2.2 fixes it. how many of your testers are using/testing fat32 access on the usb port? I REALLY love your work, run your kernels on my nexus, and I REALLY want to run it on gtab, but losing 500gb of access is not an option for me. Any Help pershoot?
[G Tablet Android Development] firewater2003:
ClemPatch vs Kernel Patch by Pershoot

are these different?

Install Clempatch = Benchmark =2310

Install Pershoot Patch = Benchmark =2109

Running TnT 4.1.0
[G Tablet Android Development] anlog:
They manage performance and CPU scaling differently. They are both the same speed under CPU load. Quadrant is more of an artificial test. Both kernels are great (especially over stock).
[G Tablet Android Development] pershoot:
John, pull some logs.

Why on 2.2? Isn't zpad up to 3?

Kernel has been tested against latest. Seems fine (haven't heard of any issues as of yet).
[G Tablet Android Development] pershoot:
working fine on zpad3 and 0114 (from one user's testing):

zpad 3.0 on 0114, 80GB hard drive fat32 read and write is working using a black X thermaltake usb.

upgrade your rom.
[G Tablet Android Development] JohnShaft69:
2.2 has unique feature

V2.2 is latest version that still has scaling option intact. It was removed on v3. I have far to many older apps that are useless without it.
[G Tablet Android Development] Blades:
Have you seen the tegra2_clocks.c from the latest 2.6.38 (its technically still 2.6.37, although .37 has been released) git. It contains much more information. I'm not very good at reading code, but it seems that.. there isn't really clock switching implemented in the tegra2_clocks.c used in your source. Well, in the aforementioned 2.6.37(38 alpha, whatever).. there is

/* 1 GHz */

/* 912 MHz */

/* 816 MHz */

/* 760 MHz */

/* 608 MHz */

/* 456 MHz */

/* 312 MHz */

The delta in those #s don't really have much in common... cept being divisible by 8.. and of course.. 456 is half of 912. Can't really know 'whats after 1ghz' until the code is translated and mapped out into bus speeds and multipliers/dividers and such.

It doesn't make this any less of 'strange territory'.
[G Tablet Android Development] brew1brew:
@Pershoot, Does "MP/PPP/TP/OE and USB Serial,IPV4/6,Netfilter, and Queuing options" enable USB networking? I would like to USB tether this thing to my Cell phone when not at home.
[G Tablet Android Development] pershoot:
other things will need to be brought in to the framework for tethering to work.

use in-built froyo wifi to tether.

however, i will look over to see if RNDIS is enabled for Gadget (i believe it is).
[G Tablet Android Development] brew1brew:
I'm asking this question for a friend that has the gtab, but owns a moto droid, he doesn't want to have to pay VZ for wifi hotspot. I have t-mobile and have both nexus 1 and vibrant, wifi tether on both. but it does eat battery, USB tether would be nice to maintain phone battery.

Thanks for the effort.

Les
[G Tablet Android Development] ttlycnfuzd:
pershoot - man I really want to use your kernel, but the VPN thing keeps me tied to Clemsyn's. I have a snapshot of a logcat that may help decode my special situation.

You can see that the tunnel is being created, thus implying that the tun.ko driver has been insmod'ed correctly. What else could be missing that you haven't already implemented?

Here is a logcat from Clem's kernel... maybe you see something I don't...

Hope you can help me figure this out...
[G Tablet Android Development] pershoot:
vpn should be working without issue now. are you on the latest 0114?
[G Tablet Android Development] ttlycnfuzd:
yea... just reinstalled today just in case

check previos post again... added more info
[G Tablet Android Development] pershoot:
Ill look in to it.
[G Tablet Android Development] ttlycnfuzd:
thank you sir! :D
[G Tablet Android Development] sincerity:
just tried to flash this and got my first magic values error.....any ideas? im restoring an old backup but why did it give me this? i've never had trouble before? I formatted boot before installing as well
[G Tablet Android Development] roebeet:
Do you have a newer version of clockworkmod? Sometimes that can cause an issue with unpadded boot.img files.

I believe that the only way to fix one of these is nvflash (someone keep me honest here, if maybe there's an alternative method).
[G Tablet Android Development] sincerity:
I have cw that is in the sticky guide....not sure. A restore fixed it but still wonder why it happened this particular time
[G Tablet Android Development] Blades:
in your config file the following is set -

CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024

CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768

I don't understand, as our screen's resolution is 1024x600,,,

CONFIG_MEDIA_TUNER_MC44S803=y

^

I've also seen this (and other tuners which we don't have) in many other configs, and I always have wondered why it wasn't turned off.

heres the info for the example I provided above. http://cateee.net/lkddb/web-lkddb/MEDIA_TUNER_MC44S803.html

please correct me if we actually do have this... I'm guessing it doesn't really impact kernel size if its on/off.. so thats why this and others were set to Y

another edit:

http://android.git.kernel.org/?p=ke...ff;h=c7d9f7eb30dccf601cbdc67d5bd452f54ce90ce4

^^From way back...

And we have gtab-2632/drivers/input/joysticks/xpad.c

So.. xbox360 usb controller support? That'd be nice.
[G Tablet Android Development] TheNinjaMan:
Thanks Pershoot for this Kernel.

It's working ok for me so far. I upgraded from the tnt lite 4.1 cos wifi wouldn't reconnect to hidden wlan after long sleep, in addition to gtab powering off overnight and losing market fixes. It happened 2 days in a row, even after a repartition.

Does it break Skype? It stays stuck at trying to sign in before giving up.

You can add the Nokia BH-905 Bluetooth headset to the list of devices that works. It also appears to use the Nokia's Mic (using voice search), however Skype would be a definitive test, if I can get it working.

Thanks again to all involved in this. The spirit here is awesome.
[G Tablet Android Development] pershoot:
Post some logs pls.
[G Tablet Android Development] pershoot:
I can amend for non vga pc resolution for mouse.

The media tuners get enabled by default. They can be left at this time. LZMA keeps the kernel size small.
[G Tablet Android Development] pershoot:
I found 2 further options in clem's vs this, for PPP. Ill add 'em in.
[G Tablet Android Development] ttlycnfuzd:
Thanks again. I look forward to testing... :)
[G Tablet Android Development] brew1brew:
Hey man Thanks. I'll need to get this loaded, but I assume that we still need some network interface written to see/use the USB network instead of the WIFI?
[G Tablet Android Development] ttlycnfuzd:
PPTP VPN works perfectly now! Thank you so much for all of your hard work... :D
[G Tablet Android Development] pershoot:
It should work on cyanogenmod once that gets goin.
[G Tablet Android Development] brew1brew:
SWEET! Now I just have to practice patience, of which I'm learning waiting for my NotionInk Adam to ship this week. I think the first thing I will do with it is NVFlash backup it's system.

Thanks again man!
[G Tablet Android Development] proengin:
VPN PPTP (no encryption) and cifs now work perfectly. For people using cifs manager, please use modprobe as default loading method.
[G Tablet Android Development] pershoot:
I believe I need to add few more thing for rndis, but well wait for cm to get goin then ill work on it for this platform.
[G Tablet Android Development] jmdearras:
How do you set it up? Load Modules?
[G Tablet Android Development] ttlycnfuzd:
yes... after loading the kernel, make sure you have (at least) the tun.ko module. in terminal (or you can set up in gscript) run command "insmod /system/lib/modules/(wherever-you-put-it)/tun.ko" this will load the module. then from settings, wireless and networks, vpn settings, you will input all of your VPN settings there. After that is setup, just load your new configuration file that you created. Should work great at that point... :)
[G Tablet Android Development] jmdearras:
Thanks!

But not encrypted, yet? Still a problem!
[G Tablet Android Development] ttlycnfuzd:
I think that is more on the side of Android than than the kernel. I remember reading on other boards about support and issues after Android 1.6/2.0....
[G Tablet Android Development] pershoot:
You can try a pppd rebuilt with 128 forced. It still may not work out to your favor tho.

Search google. Youll come to find it.

The kernel has mppe support.
[G Tablet Android Development] jmdearras:
this?

http://melko.hiljanen.com/~qvr/android/ppp/test/
[G Tablet Android Development] pershoot:
Yea

.......
[G Tablet Android Development] jmdearras:
PTPP Encrypted question

I have been struggling with getting an encrypted PTPP connection over WiFi to a MS 2003 server. The best response is it's not easy, or may not be possible.

HOWEVER, I can make such a connection easily and reliably from my Droid Incredible running Froyo over WiFi. There are problems making a VPN connection over 3G, but those are Verizon's packet filters, WiFi works great.

So, if it works reliably on DInc with Froyo, what's missing on the G-Tab? :confused:

Thanks,

Jim
[G Tablet Android Development] doihaveto:
This goes back to the second or third post asking if we have overclocking yet...

as I currently understand we do not,but...

what is the stock clocked at, I know that there is one dual core cpu or two processors and 1ghz but..

is that 2 processors at 500mhz each or 2 processors at 1ghz each?...

is there an app that correctly shows the current cpu frequency?

and lastly this is a G tablet thread but for comparison does anyone know if the Xoom's CPU

will be 2 processors at 500mhz or 2 processors at 1 ghz each?

Thanks
[G Tablet Android Development] stanglx:
The frequency of the CPU is always stated as the frequency of each core, not the total sum.... Therefore a 1Ghz stated frequency means each core is 1Ghz... http://www.nvidia.com/object/tegra-2.html
[G Tablet Android Development] stanglx:
Question - CPU Govenors

Have the scaling govenors been added to the latest build of the Kernel?
[G Tablet Android Development] pershoot:
??

they have always been there since i released this.

the subsystem is a lil broken. will be fixed up when setcpu can be ported.

ondemand,interactive,performance, and userspace are enabled. ondemand being the default.
[G Tablet Android Development] stanglx:
Nice.. just never thought to try it...
[G Tablet Android Development] rob_z11:
I have created a text file/script to load the module using GSscript, and use it if you like. You may have to change the path and stuff.

su

mount -rw -o remount /dev/block/mtdblock3 /system

cp /sdcard/ROMs/Pershoot/lib/modules/bcm4329.ko /system/lib/modules/2.6.32.28-cyanogenmod/bcm4329.ko

cp /sdcard/ROMs/Pershoot/lib/modules/2.6.32.28-cyanogenmod/kernel/fs/ntfs/ntfs.ko /system/lib/modules/2.6.32.28-cyanogenmod/ntfs.ko

cp /sdcard/ROMs/Pershoot/lib/modules/2.6.32.28-cyanogenmod/kernel/fs/cifs/cifs.ko /system/lib/modules/2.6.32.28-cyanogenmod/cifs.ko

cp /sdcard/ROMs/Pershoot/lib/modules/2.6.32.28-cyanogenmod/kernel/drivers/net/tun.ko /system/lib/modules/2.6.32.28-cyanogenmod/tun.ko

chmod 644 /system/lib/modules/2.6.32.28-cyanogenmod/bcm4329.ko

chmod 644 /system/lib/modules/2.6.32.28-cyanogenmod/ntfs.ko

chmod 644 /system/lib/modules/2.6.32.28-cyanogenmod/cifs.ko

chmod 644 /system/lib/modules/2.6.32.28-cyanogenmod/tun.ko

insmod /system/lib/modules/2.6.32.28-cyanogenmod/bcm4329.ko

insmod /system/lib/modules/2.6.32.28-cyanogenmod/ntfs.ko

insmod /system/lib/modules/2.6.32.28-cyanogenmod/cifs.ko

insmod /system/lib/modules/2.6.32.28-cyanogenmod/tun.ko
[G Tablet Android Development] stanglx:
Is there is a legend of the various kernel modules? I know what some of them do but not the others such as bcm4329 (I know its a wifi driver but what value does it provide over stock)..

Any help appreciated..

Thanks
[G Tablet Android Development] pershoot:
Scroll up. Its in this thread.
[G Tablet Android Development] stanglx:
I see that CPU0 is active and functioning normal.. but CPU1 doesnt seem to be on line.... which could be why the performance stats are lower then the other kernels (im speculating of course)

Under /sys/devices/syste/cpu/cpu1 its not listing as online

Under /sys/devices/syste/cpu/offline it lists CPU1

Under /sys/devices/syste/cpu/online it lists CPU0

and under proc/stat only CPU0 is running..

This all leads me to believe that CPU1 is not running under this Kernel...

Is this true?

PS: I was trying to see why Clemyns Kernel was faster in quadrant and even using normal applications it was noticeable. I suspected it was the governors kicking in... But when I set it this kernel to performance which is what Clemyns kernel sets by default this kernel was still noticeabley slower and confirmed via quadrant.

The Governor of this kernel does NOT increase the CPU frequency when I/O increases (it drops fairly significantly)- which is odd since CPU utilization and wait increases with increased I/O (normal) ...- I know this may be normal as the release notes states that the Governor is borked...

I was speculating to see if this was the case when I found that CPU1 was inactive (under proc/stat) - which is the point of my post.
[G Tablet Android Development] pershoot:
False.

Cpu1 becomes active only when needed, and shuts down after use.

Performance is great (as you can feel). If u want to benchmark, pin you CPU to max via sysfs, so u don't throttle.
[G Tablet Android Development] stanglx:
You beat me to the punch... Just did another quick test and noticed this.. Sorry for the bother... I did notice though I get "invalid Length" when I try to cat scaling_governor.. Normal?

It also doesnt set the CPU to 1Ghz when performance is set...

Thanks..
[G Tablet Android Development] pershoot:
Its a lil broken (cpufreq sysfs). Ill work on it once we get setcpu goin.
[G Tablet Android Development] dony71:
I'm using Vegan 5.1 but applying this kernel still makes wifi disconnect after about 15 minutes. It seems Vegan still has issue with this
[G Tablet Android Development] dony71:
you need to run script after updating this kernel, right?

do you know how to run script automatically while boot?
[G Tablet Android Development] Blades:
Shouldn't we have this enabled to increase responsiveness? Its enabled on the g2 for god knows what reason (and I keep it enabled, because I'm used to it). Or would this cause problems?

CONFIG_CPU_FREQ_GOV_ONDEMAND_INPUT=y

Edit: I don't think the above is an acceptable switch for the Kconfig.. doesn't seem to 'take'..

If you haven't played with that.. it basically kicks the clock speed to the defined max freq if there is any sort of input..

I think there may be a bug that causes the device to shut down when a usb keyboard is plugged in and the tablet is asleep for a given time.. I have to test it out more..

btw thanks for the shoutout in the git commit :). Got a chance to test out mouse input.. was confused by the results.. Up was left, down was right, right was up, left was down.. I think thats the way it was.. Then again, this might need to be done with auto rotation turned off (even tho I was in landscape mode).

Are the

CONFIG_ARM_ERRATA_4##### config switches necessary? This is a Cortex-A9 were dealing with.. Those are A8 bugs.. None of the harmony linux kernels seem to have those switched.

ERRATA_742230 is A9 specific tho.. So yeah, not that one.. or the obvious TEGRA_ERRATA.
[G Tablet Android Development] pershoot:
Yea, i 'm aware of it. it doesnt apply here as is. i would need to adapt it for use.

there is no perceived harm to having the errata's on, imo. whether or not they apply to a specific device/platform.

im not aware of this shutdown bug. if your experiencing this on vegan. flash to cyanogenmod and/or tnt lite, and pls test.

i thought mouse worked ok from other reports? which rom?
[G Tablet Android Development] kampf:
Interesting thing happened to me this morning when I attempted to start my GTab. It didn't start, so I had to hold power to shut it down and restart.

I'd done this at a new location for this ROM, so I added the network and tapped Market. Oh no, it's asking me to Accept or Decline. Now I have Zillow and Tweetcaster.

I'd installed the latest kernel on TnT 4.21, which had a very well working market, late last night and all seemed well.

Restored from a CWM backup, same problem. Tried "market fix" and was consistently unable to get it to error. Tried a few more times and restarted in between with the same results.

Wiped data, cache, Dalvik, and restored. Same problem.

I figure that whatever has changed overnight isn't getting changed, so I need to repartition the internal SD after backing it up.
[G Tablet Android Development] stanglx:
Im having the shutdown issue also with Vegan... It seems to be worse as the battery drains... Im going to flash to TNT light and see if I experience the same issue... keep in mind its not just your kernel that has the issue but also Clemens... it could be specific to Vegan.. will test and report back..
[G Tablet Android Development] pershoot:
no issue with shutdown at all on tnt lite/cyanogenmod. pretty solid. battery lasts a long time.

make sure to have dialer disabled from starting up (autostarts can do it).
[G Tablet Android Development] pershoot:
for anyone building cm7 from src-

wont officially post it till the emmc/sdcard stuff gets fully sorted.

make sure to revert:

https://github.com/CyanogenMod/andr...mmit/f51f9e2a1037b4e3fb1aca1b580e36eeab759f9f

(gtab/zpad):

http://droidbasement.com/gtab/kernels/2632/9/boot-cm_2632.28_gb-xtra-vfpv3_fp-012811.zip

kernel src: https://github.com/pershoot/gtab-2632/commits/gingerbread/
[G Tablet Android Development] rob_z11:
Thanks for all your work. Just wondering if I am running beta version 5 from here for gingerbread, can I be able to run your kernel posted above?

I should use the same loaded module to get the support for cifs and tun right?
[G Tablet Android Development] stanglx:
Tnt does it with this kernel...not with stock kernel
[G Tablet Android Development] ketty_yijun:
pershoot,

i'm using your kernel with vegan b5.2. i tried the trick from notioninkhack.com site http://notioninkhacks.com/forums/viewtopic.php?f=18&t=475 but it doesn't work. is it kernel related or something work around to make it work?