Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: m-labs/milkymist
base: 02c81d5
Choose a base ref
...
head repository: m-labs/milkymist
compare: 0b2d12a
Choose a head ref
  • 8 commits
  • 1 file changed
  • 1 contributor

Commits on Nov 13, 2011

  1. softusb-input: also accept 3 byte reports, e.g., from wheelless mice

    wpwrak authored and Sebastien Bourdeauducq committed Nov 13, 2011
    Copy the full SHA
    6b83fa4 View commit details
    Browse the repository at this point in the history
  2. softusb-input: use symbolic constants for packet ID values

    wpwrak authored and Sebastien Bourdeauducq committed Nov 13, 2011
    Copy the full SHA
    85b2d1c View commit details
    Browse the repository at this point in the history
  3. softusb: use macro to construct (address, EP) value

    0x81 meaning "address 1, endpoint 1" looks like the ubiquitous 0x81
    meaning "direction IN, endpoint 1". This patch makes things a little
    less misleading.
    wpwrak authored and Sebastien Bourdeauducq committed Nov 13, 2011
    Copy the full SHA
    bd7d5e1 View commit details
    Browse the repository at this point in the history
  4. softusb: don't interrupt the host if we're ignoring the packet anyway

    wpwrak authored and Sebastien Bourdeauducq committed Nov 13, 2011
    Copy the full SHA
    40404f9 View commit details
    Browse the repository at this point in the history
  5. softusb: renamed "fs" to "full_speed"

    No need to be *that* tight-lipped ...
    wpwrak authored and Sebastien Bourdeauducq committed Nov 13, 2011
    Copy the full SHA
    169c6a6 View commit details
    Browse the repository at this point in the history
  6. softusb: separate EP-specific state from port-specific state

    This is made a little easier by the rest of the code ignoring the
    data toggle in SETUP requests. Otherwise, EP0 would need some state
    as well.
    wpwrak authored and Sebastien Bourdeauducq committed Nov 13, 2011
    Copy the full SHA
    a2656a5 View commit details
    Browse the repository at this point in the history
  7. softusb: support composite USB devices

    For this, we parse the entire configuration descriptor and look at
    all interface descriptors. Furthermore, we set the endpoint number
    according to the endpoint descriptor(s) following the interface
    descriptor, instead of hard-coding it.
    
    Here is a brief description of how composite devices are structured:
    http://atmel.com/dyn/resources/prod_documents/doc7805.pdf
    
    Note that this doesn't help with combi-devices that present
    themselves as independent devices plus a hub.
    
    We still bail out at the first interface descriptor we don't
    understand, to avoid wandering into crazy things that may be lurking
    at tne end of the configuration descriptor. (I did this on a whim.
    Maybe we don't need that extra dose of paranoia.)
    wpwrak authored and Sebastien Bourdeauducq committed Nov 13, 2011
    Copy the full SHA
    a26dc51 View commit details
    Browse the repository at this point in the history
  8. softusb: added hack for Rii RF mini-keyboard

    Unlike the ACME rodent, the mouse pad of the Rii RF mini-keyboard
    sends reports with report ID and 16 bit resolution. This patch just
    identifies these reports by their sheer size and then rearranges the
    packet content before further processing.
    wpwrak authored and Sebastien Bourdeauducq committed Nov 13, 2011
    Copy the full SHA
    0b2d12a View commit details
    Browse the repository at this point in the history