[patch v10 3/4] USB: add Cypress c67x00 OTG controller HCD driver

2008-02-21 Thread Peter Korsgaard
This patch adds HCD support for the Cypress c67x00 family of devices. Signed-off-by: Peter Korsgaard [EMAIL PROTECTED] --- drivers/usb/Makefile |2 drivers/usb/c67x00/Makefile|9 drivers/usb/c67x00/c67x00-drv.c| 13 drivers/usb/c67x00/c67x00-hcd.c| 412

[patch v10 1/4] USB: add Cypress c67x00 low level interface code

2008-02-21 Thread Peter Korsgaard
This patch adds the low level support code for the Cypress c67x00 family of OTG controllers. The low level code is responsible for register access and implements the software protocol for communicating with the 16bit microcontroller inside the c67x00 device. Communication is done over the HPI

Re: Handshaking on USB serial devices

2008-02-21 Thread Alan Cox
developing is entirely wrong. Oh well. Mind you, providing a write_room function is NOT a real solution; it merely reduces the condition to a usually-winnable race. (Ironically, when I back-ported the 2.6 driver, I excluded its new write_room function. Mistake.) What race do you see left

Re: USB OOPS 2.6.25-rc2-git1

2008-02-21 Thread Alan Stern
On Wed, 20 Feb 2008, David Brownell wrote: = CUT HERE Modify EHCI irq handling on the theory that at least some of the lost IRQs are caused by goofage between multiple lowlevel IRQ acking mechanisms: try rescanning before we exit the handler, in case the EHCI-internal ack (by

Re: HELP - Using /sys/bus/usb/drivers/usbfs/bind doesn't work : (

2008-02-21 Thread Alan Stern
Questions like this should be posted to the linux-usb mailing list so that other people can see it and provide additional help. On Thu, 21 Feb 2008, Rajeev Ganesh wrote: Hi, I saw your mail about using the USBDEVFS_CLAIMINTERFACE ioctl to bind a device, can you tell me what

Re: USB regression (and other failures) in 2.6.2[45]* - mostly resolved

2008-02-21 Thread Alan Stern
On Thu, 21 Feb 2008, Andrew Buehler wrote: On 2/20/2008 2:29 PM, Alan Stern wrote: On Wed, 20 Feb 2008, Andrew Buehler wrote: In other words: I don't think that's likely to be practical in the present instance. If you have reason to believe otherwise (past positive experience with

Re: USB regression (and other failures) in 2.6.2[45]* - mostly resolved

2008-02-21 Thread Greg KH
On Thu, Feb 21, 2008 at 11:36:23AM -0500, Alan Stern wrote: On Thu, 21 Feb 2008, Andrew Buehler wrote: On 2/20/2008 2:29 PM, Alan Stern wrote: On Wed, 20 Feb 2008, Andrew Buehler wrote: In other words: I don't think that's likely to be practical in the present instance. If you

Re: Handshaking on USB serial devices

2008-02-21 Thread David Newall
Alan Cox wrote: developing is entirely wrong. Oh well. Mind you, providing a write_room function is NOT a real solution; it merely reduces the condition to a usually-winnable race. (Ironically, when I back-ported the 2.6 driver, I excluded its new write_room function. Mistake.)

Re: [PATCH] [USB POWERPC] ehci-fsl: add PPC_MPC837x to default y

2008-02-21 Thread Scott Wood
Anton Vorontsov wrote: Without this patch it's impossible to select ehci-fsl on PPC_MPC837x. Another option would be to convert USB_EHCI_FSL to verbose bool, but I presume EHCI_FSL is purposely made silent. I think making it verbose bool would be better. -Scott - To unsubscribe from this

Re: [PATCH] [USB POWERPC] ehci: fix ppc build

2008-02-21 Thread David Brownell
From [EMAIL PROTECTED] Thu Feb 21 11:49:48 2008 Date: Thu, 21 Feb 2008 22:49:13 +0300 From: Anton Vorontsov [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: linux-usb@vger.kernel.org, [EMAIL PROTECTED] Subject: [PATCH] [USB POWERPC] ehci: fix ppc build Currently, this setup:

Re: [PATCH] [USB POWERPC] ehci-fsl: add PPC_MPC837x to default y

2008-02-21 Thread Kumar Gala
On Feb 21, 2008, at 1:50 PM, Anton Vorontsov wrote: Without this patch it's impossible to select ehci-fsl on PPC_MPC837x. Another option would be to convert USB_EHCI_FSL to verbose bool, but I presume EHCI_FSL is purposely made silent. Signed-off-by: Anton Vorontsov [EMAIL PROTECTED] ---

Re: [PATCH] [USB POWERPC] ehci-fsl: add PPC_MPC837x to default y

2008-02-21 Thread Scott Wood
Kumar Gala wrote: On Feb 21, 2008, at 1:50 PM, Anton Vorontsov wrote: Without this patch it's impossible to select ehci-fsl on PPC_MPC837x. Another option would be to convert USB_EHCI_FSL to verbose bool, but I presume EHCI_FSL is purposely made silent. Signed-off-by: Anton Vorontsov [EMAIL

Re: USB regression (and other failures) in 2.6.2[45]* - mostly resolved

2008-02-21 Thread Alan Stern
On Thu, 21 Feb 2008, Andrew Buehler wrote: It sounds like an old version of a Novell product is making a newer kernel spit out a warning message. Originally that was all that it was, but now I am seeing the product in question not even see the hard drive despite the fact that it is

Re: [PATCH] [USB POWERPC] ehci-fsl: add PPC_MPC837x to default y

2008-02-21 Thread Anton Vorontsov
On Thu, Feb 21, 2008 at 01:58:18PM -0600, Kumar Gala wrote: On Feb 21, 2008, at 1:50 PM, Anton Vorontsov wrote: Without this patch it's impossible to select ehci-fsl on PPC_MPC837x. Another option would be to convert USB_EHCI_FSL to verbose bool, but I presume EHCI_FSL is purposely made

Re: Handshaking on USB serial devices

2008-02-21 Thread Greg KH
On Fri, Feb 22, 2008 at 06:05:09AM +1030, David Newall wrote: Alan Cox wrote: developing is entirely wrong. Oh well. Mind you, providing a write_room function is NOT a real solution; it merely reduces the condition to a usually-winnable race. (Ironically, when I back-ported the 2.6

Re: USB Persist issue

2008-02-21 Thread Herton Ronaldo Krzesinski
Em Wednesday 20 February 2008 19:05:50 Herton Ronaldo Krzesinski escreveu: Em Wednesday 20 February 2008 17:55:35 Alan Stern escreveu: Maybe with a complete log the cause will be evident. If you want to experiment a little, you could try adding some printk lines to the hub_reset_resume()

Re: problem with starting 2.5.26-rc1 and latest git

2008-02-21 Thread Mariusz Kozlowski
Hello, Of course there is a typo in the subject :) 2.5.25-rc1 - 2.6.25-rc1 Hello, I tried 2.6.25-rc1 and latest git on my laptop (x86 32bit) and have a problem. Linux boots but with huge delay due to some issue with loading usb modules. Udev

Re: power_state: remove it from usb

2008-02-21 Thread Pavel Machek
On Thu 2008-02-21 16:50:36, Alan Stern wrote: On Thu, 21 Feb 2008, Pavel Machek wrote: power_state is scheduled for removal, and it is used only write-only by USB. Remove it. Unfortunately some of the things you changed turn out not to be write-only. (You also missed a usage of

Re: power_state: remove it from usb

2008-02-21 Thread Alan Stern
On Thu, 21 Feb 2008, Pavel Machek wrote: Unfortunately some of the things you changed turn out not to be write-only. (You also missed a usage of power.power_state in a comment!) I might have missed comments, but where I missed read? It compiled after I removed the field from the

[GIT PATCH] USB fixes for 2.6.25-rc2 git

2008-02-21 Thread Greg KH
Here are some USB fixes against your 2.6.25-rc2 git tree. It includes: - lots of device id updates for the wireless usb-serial cards - more quirk additions - bugfixes in various drivers Please pull from:

[PATCH 01/23] USB: ftdi_sio.c add missing '|'

2008-02-21 Thread Greg Kroah-Hartman
From: Roel Kluin [EMAIL PROTECTED] add missing '|' Signed-off-by: Roel Kluin [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] --- drivers/usb/serial/ftdi_sio.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/serial/ftdi_sio.c

[PATCH 03/23] USB: fix pm counter leak in usblp

2008-02-21 Thread Greg Kroah-Hartman
From: Oliver Neukum [EMAIL PROTECTED] if you fail in open() you must decrement the pm counter again. Signed-off-by: Oliver Neukum [EMAIL PROTECTED] Cc: stable [EMAIL PROTECTED] Signed-off-by: Pete Zaitcev [EMAIL PROTECTED] --- drivers/usb/class/usblp.c |1 + 1 files changed, 1

[PATCH 04/23] USB: usb: yet another Dell wireless CDMA/EVDO modem

2008-02-21 Thread Greg Kroah-Hartman
From: Andy Shevchenko [EMAIL PROTECTED] Add native support of the Dell wireless CDMA/EVDO modem. # modprobe usbserial vendor=0x413c product=0x8129 Following seesion lines describe modem itself at OK ati3 Manufacturer: NOVATEL WIRELESS INCORPORATED Model: EXPEDITE ET620 Revision:

[PATCH 05/23] USB: fix usb open suspend race in cdc-acm

2008-02-21 Thread Greg Kroah-Hartman
From: Oliver Neukum [EMAIL PROTECTED] this fixes a race between open and disconnect in the CDC ACM driver. Signed-off-by: Oliver Neukum [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] --- drivers/usb/class/cdc-acm.c | 10 +- 1 files changed, 5 insertions(+), 5

[PATCH 07/23] USB: g_printer, fix empty if statement

2008-02-21 Thread Greg Kroah-Hartman
From: Adrian Bunk [EMAIL PROTECTED] A bug every C programmer makes at some point in time... Signed-off-by: Adrian Bunk [EMAIL PROTECTED] Signed-off-by: Craig W. Nadler [EMAIL PROTECTED] Signed-off-by: David Brownell [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] ---

[PATCH 08/23] USB: fix error handling in trancevibrator

2008-02-21 Thread Greg Kroah-Hartman
From: Oliver Neukum [EMAIL PROTECTED] trancevibrator should not pretend success if it returns an error. Signed-off-by: Oliver Neukum [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] --- drivers/usb/misc/trancevibrator.c |4 +++- 1 files changed, 3 insertions(+), 1

[PATCH 10/23] USB: quirks for known quirky audio devices

2008-02-21 Thread Greg Kroah-Hartman
From: Oliver Neukum [EMAIL PROTECTED] RESET_RESUME entries for some sound devices that need it. Signed-off-by: Oliver Neukum [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] --- drivers/usb/core/quirks.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-)

[PATCH 11/23] USB: option: Add Kyocera KPC680 ids

2008-02-21 Thread Greg Kroah-Hartman
From: Dan Williams [EMAIL PROTECTED] Signed-off-by: Dan Williams [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] --- drivers/usb/serial/option.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/usb/serial/option.c

[PATCH 12/23] USB: option: Added vendor id for Dell 5720 broadband modem

2008-02-21 Thread Greg Kroah-Hartman
From: Stefan Bader [EMAIL PROTECTED] this is a small patch to add support for a rebranded Novatel modem (see http://ubuntuforums.org/archive/index.php/t-608388.html for details). Signed-off-by: Stefan Bader [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] ---

[PATCH 14/23] USB: storage: Nikon D80 new FW still needs Fixup

2008-02-21 Thread Greg Kroah-Hartman
From: Konstantin Kletschke [EMAIL PROTECTED] Add new BCD numbers for Nikon D80 Firmware revision v1.10 to the unusual_devs.h file. Signed-off-by: Konstantin Kletschke [EMAIL PROTECTED] Signed-off-by: Phil Dibowitz [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] ---

[PATCH 15/23] USB: Add another Novatel U727 ID to the device table for usbserial

2008-02-21 Thread Greg Kroah-Hartman
From: Warren Turkal [EMAIL PROTECTED] Signed-off-by: Warren Turkal [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] --- drivers/usb/serial/option.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/usb/serial/option.c

[PATCH 16/23] USB: gadget: queue usb USB_CDC_GET_ENCAPSULATED_RESPONSE message

2008-02-21 Thread Greg Kroah-Hartman
From: Jan Altenberg [EMAIL PROTECTED] commit 0cf4f2de0a0f4100795f38ef894d4910678c74f8 introduced a bug, which prevents sending an USB_CDC_GET_ENCAPSULATED_RESPONSE message. This breaks the RNDIS initialization (especially / only Windoze machines dislike this behavior...). Signed-off-by: Benedikt

[PATCH 17/23] USB: add new vernier product id to ldusb.c

2008-02-21 Thread Greg Kroah-Hartman
From: Stephen Ware [EMAIL PROTECTED] I have a new ldusb device to go into the device table. Jiri has merged the change for hiddev quirks already. From: Stephen Ware [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] --- drivers/usb/misc/ldusb.c |2 ++ 1 files changed, 2

[PATCH 18/23] USB: serial: move zte MF330 from sierra to option

2008-02-21 Thread Greg Kroah-Hartman
From: Kevin Lloyd [EMAIL PROTECTED] Move the Onda H600/ZTE MF33 device from the sierra driver to the option driver. The reason it was moved is because the sierra driver is starting to support more and more sierra proprietary features, so it makes more sense to keep sierra only devices in there.

[PATCH 19/23] USB: usb-storage: unusual_devs entry for Oracom MP3 player

2008-02-21 Thread Greg Kroah-Hartman
From: Robert Spitzenpfeil [EMAIL PROTECTED] This patch (as1034) was written by Leonid Petrov, reported by Robert Spitzenpfeil, and updated by me. It adds an unusual_devs entry with the IGNORE_RESIDUE flag for the Oracom MP3 player. Together with the change to the Get-Max-LUN routine in as1032,

[PATCH 20/23] USB: quirks and unusual_devs entry for Actions flash drive

2008-02-21 Thread Greg Kroah-Hartman
From: Alan Stern [EMAIL PROTECTED] This patch (as1033) adds a quirks entry and an unusual_devs entry for the Actions Semiconductor flash drive. This device has a 64-byte string descriptor, which it doesn't terminate with a 0-length packet. Oddly enough, the reporter's logs show that when the

[PATCH 22/23] USB: POWERPC: ehci: fix ppc build

2008-02-21 Thread Greg Kroah-Hartman
From: Anton Vorontsov [EMAIL PROTECTED] Currently, this setup: CONFIG_USB_ARCH_HAS_EHCI=y CONFIG_USB_EHCI_HCD=y CONFIG_USB_EHCI_HCD_PPC_OF=y Will fail to build: CC drivers/usb/host/ehci-hcd.o drivers/usb/host/ehci-hcd.c:1018:2: error: #error missing bus glue for ehci-hcd make[3]: ***

[PATCH 23/23] ehci-fsl: add PPC_MPC837x to default y

2008-02-21 Thread Greg Kroah-Hartman
From: Anton Vorontsov [EMAIL PROTECTED] This patch converts USB_EHCI_FSL config option into the verbose bool, so we'll able to select it for other freescale processors with built-in EHCI controller. Signed-off-by: Anton Vorontsov [EMAIL PROTECTED] Cc: Kumar Gala [EMAIL PROTECTED] Signed-off-by:

Re: [PATCH] [USB POWERPC] ehci-fsl: add PPC_MPC837x to default y

2008-02-21 Thread Peter Korsgaard
Anton == Anton Vorontsov [EMAIL PROTECTED] writes: Hi, Anton config USB_EHCI_FSL Anton - bool Anton - depends on USB_EHCI_HCD Anton + bool Support for Freescale on-chip EHCI USB controller Anton + depends on USB_EHCI_HCD FSL_SOC Anton select

Re: [PATCH] [USB POWERPC] ehci-fsl: add PPC_MPC837x to default y

2008-02-21 Thread Peter Korsgaard
On Fri, Feb 22, 2008 at 2:36 AM, Peter Korsgaard [EMAIL PROTECTED] wrote: Notice that I have a patch in the USB queue which fixes up the MPC834x symbol (PPC_MPC834x instead of MPC834x) so this patch won't apply. Never mind, Greg fixed it. -- Bye, Peter Korsgaard - To unsubscribe from this

Re: usbtest usage

2008-02-21 Thread David Brownell
On Wednesday 20 February 2008, Francis Moreau wrote: Hello, I'm struggling with this module to test my udc. I loaded the zero driver like the following: $ modprobe g_zero pattern=1 and loaded usbtest module on the host: $ modprobe usbtest pattern=1 So I basically use the