Re: [android-kernel] where does the address space 0~0x40000000 of userspace application go?

2014-03-23 Thread yingchun li
Thanks for your information, I will try to check. On Saturday, March 22, 2014 1:54:30 PM UTC+8, pradeep wrote: > > > My kernel is 3.4.0 and android is 4.2.2, now I input the > > cat /proc/self/maps > > in the console, the output is: > > > > 4005e000-40083000 r-xp 00:0f 916/sys

[android-kernel] where does the address space 0~0x40000000 of userspace application go?

2014-03-21 Thread yingchun li
My kernel is 3.4.0 and android is 4.2.2, now I input the cat /proc/self/maps in the console, the output is: 4005e000-40083000 r-xp 00:0f 916/system/bin/mksh 40083000-40084000 r--p 00:00 0 40084000-40085000 r--p 00025000 00:0f 916/system/bin/mksh 40085000-40086000

Re: [android-kernel] Disabling USB suspend in Nexus 7 kernel

2014-01-25 Thread Yingchun Li
get a wakelock if possible. On Wed, Jan 22, 2014 at 2:09 AM, Luca Carlon wrote: > Hello! Is there a proper way to completely disable USB suspend on Nexus 7 > for USB devices when in host mode? > I removed in the kernel configuration "USB runtime power management > (autosuspend) and wakeup", but f

[android-kernel] Re: I want to generate a KernelPanic(reset)

2013-12-04 Thread yingchun li
You can use the magic SysRq if your kernel support it. On Monday, July 8, 2013 10:10:20 PM UTC+8, lts wrote: > > Hi,All > > Please tell me someone. > > I want to generate a Kernel panic (Reboot) intentionally in the automatic > test. > Software uses 「user」 instead of 「eng」. > API to call is a goo

Re: [android-kernel] Re: Goldfish emulator kernel project

2013-02-15 Thread Yingchun Li
Thank you for your work. I just checked the android kpanic driver(drivers/misc/apanic.c), but it seems you didn't port this driver yet? it still use the old mtd functions(such as mtd->read...) On Thu, Feb 14, 2013 at 10:31 PM, Young-Ho Cha wrote: > In AOSP gerrit, there are patch series for andr

[android-kernel] does the apanic driver droped.

2013-01-31 Thread yingchun li
hi, In the repo from ANDROID kernel/common, with the branch android-3.4, the drivers/misc/apanic driver is removed, does anybody know why it is removed? I have pull the kernel/msm 3.4, and the apanic exists, but cannot pass compile, because the struct mtd_info changed and apanic use o

Re: [android-kernel] Apanic to EMMC?

2012-02-13 Thread yingchun li
On Wed, Feb 8, 2012 at 11:34 PM, Rudolf Tammekivi wrote: > Hello, > > I have a device that has MMC card inside, with the partition table. My > question is, if "panic" happens, can I use apanic module to save the log to > MMC not to the MTD partition? I did try ram_console, but the problem with > t

Re: [android-kernel] Re: logging before kernel freeze

2011-10-19 Thread yingchun li
fig, you can set it). and I would advice you pull a omap android git tree and see how it work. or you can try google. > On Oct 18, 8:11 am, yingchun li wrote: >> On Wed, Oct 12, 2011 at 3:22 PM, petter wrote: >> > Hi, I am trying to bring host mode for galaxys

Re: [android-kernel] How to Handle VID/PID in Linux kernel 3.0 from userspace

2011-10-18 Thread yingchun li
On Fri, Oct 7, 2011 at 5:51 PM, Thirupathi ch wrote: > Hi, > > In kernel 2.6.35 in android.c file VID/PID  will be provided by > platform data,But linux kernel3.0 andiord.c file  default VENDOR_ID = > 0x18D1, PRODUCT_ID=0x001 is hardcoded. In android.c file Line:67  from > the comment “/* Default

Re: [android-kernel] logging before kernel freeze

2011-10-17 Thread yingchun li
On Wed, Oct 12, 2011 at 3:22 PM, petter wrote: > Hi, I am trying to bring host mode for galaxys (https://github.com/ > havlenapetr/android_kernel_samsung/tree/hostmode_2) I've ported it > from galaxys2 source code(it should be similiar hardware). I have some > mismatch somewhere with my platform i

[android-kernel] Is there return length error in adb_read?

2011-05-31 Thread yingchun li
Hi, All In the function adb_read(f_adb.c), if the transfer succeed, the return result is always the length set by read system call, e.g. if you read with length 512, actually read maybe 200, but the return length is always 512. following is the patch: --- a/drivers/usb/gadget/f_adb.c +++ b/dr