[linux-usb-devel] USB Gadget Serial - PXA-270 to WinXP

2006-09-27 Thread Thomi Aurel RUAG A
Hi Im working on a Intel XScale PXA-270 Board with linux 2.6.17 (linux-2.6.17-pcm027-3). I'd like to establish a connection to a WinXP Host over the USB Gadget Framework, therefore a configured the USB Gadget support with the "Serial Gadget" as a module. The compilation was successful and during ke

[linux-usb-devel] Directory usb_new (in Linux 2.4.20)

2006-09-27 Thread Ronnie Hedlund
Hi, I wonder what the directory "drivers/usb_new/" is for, as the "drivers/usb/" directory seems to be the one that is used. Both contains partly the same files but there are differences. We are having some problem with usb and wonder if it might be worth trying to compile with the usb_new d

Re: [linux-usb-devel] [RFC/PATCH] EHCI Oops on CONFIG_NOT_COHERENT_CACHE system

2006-09-27 Thread Gerhard Pircher
Original Message Date: Mon, 25 Sep 2006 19:31:46 -0400 From: "Christopher Montgomery" <[EMAIL PROTECTED]> To: "Gerhard Pircher" <[EMAIL PROTECTED]> Subject: Re: [linux-usb-devel] [RFC/PATCH] EHCI Oops on CONFIG_NOT_COHERENT_CACHE system > B) Break struct ehci_qh into two parts,

Re: [linux-usb-devel] [PATCH] add Raritan KVM USB Dongle to the HID_QUIRK_NOGET blacklist

2006-09-27 Thread Raghavendra_Biligiri
Biligiri, Raghavendra wrote: > During Installation the host tries to enumerate the keyboard/mouse > dongle for the Raritan KVM.At this time timeouts have been observed > Adding the Raritan KVM USB dongle to the blacklist fixes this issue. > > This patch is against 2.6.18-rc7. > Please find the p

Re: [linux-usb-devel] [PATCH 0/3] Change ohci-hcd autosuspend mechanism

2006-09-27 Thread Alan Stern
On Tue, 26 Sep 2006, Andrew Morton wrote: > On Mon, 25 Sep 2006 15:40:58 -0400 (EDT) > Alan Stern <[EMAIL PROTECTED]> wrote: > > > Patch 3 is much more experimental than the first two, and probably also > > more controversial (I expect David will have a lot to say about it, even > > if no one e

Re: [linux-usb-devel] HID interrupt endpoint read

2006-09-27 Thread Alan Stern
On Wed, 27 Sep 2006, Lisa Ray wrote: > Hi Alan > > > >In case you didn't already realize this, endpoint 0x81 is _input_ and > >endpoint 0x02 is _output_. Look again at your lsusb output. If you mixed > >them up, it could explain a lot. > > Yes you right and I reported vice-versa but I am usin

[linux-usb-devel] Majordomo results: Fwd: Photo

2006-09-27 Thread Majordomo
-- This is a multi-part message in MIME format. Command 'this' not recognized. --=_NextPart_7.81869530677795E-02 Command '--=_nextpart_7.81869530677795e-02' not recognized. Content-Type: text/html; format=flowed Command 'content-type:' not recognized. >>

Re: [linux-usb-devel] Fw: [Bugme-new] [Bug 7126] New: Pegasus driver failing for ADMtek 8515 network device

2006-09-27 Thread Petko Manolov
Seems to me that i've fixed it. The patch would have been quite smaller if it was not for my bad English. :-) Rationale: Attempting to read the ethernet ID directly from the eeprom somehow confuses ADM8515. Subsequent read requests to either the eeprom or the MII fail as well. Didn't dig

Re: [linux-usb-devel] [PATCH 2/3] usbnet: add a mutex around phy register access

2006-09-27 Thread dhollis
Quoting Arnd Bergmann <[EMAIL PROTECTED]>: > When working on the mcs7830, I noticed the need for a mutex in its > mdio_read/mdio_write functions. A related problem seems to be present > in the asix driver in the respective functions. > > This introduces a mutex in the common usbnet driver and uses

Re: [linux-usb-devel] [PATCH 3/3] usbnet: improve generic ethtool support

2006-09-27 Thread dhollis
Quoting Arnd Bergmann <[EMAIL PROTECTED]>: > This adds generic support for the ethtool commands get_settings, > set_settings, get_link and nway_reset to usbnet. These are now > implemented using mii functions when a low-level driver supports > mdio_read/mdio_write and does not override the usbnet

Re: [linux-usb-devel] [PATCH 3b/3] OHCI: add auto-stop support

2006-09-27 Thread Andrew Morton
On Tue, 26 Sep 2006 14:46:16 -0400 (EDT) Alan Stern <[EMAIL PROTECTED]> wrote: > + if (!autostopped) { > + static int ohci_restart (struct ohci_hcd *ohci); > + > + spin_unlock_irq (&ohci->lock); > + (void) ohci_init (ohci); >

[linux-usb-devel] [GIT PATCH] USB patches for 2.6.18

2006-09-27 Thread Greg KH
Here are a bunch of USB patches for 2.6.18. They include some new USB drivers, a bunch of new device ids added, and some reworks in order to get ready for the autosuspend work (which is not included yet). There are a lot of compiler warnings also fixed, along with some other minor tweaks and bugf

[linux-usb-devel] [PATCH 2/129] USB: unusual_dev entry for Sony P990i

2006-09-27 Thread Greg KH
From: Phil Dibowitz <[EMAIL PROTECTED]> This patch is a re-diffed version of one originally sent by Jan Mate <[EMAIL PROTECTED]>. Signed-off-by: Phil Dibowitz <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/storage/unusual_devs.h |7 +++ 1 files

[linux-usb-devel] [PATCH 1/129] USB: unusual_devs entry for Lacie DVD+-RW

2006-09-27 Thread Greg KH
From: Alan Stern <[EMAIL PROTECTED]> This patch (as781) adds an entry to unusual_devs.h for the Lacie DVD+-RW drive. Apparently its USB interface has requirements similar to the Genesys Logic interface; it doesn't like data to be sent too soon after a command. This fixes Bugzilla #6817. Signed

[linux-usb-devel] [PATCH 4/129] USB doc patch 2

2006-09-27 Thread Greg KH
From: Sam Bishop <[EMAIL PROTECTED]> A little more detail on how and when to poll() /proc/bus/usb/devices. Signed-off-by: Sam Bishop <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- Documentation/DocBook/usb.tmpl | 25 ++--- 1 files changed, 18

[linux-usb-devel] [PATCH 5/129] USB: OHCI avoids root hub timer polling

2006-09-27 Thread Greg KH
From: David Brownell <[EMAIL PROTECTED]> This teaches OHCI to use the root hub status change (RHSC) IRQ, bypassing root hub timers most of the time and switching over to the "new" root hub polling scheme. It's complicated by the fact that implementations of OHCI trigger and ack that IRQ different

[linux-usb-devel] [PATCH 3/129] USB: doc patch 1

2006-09-27 Thread Greg KH
From: Sam Bishop <[EMAIL PROTECTED]> Grammar, spelling, and stylistic edits. Signed-off-by: Sam Bishop <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- Documentation/DocBook/usb.tmpl | 98 ++-- 1 files changed, 44 insertions(+),

[linux-usb-devel] [PATCH 6/129] USB: ohci-s3c2410.c: clock now usb-bus-host

2006-09-27 Thread Greg KH
From: Ben Dooks <[EMAIL PROTECTED]> With the newer Samsung S3C2412 and S3C2413 SoC devices, the 48MHz USB clock has been given an individual gate into the USB OHCI and gadget blocks. This clock is called usb-bus-clock, and we need to replace the old use of the USB PLL (upll) directly with the new

[linux-usb-devel] [PATCH 7/129] USB OHCI controller support for PNX4008

2006-09-27 Thread Greg KH
From: Vitaly Wool <[EMAIL PROTECTED]> inlined is the patch that adds basic support for USB OHCI controller support for PNX4008 Philips PNX4008 ARM board. Due to HW design, it depends on I2C driver for PNX4008 which I've recetnly posted to LKML and i2c at lm-sensors. Signed-off-by: Vitaly Wool <[E

[linux-usb-devel] [PATCH 8/129] USB: kill usb kconfig warning

2006-09-27 Thread Greg KH
From: Andrew Morton <[EMAIL PROTECTED]> drivers/usb/host/Kconfig:87:warning: 'select' used by config symbol 'USB_OHCI_HCD' refer to undefined symbol 'I2C_PNX' Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/host/Kconfig |

[linux-usb-devel] [PATCH 9/129] USB: move to

2006-09-27 Thread Greg KH
From: David Brownell <[EMAIL PROTECTED]> Move to . Signed-off-by: David Brownell <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- arch/arm/plat-omap/usb.c |2 +- drivers/i2c/chips/isp1301_omap.c |2 +- drivers/usb/gadget/omap_udc.c

[linux-usb-devel] [PATCH 10/129] USB: pxa2xx_udc understands GPIO based VBUS sensing

2006-09-27 Thread Greg KH
From: David Brownell <[EMAIL PROTECTED]> This updates the PXA 25x UDC board-independent infrastructure for VBUS sensing and the D+ pullup. The original code evolved from rather bizarre support on Intel's "Lubbock" reference hardware, so that on more sensible hardware it doesn't work as well as it

[linux-usb-devel] [PATCH 12/129] USB: ark3116: Add TIOCGSERIAL and TIOCSSERIAL ioctl calls.

2006-09-27 Thread Greg KH
From: Werner Lemberg <[EMAIL PROTECTED]> Add (dummy?) support for TIOCGSERIAL and TIOCSSERIAL ioctl calls to the USB serial driver file `ark3116.c'. This is sufficient for me to run wvdial successfully, receive my email, and do webbrowsing with firefox. On the other hand, running the cvs program

[linux-usb-devel] [PATCH 11/129] USB: Allow compile in g_ether, fix typo

2006-09-27 Thread Greg KH
From: Tony Lindgren <[EMAIL PROTECTED]> Allows compiling g_ether in and fixes a typo with MUSB_HDRC Signed-off-by: Tony Lindgren <[EMAIL PROTECTED]> Cc: David Brownell <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/gadget/ether.c |4 ++-- 1 files ch

[linux-usb-devel] [PATCH 13/129] USB: ark3116: Formatting cleanups

2006-09-27 Thread Greg KH
From: Werner Lemberg <[EMAIL PROTECTED]> Formatting only. Signed-off-by: Werner Lemberg <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/serial/ark3116.c | 199 +- 1 files changed, 99 insertions(+), 100 deletions(-

[linux-usb-devel] [PATCH 14/129] USB: Make usb_buffer_free() NULL-safe

2006-09-27 Thread Greg KH
From: Dmitry Torokhov <[EMAIL PROTECTED]> kfree() handles NULL arguments which is handy in error handling paths as one does need to insert bunch of ifs. How about making usb_buffer_free() do the same? Signed-off-by: Dmitry Torokhov <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PR

[linux-usb-devel] [PATCH 15/129] usbcore: add configuration_string to attribute group

2006-09-27 Thread Greg KH
From: Alan Stern <[EMAIL PROTECTED]> This patch (as737b) does a very small cleanup of core/sysfs.c by adding the configuration_string attribute file to the existing attribute group instead of treating it separately. It doesn't need this separate treatment because unlike the other device string at

[linux-usb-devel] Control transfers scheduling

2006-09-27 Thread Laurent Pinchart
Hi everybody, I'm developing a Linux driver for a Logitech USB webcam. A few users reported that the webcam stopped responding under some conditions. After some investigation, I found out that the device either timed-out or returned a STALL handshake during a control transfer on endpoint 0. Lo

[linux-usb-devel] [PATCH 17/129] USB: Put phidgets driver in a sysfs class

2006-09-27 Thread Greg KH
From: Sean Young <[EMAIL PROTECTED]> This patch creates a device class phidget and add the phidget drivers to them. Signed-off-by: Sean Young <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/misc/Kconfig | 13 +- drivers/usb/misc/Makefile

[linux-usb-devel] [PATCH 16/129] USB: Add driver for PhidgetMotorControl

2006-09-27 Thread Greg KH
From: Sean Young <[EMAIL PROTECTED]> This driver add support for the Phidgets Inc., MotorControl via sysfs. Also some minor fixes for the InterfaceKit. Signed-off-by: Sean Young <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/input/hid-core.c |

[linux-usb-devel] [PATCH 18/129] USB: Phidgets should check create_device_file() return value

2006-09-27 Thread Greg KH
From: Sean Young <[EMAIL PROTECTED]> device_create_file() could fail, add proper error paths for this condition. Signed-off-by: Sean Young <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/misc/phidgetkit.c | 238 ++--

[linux-usb-devel] [PATCH 19/129] usbfs: private mutex for open, release, and remove

2006-09-27 Thread Greg KH
From: Alan Stern <[EMAIL PROTECTED]> The usbfs code doesn't provide sufficient mutual exclusion among open, release, and remove. Release vs. remove is okay because they both acquire the device lock, but open is not exclusive with either one. All three routines modify the udev->filelist linked li

[linux-usb-devel] [PATCH 20/129] usbfs: detect device unregistration

2006-09-27 Thread Greg KH
From: Alan Stern <[EMAIL PROTECTED]> This patch (as711b) is a revised version of an earlier submission. It modifies the usbfs code to detect when a device has been unregistered from usbfs, even if the device is still connected. Although this can't happen now, it will be able to happen after the

[linux-usb-devel] [PATCH 21/129] usb-skeleton: don't submit URBs after disconnection

2006-09-27 Thread Greg KH
From: Alan Stern <[EMAIL PROTECTED]> This patch (as712b) is a slight revision of one submitted earlier. It fixes the usb-skeleton example driver so that it won't try to submit URBs after skel_disconnect() has returned. This could cause errors, if the driver was unbound and then a different drive

[linux-usb-devel] [PATCH 22/129] usbcore: rename usb_suspend_device to usb_port_suspend

2006-09-27 Thread Greg KH
From: Alan Stern <[EMAIL PROTECTED]> This revised patch (as715b) renames usb_suspend_device to usb_port_suspend, usb_resume_device to usb_port_resume, and finish_device_resume to finish_port_resume. There was no objection to the original version of the patch so this should be okay to apply. The

[linux-usb-devel] [PATCH 23/129] usbcore: move code among source files

2006-09-27 Thread Greg KH
From: Alan Stern <[EMAIL PROTECTED]> This revised patch (as713b) moves a few routines among source files in usbcore. Some driver-related code in usb.c (claiming interfaces and matching IDs) is moved to driver.c, where it belongs. Also the usb_generic stuff in driver.c is moved to a new source fi

[linux-usb-devel] [PATCH 24/129] usbcore: add usb_device_driver definition

2006-09-27 Thread Greg KH
From: Alan Stern <[EMAIL PROTECTED]> This patch (as732) adds a usb_device_driver structure, for representing drivers that manage an entire USB device as opposed to just an interface. Support routines like usb_register_device_driver, usb_deregister_device_driver, usb_probe_device, and usb_unbind_d

[linux-usb-devel] [PATCH 25/129] usbcore: make usb_generic a usb_device_driver

2006-09-27 Thread Greg KH
From: Alan Stern <[EMAIL PROTECTED]> This patch (as714b) makes usb_generic into a usb_device_driver capable of being probed and unbound, just like other drivers. A fair amount of the work that used to get done during discovery or removal of a USB device have been moved to the probe and disconnect

[linux-usb-devel] [PATCH 26/129] usbcore: split suspend/resume for device and interfaces

2006-09-27 Thread Greg KH
From: Alan Stern <[EMAIL PROTECTED]> This patch (as716b) splits up the core suspend and resume routines into two parts each: one for handling devices and one for handling interfaces. The behavior of the parts should be the same as in the old unified code. Signed-off-by: Alan Stern <[EMAIL PROTE

[linux-usb-devel] [PATCH 27/129] usbcore: resume device resume recursion

2006-09-27 Thread Greg KH
From: Alan Stern <[EMAIL PROTECTED]> This patch (as717b) removes the existing recursion in hub resume code: Resuming a hub will no longer automatically resume the devices attached to the hub. At the same time, it adds one level of recursion: Suspending a USB device will automatically suspend all

[linux-usb-devel] [PATCH 28/129] usbcore: track whether interfaces are suspended

2006-09-27 Thread Greg KH
From: Alan Stern <[EMAIL PROTECTED]> Currently we rely on intf->dev.power.power_state.event for tracking whether intf is suspended. This is not a reliable technique because that value is owned by the PM core, not by usbcore. This patch (as718b) adds a new flag so that we can accurately tell whic

[linux-usb-devel] [PATCH 29/129] usbcore: set device and power states properly

2006-09-27 Thread Greg KH
From: Alan Stern <[EMAIL PROTECTED]> This patch (as733) fixes up the places where device states and power states are set in usbcore. Right now things are duplicated or missing; this should straighten things out. The idea is that udev->state is USB_STATE_SUSPENDED exactly when the device's upstre

[linux-usb-devel] [PATCH 30/129] usbcore: fix up device and power state tests

2006-09-27 Thread Greg KH
From: Alan Stern <[EMAIL PROTECTED]> This patch (as734) rationalizes the various tests of device state and power states. There are duplications and mistaken tests in several places. Perhaps the most interesting challenge is where the hub driver tests to see that all the child devices are suspend

[linux-usb-devel] [PATCH 31/129] usbcore: suspending devices with no driver

2006-09-27 Thread Greg KH
From: Alan Stern <[EMAIL PROTECTED]> Since usb_generic can be unbound from a USB device, we need to be able to handle the possibility that a suspend or resume request arrives for a device with no driver. This patch (as735) arranges things so that resume requests will fail and suspend requests wil

[linux-usb-devel] [PATCH 32/129] hub driver: improve use of #ifdef

2006-09-27 Thread Greg KH
From: Alan Stern <[EMAIL PROTECTED]> This patch (as736) makes the hub driver more readable by improving the usage of "#ifdef CONFIG_PM" and "#ifdef CONFIG_USB_SUSPEND". Signed-off-by: Alan Stern <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/core/hub.c

[linux-usb-devel] [PATCH 34/129] USB: pl2303: Removes unneeded goto.

2006-09-27 Thread Greg KH
From: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> Signed-off-by: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/serial/pl2303.c |5 + 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/drivers/usb/seria

[linux-usb-devel] [PATCH 33/129] usbtouchscreen: version 0.4

2006-09-27 Thread Greg KH
From: Daniel Ritz <[EMAIL PROTECTED]> changes over 0.3: - some more eGalax device IDs (from eGalax driver/spec) - return the error code in probe() - 3M/MTouch init fixes, tested by Don Alexander - eGalax fixes for bugs in multi-packet handling, spottet by Pieter Grimmerink - support for some eTurb

[linux-usb-devel] [PATCH 35/129] USB: pl2303: remove 80-columns limit violations in pl2303 driver

2006-09-27 Thread Greg KH
From: Thiago Galesi <[EMAIL PROTECTED]> Fixes several lines that overrun 80 columns in Prolific pl2303 driver and cleans up some space usages in the function calls. Signed-off-by: Thiago Galesi <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/serial/pl230

[linux-usb-devel] [PATCH 36/129] USB: pl2303: cosmetic changes to pl2303_buf_{clear, data_avail}

2006-09-27 Thread Greg KH
From: Thiago Galesi <[EMAIL PROTECTED]> Changes the functions pl2303_buf_clear and pl2303_buf_data_avail for the purpose of keeping them under the 80 column limit, making them more similar to similar functions and making then simpler. Signed-off-by: Thiago Galesi <[EMAIL PROTECTED]> Signed-off-by

[linux-usb-devel] [PATCH 37/129] USB: pl2303: reduce number of prototypes

2006-09-27 Thread Greg KH
From: Thiago Galesi <[EMAIL PROTECTED]> Reduce number of needed prototypes in Prolific pl2303 driver Signed-off-by: Thiago Galesi <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/serial/pl2303.c | 570 --- 1 files

[linux-usb-devel] [PATCH 38/129] USB: pl2303: cosmetic changes to quirk

2006-09-27 Thread Greg KH
From: Thiago Galesi <[EMAIL PROTECTED]> Cosmetic changes to quirk in pl2303_update_line_status Signed-off-by: Thiago Galesi <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/serial/pl2303.c | 19 +-- 1 files changed, 13 insertions(+), 6 d

[linux-usb-devel] [PATCH 39/129] USB: usbnet - Add unlink_rx_urbs() call to allow for Jumbo Frames

2006-09-27 Thread Greg KH
From: Jamie Painter <[EMAIL PROTECTED]> Add usbnet_unlink_rx_urbs() which can be called by mini-drivers when they change their MTU such as for Jumbo Frame support. Signed-off-by: David Hollis <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/net/usbnet.c

[linux-usb-devel] [PATCH 40/129] USB: asix - Add AX88178 support and many other changes

2006-09-27 Thread Greg KH
From: David Hollis <[EMAIL PROTECTED]> * More generi-fication of function/macro names where appropriate: ax88772_xx() -> asix_xx() * Reorder functions to provide more logical grouping * AX88178 device support * Support DLink DUB-E100 Rev B Support * Hopefully resolve all endian-ness issue

[linux-usb-devel] [PATCH 42/129] USB: ipaq: minor ipaq_open() cleanup.

2006-09-27 Thread Greg KH
From: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> Commit b512504e5671f83638be0ddr085c4b1832f623d3 made ipaq_open() a bit messy by moving the read urb submission far from its usb_fill_bulk_urb() call and the comment explaining what it does. This patch put they together again. Although only c

[linux-usb-devel] [PATCH 41/129] usbnet: printk format warning

2006-09-27 Thread Greg KH
From: Randy Dunlap <[EMAIL PROTECTED]> Fix printk format warning(s): drivers/usb/net/usbnet.c:654: warning: int format, different type arg (arg 3) The fact that rx_urb_size happens to be a size_t has propagated all the way back to this printk. It's fragile to be using %z in this case - let's jus

[linux-usb-devel] [PATCH 43/129] USB: usbcore get rid of the timer in usb_start_wait_urb()

2006-09-27 Thread Greg KH
From: Franck Bui-Huu <[EMAIL PROTECTED]> This patch uses completion timeout instead of a timer to implement a timeout when submitting an URB in usb_start_wait_urb(). It also fixes a small issue. With the previous code, if no timeout happened and the URB's status was set to ECONNRESET value, the c

[linux-usb-devel] [PATCH 46/129] USB: build fixes: ohci-omap

2006-09-27 Thread Greg KH
From: David Brownell <[EMAIL PROTECTED]> The ohci-omap code has diverged from the working version in the linux-omap tree; this syncs up the versions: - Another clock is needed in various cases - The omap-1510 iommu code needs to be #ifdeffed out on newer parts - Saner use of the HCD framewo

[linux-usb-devel] [PATCH 45/129] USB: garmin_gps support for new generation of gps receivers

2006-09-27 Thread Greg KH
From: Hermann Kneissel <[EMAIL PROTECTED]> The attached patch adds support for the new generation of gps receivers (eg. GPSmap 60Cx) to garmin_gps.c. Signed-off-by: Hermann Kneissel <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/serial/garmin_gps.c | 2

[linux-usb-devel] [PATCH 47/129] USB: onetouch - handle errors from input_register_device()

2006-09-27 Thread Greg KH
From: Dmitry Torokhov <[EMAIL PROTECTED]> Onetouch: handle errors from input_register_device() Signed-off-by: Dmitry Torokhov <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/storage/onetouch.c |8 ++-- 1 files changed, 6 insertions(+), 2 deletion

[linux-usb-devel] [PATCH 48/129] USB: correct locking in gadgetfs_disconnect

2006-09-27 Thread Greg KH
From: Milan Svoboda <[EMAIL PROTECTED]> This patch moves spin_lock (&dev->lock) before first use of dev. I think that test to the state of device should be protected with this spin_lock... Signed-off-by: Milan Svoboda <[EMAIL PROTECTED]> Signed-off-by: David Brownell <[EMAIL PROTECTED]> Signed-of

[linux-usb-devel] [PATCH 49/129] USB: fix ep_config to return correct value

2006-09-27 Thread Greg KH
From: Milan Svoboda <[EMAIL PROTECTED]> This patch fixes ep_config to return correct value. Without patch ep_config returns submitted lenght minus 4 on succes. With this patch applied, whole submitted lenght is returned. ep_config parses submitted data and if buffer starts with (int) 1 it is pars

[linux-usb-devel] [PATCH 50/129] USB: gadgetfs: protect ep_release with lock

2006-09-27 Thread Greg KH
From: Milan Svoboda <[EMAIL PROTECTED]> This patch adds mutex protection to ep_release. Signed-off-by: Milan Svoboda <[EMAIL PROTECTED]> Signed-off-by: David Brownell <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/gadget/inode.c |5 + 1 files ch

[linux-usb-devel] [PATCH 51/129] USB: gmidi: New USB MIDI Gadget class driver.

2006-09-27 Thread Greg KH
From: Ben Williamson <[EMAIL PROTECTED]> This driver is glue between the USB gadget interface and the ALSA MIDI interface. It allows us to appear as a MIDI Streaming device to a host system on the other end of a USB cable. This includes linux/usb/audio.h and linux/usb/midi.h containing definition

[linux-usb-devel] [PATCH 52/129] USB: Make file operations structs in drivers/usb const.

2006-09-27 Thread Greg KH
From: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> Making structs const prevents accidental bugs and with the proper debug options they're protected against corruption. Signed-off-by: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- dri

[linux-usb-devel] [PATCH 53/129] USB: making the kernel -Wshadow clean - USB & completion

2006-09-27 Thread Greg KH
From: Jesper Juhl <[EMAIL PROTECTED]> include/linux/usb.h causes a lot of -Wshadow warnings - fix them. include/linux/usb.h:901: warning: declaration of 'complete' shadows a global declaration include/linux/completion.h:52: warning: shadowed declaration is here include/linux/usb.h:932: war

[linux-usb-devel] [PATCH 54/129] USB: New functions to check endpoints info.

2006-09-27 Thread Greg KH
From: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> These functions makes USB driver's code simpler when dealing with endpoints by avoiding them from accessing the endpoint's descriptor structure directly when they only need to know the endpoint's transfer type and/or direction. Please, read ea

[linux-usb-devel] [PATCH 55/129] USB: usblp: Use usb_endpoint_* functions.

2006-09-27 Thread Greg KH
From: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> Signed-off-by: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/class/usblp.c |9 ++--- 1 files changed, 2 insertions(+), 7 deletions(-) diff --git a/drivers/usb/cla

[linux-usb-devel] [PATCH 57/129] USB: appletouch: Use usb_endpoint_* functions.

2006-09-27 Thread Greg KH
From: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> Signed-off-by: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/input/appletouch.c |5 + 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/drivers/usb/in

[linux-usb-devel] [PATCH 56/129] USB: hub: Use usb_endpoint_* functions.

2006-09-27 Thread Greg KH
From: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> Signed-off-by: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/core/hub.c |9 ++--- 1 files changed, 2 insertions(+), 7 deletions(-) diff --git a/drivers/usb/core/h

[linux-usb-devel] [PATCH 58/129] USB: acecad: Use usb_endpoint_* functions.

2006-09-27 Thread Greg KH
From: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> Signed-off-by: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/input/acecad.c |5 + 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/drivers/usb/input/

[linux-usb-devel] [PATCH 60/129] USB: keyspan_remote: Use usb_endpoint_* functions.

2006-09-27 Thread Greg KH
From: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> Signed-off-by: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/input/keyspan_remote.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/usb/

[linux-usb-devel] [PATCH 59/129] USB: ati_remote: Use usb_endpoint_* functions.

2006-09-27 Thread Greg KH
From: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> Signed-off-by: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/input/ati_remote.c |8 ++-- 1 files changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/usb

[linux-usb-devel] [PATCH 61/129] USB: powermate: Use usb_endpoint_* functions.

2006-09-27 Thread Greg KH
From: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> Signed-off-by: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/input/powermate.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/drivers/usb/inpu

[linux-usb-devel] [PATCH 62/129] USB: usb-serial: Use usb_endpoint_* functions.

2006-09-27 Thread Greg KH
From: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> Signed-off-by: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/serial/usb-serial.c | 19 +++ 1 files changed, 7 insertions(+), 12 deletions(-) diff --git

[linux-usb-devel] [PATCH 63/129] USB: usblcd: Use usb_endpoint_* functions.

2006-09-27 Thread Greg KH
From: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> Signed-off-by: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/misc/usblcd.c |8 ++-- 1 files changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/usb/misc

[linux-usb-devel] [PATCH 64/129] USB: ldusb: Use usb_endpoint_* functions.

2006-09-27 Thread Greg KH
From: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> Signed-off-by: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/misc/ldusb.c |8 ++-- 1 files changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/usb/misc/

[linux-usb-devel] [PATCH 65/129] USB: net1080 inherent pad length

2006-09-27 Thread Greg KH
From: dave rientjes <[EMAIL PROTECTED]> The size of struct nc_trailer is inherently the newtailroom pad. Signed-off-by: David Rientjes <[EMAIL PROTECTED]> Cc: David Brownell <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/net/net1080.c | 15 +++---

[linux-usb-devel] [PATCH 66/129] USB: add poll to gadgetfs's endpoint zero

2006-09-27 Thread Greg KH
From: Milan Svoboda <[EMAIL PROTECTED]> Add poll() support to gadgetfs ep0 Signed-off-by: Milan Svoboda <[EMAIL PROTECTED]> Signed-off-by: David Brownell <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/gadget/inode.c | 32 ++

[linux-usb-devel] [PATCH 67/129] USB gadget: gadgetfs dont try to lock before free

2006-09-27 Thread Greg KH
From: Milan Svoboda <[EMAIL PROTECTED]> I spotted this during my tests with -rt on arm. The -rt patch contains some better tools to diagnose problems with locks and some other things... Original code tries to take semaphore in BUG_ON and then free the memory with this semaphore. Signed-off-by:

[linux-usb-devel] [PATCH 68/129] USB: Properly unregister reboot notifier in case of failure in ehci hcd

2006-09-27 Thread Greg KH
From: Aleksey Gorelov <[EMAIL PROTECTED]> If some problem occurs during ehci startup, for instance, request_irq fails, echi hcd driver tries it best to cleanup, but fails to unregister reboot notifier, which in turn leads to crash on reboot/poweroff. The following patch resolves this problem by n

[linux-usb-devel] [PATCH 70/129] usbcore: make hcd_endpoint_disable wait for queue to drain

2006-09-27 Thread Greg KH
From: Alan Stern <[EMAIL PROTECTED]> The inconsistent lock state problem in usbcore (the one that shows up when an HCD is unloaded) comes down to two inter-related problems: usb_rh_urb_dequeue() isn't set up to be called with interrupts disabled. hcd_endpoint_disable() do

[linux-usb-devel] [PATCH 69/129] UHCI: increase Resume-Detect-off delay

2006-09-27 Thread Greg KH
From: Alan Stern <[EMAIL PROTECTED]> The UHCI controller in my laptop takes longer to turn off the Resume-Detect bit than the 4 us allowed by uhci-hcd. Presumably other computers will have the same problem. This patch (as752) increases the maximum delay to 10 us, which should be plenty, and uses

[linux-usb-devel] [PATCH 71/129] usbcore: khubd and busy-port handling

2006-09-27 Thread Greg KH
From: Alan Stern <[EMAIL PROTECTED]> We don't want khubd to start interfering in the device-resume process merely because the PORT_STATUS_C_SUSPEND feature happens to be set. Ports need to be marked as busy while a resume is taking place. In addition, so long as ports are marked as busy, khubd wo

[linux-usb-devel] [PATCH 72/129] usb-skeleton: small update

2006-09-27 Thread Greg KH
From: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> o CodingStyle fixes o Removes trailing spaces o Do not make not needed initialiation of automatic variables o Use usb_endpoint_* functions o If we get an error in the write URB callback print an error message instead of a debug one (Pretty u

[linux-usb-devel] [PATCH 74/129] usb: deal with broken config descriptors

2006-09-27 Thread Greg KH
From: Inaky Perez-Gonzalez <[EMAIL PROTECTED]> Change usb_get_configuration() so that it is more tolerant to devices with bad configuration descriptors (it'll make it ignore configurations that fail to load). Signed-off-by: Inaky Perez-Gonzalez <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartma

[linux-usb-devel] [PATCH 75/129] wusb: hub code recognizes wusb ports

2006-09-27 Thread Greg KH
From: Inaky Perez-Gonzalez <[EMAIL PROTECTED]> This patch enables the USB stack to recognize WUSB devices (from a WUSB HCD) and assigns them the proper speed setting (USB_SPEED_VARIABLE). 1. Introduce usb_hcd->wireless to mark a host controller instance as being wireless, and thus having wirel

[linux-usb-devel] [PATCH 76/129] wusb: handle wusb device ep0 speed settings

2006-09-27 Thread Greg KH
From: Inaky Perez-Gonzalez <[EMAIL PROTECTED]> This patch teaches the USB stack handling of WUSB devices (those whose speed is USB_SPEED_VARIABLE). For these devices, we need to set ep0's maxpacketsize to 512 (even though the device descriptor reports it as 0xff). New code being pushed to linuxuw

[linux-usb-devel] [PATCH 77/129] wusb: pretty print new wireless USB devices when they connect

2006-09-27 Thread Greg KH
From: Inaky Perez-Gonzalez <[EMAIL PROTECTED]> New code being pushed to linuxuwb.org requires this patch to connect WUSB devices. Signed-off-by: Inaky Perez-Gonzalez <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/core/hub.c | 25 +++---

[linux-usb-devel] [PATCH 73/129] USB Storage: add rio karma eject support

2006-09-27 Thread Greg KH
From: Matthew Dharm <[EMAIL PROTECTED]> This changeset from Keith Bennett (via Bob Copeland) moves the Karma initializer to its own file and adds trapping of the START_STOP command to enable eject of the device. Signed-off-by: Keith Bennett <[EMAIL PROTECTED]> Signed-off-by: Bob Copeland <[EMAIL

[linux-usb-devel] [PATCH 78/129] USB core: Use const where possible.

2006-09-27 Thread Greg KH
From: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> This patch marks some USB core's functions parameters as const. This improves the design (we're saying to the caller that its parameter is not going to be modified) and may help in compiler's optimisation work. Signed-off-by: Luiz Fernando N.

[linux-usb-devel] [PATCH 79/129] USB: fix signedness issue in drivers/usb/gadget/ether.c

2006-09-27 Thread Greg KH
From: Eric Sesterhenn <[EMAIL PROTECTED]> another gcc 4.1 signdness warning: drivers/usb/gadget/ether.c:2028: warning: comparison of unsigned expression < 0 is always false length is assigned the value of usb_ep_queue() which returns an int. Directly after this it is checked for < 0, which can

[linux-usb-devel] [PATCH 80/129] USB: fix typo in drivers/usb/gadget/Kconfig

2006-09-27 Thread Greg KH
From: Jules Villard <[EMAIL PROTECTED]> This tiny patch fixes a typo in drivers/usb/gadget/Kconfig. The typo is present in 2.6.18-rc4 and in the corresponding -mm tree (and AFAIK, FYI and FWIW was present in previous kernel versions as well). From: Jules Villard <[EMAIL PROTECTED]> Signed-off-by:

[linux-usb-devel] [PATCH 81/129] usb-storage: fix for UFI LUN detection

2006-09-27 Thread Greg KH
From: Alan Stern <[EMAIL PROTECTED]> The UFI specification doesn't permit devices to indicate non-existent LUNs in the manner prescribed by the SCSI spec. This patch (as773) sets a special flag so that the SCSI scanner will recognize these devices and treat them specially. Signed-off-by: Alan St

[linux-usb-devel] [PATCH 82/129] usbcore: help drivers to change device configs

2006-09-27 Thread Greg KH
From: Alan Stern <[EMAIL PROTECTED]> It's generally a bad idea for USB interface drivers to try to change a device's configuration, and usbcore doesn't provide any way for them to do it. However in a few exceptional circumstances it can make sense. This patch (as767) adds a roundabout mechanism

[linux-usb-devel] [PATCH 83/129] USB: Turn usb_resume_both() into static inline

2006-09-27 Thread Greg KH
From: Alexey Dobriyan <[EMAIL PROTECTED]> drivers/usb/core/hub.c: In function `hub_events': drivers/usb/core/hub.c:2591: warning: statement with no effect Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/core/usb.h |5 ++

[linux-usb-devel] [PATCH 84/129] USB: usb-hub-driver-improve-use-of-ifdef fix

2006-09-27 Thread Greg KH
From: Andrew Morton <[EMAIL PROTECTED]> Fix CONFIG_PM=n build. Cc: Alan Stern <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/core/hub.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --

[linux-usb-devel] [PATCH 85/129] USB: remove struct usb_operations

2006-09-27 Thread Greg KH
From: Alan Stern <[EMAIL PROTECTED]> All of the currently-supported USB host controller drivers use the HCD bus-glue framework. As part of the program for flattening out the glue layer, this patch (as769) removes the usb_operations structure. All function calls now go directly to the HCD routine

[linux-usb-devel] [PATCH 86/129] usbcore: Add flag for whether a host controller uses DMA

2006-09-27 Thread Greg KH
From: Alan Stern <[EMAIL PROTECTED]> This patch (as770b) introduces a new field to usb_bus: a flag indicating whether or not the host controller uses DMA. This serves to encapsulate the computation. It also means we will have only one spot to update if the DMA API changes. Signed-off-by: Alan S

[linux-usb-devel] [PATCH 87/129] usbcore: trim down usb_bus structure

2006-09-27 Thread Greg KH
From: Alan Stern <[EMAIL PROTECTED]> As part of the ongoing program to flatten out the HCD bus-glue layer, this patch (as771b) eliminates the hcpriv, release, and kref fields from struct usb_bus. hcpriv and release were not being used for anything worthwhile, and kref has been moved into the encl

[linux-usb-devel] [PATCH 88/129] usbmon: don't call mon_dmapeek if DMA isn't being used

2006-09-27 Thread Greg KH
From: Alan Stern <[EMAIL PROTECTED]> This patch (as755b) fixes a bug in usbmon. Rather than assuming all USB host controllers use DMA, the code will check the usb_bus data structure. If DMA isn't used, we don't want to try peeking into a non-existent DMA buffer! Signed-off-by: Alan Stern <[EMAI

  1   2   >