Re: [help] imx27 - isp1504 : unable to init transceiver, probably missing

2013-09-30 Thread Mylene Josserand
Hi, Le 29/09/2013 19:08, Christoph Fritz a écrit : On Sun, 2013-09-29 at 12:19 -0300, Fabio Estevam wrote: On Sun, Sep 29, 2013 at 11:32 AM, Christoph Fritz chf.fr...@googlemail.com wrote: Le 26/09/2013 17:59, Christoph Fritz a écrit : Their software fix: As first attemp at fixing

[PATCH] mmc: vub300: Move away from using deprecated APIs

2013-09-30 Thread Ulf Hansson
Suspend and resume of cards are handled by the protocol layer and consequently the mmc_suspend|resume_host APIs are marked as deprecated. This means we can simplify the suspend|resume callbacks by removing the use of the deprecated APIs. Cc: Tony Olech tony.ol...@elandigitalsystems.com Cc:

Re: [PATCH 10/27] mmc: vub300: Remove redundant suspend and resume callbacks

2013-09-30 Thread Ulf Hansson
On 27 September 2013 18:22, Alan Stern st...@rowland.harvard.edu wrote: On Thu, 26 Sep 2013, Ulf Hansson wrote: Suspend and resume of cards are handled by the protocol layer and consequently the mmc_suspend|resume_host APIs are marked as deprecated. While moving away from using the

Huawei Wireless data modem in Freescale i.MX6 Board

2013-09-30 Thread Thomas TJ
I'm trying to connect Huawei wireless data modem in Freescale i.MX6 Board. It's detected as a usb device and the result of lsusb is Bus 002 Device 007: ID 12d1:140b Huawei Technologies Co., Ltd. EC1260 Wireless Data Modem HSD USB Card But it's not mounted in /dev/disk/bu-id kindly help me to get

Re: Huawei Wireless data modem in Freescale i.MX6 Board

2013-09-30 Thread Oliver Neukum
On Mon, 2013-09-30 at 08:37 +, Thomas TJ wrote: I'm trying to connect Huawei wireless data modem in Freescale i.MX6 Board. It's detected as a usb device and the result of lsusb is Bus 002 Device 007: ID 12d1:140b Huawei Technologies Co., Ltd. EC1260 Wireless Data Modem HSD USB Card This

Re: [PATCH v2 1/1] usb: gadget: f_fs: Add support for SuperSpeed Mode

2013-09-30 Thread Manu Gautam
On 9/28/2013 1:52 AM, Paul Zimmerman wrote: From: linux-usb-ow...@vger.kernel.org [mailto:linux-usb-ow...@vger.kernel.org] On Behalf Of Manu Gautam Sent: Thursday, September 26, 2013 12:08 AM On 9/26/2013 2:10 AM, Felipe Balbi wrote: On Tue, Sep 24, 2013 at 03:00:20PM +0530, Manu Gautam

Re: [PATCH V5 net-next 2/3] net: huawei_cdc_ncm: Introduce the huawei_cdc_ncm driver

2013-09-30 Thread Oliver Neukum
On Mon, 2013-09-30 at 04:50 +, Enrico Mioso wrote: +static int huawei_cdc_ncm_manage_power(struct usbnet *usbnet_dev, int on) +{ + struct huawei_cdc_ncm_state *drvstate = (void *)usbnet_dev-data; + int rv = 0; + + if ((on atomic_add_return(1, drvstate-pmcount) == 1) || +

[PATCH v2] USB: gadget: f_fs: fix error handling

2013-09-30 Thread Robert Baldyga
Hello, This is update for my patch fixing error handling in functionfs module. I have fixed typos from previous version, and changed description for greater clearity as Sergei Shtylyov suggested. This patch add missing error check in ffs_func_bind() function, after ffs_do_descs() function call

[PATCH v2] USB: gadget: epautoconf: fix ep maxpacket check

2013-09-30 Thread Robert Baldyga
Hello, This is update for my patch fixing maxpacket check in epautoconfig. Now code is better arranged for clearity and take into account super speed devices, as Alan Stern suggested. This patch fixes validation of maxpacket value given in endpoint descriptor. Added check of maxpacket for bulk

Re: [PATCH 3/3] xhci: Enable LPM support only for hardwired or BESL devices

2013-09-30 Thread Mathias Nyman
On 09/27/2013 10:02 PM, Julius Werner wrote: +#include ../core/usb.h You might want to move usb_get_hub_port_connect_type() to include/linux/usb.h instead of doing this. Also, I think you need to mark it EXPORT_SYMBOL_GPL in core/hub.c or you could run into trouble when both xhci-hcd and

Re: PATCH: Ignore card reader interface on Huawei E1750

2013-09-30 Thread Bjørn Mork
Michal Malý madcatxs...@prifuk.cz writes: my Huawei 3G modem has an embedded Smart Card reader which causes trouble when the modem is being detected (a bunch of warn (ttyUSBx): open blocked by driver for more than 7 seconds! in messages.log). This trivial patch corrects the problem for me.

Re: [PATCH] memory mapping for usbfs (v0.4)

2013-09-30 Thread Markus Rechberger
On Mon, Sep 30, 2013 at 5:51 AM, Marcel Holtmann mar...@holtmann.org wrote: Hi Markus, Do you have a userspace test program that we can use to verify that this does work, and that others can use to run on some different platforms to verify that this is actually faster? You will need one of

Re: [PATCH v2] USB: gadget: f_fs: fix error handling

2013-09-30 Thread Michal Nazarewicz
On Mon, Sep 30 2013, Robert Baldyga wrote: Hello, This is update for my patch fixing error handling in functionfs module. I have fixed typos from previous version, and changed description for greater clearity as Sergei Shtylyov suggested. This patch add missing error check in

Re: [PATCH] memory mapping for usbfs (v0.4)

2013-09-30 Thread Markus Rechberger
On Mon, Sep 30, 2013 at 1:26 PM, Markus Rechberger mrechber...@gmail.com wrote: On Mon, Sep 30, 2013 at 5:51 AM, Marcel Holtmann mar...@holtmann.org wrote: Hi Markus, Do you have a userspace test program that we can use to verify that this does work, and that others can use to run on some

how to trigger function in usb_device_pm_ops

2013-09-30 Thread yoma sophian
hi all: We are trying to make usb hibernate work on our embedded system. below are configs we enable for system power management: # # Power management options # CONFIG_SUSPEND=y CONFIG_SUSPEND_FREEZER=y # CONFIG_HIBERNATION is not set CONFIG_PM_SLEEP=y CONFIG_PM_SLEEP_SMP=y # CONFIG_PM_AUTOSLEEP

Re: [PATCH 19/51] DMA-API: media: dt3155v4l: replace dma_set_mask()+dma_set_coherent_mask() with new helper

2013-09-30 Thread Hans Verkuil
On 09/19/2013 11:44 PM, Russell King wrote: Replace the following sequence: dma_set_mask(dev, mask); dma_set_coherent_mask(dev, mask); with a call to the new helper dma_set_mask_and_coherent(). Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk Acked-by: Hans Verkuil

[PATCH] xhci: extra long delay for S4

2013-09-30 Thread oliver
From: Oliver Neukum oneu...@suse.de Some controllers really do need much longer than the standard allows. Signed-off-by: Oliver Neukum oneu...@suse.de --- drivers/usb/host/xhci.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/usb/host/xhci.c

Re: [PATCH] xhci: extra long delay for S4

2013-09-30 Thread Greg KH
On Mon, Sep 30, 2013 at 02:25:29PM +0200, oli...@neukum.org wrote: From: Oliver Neukum oneu...@suse.de Some controllers really do need much longer than the standard allows. Signed-off-by: Oliver Neukum oneu...@suse.de --- drivers/usb/host/xhci.c | 3 ++- 1 file changed, 2

[PATCH] usb: gadget: s3c-hsotg: fix CodingStyle issues

2013-09-30 Thread Bartlomiej Zolnierkiewicz
From: Pavel Machek pa...@denx.de checkpatch.pl has some valid complaints about style in s3c-hsotg.c: - macro with 'if' should be really enclosed in 'do {} while (0)' - seq_puts() is going to be slightly faster than seq_printf() - pr_err() is shorter than printk(KERN_ERR ...) Signed-off-by: Pavel

Re: PATCH: Ignore card reader interface on Huawei E1750

2013-09-30 Thread Michal Malý
On Monday 30 of September 2013 13:12:34 Bjørn Mork wrote: Michal Malý madcatxs...@prifuk.cz writes: On Monday 30 of September 2013 12:19:41 you wrote: Michal Malý madcatxs...@prifuk.cz writes: my Huawei 3G modem has an embedded Smart Card reader which causes trouble when the modem is

Re: [PATCH] xhci: extra long delay for S4

2013-09-30 Thread Oliver Neukum
On Mon, 2013-09-30 at 05:33 -0700, Greg KH wrote: On Mon, Sep 30, 2013 at 02:25:29PM +0200, oli...@neukum.org wrote: From: Oliver Neukum oneu...@suse.de Some controllers really do need much longer than the standard allows. Signed-off-by: Oliver Neukum oneu...@suse.de ---

[PATCH] xhci: quirk for extra long delay for S4[V2]

2013-09-30 Thread oliver
From: Oliver Neukum oneu...@suse.de It has been reported that this chipset really cannot sleep without this extraordinary delay. Signed-off-by: Oliver Neukum oneu...@suse.de --- drivers/usb/host/xhci-pci.c | 8 drivers/usb/host/xhci.c | 9 +++-- drivers/usb/host/xhci.h | 1

Re: [PATCH] xhci: extra long delay for S4

2013-09-30 Thread Matthieu CASTET
Le Mon, 30 Sep 2013 14:50:12 +0100, Oliver Neukum oneu...@suse.de a écrit : On Mon, 2013-09-30 at 05:33 -0700, Greg KH wrote: On Mon, Sep 30, 2013 at 02:25:29PM +0200, oli...@neukum.org wrote: From: Oliver Neukum oneu...@suse.de Some controllers really do need much longer than the

[PATCH 0/4] USB 2.0 Link PM broken (updated series v2)

2013-09-30 Thread Mathias Nyman
Add two patches to the first series to enable Link PM for hardwired, and BESL capable devices as default. This is otherwise the same series by Sarah that disables usb2 LPM as default for devices because usb3 devices may falsely claim usb2 LPM support when connected to a usb2 port. First series

[PATCH 1/4] usb: Don't enable USB 2.0 Link PM by default.

2013-09-30 Thread Mathias Nyman
From: Sarah Sharp sarah.a.sh...@linux.intel.com How it's supposed to work: -- USB 2.0 Link PM is a lower power state that some newer USB 2.0 devices support. USB 3.0 devices certified by the USB-IF are required to support it if they are plugged into a USB 2.0 only port,

[PATCH 3/4] usb: move usb_get_hub_port_connect_type() to include/linux/usb.h

2013-09-30 Thread Mathias Nyman
Host drivers will need to know the port connection type for link PM settings. Move usb_get_hub_port_connect_type() from usb/core/usb.h to include/linux/usb.h Signed-off-by: Mathias Nyman mathias.ny...@linux.intel.com --- drivers/usb/core/hub.c |1 + drivers/usb/core/usb.h |2 --

[PATCH 4/4] xhci: Enable LPM support only for hardwired or BESL devices

2013-09-30 Thread Mathias Nyman
Some usb3 devices falsely claim they support usb2 hardware Link PM when connected to a usb2 port. We only trust hardwired devices or devices with the later BESL LPM support to be LPM enabled as default. Signed-off-by: Mathias Nyman mathias.ny...@linux.intel.com --- drivers/usb/host/xhci.c | 16

Re: [PATCH v2] USB: gadget: epautoconf: fix ep maxpacket check

2013-09-30 Thread Alan Stern
On Mon, 30 Sep 2013, Robert Baldyga wrote: Hello, This is update for my patch fixing maxpacket check in epautoconfig. Now code is better arranged for clearity and take into account super speed devices, as Alan Stern suggested. This patch fixes validation of maxpacket value given in

Re: how to trigger function in usb_device_pm_ops

2013-09-30 Thread Alan Stern
On Mon, 30 Sep 2013, yoma sophian wrote: hi all: We are trying to make usb hibernate work on our embedded system. below are configs we enable for system power management: Do you mean hibernate or sleep? # # Power management options # CONFIG_SUSPEND=y CONFIG_SUSPEND_FREEZER=y #

Re: Huawei Wireless data modem in Freescale i.MX6 Board

2013-09-30 Thread Dan Williams
On Mon, 2013-09-30 at 08:37 +, Thomas TJ wrote: I'm trying to connect Huawei wireless data modem in Freescale i.MX6 Board. It's detected as a usb device and the result of lsusb is Bus 002 Device 007: ID 12d1:140b Huawei Technologies Co., Ltd. EC1260 Wireless Data Modem HSD USB Card But

Re: [PATCH] memory mapping for usbfs (v0.4)

2013-09-30 Thread Alan Stern
On Mon, 30 Sep 2013, Markus Rechberger wrote: to explain why Isochronous makes such a difference, the kernel driver doesn't do the memset anymore for each urb packet. However that patch addresses multiple issues * Isochronous improvement by removing memset for each packet * Pre-Allocation to

Re: [PATCH] memory mapping for usbfs (v0.4)

2013-09-30 Thread Markus Rechberger
On Mon, Sep 30, 2013 at 4:59 PM, Alan Stern st...@rowland.harvard.edu wrote: On Mon, 30 Sep 2013, Markus Rechberger wrote: to explain why Isochronous makes such a difference, the kernel driver doesn't do the memset anymore for each urb packet. However that patch addresses multiple issues *

Re: [PATCH 4/4] usb: xhci: change enumeration scheme to 'new scheme' by default

2013-09-30 Thread Dan Williams
On Mon, Sep 23, 2013 at 4:29 PM, Dan Williams dan.j.willi...@intel.com wrote: Change the enumeration scheme for xhci attached devices from: SetAddress GetDescriptor(8) GetDescriptor(18) ...to: GetDescriptor(64) SetAddress GetDescriptor(18) ...as some devices

Re: [PATCH] usb: dwc3: add support for Merrifield

2013-09-30 Thread Felipe Balbi
Hi, On Thu, Sep 26, 2013 at 01:14:54PM -0700, Greg KH wrote: On Thu, Sep 26, 2013 at 01:01:44PM -0700, David Cohen wrote: Add PCI id for Intel Merrifield Signed-off-by: David Cohen david.a.co...@linux.intel.com --- drivers/usb/dwc3/dwc3-pci.c | 2 ++ 1 file changed, 2 insertions(+)

Re: EHCI bus glue driver works for storage, fails for a WiFi module

2013-09-30 Thread Jussi Kivilinna
On 29.09.2013 02:50, Arokux X wrote: Dear Alan, I don't know. Did you run all these tests on the same computer? Yes, it is a single board computer, see image here: http://rhombus-tech.net/allwinner_a10/hacking_the_mele_a1000/A10_device_a1000_inside.jpg WLAN Adapter is left at the

Re: how to trigger function in usb_device_pm_ops

2013-09-30 Thread yoma sophian
2013/9/30 Alan Stern st...@rowland.harvard.edu: On Mon, 30 Sep 2013, yoma sophian wrote: hi all: We are trying to make usb hibernate work on our embedded system. below are configs we enable for system power management: Do you mean hibernate or sleep? it is a little complex to describe what

Re: how to trigger function in usb_device_pm_ops

2013-09-30 Thread Alan Stern
On Tue, 1 Oct 2013, yoma sophian wrote: 2013/9/30 Alan Stern st...@rowland.harvard.edu: On Mon, 30 Sep 2013, yoma sophian wrote: hi all: We are trying to make usb hibernate work on our embedded system. below are configs we enable for system power management: Do you mean hibernate

Re: [PATCH 4/4] usb: xhci: change enumeration scheme to 'new scheme' by default

2013-09-30 Thread Joe M
Change the enumeration scheme for xhci attached devices from: SetAddress GetDescriptor(8) GetDescriptor(18) ...to: GetDescriptor(64) SetAddress GetDescriptor(18) ...as some devices misbehave when encountering a SetAddress command prior to GetDescriptor. There are

Re: [PATCH 2/2] net: qmi_wwan: fix checkpatch warnings

2013-09-30 Thread David Miller
From: Bjørn Mork bj...@mork.no Date: Wed, 25 Sep 2013 15:31:39 +0200 Sorry, I really don't see the point of this. Yes, the lines are longer than 80 columns, but breaking them don't improve the readability at all. On the contrary, IMHO. So NAK from me for this part. Sorry, breaking things

[PATCH v2 RESEND 1/3] usb: musb: am35x: use SIMPLE_DEV_PM_OPS

2013-09-30 Thread Daniel Mack
This makes am35x_pm_ops const and will stub the struct out in case CONFIG_PM_SLEEP is not set. Signed-off-by: Daniel Mack zon...@gmail.com --- I'm resending this series because I've just learned that SIMPLE_DEV_PM_OPS will stub itself out in case CONFIG_PM_SLEEP is not set. That makes the the

[PATCH v2 RESEND 2/3] usb: musb: blackfin: use SIMPLE_DEV_PM_OPS

2013-09-30 Thread Daniel Mack
This makes bfin_pm_ops const and will stub the struct out in case CONFIG_PM_SLEEP is not set. Signed-off-by: Daniel Mack zon...@gmail.com --- drivers/usb/musb/blackfin.c | 13 +++-- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/drivers/usb/musb/blackfin.c

Re: [PATCH 2/2] net: qmi_wwan: fix checkpatch warnings

2013-09-30 Thread David Miller
From: Fabio Porcedda fabio.porce...@gmail.com Date: Wed, 25 Sep 2013 11:21:26 +0200 Signed-off-by: Fabio Porcedda fabio.porce...@gmail.com Applied to net-next, thanks. -- To unsubscribe from this list: send the line unsubscribe linux-usb in the body of a message to majord...@vger.kernel.org

[PATCH v2 RESEND 3/3] usb: musb: ux500: use SIMPLE_DEV_PM_OPS

2013-09-30 Thread Daniel Mack
This removes the DEV_PM_OPS macro and brings this file in line with the other musb platform drivers. Signed-off-by: Daniel Mack zon...@gmail.com --- drivers/usb/musb/ux500.c | 13 +++-- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/drivers/usb/musb/ux500.c

Re: [PATCH 1/2] net: qmi_wwan: add Telit LE920 newer firmware support

2013-09-30 Thread David Miller
From: Fabio Porcedda fabio.porce...@gmail.com Date: Wed, 25 Sep 2013 11:21:25 +0200 Newer firmware use a new pid and a different interface. Signed-off-by: Fabio Porcedda fabio.porce...@gmail.com Applied to net-next -- To unsubscribe from this list: send the line unsubscribe linux-usb in the

Re: [PATCH] net: qmi_wwan: fix Cinterion PLXX product ID

2013-09-30 Thread David Miller
From: Schmiedl Christian christian.schmi...@gemalto.com Date: Thu, 26 Sep 2013 16:02:13 +0200 Aleksander Morgado aleksan...@lanedo.com writes: Cinterion PLXX LTE devices have a 0x0060 product ID, not 0x12d1. The blacklisting in the serial/option driver does actually use the correct PID, as

Re: [PATCH 4/4] usb: xhci: change enumeration scheme to 'new scheme' by default

2013-09-30 Thread Dan Williams
Is there a commit id for this, please? and, where can I find this patch? I would like to try this on my machine as I have a device that does not enumerate on xhci only. Not upstream yet, but you can give the attached one a try. -- Dan xhci-new-scheme.patch Description: Binary data

Re: [PATCH] USB: EHCI: tegra: drop clk_put for devm_clk_get in tegra_ehci_probe()

2013-09-30 Thread Stephen Warren
On 09/27/2013 02:22 AM, Wei Yongjun wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn devm_clk_get() is used so there is no reason to explicitly call clk_put() in probe or remove functions. Acked-by: Stephen Warren swar...@nvidia.com -- To unsubscribe from this list: send the line

[PATCH] usb: wusbcore: clean up urb dequeue process

2013-09-30 Thread Thomas Pugliese
This patch updates URB dequeue handling in wusbcore to make it more reliable when a URB has been broken up into multiple WUSB transfer request segments. In wa_urb_dequeue, don't mark segments in the WA_SEG_SUBMITTED, WA_SEG_PENDING or WA_SEG_DTI_PENDING states as completed if an ABORT

Strange beahviour on usb ir receiver

2013-09-30 Thread lionel
Hi all, I have a usb ir for pc IR remote controlleur. It emululate keyboard and mouse. Two kind of usb receiver even it looks like the same The bug is in the second, the power button on the USB remote is not functionnal (no message no event...) Here is the log from the first ... Sep 30

[PATCH] staging: dwc2: Fix code that gets the nummber of host channels

2013-09-30 Thread dinguyen
From: Dinh Nguyen dingu...@altera.com The variable host_channels of dwc2_hw_params struct is only 4-bits. Adding a 1 to a 0xf results in a 0 for host_channels. Thus, the driver was always thinking it had 0 host channels. Represent the correct number of host channels by using the host_channels

[PATCHv2] staging: dwc2: Fix code that gets the nummber of host channels

2013-09-30 Thread dinguyen
From: Dinh Nguyen dingu...@altera.com The variable host_channels of dwc2_hw_params struct is only 4-bits. Adding a 1 to a 0xf results in a 0 for host_channels. Thus, the driver was always thinking it had 0 host channels. Represent the correct number of host channels by using the host_channels

Re: [PATCH] staging: dwc2: Fix code that gets the nummber of host channels

2013-09-30 Thread Dan Carpenter
On Mon, Sep 30, 2013 at 04:54:51PM -0500, dingu...@altera.com wrote: From: Dinh Nguyen dingu...@altera.com The variable host_channels of dwc2_hw_params struct is only 4-bits. Adding a 1 to a 0xf results in a 0 for host_channels. Thus, the driver was always thinking it had 0 host channels.

Re: [PATCHv2] staging: dwc2: Fix code that gets the nummber of host channels

2013-09-30 Thread Dan Carpenter
On Mon, Sep 30, 2013 at 05:05:23PM -0500, dingu...@altera.com wrote: From: Dinh Nguyen dingu...@altera.com The variable host_channels of dwc2_hw_params struct is only 4-bits. Adding a 1 to a 0xf results in a 0 for host_channels. Thus, the driver was always thinking it had 0 host channels.

Re: [PATCH 0/4] usb: musb: support for suspend and resume

2013-09-30 Thread Daniel Mack
On 26.09.2013 15:08, Daniel Mack wrote: I've been working on some patches that allow suspending and resuming the musb-dsps platform. This was tested for host mode only. With these patches applied, I can successfully bring an AM335x board to suspend with a USB media connected, and access it

Re: [PATCHv2] staging: dwc2: Fix code that gets the nummber of host channels

2013-09-30 Thread Dinh Nguyen
Hi Dan, On Tue, 2013-10-01 at 01:25 +0300, Dan Carpenter wrote: On Mon, Sep 30, 2013 at 05:05:23PM -0500, dingu...@altera.com wrote: From: Dinh Nguyen dingu...@altera.com The variable host_channels of dwc2_hw_params struct is only 4-bits. Adding a 1 to a 0xf results in a 0 for

Re: [PATCHv2] staging: dwc2: Fix code that gets the nummber of host channels

2013-09-30 Thread Dinh Nguyen
On Tue, 2013-10-01 at 01:25 +0300, Dan Carpenter wrote: On Mon, Sep 30, 2013 at 05:05:23PM -0500, dingu...@altera.com wrote: From: Dinh Nguyen dingu...@altera.com The variable host_channels of dwc2_hw_params struct is only 4-bits. Adding a 1 to a 0xf results in a 0 for host_channels.