Re: xhci inc_deq question

2012-08-18 Thread Sebastian Andrzej Siewior
On Wed, Aug 08, 2012 at 08:55:37PM +0800, loody wrote: > when I study inc_deq in xhci-ring.c, why we need to announce and > assigned value to "addr" > it seems useless. Unless Sarah plans to use addr for debug output you can remove this addr and the one in the function below. Sebastian -- To unsu

Re: [BUG] - USB3 bluetooth device not working properly?

2012-08-18 Thread Andiry Xu
On Fri, Aug 17, 2012 at 10:58 PM, Miroslav Sabljic wrote: > Hi all! > > I'm not sure is this the right place to make this question so please point > me to correct place and I will resend my question. > > I'm having problems with latest kernel v3.6-rc1. I'm using Ubuntu 12.04 with > latest updates,

3.0 device attached to USB 3.0 hub port doesn't respond address device command after resume

2012-08-18 Thread VIKAS SAJJAN C
Hi All, we have added Suspend / resume code for DWC USB 3 controller and xhic-plat.c on 3.4 kernel. the scenario when i have Corsair 3.0 USB device sitting on VIA 3.0 SS hub connected to 3.0 port, after resume , i get these error 176.942208] xhci-hcd xhci-hcd: Timeout while waiting f

Re: xhci inc_deq question

2012-08-18 Thread loody
hi Sebastian 2012/8/18 Sebastian Andrzej Siewior : > On Wed, Aug 08, 2012 at 08:55:37PM +0800, loody wrote: >> when I study inc_deq in xhci-ring.c, why we need to announce and >> assigned value to "addr" >> it seems useless. > > Unless Sarah plans to use addr for debug output you can remove this a

Re: [BUG] - USB3 bluetooth device not working properly?

2012-08-18 Thread Miroslav Sabljic
On 08/18/2012 12:33 PM, Andiry Xu wrote: From the dmesg, it looks like your xhci host controller is in a mess. It either does not respond to the address device command, or just return an invalid response. And worse, the memory is leaked. I think the host controller is not initialized properly

Re: [BUG] - USB3 bluetooth device not working properly?

2012-08-18 Thread Andiry Xu
On Sat, Aug 18, 2012 at 8:16 PM, Miroslav Sabljic wrote: > On 08/18/2012 12:33 PM, Andiry Xu wrote: > >>> From the dmesg, it looks like your xhci host controller is in a mess. >> >> It either does not respond to the address device command, or just >> return an invalid response. And worse, the memo

[PATCH] usb host: fix spelling of provides in Kconfig

2012-08-18 Thread Peter Meerwald
Signed-off-by: Peter Meerwald --- drivers/usb/host/Kconfig |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig index 075d2ec..7cac2e8 100644 --- a/drivers/usb/host/Kconfig +++ b/drivers/usb/host/Kconfig @@ -418,7 +418,7 @

Re: add ZTE EV_DO to a proper driver

2012-08-18 Thread nirinA raseliarison
on Sat, 18 Aug 2012 03:02:13 +0300, Greg KH wrote: > On Thu, Jul 26, 2012 at 05:51:59PM +0300, nirinA raseliarison wrote: >> hi Greg, >> >> Le Thu, 26 Jul 2012 01:04:08 +0300, Greg KH >> a >> écrit: >> >> >On Wed, Jul 25, 2012 at 12:51:34PM -0700, nirinA raseliarison wrote: >> >>hello there, >

[PATCH] usb musb: fix spelling of families in Kconfig

2012-08-18 Thread Peter Meerwald
Signed-off-by: Peter Meerwald --- drivers/usb/musb/Kconfig |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/musb/Kconfig b/drivers/usb/musb/Kconfig index ef0c3f9..2c74188 100644 --- a/drivers/usb/musb/Kconfig +++ b/drivers/usb/musb/Kconfig @@ -20,7 +20,7 @@ confi

linux 3.6-rc2, undefined reference to omap_musb_mailbox

2012-08-18 Thread Peter Meerwald
3.6-rc2 fails to compile with CONFIG_USB_MUSB_HDRC=m CONFIG_USB_MUSB_OMAP2PLUS=m LD init/built-in.o drivers/built-in.o: In function `twl4030_usb_irq': /home/pmeerw/linux-3.6-rc2/drivers/usb/otg/twl4030-usb.c:518: undefined reference to `omap_musb_mailbox' drivers/built-in.o: In function

Re: add ZTE EV_DO to a proper driver

2012-08-18 Thread Greg KH
On Sat, Aug 18, 2012 at 07:57:21AM -0700, nirinA raseliarison wrote: > on Sat, 18 Aug 2012 03:02:13 +0300, Greg KH > wrote: > > > On Thu, Jul 26, 2012 at 05:51:59PM +0300, nirinA raseliarison wrote: > >> hi Greg, > >> > >> Le Thu, 26 Jul 2012 01:04:08 +0300, Greg KH > >> a > >> écrit: > >> >

Re: Kernel oops on usbhid_submit_report (updates)

2012-08-18 Thread Amit Uttamchandani
On Fri, Aug 17, 2012 at 10:04:24PM -0400, Alan Stern wrote: [snip] Thanks for the reply. > > > > Some updates: > > > > After running usbmon, I realized that the paging request address is the > > address of the urb. > > That doesn't make sense. implement() shouldn't know anything about the >

Re: add ZTE EV_DO to a proper driver

2012-08-18 Thread nirinA raseliarison
Le Sat, 18 Aug 2012 19:18:31 +0300, Greg KH a écrit: On Sat, Aug 18, 2012 at 07:57:21AM -0700, nirinA raseliarison wrote: on Sat, 18 Aug 2012 03:02:13 +0300, Greg KH wrote: > On Thu, Jul 26, 2012 at 05:51:59PM +0300, nirinA raseliarison wrote: >> hi Greg, >> >> Le Thu, 26 Jul 2012 01:04:08

Re: Kernel oops on usbhid_submit_report (updates)

2012-08-18 Thread Alan Stern
On Sat, 18 Aug 2012, Amit Uttamchandani wrote: > On Fri, Aug 17, 2012 at 10:04:24PM -0400, Alan Stern wrote: > > [snip] > > Thanks for the reply. > > > > > > > Some updates: > > > > > > After running usbmon, I realized that the paging request address is the > > > address of the urb. > > > >

Re: Kernel oops on usbhid_submit_report (updates)

2012-08-18 Thread Alan Stern
On Sat, 18 Aug 2012, Alan Stern wrote: > > Looking at the output of usbmon, the kernel re-uses URB addresses. Is it > > possible that the urb is freed while the instruction is in > > *implement()*? > > In fact, the usbhid driver does not free any URBs until it is unbound > from the device. It k