Re: usb3 writes fail with transcend rdf8 + ASMedia ASM1042 woes

2012-08-25 Thread Andiry Xu
On Fri, Aug 24, 2012 at 7:16 PM, Sami Farin wrote: > On Sun, Jul 15, 2012 at 11:14:13 -0400, Alan Stern wrote: > ... >> In past years I have found that Genesys's devices tend to be rather >> buggy. This card reader continues the tradition. Basically, although >> the firmware works reasonably wel

Re: [PATCH 1/1] xhci: Recognize USB 3.0 devices as superspeed at powerup

2012-08-25 Thread Andiry Xu
On Thu, Aug 23, 2012 at 12:53 AM, wrote: > From: Manoj Iyer > > On Intel Panther Point chipset USB 3.0 devices show up as > high-speed devices on powerup, but after an s3 cycle they are > correctly recognized as SuperSpeed. At powerup switch the port > to xHCI so that USB 3.0 devices are correct

Re: Potential fsg->state problem at file_storage.c

2012-08-25 Thread Sebastian Andrzej Siewior
On Fri, Aug 24, 2012 at 10:50:54AM -0400, Alan Stern wrote: > Sebastian, you might be able to check this yourself. What does > tcm_usb_gadget do when it gets a USB port reset? Does it tell the > storage layer to sync all the dirty pages? No, it leavs the storage layer alone. > Also, does it sy

Re: [PATCH 1/3] usb: otg: Improve phy handling

2012-08-25 Thread Marc Kleine-Budde
On 08/24/2012 03:59 AM, Richard Zhao wrote: > On Thu, Aug 23, 2012 at 07:22:51PM +0200, Marc Kleine-Budde wrote: >> This patch series improves the phy handling. >> >> The first patch fixes the problem that the phy driver, when build as module, >> can be unloaded when the phy is in use. > ci13xxx_im

Re: [PATCH 3/3] usb: mxs-phy: register phy as USB_PHY_TYPE_USB2

2012-08-25 Thread Marc Kleine-Budde
On 08/24/2012 08:51 AM, Richard Zhao wrote: > On Thu, Aug 23, 2012 at 07:22:54PM +0200, Marc Kleine-Budde wrote: >> This patch registers the msx-phy as an USB_PHY_TYPE_USB2. This is needed to >> get >> reference to the phy with devm_usb_get_phy_by_phandle(), which will be added >> in >> a later p

Re: Potential fsg->state problem at file_storage.c

2012-08-25 Thread Alan Stern
On Sat, 25 Aug 2012, Sebastian Andrzej Siewior wrote: > On Fri, Aug 24, 2012 at 10:50:54AM -0400, Alan Stern wrote: > > Sebastian, you might be able to check this yourself. What does > > tcm_usb_gadget do when it gets a USB port reset? Does it tell the > > storage layer to sync all the dirty p

Re: [Patch] block: remove the deprecated ub driver

2012-08-25 Thread Sebastian Andrzej Siewior
On Sat, Aug 25, 2012 at 11:51:23PM +0800, Cong Wang wrote: > From: Cong Wang > > It is scheduled to be removed in 3.6. This should go via Greg and linux-usb and you should put Pete Zaitcev on Cc. I have a patch in my try doing this and removing the libusual which is obsolete since there is only

Re: Potential fsg->state problem at file_storage.c

2012-08-25 Thread Sebastian Andrzej Siewior
On Sat, Aug 25, 2012 at 10:35:34AM -0400, Alan Stern wrote: > For safety's sake, it would be a good idea to flush the dirty pages > when a disconnect occurs. It does not look like there is an API for this (yet). > > Nothing happens on US_BULK_RESET_REQUEST or on function.disable callback. > > I

Re: [PATCH 2/3] usb: otg: add device tree support to otg library

2012-08-25 Thread Marc Kleine-Budde
On 08/24/2012 08:46 AM, Richard Zhao wrote: > Did you try both enableing and disabing DT pass build? Impossible on mx28 :) The platform always selects USE_DT, but on imx it builds without DT support. > On Thu, Aug 23, 2012 at 07:22:53PM +0200, Marc Kleine-Budde wrote: >> From: Kishon Vijay Abraha

Re: [PATCH V3] usb: gadget: bcm63xx UDC driver

2012-08-25 Thread Kevin Cernekee
On Wed, Aug 22, 2012 at 12:48 AM, Sebastian Andrzej Siewior wrote: > Just one thing that bit while I was sleeping: > The HW acks SetConfig on its own. Once you notice this, you set > ->ep0_req_set_cfg and set state in bcm63xx_ep0_do_idle() to > EP0_IN_FAKE_STATUS_PHASE. This is I guess the workaro

Re: USB sound card device complains about "error -28: not enough bandwidth" only on specific PC hardware, seems not kernel specific

2012-08-25 Thread David Ranch
Hello Alan, Ok... I've uploaded the DEBUG enabled 3.5.2 kernel logs as requested and I'm working on getting the USB snooping going on the old Athlon 1.1Ghz Windows XP machine (yuk!). http://www.trinityos.com/SCRATCH/ Regardless of getting this possible high-speed hack working, could you

[PATCH 3/6] drivers/usb/gadget/lpc32xx_udc.c: adjust inconsistent IS_ERR and PTR_ERR

2012-08-25 Thread Julia Lawall
From: Julia Lawall Change the call to PTR_ERR to access the value just tested by IS_ERR. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression e,e1; @@ ( if (IS_ERR(e)) { ... PTR_ERR(e) ... } | if (IS_ERR(e=e1)) { ... PTR_ERR(e) ... } | *if (I

[PATCH 4/6] drivers/usb/host/ohci-nxp.c: adjust inconsistent IS_ERR and PTR_ERR

2012-08-25 Thread Julia Lawall
From: Julia Lawall Change the call to PTR_ERR to access the value just tested by IS_ERR. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression e,e1; @@ ( if (IS_ERR(e)) { ... PTR_ERR(e) ... } | if (IS_ERR(e=e1)) { ... PTR_ERR(e) ... } | *if (I

Re: [PATCH V3] usb: gadget: bcm63xx UDC driver

2012-08-25 Thread Alan Stern
On Sat, 25 Aug 2012, Kevin Cernekee wrote: > I am hoping that these invalid SET_CONFIGURATION / SET_INTERFACE > requests are uncommon. In what sorts of situations will a host > request a configuration that isn't advertised in the device's > descriptors? I had trouble just convincing usb_set_inte

Re: USB sound card device complains about "error -28: not enough bandwidth" only on specific PC hardware, seems not kernel specific

2012-08-25 Thread Alan Stern
On Sat, 25 Aug 2012, David Ranch wrote: > Hello Alan, > > Ok... I've uploaded the DEBUG enabled 3.5.2 kernel logs as requested and > I'm working on getting the USB snooping going on the old Athlon 1.1Ghz > Windows XP machine (yuk!). > > http://www.trinityos.com/SCRATCH/ > > > Regardless

usb: cdc-acm: remove duplicated include from cdc-acm.c

2012-08-25 Thread Wei Yongjun
From: Wei Yongjun Remove duplicated include. Signed-off-by: Wei Yongjun --- drivers/usb/class/cdc-acm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c index 56d6bf6..9e16f51 100644 --- a/drivers/usb/class/cdc-acm.c +++ b/drivers/usb

Re: [PATCH] usb/xhci: unify parameter of xhci_msi_irq

2012-08-25 Thread Sarah Sharp
On Mon, Aug 13, 2012 at 01:59:00PM +0800, Alex Shi wrote: > On 06/12/2012 05:14 AM, gregkh wrote: > > > On Mon, Jun 11, 2012 at 01:47:09PM -0700, Sarah Sharp wrote: > >> Hi Alex, > >> > >> This got lost in the 3.5 push, but I think it's a good candidate for > >> 3.6. I think Greg is accepting 3.6

Re: Virtualbox/Vmware usb device is working but on installed linux not.

2012-08-25 Thread Alan Stern
On Sat, 25 Aug 2012, adam ? wrote: > https://bugzilla.kernel.org/show_bug.cgi?id=46411 Please post a usbmon trace showing what happens when your device is plugged into a real linux system (not a virtual machine). Instructions are in the kernel source file Documentation/usb/usbmon.txt. Alan St

Re: [Patch] block: remove the deprecated ub driver

2012-08-25 Thread Cong Wang
On Sun, Aug 26, 2012 at 1:37 AM, Sebastian Andrzej Siewior wrote: > On Sat, Aug 25, 2012 at 11:51:23PM +0800, Cong Wang wrote: >> From: Cong Wang >> >> It is scheduled to be removed in 3.6. > > This should go via Greg and linux-usb and you should put Pete Zaitcev on Cc. Will do. > I have a patc