[android-kernel] Re: usb networking with USB_FUNCTION_ETHER

2009-01-20 Thread Brian Swetland
You're going to have to configure the function to be included in the usb composite device (look in board-trout.c), and probably will have to modify the VID/PID to match one your desktop linux kernel associates with the "simple" ethernet profile. Also, I've found that having other interfaces (lik

[android-kernel] Re: how to do kernel printk from G1 phone?

2009-01-20 Thread Greg KH
On Tue, Jan 20, 2009 at 12:29 PM, Jun Sun wrote: > BTW, I notice there are no /var/log/* entries. Did you meant using "dmesg" > to read kernel log or some other way I am not aware of? Yes, use 'dmesg'. --~--~-~--~~~---~--~~ unsubscribe: android-kernel+unsubscr...

[android-kernel] Re: Recompile Linux kernel

2009-01-20 Thread Jun Sun
The wifi problem is caused by the failusre in checking wlan.ko module version. You can find out by looking kernel log (dmesg). I used a temporary hack to get around this problem. If you know better solutions, please share. http://junsun.net/linux/android-dream/adp1-kernel-module-version-hack.pa

[android-kernel] Re: how to do kernel printk from G1 phone?

2009-01-20 Thread Jun Sun
On Tue, Jan 20, 2009 at 11:20:24AM -0800, Greg KH wrote: > > On Tue, Jan 20, 2009 at 10:29 AM, Jun Sun wrote: > > On Mon, Jan 19, 2009 at 10:25:24PM -0800, Greg KH wrote: > >> > >> On Mon, Jan 19, 2009 at 9:25 PM, Jun Sun wrote: > >> > > >> > > >> > Any hints? In general how do I debug the kern

[android-kernel] Re: how to do kernel printk from G1 phone?

2009-01-20 Thread Greg KH
On Tue, Jan 20, 2009 at 10:29 AM, Jun Sun wrote: > On Mon, Jan 19, 2009 at 10:25:24PM -0800, Greg KH wrote: >> >> On Mon, Jan 19, 2009 at 9:25 PM, Jun Sun wrote: >> > >> > >> > Any hints? In general how do I debug the kernel on the device? >> >> Look at the kernel log. > > How do I look at the k

[android-kernel] Re: how to do kernel printk from G1 phone?

2009-01-20 Thread Jun Sun
Thanks Greg. See below. On Mon, Jan 19, 2009 at 10:25:24PM -0800, Greg KH wrote: > > On Mon, Jan 19, 2009 at 9:25 PM, Jun Sun wrote: > > > > > > Any hints? In general how do I debug the kernel on the device? > > Look at the kernel log. How do I look at the kernel log if I don't have 'adb she

[android-kernel] Android PM

2009-01-20 Thread sriram
Hi, I am using android release 1.0 userland applications with 2.6.25 android kernel. Android works fine with this setup. Now, the latest kernel is 2.6.28. We have added PM support to it. But we would like to use the same useland file system. What happens is once, android goes into PM suspen