Re: USB Driver programming documentation

From: Pete Zaitcev (OTID1) (ot16a6ca05878e44c0_at_comcast.net)
Date: 11/26/04

  • Next message: Robert Redelmeier: "Re: network stack latencies"
    Date: Thu, 25 Nov 2004 18:52:20 -0800
    
    

    On Thu, 25 Nov 2004 13:13:48 -0800, Sebastien B wrote:

    > Does anyone have a good link for writing USB device drivers with the
    > 2.6 kernel ? All that I can find is related to the 2.4 kernel, and the
    > 2.6 API looks quite different, for example it uses intensively the
    > usb_set_intfdata() for which I didn't find any documentation. []

    usb_set_intfdata is a trivial wrapper.

    Just get a driver which is similar to what you want to do and copy
    from there.

    -- Pete


  • Next message: Robert Redelmeier: "Re: network stack latencies"

    Relevant Pages

    • Re: [RFC] Staging:IIO: New ABI
      ... Hardware chip or device accessed by on communication port. ... An event driven driver of data capture to an in kernel buffer. ... There is already a well-defined api for these things. ... don't have a custom interface just for these device. ...
      (Linux-Kernel)
    • Re: [RFC] Staging:IIO: New ABI
      ... Hardware chip or device accessed by on communication port. ... An event driven driver of data capture to an in kernel buffer. ... A given IIO device will indeed have a either none or typically 1 ring buffers. ... There is already a well-defined api for these things. ...
      (Linux-Kernel)
    • Re: Digital-tv card drivers and API discussion
      ... Designing completely new api takes some time and I ... > driver development experience, I have a couple of questions for you. ... > 2) As linux kernel is GPL-licensed, I cannot just port the linux driver ... I'm able to watch DVB programs converted from MPEG TS substreams to MPEG ...
      (freebsd-arch)
    • Re: TDBC documentation, examples, syntax?
      ... every driver and provides no opportunity for abstraction. ... procedural API, the internal details are opaque, the interface remains ... that database. ... standard API, or provide a quirky API with non-standard features. ...
      (comp.lang.tcl)
    • Re: [2.6 patch] ieee1394_core.c: remove unneeded EXPORT_SYMBOLs
      ... distribution will call us and require intense support. ... profits with Linux sales - and 99.99 % of our income with Windows sales. ... I do not see the licensing issue of a stable kernel API where venders ... Our driver is GPL so there should no be a licensing issue. ...
      (Linux-Kernel)