Re: [android-kernel] Re: How does MSM based phone sense battery voltage and current

2012-01-03 Thread WANG Pei
Thank you for the information. The source code is informative, but as you said it is hard to understand without knowledge to the hardware architecture. My post has been delayed for more than one week (due to Xmas, I think). In fact about MSM RPC mechanism I have found a very useful article ex

Re: [android-kernel] Re: How does MSM based phone sense battery voltage and current

2012-01-03 Thread Jon Pry
Some phones do have one of the fuel gauge ic's. The phone I do most of my hacking on is the HTC Touch Pro2 which does not have one. I wrote some software for doing periodic measurements of voltage and current and then doing some math to try and calculate the battery state. Basically a luenberg obse

[android-kernel] Re: How does MSM based phone sense battery voltage and current

2012-01-03 Thread ヘマント
Hi, I think some of the information that you are looking for might be proprietary. For almost anything MSM related, a good place to start is codeaurora. Some platforms do use the standalone ICs (bq27xxx) https://www.codeaurora.org/gitweb/quic/le/?p=kernel/msm.git;a=commitdiff;h=339f30bc1ad4adaf3a

Re: [android-kernel] array type has incomplete element type

2012-01-03 Thread JC Kuo
Some of needed header files are missing or not being included by arch/arm/mach-tegra/common.c. Check arch/arm/mach-tegra/common.c line#123 for a defined but missed data type. On Tue, Dec 27, 2011 at 3:49 AM, Giveen wrote: > I am getting this error, and I'm still new to programming, could > someon

Re: [android-kernel] Where does the vmlinux image remain on the android file system

2012-01-03 Thread Vladimir Murzin
Hi! You are right, on most Linux distributions kernel image is put on /boot location. However, embedded world is a bit different - it is common practice to put kernel image on raw partition. That is why your grepping was not successful. Best wishes, Vladimir Murzin -Original Message- Fr

[android-kernel] Re: capable(CAP_NET_RAW) fails in ICS on Linux 3.x for x86-64

2012-01-03 Thread manohar
Found the cause of the problem. Had not enabled CONFIG_ANDROID_PARANOID_NETWORK in the defconfig file. This was causing the capability check to fail. On Dec 7 2011, 5:07 pm, manohar wrote: > Hello, > > I have been working on the VPN client on ICS on an x86 based device. > > The VPN client is curr

[android-kernel] Samsung Galaxy Nexus (Verizon)

2012-01-03 Thread Deodexed
Can someone post a tip on the best way to build the Samsung Galaxy Kernel? I have sine several tips on all other devices, but nothing on the Galaxy Nexus. I build ROM's but have never really built kernels before and am interested in compiling them. I have referenced several threads and sites: ht

[android-kernel] Porting existing USB alsa audio driver

2012-01-03 Thread Scott
I would like to port the existing USB alsa audio driver. Are there examples of porting the existing drivers? Can I use the emulator to test is drivers? Scott -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel

[android-kernel] How does MSM based phone sense battery voltage and current

2012-01-03 Thread Pei Wang
Hi, I am now trying to do something to make the kernel be better at tracking energy consumption, and I am using HTC Incredible 2 as my development device. However, I got confused when dealing with MSM platform. I just cannot understand how MSM chipsets implement battery fuel gauge. It seems that p

[android-kernel] Issues with 'adb usb' command

2012-01-03 Thread maheswarudu vuggu
Hi Mike Lockwood/Googlegroups, Regarding 'adb usb' command, after doing 'adb usb' there is no response from device for adb commands(adb shell, adb reboot..). According to my analysis there is no support for 'adb usb' command in Kernel 3.0 but Kernel 2.6.35 has the support in composite.c, android

[android-kernel] USB driver development

2012-01-03 Thread Scott
I would like to port the linux USB audio driver to Android. Purely for personal reasons in that I have a Thrive Tablet, with usable but poor built in speakers and a Altec USB speaker with great sound. When I plug in the speaker, the USB device info is Device Info Device Path: /dev/bus/usb/001/00

[android-kernel] How to check FTDI USB-UART driver enabled in i.MX53-QSB-Android-Gingerbread-Release4.0

2012-01-03 Thread srinivasan shanmugam
Hi, As am using I.MX53-QSB_Android-Gingerbread-release-4.0 prebuilt image, I wanted to know whether FTDI USB-UART driver is enabled already in this prebuilt image, if yes could you please let me kow how to check whether this driver is enabled in the I.MX53-QSB_Android-Gingerbread- release-4.0 prebu

[android-kernel] Re: Samsung Galaxy Tab : Compiling/Flashing Kernel from https://opensource.samsung.com/index.jsp

2012-01-03 Thread koe1974
Others are having issues with Samsung kernel source on the Tab 10.1, but it appears that they weren't using an initramfs. What I have tried... I have downloaded the correct source code. I have the initramfs from my device extracted form the kernel. Tried to build with the supplied def

[android-kernel] Tab 10.1 (config.gz + initramfs = failed boot)

2012-01-03 Thread keith millette
Others are having issues with Samsung kernel source on the Tab 10.1, but it appears that they weren't using an initramfs. What I have tried... I have downloaded the correct source code. I have the initramfs from my device extracted form the kernel. Tried to build with the supplied def

[android-kernel] Kernel Touchscreen Module

2012-01-03 Thread Chuck Randy
I'm relatively new to linux kernels and all of the black magic that goes into building and compiling. But I have a question about the touchscreen module in the android kernel. I am wondering if it supports a USB touchscreen like the Acer T231H. The standard linux kernel, since version 2.6.34, supp

Re: [android-kernel] why it says "Must not sleep," about brightness_set in leds-class.txt

2012-01-03 Thread Vladimir Murzin
Hey guys, please, try to keep using English in this list ;-) I think there might be other people who are interested in this question. It's not a good idea to "hide" discussion under Gtalk, is it? Best wishes, Vladimir Murzin -Original Message- From: Leng XueDong Sender: android-kernel@g

[android-kernel] How to create boot.img

2012-01-03 Thread jfha73
Hey guys, I'm a newbie when it comes to compiling n Operating System, so I just finished building Android 4 with no errors of any kind, but I'm stuck because even thoug I have a ramdisk.img, a userdata.img and a system.img, I'm still missing boot.img and I have no idea how to create it. Can anyon

[android-kernel] Re: Samsung Galaxy Tab : Compiling/Flashing Kernel from https://opensource.samsung.com/index.jsp

2012-01-03 Thread koe1974
I'm going to jump in on this one because the title best suits the situation. I have used an initramfs but still cannot get a kernel to boot. Please allow me to elaborate on what I have done. Could you make any suggestions based on the following? A. I have built the kernel with the defconfig prov

[android-kernel] Where does the vmlinux image remain on the android file system

2012-01-03 Thread sam fisher
the vmlinux on most linux is in the /boot directory? Where does it exist in android find and grep don't pop up anything for vmlinux -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel