02 Feb, 2008

2 commits

  • G_PRINTER: Adds a USB printer gadget driver for use in printer firmware.

    This adds a USB printer gadget driver for use in printer firmware.
    The printer gadget channels data between the USB host and a userspace
    program driving the print engine. The user space program reads and
    writes the device file /dev/g_printer to receive or send printer data.
    It can use ioctl calls to the device file to get or set printer status.

    Signed-off-by: Craig W. Nadler
    Signed-off-by: David Brownell
    Signed-off-by: Greg Kroah-Hartman

    Craig W. Nadler
     
  • Signed-off-by: Alain Degreffe
    Cc: Alan Cox
    Cc: Oliver Neukum
    Signed-off-by: Greg Kroah-Hartman

    Alain Degreffe
     

29 Nov, 2007

1 commit

  • This patch (as1014) was partly written by Tilman Schmidt. It
    clarifies the USB power-management documentation by explaining that
    when a disconnect occurs, a suspend method call might not be followed
    by either a resume or a reset_resume call.

    Signed-off-by: Alan Stern
    Signed-off-by: Tilman Schmidt
    Signed-off-by: Greg Kroah-Hartman

    Alan Stern
     

20 Oct, 2007

1 commit


13 Oct, 2007

4 commits


13 Jul, 2007

3 commits

  • This patch updates some of the documentation about DMA buffer management
    for USB, and ways to avoid extra copying. Our understanding of the issues
    has improved over time.

    - Most drivers should *avoid* the dma-coherent allocators. There are
    a few exceptions (like the HID driver).

    - Some methods are currently commented out; it seems folk writing
    USB drivers aren't doing performance tuning at that level yet.

    - Just avoid highmem; there's no good way to pass an "I can do highmem
    DMA" capability through a driver stack. This is easy, everything
    already avoids highmem. But it'd be nice if x86_32 systems with much
    physical memory could use it directly with network adapters and mass
    storage devices. (Patch, anyone?)

    Signed-off-by: David Brownell
    Signed-off-by: Greg Kroah-Hartman

    David Brownell
     
  • This patch (as920) adds an extra level of protection to the
    USB-Persist facility. Now it will apply by default only to hubs; for
    all other devices the user must enable it explicitly by setting the
    power/persist device attribute.

    The disconnect_all_children() routine in hub.c has been removed and
    its code placed inline. This is the way it was originally as part of
    hub_pre_reset(); the revised usage in hub_reset_resume() is
    sufficiently different that the code can no longer be shared.
    Likewise, mark_children_for_reset() is now inline as part of
    hub_reset_resume(). The end result looks much cleaner than before.

    The sysfs interface is updated to add the new attribute file, and
    there are corresponding documentation updates.

    Signed-off-by: Alan Stern
    Signed-off-by: Greg Kroah-Hartman

    Alan Stern
     
  • This patch (as886) adds the controversial USB-persist facility,
    allowing USB devices to persist across a power loss during system
    suspend.

    The facility is controlled by a new Kconfig option (with appropriate
    warnings about the potential dangers); when the option is off the
    behavior will remain the same as it is now. But when the option is
    on, people will be able to use suspend-to-disk and keep their USB
    filesystems intact -- something particularly valuable for small
    machines where the root filesystem is on a USB device!

    Signed-off-by: Alan Stern
    Signed-off-by: Greg Kroah-Hartman

    Alan Stern
     

09 May, 2007

1 commit


05 May, 2007

1 commit


28 Apr, 2007

1 commit

  • This patch adds a new text API, codenamed '1u', which captures more URB
    fields than old '1t' interface did. Also the '1u' text API is compatible
    with the future "bus zero" extension.

    Signed-off-by: Pete Zaitcev
    Acked-by: Alan Stern
    Signed-off-by: Greg Kroah-Hartman

    Pete Zaitcev
     

08 Feb, 2007

2 commits

  • This patch adds a new, "binary" API in addition to the old, text API usbmon
    had before. The new API allows for less CPU use, and it allows to capture
    all data from a packet where old API only captured 32 bytes at most. There
    are some limitations and conditions to this, e.g. in case someone constructs
    a URB with 1GB of data, it's not likely to be captured, because even the
    huge buffers of the new reader are finite. Nonetheless, I expect this new
    capability to capture all data for all real life scenarios.

    The downside is, a special user mode application is required where cat(1)
    worked before. I have sample code at http://people.redhat.com/zaitcev/linux/
    and Paolo Abeni is working on patching libpcap.

    This patch was initially written by Paolo and later I tweaked it, and
    we had a little back-and-forth. So this is a jointly authored patch, but
    I am submitting this I am responsible for the bugs.

    Signed-off-by: Paolo Abeni
    Signed-off-by: Pete Zaitcev
    Signed-off-by: Greg Kroah-Hartman

    Pete Zaitcev
     
  • Update /proc/bus/usb/devices output to report active altsettings.

    Signed-off-by: David Brownell
    Signed-off-by: Greg Kroah-Hartman

    David Brownell
     

24 Jan, 2007

1 commit


06 Jan, 2007

1 commit


30 Nov, 2006

2 commits


04 Nov, 2006

1 commit


04 Oct, 2006

6 commits


28 Sep, 2006

2 commits

  • The purpose of this patch is to split off the case when a device does
    not reply on the lower level (which is reported by HC hardware), and
    a case when the device accepted the request, but does not reply at
    upper level. This redefinition allows to diagnose issues easier,
    without asking the user if the -110 happened "immediately".

    The usbmon splits such cases already thanks to its timestamp, but
    it's not always available.

    I adjusted all drivers which I found affected (by searching for "urb").
    Out of tree drivers may suffer a little bit, but I do not expect much
    breakage. At worst they may print a few messages.

    Signed-off-by: Pete Zaitcev
    Signed-off-by: Greg Kroah-Hartman

    Pete Zaitcev
     
  • Add driver for AIRcable USB Bluetooth dongle.

    Signed-off-by: Naranjo, Manuel Francisco
    Signed-off-by: Greg Kroah-Hartman

    Manuel Francisco Naranjo
     

03 Aug, 2006

2 commits


13 Jul, 2006

1 commit

  • Text from the back of the box, for your information/amusement:

    USB DATA CABLE
    FOR K700 Series

    The USB Cable is an ideal link between your mobile phone and PC. Employing
    the user-friendiy [sic] USB standard,its capacity for rapid data transfer enables functions
    such as synchronization of phone book and calendar,as well as Internet browsing via
    a modem-enabled phone.Autual [sic] connection speed is dependent on phone capacity.

    MADE IN CHINA

    From: Peter Moulder
    Signed-off-by: Greg Kroah-Hartman

    Peter Moulder
     

22 Jun, 2006

1 commit

  • Fix up the documentation. Apparently, I left unedited copy-paste results
    in examples. Also, Alan helped me to improve the most confusing parts.

    Signed-off-by: Pete Zaitcev
    Signed-off-by: Greg Kroah-Hartman

    Pete Zaitcev
     

02 Apr, 2006

1 commit


21 Mar, 2006

6 commits

  • ZC0301 driver bugfix.

    Use correct PID/VID USB entries.

    Signed-off-by: Luca Risolia
    Signed-off-by: Greg Kroah-Hartman

    Luca Risolia
     
  • ZC0301 driver updates.

    Changes: + new, - removed, * cleanup, @ bugfix

    @ Need usb_get|put_dev() when disconnecting, if the device is open
    * Cleanups and updates in the documentation
    + Use per-device sensor structures
    + Add frame_timeout module parameter

    Signed-off-by: Luca Risolia
    Signed-off-by: Greg Kroah-Hartman

    Luca Risolia
     
  • USB: ET61X[12]51 driver updates

    Changes: + new, - removed, * cleanup, @ bugfix

    @ Fix stream_interrupt()
    @ Fix vidioc_enum_input() and split vidioc_gs_input()
    @ Need usb_get|put_dev() when disconnecting, if the device is open
    * Use wait_event_interruptible_timeout() instead of wait_event_interruptible()
    when waiting for video frames
    * replace wake_up_interruptible(&wait_stream) with wake_up(&wait_stream)
    * Cleanups and updates in the documentation
    * Use mutexes instead of semaphores
    + Use per-device sensor structures
    + Add support for PAS202BCA image sensors
    + Add frame_timeout module parameter

    Signed-off-by: Luca Risolia
    Signed-off-by: Greg Kroah-Hartman

    Luca Risolia
     
  • SN9C10x driver updates.

    Changes: + new, - removed, * cleanup, @ bugfix

    @ Fix stream_interrupt()
    @ Fix vidioc_enum_input() and split vidioc_gs_input()
    @ Need usb_get|put_dev() when disconnecting, if the device is open
    * Use wait_event_interruptible_timeout() instead of wait_event_interruptible()
    when waiting for video frames
    * replace wake_up_interruptible(&wait_stream) with wake_up(&wait_stream)
    * Cleanups and updates in the documentation
    + Use per-device sensor structures
    + Add support for PAS202BCA image sensors
    + Add frame_timeout module parameter

    Signed-off-by: Luca Risolia
    Signed-off-by: Greg Kroah-Hartman

    Luca Risolia
     
  • "Cosmetic" driver updates for the ZC0301 driver:

    - Fix stream_interrupt() (and work around a possible kernel bug);

    - Fix vidioc_enum_input() and split vidioc_gs_input() in two parts;
    - Use wait_event_interruptible_timeout() instead of wait_event_interruptible()
    when waiting for video frames;
    - replace erroneous wake_up_interruptible(&wait_stream) with
    wake_up(&wait_stream);
    - Cosmetic cleanups in the documentation.

    Signed-off-by: Luca Risolia
    Signed-off-by: Greg Kroah-Hartman

    Luca Risolia
     
  • This patch adds a Video4Linux2 driver for ZC0301
    Image Processor and Control Chip.

    Signed-off-by: Luca Risolia
    Signed-off-by: Greg Kroah-Hartman

    Luca Risolia