Re: basic otg support

2008-09-25 Thread Vamsi Krishna S
I dont want to implmenent the HNP or SRP protocols but i would like to switch my driver mode to either Host or Peripheral based on cable type. if mini-A cable is connected i want to load host contoller driver and if mini b is connected i want to load a peripheral driver. is there any

Re: vfsmount

2008-09-25 Thread Manish Katiyar
On Mon, Sep 22, 2008 at 10:27 PM, Rohit Sharma [EMAIL PROTECTED] wrote: I am interested in getting the vfsmount structure of the mounted file system from my module. I used filp = get_empty_filp() (filp is file pointer) function to create an empty file object (as this contains pointer to

RE: basic otg support

2008-09-25 Thread Vivek Kumar Gupta
Hi Vamsi, For Otg perspective, you need to 1st implement USB Host, USB Gadget and then USB OTG driver, by using Linux USB core. About the Scenarios: when user want to use USB OTG, so at that time Host, Gadget and otg (in same order) should be loaded into the kernel or memory. So OTG can shift to

Re: vfsmount

2008-09-25 Thread Srikanth Srinivasan
On Thu, Sep 25, 2008 at 12:13 PM, Manish Katiyar [EMAIL PROTECTED] wrote: On Mon, Sep 22, 2008 at 10:27 PM, Rohit Sharma [EMAIL PROTECTED] wrote: I am interested in getting the vfsmount structure of the mounted file system from my module. I used filp = get_empty_filp() (filp is file

Re: basic otg support

2008-09-25 Thread Greg KH
On Thu, Sep 25, 2008 at 10:24:37AM +0530, Vivek Kumar Gupta wrote: I am extremely sorry I mean 3rd Party USB Stack. Interesting, do you have a pointer to it? I don't know of any 3rd party USB stack for Linux, I would be interested in looking at it. thanks, greg k-h -- To unsubscribe from

Re: basic otg support

2008-09-25 Thread Greg KH
On Thu, Sep 25, 2008 at 12:01:20PM +0530, Vamsi Krishna S wrote: I dont want to implmenent the HNP or SRP protocols but i would like to switch my driver mode to either Host or Peripheral based on cable type. if mini-A cable is connected i want to load host contoller driver and if mini b is