linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Matthew Locke <mlocke@mvista.com>
To: Nguyen Xuan Hoang <hoang_nguyen@smartstors.com>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: Usb slave API
Date: Fri, 04 Aug 2000 11:31:59 -0700	[thread overview]
Message-ID: <398B0C1F.DCB6641A@mvista.com> (raw)
In-Reply-To: 005601bffe7f$9acd22e0$0401a8c0@hoangmobile


> > From my understanding the usb slave driver (not host) was done for MPC823
> > and MPC850, but I can't  find where it is

As Dan said, hopefully the annoucement will happen soon.

> >  nor what is the API for it (In
> > official linux kernel there's a API  for USB host function). Am I right or
> > too stupid?  I hope some people in this maillist can give a point.

Which kernel are you looking in?  USB support in the 2.2 kernel isn't
very stable. 2.4 has a very nice implementation and I think you can find
backports to the 2.2.  However backports are not always stable.
Basically the kernel provides slave (peripheral) drivers for the basic
peripheral classes, printer, scanner, mouse, keyboard, etc.  look in
drivers/usb for those files to use as examples.

 The first place to look is in the Documentation directory of the kernel
tree.  At the very least it will have pointers to where to find docs.
In this case (2.4), it provides some good descriptions of the USB API
and the various pieces that make up the USB stack.  I read a paper
called "Programming Guide for Linux USB Devices" that is pretty good.
you can find it at http://usb.in.tum.de/usbdoc .


Matthew Locke
Montavista Software
http://www.mvista.com

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

  reply	other threads:[~2000-08-04 18:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <380658298.965240776157.JavaMail.root@web621-wrb.mail.com>
2000-08-02 20:44 ` FWD: Installing PCMCIA hard disk on DVK MPC823 Matthew Locke
2000-08-03 18:31   ` Usb slave API Nguyen Xuan Hoang
2000-08-04  4:45     ` Dan Malek
2000-09-13 16:56       ` Gary Swanson
2000-08-05  1:50     ` Nguyen Xuan Hoang
2000-08-04 18:31       ` Matthew Locke [this message]
2000-08-05 20:03         ` Nguyen Xuan Hoang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=398B0C1F.DCB6641A@mvista.com \
    --to=mlocke@mvista.com \
    --cc=hoang_nguyen@smartstors.com \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).