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

2012-01-01 Thread Fei Zhao
是的 在 2011-12-31 下午3:19,"Leng XueDong" 写道: > > you Chinese? > > On Dec 31, 2011 2:44 PM, "Fei Zhao" wrote: >> >> Hi All: >> >> When I read leds-class.txt, it says that" Must not sleep, use a >> workqueue if needed &q

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

2011-12-30 Thread Fei Zhao
Hi All: When I read leds-class.txt, it says that" Must not sleep, use a workqueue if needed " about void (*brightness_set)(struct led_classdev *led_cdev, enum led_brightness brightness);. Why it says that?What's happened if using sleep in brightness_set? Thanks! -- unsubscribe: android-

[android-kernel] Re: Android Sensor driver side

2011-10-08 Thread Fei Zhao
HI U can find the source code in hardware/sensor/ about sensor's HAL. On Oct 8, 12:37 pm, dani maoz wrote: > I could't find the source code? > where i can find it in gingerbread adn Froyo, > I am using rowboat source > > > > > > > > On Tue, Oct 4, 2011 at 2:15 PM, jagan <402ja...@gmail.com> wrot

[android-kernel] Re: ARM11 is sleeping During AC charging.

2011-09-13 Thread Fei Zhao
U r right On Sep 11, 9:54 pm, 崔英云 wrote: > In Fact,The adb will acquire wake lock not a usb charger. > > 2011/9/8 Fei Zhao > > > > > > > > > Hi all: > > > When charger using USB, it acquire a wakelock to present the system into > > suspend. Bu

[android-kernel] Re: ARM11 is sleeping During AC charging.

2011-09-13 Thread Fei Zhao
U r right On Sep 11, 9:54 pm, 崔英云 wrote: > In Fact,The adb will acquire wake lock not a usb charger. > > 2011/9/8 Fei Zhao > > > > > > > > > Hi all: > > > When charger using USB, it acquire a wakelock to present the system into > > suspend. Bu

Re: [android-kernel] Re: ARM11 is sleeping During AC charging.

2011-09-08 Thread Fei Zhao
Hi all: When charger using USB, it acquire a wakelock to present the system into suspend. But AC charger can not have a wakelock, so AC charger can enter suspend mode. -- Best regards ! ** Alex Zhao Email: skywal...@gmail.com Twitter: @skywalkzf

Re: [android-kernel] wakelock in TI OMAP usb adb driver

2011-09-08 Thread Fei Zhao
Hi Your device enter suspend mode or early suspend mode?U try to look for weather any driver to acquire wakelock? -- Best regards ! ** Alex Zhao Email: skywal...@gmail.com Twitter: @skywalkzf Address:Shanghai, China

Re: [android-kernel] Re: simulate i2c with gpio!

2011-09-08 Thread Fei Zhao
1: Read i2c-algo-bit.c & i2c-gpio.c 2.Make menuconfig to enable gpio-i2c 3.add static struct platform_device arch_device_i2c[] in board.c 4.set your drivers to use gpio-i2c. have fun! -- Best regards ! ** Alex Zhao Email: skywal...@gmail.com Twit

Re: [android-kernel] Compiling Android Kernel

2011-03-07 Thread Fei Zhao
Hi: U try to chmod +x xxx_gcc in another way. Have a try! -- Best regards ! ** Alex Zhao Email: skywal...@gmail.com Twitter: @skywalkzf Address:Shanghai, China ** 2011/3/4 Sam > Hi android Lovers, > >