Re: What do i need to activate my USB host

From: Seung Yi (seungyi_at_codetelligence_NOSPAMMERS_.com)
Date: 08/05/04


Date: Thu, 05 Aug 2004 09:01:29 -0700

Eric Pan wrote:

> my dev.board is based on PXA255, and no BSP provided so there is no way to
> rebuild the image
> There are bluetooth driver (bthuniv.dll and others)in my dev. board as USB
> client, and corresponding reg settings are integrate. But since no usb host
> provided, i have to build up a usb host driver, and manually add it to the
> platform.( by copying dll, and reg modification ...some hints i got
> previously).
>
> Then,
>
> 1) would the common usbd.dll(abstract xscale pxa250 platforms) be feasible
> for my usage?
>
> 3) if so, what normally should i do to prepare a usb host driver?
>
> 2) i have tried a PPC2003 usb host driver for PXA255, and it activated a reg
> key:
> [HKEY_LOCAL_MACHINE\Drivers\Active\21]
> "dll"="usbd.dll"
>
> but the client device does not work either, what else need i do?
>
> 4) In pb help. there are two types of host driver: OHCI and UHCI. How do i
> decide which one to choose? and how to configure them?
>
> thanks!
>
>
  You should determine what kind of host controller your PXA250 platform
is using. USBD.dll does not control the hardware it provides software
APIs for USB peripheral drivers and a set of APIs for host controllers.
   You will need to select an appropriate host controller driver for
your platform. Windows CE ships with two standard controller types,
OHCI and UHCI. The industry created two controller standards to make it
easier for operating systems to support USB host functionality. Both of
these are for PCI designes that use OHCI/UHCI register sets. There are
some chips that implement a custom host controller or a variant of the
standard controllers but you will have to seek help from the chip vendor
to support them.

-- 
Seung Yi
Senior Engineer
Codetelligence, Inc.
Web   : www.codetelligence.com


Relevant Pages

  • ieee1394 and fbdev oops in 2.6.3rc2
    ... Found UniNorth PCI host bridge at 0xf0000000. ... Firmware bus number: 0->0 ... PMU driver 2 initialized for Core99, ... ohci_hcd 0001:02:08.0: new USB bus registered, ...
    (Linux-Kernel)
  • [patch 26/29] USB: add S3C24XX USB Host driver support
    ... USB Host driver for S3C2410/S3C2440 based systems ... * OHCI HCD (Host Controller Driver) for USB. ...
    (Linux-Kernel)
  • Re: USB host controller and client driver
    ... Realy appreciate your reply on Host controller and Function controller ... Well I am absolutelly clear now with host controller driver ... "The USB function controller drvers come into picture only if your ...
    (microsoft.public.windowsce.platbuilder)
  • Re: USB data Transfer question
    ... are you sure your USB Host driver is ok? ... the pBuffer!=0 if there is data sending from client. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: USB data Transfer question
    ... are you sure your USB Host driver is ok? ... the pBuffer!=0 if there is data sending from client. ...
    (microsoft.public.windowsce.platbuilder)

Quantcast