Mark | 22 Sep 16:05 2014
Picon

[PATCH] storage: Don't scan target 7 for SCM USB-SCSI converters

Hi,

When using an SCM-based USB-SCSI converter, access to target 7 is attempted
after scanning targets 0 to 6 during the bus scan. The SCSI ID of the
converter is hard-wired to 7 so there will never be a target there. I'm
proposing a small patch to usb_stor_probe2() so target 7 is not accessed;
see below.

Log output for first of the kernel's four attempts to issue INQUIRY to target 7:
[  282.740356] *** thread awakened
[  282.740372] Command INQUIRY (6 bytes)
[  282.740384] bytes: 
[  282.740408]  12 00 00 00 24 00
[  282.740433] Bulk Command S 0x43425355 T 0x24 L 36 F 128 Trg 7 LUN 0 CL 6
[  282.740446] xfer 31 bytes
[  282.742909] Status code 0; transferred 31/31
[  282.742925] -- transfer complete
[  282.742937] Bulk command transfer result=0
[  282.742958] xfer 36 bytes, 1 entries
[  282.746072] Status code -32; transferred 0/36
[  282.746087] clearing endpoint halt for pipe 0xc0010280
[  282.746115] rq=01 rqtype=02 value=0000 index=82 len=0
[  282.750084] result = 0
[  282.750113] Bulk data transfer result 0x2
[  282.750126] Attempting to get CSW...
[  282.750138] xfer 13 bytes
[  282.753372] Status code 0; transferred 13/13
[  282.753387] -- transfer complete
[  282.753400] Bulk status result = 0
[  282.753414] Bulk Status S 0x53425355 T 0x24 R 36 Stat 0x1
(Continue reading)

Finance Department | 20 Sep 16:09 2014
Picon

Payment

Dear Recipient,

You have been awarded the sum of  8,000,000.00 (Eight Million Pounds sterling) with reference number
77100146 by office of the ministry of finance UK.Send us your personal details to deliver your funds.

Gloria Pete
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@...
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Johan Hovold | 22 Sep 11:17 2014

[GIT PULL] USB-serial updates for v3.18

Hi Greg,

Here's my pull-request for v3.18-rc1.

All have been in linux-next just fine.

Thanks,
Johan

The following changes since commit 9e82bf014195d6f0054982c463575cdce24292be:

  Linux 3.17-rc5 (2014-09-14 17:50:12 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/johan/usb-serial.git tags/usb-serial-3.18-rc1

for you to fetch changes up to f8c0e057b4898055b24b44d03b837a15d8b93b37:

  USB: serial: remove zte_ev driver (2014-09-15 18:43:08 +0200)

----------------------------------------------------------------
USB-serial updates for v3.18-rc1

These changes add two new "simple" drivers, while removing the redundant
zte_ev driver (PIDs moved to option).

Included are also some minor clean ups to the xsens_mt driver, and the
enabling of further baud rates for pl2303 devices.

(Continue reading)

Johan Hovold | 22 Sep 10:50 2014

Re: [PATCH] USB: serial: cp210x: added Ketra N1 wireless interface support

On Sat, Sep 20, 2014 at 08:16:43AM -0500, Joe Savage wrote:
> From: Joe Savage <joe.savage@...>
> Date: Sat, 20 Sep 2014 08:01:16 -0500
> Subject: [PATCH] USB: serial: cp210x: added Ketra N1 wireless interface
>  support
> 
> Added support for Ketra N1 wireless interface, which uses the
> Silicon Labs' CP2104 USB to UART bridge with customized PID 8946.
> 
> Signed-off-by: Joe Savage <joe.savage@...>
> ---
>  drivers/usb/serial/cp210x.c |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/usb/serial/cp210x.c b/drivers/usb/serial/cp210x.c
> index e4bb622..0e805da 100644
> --- a/drivers/usb/serial/cp210x.c
> +++ b/drivers/usb/serial/cp210x.c
>  <at>  <at>  -122,6 +122,7  <at>  <at>  static const struct usb_device_id id_table[] = {
>   { USB_DEVICE(0x10C4, 0x8665) }, /* AC-Services OBD-IF */
>   { USB_DEVICE(0x10C4, 0x88A4) }, /* MMB Networks ZigBee USB Device */
>   { USB_DEVICE(0x10C4, 0x88A5) }, /* Planet Innovation Ingeni ZigBee USB
> Device */
> + { USB_DEVICE(0x10C4, 0x8946) }, /* Ketra N1 Wireless Interface */
>   { USB_DEVICE(0x10C4, 0xEA60) }, /* Silicon Labs factory default */
>   { USB_DEVICE(0x10C4, 0xEA61) }, /* Silicon Labs factory default */
>   { USB_DEVICE(0x10C4, 0xEA70) }, /* Silicon Labs factory default */

I applied this one, but next time please submit your patch "inline" and
not as a MIME attachment.
(Continue reading)

Andreas Bomholtz | 22 Sep 09:50 2014

[PATCH 1/1] Added support for Seluxit USB dongle to cp210x driver.

Added the Seluxit ApS USB Serial Dongle to cp210x driver.

Signed-off-by: Andreas Bomholtz <andreas@...>
---
 drivers/usb/serial/cp210x.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/usb/serial/cp210x.c b/drivers/usb/serial/cp210x.c
index e4bb622..abd7577 100644
--- a/drivers/usb/serial/cp210x.c
+++ b/drivers/usb/serial/cp210x.c
 <at>  <at>  -155,6 +155,7  <at>  <at>  static const struct usb_device_id id_table[] = {
 	{ USB_DEVICE(0x1ADB, 0x0001) }, /* Schweitzer Engineering C662 Cable */
 	{ USB_DEVICE(0x1B1C, 0x1C00) }, /* Corsair USB Dongle */
 	{ USB_DEVICE(0x1BE3, 0x07A6) }, /* WAGO 750-923 USB Service Cable */
+	{ USB_DEVICE(0x1D6F, 0x0010) }, /* Seluxit ApS RF Dongle */
 	{ USB_DEVICE(0x1E29, 0x0102) }, /* Festo CPX-USB */
 	{ USB_DEVICE(0x1E29, 0x0501) }, /* Festo CMSP */
 	{ USB_DEVICE(0x1FB9, 0x0100) }, /* Lake Shore Model 121 Current Source */
--

-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@...
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Anton Tikhomirov | 22 Sep 03:36 2014

[PATCH] phy: exynos5-drd: Fix PHYPARAM1_PCS_TXDEEMPH definition

According to user manual, pcs_tx_deemph_3p5db field in PHYPARAM1
register is 6bits wide, so mask value should be 0x3f instead
of 0x1f. Additionally, this patch renames the macro to correctly
reflect the field name which we see in SoC documentation.

Signed-off-by: Anton Tikhomirov <av.tikhomirov@...>
---
 drivers/phy/phy-exynos5-usbdrd.c |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/phy/phy-exynos5-usbdrd.c b/drivers/phy/phy-exynos5-
usbdrd.c
index 392101c..216bbf8 100644
--- a/drivers/phy/phy-exynos5-usbdrd.c
+++ b/drivers/phy/phy-exynos5-usbdrd.c
 <at>  <at>  -99,8 +99,8  <at>  <at> 

 #define EXYNOS5_DRD_PHYPARAM1			0x20

-#define PHYPARAM1_PCS_TXDEEMPH_MASK		(0x1f << 0)
-#define PHYPARAM1_PCS_TXDEEMPH			(0x1c)
+#define PHYPARAM1_PCS_TXDEEMPH_3P5DB_MASK		(0x3f << 0)
+#define PHYPARAM1_PCS_TXDEEMPH_3P5DB			(0x1c)

 #define EXYNOS5_DRD_PHYTERM			0x24

 <at>  <at>  -309,8 +309,8  <at>  <at>  static void exynos5_usbdrd_pipe3_init(struct
exynos5_usbdrd_phy *phy_drd)

 	reg = readl(phy_drd->reg_phy + EXYNOS5_DRD_PHYPARAM1);
(Continue reading)

Benjamin Siaka | 22 Sep 03:14 2014
Picon

HOW ARE YOU?

Hello my Dear,

I will greatly appreciate my correspondence meets you in good health condition.

My name is Mr. Benjamin Siaka. I am seeking for your co-operation for investment partnership in your
Country. I shall provide the FUND for the investment. When you acknowledged the receipt of this
correspondence, thereafter I will give you the Full Details of my investment proposal.

I await your response in earliest.

My regards,
Mr. Benjamin Siaka.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@...
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Peter Chen | 22 Sep 02:14 2014

[PATCH 0/4] chipdea patches for 3.18

Hi Greg,

Below are chipdea patches for v3.18-rc1, they are based on your
latest usb-next, and have verfied at i.mx6sx sabresd board.

Thanks.

Peter Chen (3):
  usb: chipidea: otg initialization is only needed when the gadget is
    supported
  usb: chipidea: enhance kernel-doc format
  of: add vendor prefix for Chipidea

Stefan Agner (1):
  chipidea: usbmisc_imx: Add USB support for VF610 SoCs

 .../devicetree/bindings/usb/usbmisc-imx.txt        |    1 +
 .../devicetree/bindings/vendor-prefixes.txt        |    1 +
 drivers/usb/chipidea/ci.h                          |   14 ++++--
 drivers/usb/chipidea/ci_hdrc_imx.c                 |    8 +++
 drivers/usb/chipidea/ci_hdrc_imx.h                 |    1 +
 drivers/usb/chipidea/core.c                        |   10 +++-
 drivers/usb/chipidea/usbmisc_imx.c                 |   52 +++++++++++++++-----
 7 files changed, 70 insertions(+), 17 deletions(-)

--

-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
(Continue reading)

Mark | 21 Sep 20:59 2014
Picon

[PATCH] storage: Replace magic number with define in usb_stor_euscsi_init()

Hi,

usb_stor_euscsi_init() calls usb_stor_control_msg() with timeout argument
5000. USB_CTRL_SET_TIMEOUT is defined to be 5000 in usb.h, so would it make
sense to use that instead? Patch below if it would.

Signed-off-by: Mark Knibbs <markk@...>

---
diff -up linux-3.17-rc5/drivers/usb/storage/initializers.c.orig linux-3.17-rc5/drivers/usb/storage/initializers.c
--- linux-3.17-rc5/drivers/usb/storage/initializers.c.orig	2014-09-15 01:50:12.000000000 +0100
+++ linux-3.17-rc5/drivers/usb/storage/initializers.c	2014-09-21 19:47:32.000000000 +0100
 <at>  <at>  -52,7 +52,7  <at>  <at>  int usb_stor_euscsi_init(struct us_data
 	us->iobuf[0] = 0x1;
 	result = usb_stor_control_msg(us, us->send_ctrl_pipe,
 			0x0C, USB_RECIP_INTERFACE | USB_TYPE_VENDOR,
-			0x01, 0x0, us->iobuf, 0x1, 5000);
+			0x01, 0x0, us->iobuf, 0x1, USB_CTRL_SET_TIMEOUT);
 	usb_stor_dbg(us, "-- result is %d\n", result);

 	return 0;
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@...
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Tony Lindgren | 20 Sep 17:50 2014

[PATCH] libusbg: Fix usbg_disable_gadget to actually clear the UDC

Currently usbg_disable_gadget() does not actually write anything
to UDC to clear it and the configured UDC name stays there.

Signed-off-by: Tony Lindgren <tony@...>

---

Matt, maybe check if you want to have this fixed in some other way?

--- a/src/usbg.c
+++ b/src/usbg.c
 <at>  <at>  -1994,7 +1994,7  <at>  <at>  int usbg_disable_gadget(usbg_gadget *g)

 	if (g) {
 		strcpy(g->udc, "");
-		ret = usbg_write_string(g->path, g->name, "UDC", "");
+		ret = usbg_write_string(g->path, g->name, "UDC", "\n");
 	}

 	return ret;
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@...
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Paul Zimmerman | 19 Sep 22:52 2014

Take dwc2 driver through Felipe's tree?

Hi Greg,

How would you feel about Felipe taking the dwc2 driver into his tree?
There has been quite a bit of increased activity with dwc2 lately, and
I know you already have more than enough stuff on your plate already.
So this would mean one less thing for you to worry about. Plus it
would mean an extra layer of review before getting to you.

I've already talked to Felipe about it, and he's fine with it. If
you're OK with it, I think I just need to send a patch adding a T:
line to the MAINTAINERS entry, showing Felipe's tree?

I guess we would want to do this just before you close your USB tree,
and you could announce it then?

--

-- 
Paul

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@...
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Gmane