Ang.: Re: Ang.: Re: [android-kernel] Re: Getting the battery current and voltage values for the Android Phone

2010-03-18 Thread Daniel Petersson
I do not think it can measure either discharge or charge. The platform probably just guess, if USB connected it will always guess that it is charging 449 even if the current declines when the battery is almost full (CCCV). The same will happen with normal charger. For discharging it will probably b

Re: [android-kernel] Re: (currently nonworking) attempt at USB host mode for MSM7201

2010-03-18 Thread Andrew de Quincey
> Does this mean future phones will support usb HOST mode? If they're using similar hardware, there is no technical reason why not. The current generation all seem to have the requisite hardware support. Its up to the manufacturers whether they include the software support provided by this patch

Re: [android-kernel] "android-usb" platform_driver cleanup

2010-03-18 Thread Andrew de Quincey
On 18 March 2010 20:33, Chris Stratton wrote: > I dont think the usb drivers are complete enough to be unloadable.  Andrew > de Quincey was doing some preliminary work in that area to permit switching > to usb host mode, also someone observed that the samsung galaxy msm 7201a > usb drivers seem mo

Re: [android-kernel] Sprint CDMA HTC HERO - patch errors

2010-03-18 Thread Andrew de Quincey
Hi, I've been having a break from the usb stuff this week - also my laptop decided to die, and developing on a netbook screen ain't so much fun :) I'll port it to the sprint hero source once I've got it working on the standard hero source... sometime next week I hope! -- unsubscribe: android-ker

Re: [android-kernel] "android-usb" platform_driver cleanup

2010-03-18 Thread Chris Stratton
I dont think the usb drivers are complete enough to be unloadable. Andrew de Quincey was doing some preliminary work in that area to permit switching to usb host mode, also someone observed that the samsung galaxy msm 7201a usb drivers seem more mature than the parent android ones for the same chi

[android-kernel] "android-usb" platform_driver cleanup

2010-03-18 Thread Sudheesh J
In the android gadget code I see the following platform driver registration: In mass_storage_bind_config: > rc = platform_driver_register(&fsg_platform_driver); I don't see this getting cleaned up on module exit. Shouldn't this be unregistered on fsg_function_unbind or somwhere? Or am I missing s

Re: [android-kernel] 2.6.31+ on HTC Dream

2010-03-18 Thread Axel Balley - Stantum
aosp_dream_us-eng 2.1-update1 Turns out 2.6.30 should be enough for what I need (i.e multitouch events support). I managed to build and boot a 2.6.30 kernel by merging v2.6.30 tag into android-msm-2.6.30-rc2-test from kernel/experimental.git. Le 18/03/10 14:46, « Mike Lockwood » a écrit : May

Re: [android-kernel] 2.6.31+ on HTC Dream

2010-03-18 Thread Mike Lockwood
Maybe it is out of sync with your user space. What version of android are you running on the G1? Mike On Thu, Mar 18, 2010 at 8:19 AM, Axel Balley - Stantum wrote: > Thanks, I tried that but the phone freezes on the TMobile G1 splashscreen, > before I can run adb shell on it. > > Le 18/03/10 13

Re: [android-kernel] 2.6.31+ on HTC Dream

2010-03-18 Thread Axel Balley - Stantum
Thanks, I tried that but the phone freezes on the TMobile G1 splashscreen, before I can run adb shell on it. Le 18/03/10 13:06, « Mike Lockwood » a écrit : The android-msm-2.6.32 branch in kernel/msm.git should work if you configure it using "make msm_defconfig". Mike On Thu, Mar 18, 2010 at

Re: [android-kernel] 2.6.31+ on HTC Dream

2010-03-18 Thread Mike Lockwood
The android-msm-2.6.32 branch in kernel/msm.git should work if you configure it using "make msm_defconfig". Mike On Thu, Mar 18, 2010 at 6:05 AM, Axel Balley - Stantum wrote: > Hi all, > I need to run Eclair with a 2.6.31 or later kernel on my HTC Dream, has > anyone succeeded in doing so ? > I'

[android-kernel] 2.6.31+ on HTC Dream

2010-03-18 Thread Axel Balley - Stantum
Hi all, I need to run Eclair with a 2.6.31 or later kernel on my HTC Dream, has anyone succeeded in doing so ? I've tried the android-msm-2.6.32 branch on kernel/msm.git, as well as android-msm-2.6.33-test1 on kernel/experimental.git, but none booted on my phone. I suppose the next step is to enabl