Re: [android-kernel] regarding hciattach (WL1271)

2011-08-30 Thread parth shah
Hi Pavan, We are using imx515 platform from freescale. We have pulled up connected with BT_EN with 1.8V. and BT_EN is connected to GPIO. We are making sure that before any BT activity BT_EN should go high. Is there any other reason? Thanks, Parth On Tue, Aug 30, 2011 at 7:31 PM, Pavan Sav

Re: [android-kernel] regarding hciattach (WL1271)

2011-08-30 Thread Pavan Savoy
On Tue, Aug 30, 2011 at 9:26 PM, parth shah wrote: > Hello Friends, > > I'm using WL1271 WIFI/BT module. > > I'm getting below output while running hciattach /dev/ttymxc1 texas 3000 > > [ATH_INFO] (external/bluetooth/bluez/tools/hciattach.c) : Serial > port is opened > [ATH_INFO] (external/blu

[android-kernel] regarding hciattach (WL1271)

2011-08-30 Thread parth shah
Hello Friends, I'm using WL1271 WIFI/BT module. I'm getting below output while running hciattach /dev/ttymxc1 texas 3000 [ATH_INFO] (external/bluetooth/bluez/tools/hciattach.c) : Serial port is opened [ATH_INFO] (external/bluetooth/bluez/tools/hciattach.c) : Port settings is gotten [ATH_INFO

Re: [android-kernel] Query about Driver suspend and kthread race condition

2011-08-30 Thread Arindam Roy
Hello Bob, I exactly concur with you about using the threaded interrupt. I was trying to make do with an existing code, and finding issues there. Thanks for the reply. I will modify the driver and see what is the outcome. One question is, in the threaded irq handler, is it okay to do i2c transfer,

Re: [android-kernel] How to test GPIO driver functionality?

2011-08-30 Thread jagan
Hi, We have procedure to test the GPIO functionalists like direction,i/o values, state levels through sysfs. We have two config to support this functional test like CONFIG_DEBUG_GPIO, CONFIG_GPIO_SYSFS. Pls find a Documentation/gpio.txt in Linus' tree. Regards, Jagan. On Mon, Aug 29, 2011 at 7:

Re: [android-kernel] Query about Driver suspend and kthread race condition

2011-08-30 Thread Robert Beckett
You would only get a race condition if the suspend code is contending the same lock as the thread. Unlikely if there is no locking. The kernel does not stop kthreads when suspending. Each kthread that runs a main loop should call try_to_freeze() in its main loop. This will let it detect the sus

Re: [android-kernel] Regarding Android Device driver development

2011-08-30 Thread William W.-Y. Liang
Android kernel has added some new features in the original Linux kernel, such as binder IPC, ashmem, logcat, wakelock, etc. As a result, you can not run the user-space Android software stack on the traditional (mainline) Linux kernel. You need to download Android's version of the kernel from androi