Re: [PATCH 11/12] usb: serial: usb_debug: add support for dbc debug device

2015-10-30 Thread Lu, Baolu
On 10/30/2015 10:41 PM, Greg Kroah-Hartman wrote: On Fri, Oct 30, 2015 at 07:46:45PM +0800, Lu, Baolu wrote: On 10/28/2015 08:33 PM, Greg Kroah-Hartman wrote: On Wed, Oct 28, 2015 at 04:00:42PM +0800, Lu Baolu wrote: This patch add dbc debug device support in usb_debug driver. Signed-off-b

Re: [REPOST PATCH 0/3] dwc2 patches to allow wakeup on Rockchip rk3288

2015-10-30 Thread Doug Anderson
John, On Mon, Oct 26, 2015 at 7:05 PM, John Youn wrote: > On 10/21/2015 9:23 AM, Doug Anderson wrote: >> John, >> >> On Mon, Jul 6, 2015 at 11:27 AM, Douglas Anderson >> wrote: >>> This series of patches, together with >>> from Chris Zhong and a >>>

Re: [PATCH] HID: microsoft: Add support for Surface Pro 4 Type Cover

2015-10-30 Thread Jiri Kosina
On Fri, 30 Oct 2015, Andy Shevchenko wrote: > >> Adding support for device 0x07e8 (SP4 Type Cover) > >> > >> Signed-off-by: savoca > > > > Thanks for the patch. > > > > The authorship and signoffs should same real names though. Could you > > please resend with that fixed? > > > > Have you guys n

Re: [PATCH 1/2] usb: dwc2: host: Fix missing device insertions

2015-10-30 Thread John Youn
On 10/16/2015 3:10 PM, Douglas Anderson wrote: > If you've got your interrupt signals bouncing a bit as you insert your > USB device, you might end up in a state when the device is connected but > the driver doesn't know it. > > Specifically, the observed order is: > 1. hardware sees connect > 2

[PATCH] RFT: usb: dwc2: bus suspend/resume that's not hibernate

2015-10-30 Thread Douglas Anderson
This is an attempt to rehash commit 0cf884e819e0 ("usb: dwc2: add bus suspend/resume for dwc2") on ToT. That commit was reverted in commit b0bb9bb6ce01 ("Revert "usb: dwc2: add bus suspend/resume for dwc2"") because apparently it broke the Altera SOCFPGA. With all the changes that have happened t

[PATCH v2 1/2] usb: dwc2: optionally assert phy "full reset" when waking up

2015-10-30 Thread Douglas Anderson
From: Doug Anderson On the rk3288 USB host-only port (the one that's not the OTG-enabled port) the PHY can get into a bad state when a wakeup is asserted (not just a wakeup from full system suspend but also a wakeup from autosuspend). We can get the PHY out of its bad state by asserting its "por

[PATCH v2 0/2] Patches to fix remote wakeup on rk3288 dwc2 "host" port

2015-10-30 Thread Douglas Anderson
On the rk3288 USB host-only port (the one that's not the OTG-enabled port) the PHY can get into a bad state when a wakeup is asserted (not just a wakeup from full system suspend but also a wakeup from autosuspend). We can get the PHY out of its bad state by asserting its "port reset", but unfortun

Re: [PATCH] HID: microsoft: Add support for Surface Pro 4 Type Cover

2015-10-30 Thread Andy Shevchenko
On Fri, Oct 30, 2015 at 9:21 PM, Kenny Speer wrote: > Hi All, what information would you like? Just found many patches are flying around to support MS Surface 3 / Pro 3 / Pro 4 / Book. https://groups.google.com/forum/?hl=en#!topic/linux-surface/VlE9JGvxEyg I'm actually interested in Book support

Re: [PATCH] HID: microsoft: Add support for Surface Pro 4 Type Cover

2015-10-30 Thread Andy Shevchenko
Summon author, Kenny, of the mentioned patch. On Fri, Oct 30, 2015 at 7:49 PM, Andy Shevchenko wrote: > On Fri, Oct 30, 2015 at 3:53 PM, Jiri Kosina wrote: >> On Tue, 27 Oct 2015, savoca wrote: >> >>> Adding support for device 0x07e8 (SP4 Type Cover) >>> >>> Signed-off-by: savoca >> >> Thanks f

[PATCH] HID: microsoft: Add support for Surface Pro 4 Type Cover

2015-10-30 Thread savoca
From: Alex Deddo Adding support for device 0x07e8 (SP4 Type Cover) Signed-off-by: Alex Deddo --- drivers/hid/hid-core.c | 2 ++ drivers/hid/hid-ids.h | 1 + drivers/hid/hid-microsoft.c | 2 ++ drivers/hid/usbhid/hid-quirks.c | 1 + 4 files changed, 6 insertions(+) diff

Re: [PATCH] HID: microsoft: Add support for Surface Pro 4 Type Cover

2015-10-30 Thread Andy Shevchenko
On Fri, Oct 30, 2015 at 3:53 PM, Jiri Kosina wrote: > On Tue, 27 Oct 2015, savoca wrote: > >> Adding support for device 0x07e8 (SP4 Type Cover) >> >> Signed-off-by: savoca > > Thanks for the patch. > > The authorship and signoffs should same real names though. Could you > please resend with that

Re: [PATCH] usb: storage: scsiglue: increase transfer size limit

2015-10-30 Thread Felipe Balbi
Hi, Alan Stern writes: >> >> Moreover, the same way that we can use sysfs to increase max_sectors, we >> >> can use it to decrease everytime we find a broken device. I really >> >> wonder if they still are available in the market. So, wouldn't a better >> >> default be 2048 and we decrease this

Re: Help needed for EHCI problem: removing an active bulk-in QH

2015-10-30 Thread Alan Stern
On Fri, 30 Oct 2015, Peter Chen wrote: > After reading spec at 4.8.2: > > Software must not remove an active queue head from the schedule. > Software should first deactivate all active qTDs, wait for the > queue head to go inactive, then remove the queue head from the > asynchronous list. > > Bu

Re: [PATCH] usb: storage: scsiglue: increase transfer size limit

2015-10-30 Thread Alan Stern
On Thu, 29 Oct 2015, Felipe Balbi wrote: > >> Moreover, the same way that we can use sysfs to increase max_sectors, we > >> can use it to decrease everytime we find a broken device. I really > >> wonder if they still are available in the market. So, wouldn't a better > >> default be 2048 and we de

Re: [PATCH 01/12] usb: xhci: expose xhci extended capabilities via debugfs

2015-10-30 Thread Greg Kroah-Hartman
On Fri, Oct 30, 2015 at 08:09:17PM +0800, Lu, Baolu wrote: > > > On 10/28/2015 08:40 PM, Greg Kroah-Hartman wrote: > >>+static const char *get_extcap_desc(u32 cap_id) > >>>+{ > >>>+ switch (cap_id) { > >>>+ case XHCI_EXT_CAPS_LEGACY: > >>>+ return "USB Legacy Support"; > >>>+ case XHC

Re: [PATCH 11/12] usb: serial: usb_debug: add support for dbc debug device

2015-10-30 Thread Greg Kroah-Hartman
On Fri, Oct 30, 2015 at 07:46:45PM +0800, Lu, Baolu wrote: > > > On 10/28/2015 08:33 PM, Greg Kroah-Hartman wrote: > >On Wed, Oct 28, 2015 at 04:00:42PM +0800, Lu Baolu wrote: > >>This patch add dbc debug device support in usb_debug driver. > >> > >>Signed-off-by: Lu Baolu > >>--- > >> drivers/

Re: f_loopback's new problem

2015-10-30 Thread Felipe Balbi
Krzysztof Opasiak writes: > On 10/30/2015 08:31 AM, Peter Chen wrote: >> Hi Krzysztof and Felipe, >> >> With commit (91c42b0d usb: gadget: loopback: Fix looping back logic >> implementation), the gadget loopback supports real loopback function >> that is read data from the host, and them send the

Re: [PATCH] HID: microsoft: Add support for Surface Pro 4 Type Cover

2015-10-30 Thread Jiri Kosina
On Tue, 27 Oct 2015, savoca wrote: > Adding support for device 0x07e8 (SP4 Type Cover) > > Signed-off-by: savoca Thanks for the patch. The authorship and signoffs should same real names though. Could you please resend with that fixed? -- Jiri Kosina SUSE Labs -- To unsubscribe from this li

Re: [PATCH v3 1/1] usb: xhci: fix checking ep busy for CFC

2015-10-30 Thread Mathias Nyman
On 29.10.2015 16:24, Lu Baolu wrote: Function ep_ring_is_processing() checks the dequeue pointer in endpoint context to know whether an endpoint is busy with processing TRBs. This is not correct since dequeue pointer field in an endpoint context is only valid when the endpoint is in Halted or Sto

Re: [PATCH 01/12] usb: xhci: expose xhci extended capabilities via debugfs

2015-10-30 Thread Lu, Baolu
On 10/28/2015 08:40 PM, Greg Kroah-Hartman wrote: +static const char *get_extcap_desc(u32 cap_id) >+{ >+ switch (cap_id) { >+ case XHCI_EXT_CAPS_LEGACY: >+ return "USB Legacy Support"; >+ case XHCI_EXT_CAPS_PROTOCOL: >+ return "Supported Protocol"; >+ case XHCI_EXT_C

Re: [PATCH 11/12] usb: serial: usb_debug: add support for dbc debug device

2015-10-30 Thread Lu, Baolu
On 10/28/2015 08:33 PM, Greg Kroah-Hartman wrote: On Wed, Oct 28, 2015 at 04:00:42PM +0800, Lu Baolu wrote: This patch add dbc debug device support in usb_debug driver. Signed-off-by: Lu Baolu --- drivers/usb/serial/usb_debug.c | 29 ++--- 1 file changed, 26 insert

hitel

2015-10-30 Thread LADDER LOANS
-- Üdvözlet mindenkinek odakint, Ez Molly Logan -tól LADDER LOANS Cég székhelye UK. Bármit is van a cél, LADDER LOANS segíthet megvalósítani ezt a célt. Lehet, hogy a felújításokat, az autó meg kell, oly módon, hogy megszilárdítsa az adósságait, az ünnep már dolgozott olyan keményen, va

Re: f_loopback warning

2015-10-30 Thread Krzysztof Opasiak
On 10/30/2015 07:56 AM, Peter Chen wrote: On Thu, Oct 29, 2015 at 02:53:46PM +0100, Krzysztof Opasiak wrote: On 10/29/2015 10:36 AM, Peter Chen wrote: Hi, It is due to try to allocate memory with GFP_KERNEL at ISR, below change can fix it, if not better solution, I can submit a patch. dif

Re: f_loopback's new problem

2015-10-30 Thread Krzysztof Opasiak
On 10/30/2015 08:31 AM, Peter Chen wrote: Hi Krzysztof and Felipe, With commit (91c42b0d usb: gadget: loopback: Fix looping back logic implementation), the gadget loopback supports real loopback function that is read data from the host, and them send the same data back. But it breaks the test

Re: [PATCH] usb: dwc2: host: Fix remote wakeup when not in DWC2_L2

2015-10-30 Thread Herrero, Gregory
On Fri, Oct 30, 2015 at 03:21:29AM +, John Youn wrote: > On 10/29/2015 9:43 AM, Doug Anderson wrote: > > John, > > > > On Thu, Oct 22, 2015 at 1:05 PM, Douglas Anderson > > wrote: > >> In commit 734643dfbdde ("usb: dwc2: host: add flag to reflect bus > >> state") we changed dwc2_port_suspend

Re: [PATCH] usb: dwc2: host: Fix ahbcfg for rk3066

2015-10-30 Thread Liangfeng Wu
On 10/21/2015 07:33 AM, Douglas Anderson wrote: The comment for ahbcfg for rk3066 parameters (also used for rk3288) claimed that ahbcfg was INCR16, but it wasn't. Since the bits weren't shifted properly, the 0x7 ended up being masked and we ended up programming 0x3 for the HBstLen. Let's set it

f_loopback's new problem

2015-10-30 Thread Peter Chen
Hi Krzysztof and Felipe, With commit (91c42b0d usb: gadget: loopback: Fix looping back logic implementation), the gadget loopback supports real loopback function that is read data from the host, and them send the same data back. But it breaks the testing function between f_loopback and usbtest, u