On Tue, 2002-10-22 at 22:58, Subramanya Murthy wrote: > hi, > We are trying to implement device driver for mobile phone having EPOC as > the OS. > > ON the HOST side: > 1. I understand that the stack on the HOST can be implemented against the > OHCI or EHCI specification??. > 2. Do I have to implement the USB system software and the USB client > software on the HOST side??
No changes on the HOST side. Linux already has all the necessary stack and drivers, as long as your phone implements only standard USB classes. See below. > On the Device side: > 3. What are the components for the device stack, if the OS is EPOC on the > mobile phone.?? > 4. What is the USB specification should be followed to implement the device > driver on mobile phone.?? I have no clue what USB capabilities the EPOC OS has. Ask someone on EPOC mailing lists, or Psion if they are still maintaining the OS. You need some USB device stack (or software). It can be anything, from very simple (only hundreds of machine commands) to very complicated. You should create a device that conforms to one of standard USB classes. Then it will work with any standard USB host. Several classes are defined, and probably ACM is the one for data I/O, and the Audio class can be used to transfer audio data back and forth. The entire USB idea began as an interface for a smart phone, so these classes were designed very early. Get yourself a copy of all class specs, look at those two to begin with, and choose which ones cover your needs the best. You are not required to have only one interface - your device can have many if needed (such as both data and voice). Specs are at http://www.usb.org/ There is another possibility, if you can afford it. Make your phone hardware to use someone's else USB chips, and choose them wisely. Then you don't need to reinvent the wheel. For example, Philips has UDA1325 audio interface chips. Then no software development is needed at all. But it depends on the hardware of your phone. If you already have it finished, then you must do the USB device side software yourself. Dmitri -- void women (int money, time_t time); -- Exceed
signature.asc
Description: This is a digitally signed message part
