Re: [android-kernel] Re: Working MSM7201 usb host driver v2

2010-02-15 Thread Andrew de Quincey
Hmmph, I've just been looking over the msm72k_udc.c /gadget/ usb code this evening: there's no module unload routine defined right now, so its not possible to cleanly unload it when compiled as a module. I need to sort this out first of all so we can test things without having to reboot all the tim

Re: [android-kernel] Re: Working MSM7201 usb host driver v2

2010-02-15 Thread Olivier Perron
> Hi, attached are the latest patches - I've restarted the number at 10 That make me remember a joke: "There are only 10 types of people in the world: Those who understand binary, and those who don't" Sorry for that, I couldn't resist :) I can now see and check the required options ! Thanks for

Re: [android-kernel] Re: Working MSM7201 usb host driver v2

2010-02-15 Thread Andrew de Quincey
On 15 February 2010 18:25, Andrew de Quincey wrote: >> On Mon, Feb 15, 2010 at 6:25 PM, Andrew de Quincey >> wrote: >>>. which kernel base are you compiling against? >> >> I've tried with the stock HTC Hero kernel source code and starting >> from their given .config >> >> Maybe I'm not using the

Re: [android-kernel] Re: Working MSM7201 usb host driver v2

2010-02-15 Thread Andrew de Quincey
> On Mon, Feb 15, 2010 at 6:25 PM, Andrew de Quincey wrote: >>. which kernel base are you compiling against? > > I've tried with the stock HTC Hero kernel source code and starting > from their given .config > > Maybe I'm not using the right set of patches ? I did apply the v2 patch file. I think

Re: [android-kernel] Re: Working MSM7201 usb host driver v2

2010-02-15 Thread Olivier Perron
On Mon, Feb 15, 2010 at 6:25 PM, Andrew de Quincey wrote: >. which kernel base are you compiling against? I've tried with the stock HTC Hero kernel source code and starting from their given .config Maybe I'm not using the right set of patches ? I did apply the v2 patch file. -- unsubscribe: an

Re: [android-kernel] the removal of android drivers from the staging tree

2010-02-15 Thread Greg KH
On Sat, Feb 13, 2010 at 9:34 AM, markr...@gmail.com wrote: > Hello, > I have read greg kh post about the removal of android from the > Linux kernel: > http://www.kroah.com/log/linux/android-kernel-problems.html First off, if you have questions about something I write, why not ask me, and not some

Re: [android-kernel] Re: Working MSM7201 usb host driver v2

2010-02-15 Thread Andrew de Quincey
> > then enable EHCI HCD (USB 2.0) support > > I definitively can't see that one. Where is it supposed to be ? The kconfig config option for the MSM architecture has changed name in some kernels (certainly the vanilla g1 source differs from the hero source)... which kernel base are you compiling a

Re: [android-kernel] Fast kernel switching (chain loading etc) ?

2010-02-15 Thread Andrew de Quincey
On 13 February 2010 16:04, Chris Stratton wrote: > Would it be possible to make a running kernel for an msm7201 phone > chain load and startup a test kernel? This would be fairly useless on > a phone that can fastboot, but a number of otherwise rooted phones > cant do that, making flash & crash

Re: [android-kernel] Re: Working MSM7201 usb host driver v2

2010-02-15 Thread Olivier Perron
On Mon, Feb 15, 2010 at 6:03 PM, Chris Stratton wrote: > On Feb 15, 8:56 am, Olivier Perron wrote: > >> The patch applies cleanly but there must be something wicked at >> some point: once I enable "USB Host" I simply can't find any "EHCI/ >> MSM720" HCD option... > > You need to disable usb g

[android-kernel] Re: Working MSM7201 usb host driver v2

2010-02-15 Thread Chris Stratton
On Feb 15, 8:56 am, Olivier Perron wrote: > The patch applies cleanly but there must be something wicked at > some point: once I enable "USB Host" I simply can't find any "EHCI/ > MSM720" HCD option... You need to disable usb gadget or usb function, then enable EHCI HCD (USB 2.0) support the

[android-kernel] Fast kernel switching (chain loading etc) ?

2010-02-15 Thread Chris Stratton
Would it be possible to make a running kernel for an msm7201 phone chain load and startup a test kernel? This would be fairly useless on a phone that can fastboot, but a number of otherwise rooted phones cant do that, making flash & crash the only current testing option. I started looking through

[android-kernel] the removal of android drivers from the staging tree

2010-02-15 Thread markr...@gmail.com
Hello, I have read greg kh post about the removal of android from the Linux kernel: http://www.kroah.com/log/linux/android-kernel-problems.html He says: "This means that any drivers written for Android hardware platforms, can not get merged into the main kernel tree because they have dependencies

[android-kernel] Re: [patch] Working MSM7201 usb host driver v2

2010-02-15 Thread Chris Stratton
Andrew, I've tried patching the cyanogen 2.6.29.6-cm42 kernel with your usb host code for basically the same finds root hub and nothing else result on a magic32b that Jun Sun posted from a g1. Im using a usb hard drive's Y cable and a usb A to mini adapter; I think this should be good as the phon

[android-kernel] Re: Working MSM7201 usb host driver v2

2010-02-15 Thread Olivier Perron
Hi, The patch applies cleanly but there must be something wicked at some point: once I enable "USB Host" I simply can't find any "EHCI/ MSM720" HCD option... Is there any other option I do need to set or unset somewhere else to get that EHCI/MSM720 option to appear ? Cheers Olivier On 9 fév,

[android-kernel] Re: Working MSM7201 usb host driver v2

2010-02-15 Thread Angel
Im trying to get the usb host driver as well for the G2/htc sapphire/ htc magic. Any hint? -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel

[android-kernel] Re: Working MSM7201 usb host driver v2

2010-02-15 Thread Chris Stratton
On Feb 9, 3:16 pm, Andrew de Quincey wrote: > Hi, here's my now working patch - I've still a bit of work to do on it > >  ehci-msm7201-v2.patch I have just gotten this working on a tmo mytouch sapphire 32B with a cyanogen 2.6.29 kernel patched with a modification of Andrew's code. This verifies