On Mar 4, 2:35 am, Greg KH <[email protected]> wrote: > On Mon, Mar 2, 2009 at 10:08 PM, Ramy <[email protected]> wrote: > > One more doubt ..let us assume that i have an application on host side > > (fullspeed usb). But on the device side i have a highspeed driver for > > the usb. I cannot modify any thing from the host side. > > I think you are still a bit confused. No operating system that I know of > cares on the USB driver side if the device is "full" or "high" speed, with the > exception of the USB host controller driver.
I am new to USB drivers so may be i am confused. Trying to get a clear picture > > Are you writing a new USB host controller driver? If so, for what hardware? I already have the device controller driver. I am implementing a function on it to do the read and write process. The driver is for msm 7200 board . I only has the adb function implemented. I am thinking of writing another function which can do read/write with the host(linux/ windows). referrring to the adb function source code available i have written an similar function. I have done the compilation . after the boot the driver is configures and its device is created on the board (using minicom to access the nfs ). But when i do some read and write nothing happens. > > Do you have a pointer to your kernel code that you are having problems with? > It's up to the device itself to negotiate the full/high/low speed issues > without any need for your driver to do anything. following the http://www.linux-usb.org/usbtest/ site i have tried to test the peripheral controller driver (from linux host) which says unknown speed /proc/bus/usb/001/054 /proc/bus/usb/001/054 test 9 --> 25 (Inappropriate ioctl for device) Is this because there is no implementation for the ioctl calls in the peripheral controller driver ?? > > Where exactly are you writing the driver? On the android phone side or on the > USB host side? And pointers to the code would be appreciated to help clear up > things. I am trying to do all things on the target side MSM 7200 board. > > thanks, Ramy. --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-kernel -~----------~----~----~----~------~----~------~--~---
