Re: [PATCH] xhci: Add BayTrail to list of Intel switchable hosts

2013-05-22 Thread Heikki Krogerus
On Tue, May 21, 2013 at 10:37:55AM -0400, Alan Stern wrote: On Tue, 21 May 2013, Heikki Krogerus wrote: diff --git a/drivers/usb/host/ehci-pci.c b/drivers/usb/host/ehci-pci.c index 595d210..a5708d9 100644 --- a/drivers/usb/host/ehci-pci.c +++ b/drivers/usb/host/ehci-pci.c @@ -322,7

Re: [PATCH] xhci: Add BayTrail to list of Intel switchable hosts

2013-05-22 Thread Heikki Krogerus
On Tue, May 21, 2013 at 04:26:43PM +0400, Sergei Shtylyov wrote: Like the xHCI controller on Intel Panther Point and Lynx Point chipsets, the xHCI controller on Intel BayTrail has also ports that can be switched between the EHCI host controller. s/between/to/ OK. Thanks, -- heikki --

Re: [PATCH 13/15] chipidea: Allow user to select PCI/IMX options

2013-05-22 Thread Jiri Slaby
On 05/16/2013 11:36 AM, Alexander Shishkin wrote: The benefit from compiling it on non-arm (or non-imx) architectures for me is compilation testing. We don't have a whole lot of architectures with CONFIG_OF so it's nice to give it a stretch. Yes, the newly added COMPILE_TEST config option will

Re: Linux USB file storage gadget with new UDC

2013-05-22 Thread victor yeo
Hi, Thanks! Indeed, the req-buf pointer was the one causing the crash problem. It happened when combining multiple 512 bytes data. I have fixed this bug. Now my UDC driver is almost ready. That is probably one more SCSI command timeout problem remaining, i am adding more printk to UDC

Re: [PATCH 13/15] chipidea: Allow user to select PCI/IMX options

2013-05-22 Thread Alexander Shishkin
Jiri Slaby jsl...@suse.cz writes: On 05/16/2013 11:36 AM, Alexander Shishkin wrote: The benefit from compiling it on non-arm (or non-imx) architectures for me is compilation testing. We don't have a whole lot of architectures with CONFIG_OF so it's nice to give it a stretch. Yes, the newly

Re: [PATCH 1/1] usb: host: ehci-spear: Fix potential NULL pointer dereferencing

2013-05-22 Thread Alan Stern
On Wed, 22 May 2013, Sachin Kamat wrote: 'hcd' is dereferenced before NULL check. Move the assignment after the check to avoid potential NULL pointer dereferencing error. Since the pointer in question can never be NULL, you should remove the check entirely instead of moving the reference.

Re: [PATCH 2/3] drivers/usb/host: remove leftover release_mem_region

2013-05-22 Thread Alan Stern
On Wed, 22 May 2013, Wolfram Sang wrote: When converting this driver to devm_ioremap_resource, the removal of this now unneeded function has been forgotten. Signed-off-by: Wolfram Sang w...@the-dreams.de --- drivers/usb/host/ohci-nxp.c |1 - 1 file changed, 1 deletion(-) diff

Re: Linux USB file storage gadget with new UDC

2013-05-22 Thread Alan Stern
On Wed, 22 May 2013, victor yeo wrote: I am able to solve the SCSI command timeout problem by adding a code to check the hardware register busy bit continuously, in kagen2_ep_queue(): do { read_hardware_register_busy_bit } while (hardware_is_busy) This is silly. Drivers shouldn't poll

[PATCH v2] MIPS: OCTEON: Rename Kconfig CAVIUM_OCTEON_REFERENCE_BOARD to CAVIUM_OCTEON_SOC

2013-05-22 Thread David Daney
From: David Daney david.da...@cavium.com CAVIUM_OCTEON_SOC most place we used to use CPU_CAVIUM_OCTEON. This allows us to CPU_CAVIUM_OCTEON in places where we have no OCTEON SOC. Remove CAVIUM_OCTEON_SIMULATOR as it doesn't really do anything, we can get the same configuration with

Re: [PATCH] MIPS: OCTEON: Rename Kconfig CAVIUM_OCTEON_REFERENCE_BOARD to CAVIUM_OCTEON_SOC

2013-05-22 Thread David Daney
On 05/22/2013 05:22 AM, Ralf Baechle wrote: On Tue, May 21, 2013 at 03:07:23PM -0700, David Daney wrote: config USB_OCTEON_OHCI bool Octeon on-chip OHCI support - depends on CPU_CAVIUM_OCTEON + depends on CAVIUM_OCTEON_SOC Just a minor comment, here the extra

Re: [PATCH] MIPS: OCTEON: Rename Kconfig CAVIUM_OCTEON_REFERENCE_BOARD to CAVIUM_OCTEON_SOC

2013-05-22 Thread Ralf Baechle
On Wed, May 22, 2013 at 09:13:50AM -0700, David Daney wrote: Can you take v2 instead? It has the missing watchdog adjustment that is not in v1. Done. Ralf -- To unsubscribe from this list: send the line unsubscribe linux-usb in the body of a message to majord...@vger.kernel.org More

Re: Huawei 3276 with option and cdc_ncm

2013-05-22 Thread Thomas Schäfer
Am Freitag, 17. Mai 2013, 14:41:20 schrieben Sie: Thomas Schäfer tschae...@t-online.de writes: Hi, the LTE-stick huawei 3276 (in Germany also alias Telekom Speedstick LTE III) works well One thing is little mysterious. The byte-statistics at the interface differ. while

Re: Misbehaving device

2013-05-22 Thread Joe Julian
On 05/21/2013 03:20 PM, Joe Julian wrote: I have about 100 of these creditcard/check scanners that are dropping events. I was able to find some overflows that I assume are probably related to the problem, usb 4-1: ctrl urb status -75 received. Short of asking the vendor to fix their product

Re: Huawei 3276 with option and cdc_ncm

2013-05-22 Thread Bjørn Mork
Thomas Schäfer tschae...@t-online.de writes: Am Freitag, 17. Mai 2013, 14:41:20 schrieben Sie: Thomas Schäfer tschae...@t-online.de writes: Hi, the LTE-stick huawei 3276 (in Germany also alias Telekom Speedstick LTE III) works well One thing is little mysterious. The

Re: Huawei 3276 with option and cdc_ncm

2013-05-22 Thread Thomas Schäfer
Hello Bjørn ... TX-counter-problem ... This is expected as a result of the cdc_ncm = usbnet design. . The buffer filling may seem strange, but Alexey has explained it several times here on this list. It has to do with device DMA optimizations. Google it or search this list if you

Re: Huawei 3276 with option and cdc_ncm

2013-05-22 Thread Bjørn Mork
Thomas Schäfer tschae...@t-online.de writes: Hello Bjørn ... TX-counter-problem ... This is expected as a result of the cdc_ncm = usbnet design. . The buffer filling may seem strange, but Alexey has explained it several times here on this list. It has to do with device DMA

Re: [OPW kernel] dma_set_coherent_mask

2013-05-22 Thread Don Dutile
On 05/16/2013 01:19 PM, Sarah Sharp wrote: On Thu, May 16, 2013 at 10:11:00AM -0400, Alan Stern wrote: On Wed, 15 May 2013, Sarah Sharp wrote: If you're using 64-bit DMA then you almost certainly do want to call dma_set_coherent_mask(). On the plus side, it is guaranteed that if

Re: [PATCH] HID: usbhid: ignore Jabra speakerphones HID interface

2013-05-22 Thread Vincent Palatin
On Wed, May 22, 2013 at 2:27 PM, Jiri Kosina jkos...@suse.cz wrote: Please do this in hid_ignore_list[] in drivers/hid/hid-core.c instead. Thanks for the advice ! I will update the patch accordingly. -- Vincent -- To unsubscribe from this list: send the line unsubscribe linux-usb in the body

[PATCH] HID: usbhid: ignore Jabra speakerphones HID interface

2013-05-22 Thread Vincent Palatin
Add a quirk to ignore Jabra speakerphone 410 and 510 devices HID interface. On those devices, the USB audio interface is working nicely, but the HID interface is not working with the kernel usbhid driver, and it requires a specific userspace program. We could unbind it from userspace but just

Re: [PATCH] qmi_wwan: Added support for Cinterion's PLxx WWAN Interface

2013-05-22 Thread David Miller
From: Bjørn Mork bj...@mork.no Date: Tue, 21 May 2013 15:19:43 +0200 Schmiedl Christian christian.schmi...@gemalto.com writes: From: Hans-Christoph Schemmel hans-christoph.schem...@gemalto.com Added support for Cinterion's PLxx WWAN Interface by adding QMI_FIXED_INTF with Cinterion's

Re: [PATCH v2] staging: dwc2: remove compile warning for USB_DWC2_TRACK_MISSED_SOFS

2013-05-22 Thread Greg KH
On Wed, May 22, 2013 at 03:10:15PM -0700, Paul Zimmerman wrote: Remove the compile-time warning for this config option, and instead warn that it is experimental in the Kconfig text Reported-by: Geert Uytterhoeven ge...@linux-m68k.org Signed-off-by: Paul Zimmerman pa...@synopsys.com --- Hi

Re: Misbehaving device

2013-05-22 Thread Alan Stern
On Wed, 22 May 2013, Joe Julian wrote: Thanks. I have a usbmon capture of a failed event, but since this is a credit card scan I need to at least interpret and obfuscate the card data. For a keystroke there seems to be two events each, the key press (3800) and the key release

Re: [PATCH 1/7] USB: gadget: atmel_usba: move global struct usba_ep usba_ep to struct usba_udc

2013-05-22 Thread Bo Shen
Hi J, On 5/21/2013 00:25, Jean-Christophe PLAGNIOL-VILLARD wrote: so we can have multiple usb gadget instance Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com Cc: Nicolas Ferre nicolas.fe...@atmel.com Cc: linux-usb@vger.kernel.org For this series, test OK on

usb 1-1: ath9k_htc: Firmware - htc_9271.fw download failed

2013-05-22 Thread pingsheng pan
I am pingsheng pan,an angineer of china, this dates I move a otg host driver to my s3c6410, my wifi can not work on my otg 2.0,but it can be enumerated and my flash memory disk can work on the otg 2.0 ,the otg support high speed. the wifi can work on my ohci host controller,the ohci is usb 1.1,

Re: Misbehaving device

2013-05-22 Thread Joe Julian
Right, and I'm supposed to know that how? You're the one who's an expert on usb. You know how HID keyboards pass data. I'm starting from scratch and only have data that is sensitive. It's hard to know what you can share when you don't know what you have. Since you have expectations that I'm

Re: [PATCH] build some drivers only when compile-testing

2013-05-22 Thread Jeff Mahoney
On 5/22/13 10:23 PM, Greg Kroah-Hartman wrote: On Wed, May 22, 2013 at 11:18:46AM +0200, Jiri Slaby wrote: Some drivers can be built on more platforms than they run on. This causes users and distributors packaging burden when they have to manually deselect some drivers from their

Re: [PATCH 1/1] usb: host: ehci-spear: Fix potential NULL pointer dereferencing

2013-05-22 Thread Sachin Kamat
On 22 May 2013 19:50, Alan Stern st...@rowland.harvard.edu wrote: On Wed, 22 May 2013, Sachin Kamat wrote: 'hcd' is dereferenced before NULL check. Move the assignment after the check to avoid potential NULL pointer dereferencing error. Since the pointer in question can never be NULL, you

[PATCH 1/1] usb: host: ehci-spear: Remove redundant checks

2013-05-22 Thread Sachin Kamat
(20130522). --- drivers/usb/host/ehci-spear.c |4 1 file changed, 4 deletions(-) diff --git a/drivers/usb/host/ehci-spear.c b/drivers/usb/host/ehci-spear.c index f5ac4e2..1cf0adb 100644 --- a/drivers/usb/host/ehci-spear.c +++ b/drivers/usb/host/ehci-spear.c @@ -148,10 +148,6 @@ static int