Re: 10 seconds lag when connecting UPS device (usb_submit_urb(ctrl) failed: -1)

2012-08-12 Thread Laurent Bigonville
Le Sat, 11 Aug 2012 15:11:28 -0400 (EDT), Alan Stern a écrit : > On Sat, 11 Aug 2012, Laurent Bigonville wrote: > > > Le Sat, 11 Aug 2012 14:01:21 -0400 (EDT), > > Alan Stern a écrit : > > > > Hi, Hi, > > > > > Try using usbmon to see what happens when the UPS is plugged in > > > (instruct

[PATCH net 0/3] qmi_wwan: simplify device matching and add a few new devices

2012-08-12 Thread Bjørn Mork
The home cooked whitelisting code can be removed now that the USB core supports interface number matching. The second patch adds a few new devices. The third patch improves device list readability by using existing macros where possible. I hope this can go in 3.6-rc2/3. The series is based on t

[PATCH net 2/3] net: qmi_wwan: add Sierra Wireless devices

2012-08-12 Thread Bjørn Mork
Add 6 new devices and one modified device, based on information from laptop vendor Windows drivers. Sony provides a driver with two new devices using a Gobi 2k+ layout (1199:68a5 and 1199:68a9). The Sony driver also adds a non-standard QMI/net interface to the already supported 1199:9011 Gobi dev

[PATCH net 1/3] net: qmi_wwan: use fixed interface number matching

2012-08-12 Thread Bjørn Mork
This driver support many composite USB devices where the interface class/subclass/protocol provides no information about the interface function. Interfaces with different functions may all use ff/ff/ff, like this example of a device with three serial interfaces and three QMI/wwan interfaces: T: B

[PATCH net 3/3] net: qmi_wwan: compress device_id list using macros

2012-08-12 Thread Bjørn Mork
Take advantage of the matching macros to make the device id list easier to read and maintain. Signed-off-by: Bjørn Mork --- drivers/net/usb/qmi_wwan.c | 25 - 1 file changed, 4 insertions(+), 21 deletions(-) diff --git a/drivers/net/usb/qmi_wwan.c b/drivers/net/usb/qmi

[PATCH net] net: sierra_net: replace whitelist with ifnumber match

2012-08-12 Thread Bjørn Mork
Signed-off-by: Bjørn Mork --- This driver can also be simplified by using the new interface number matching, avoiding unnecessary probing of unsupported interfaces at the same time. Please apply to "net". drivers/net/usb/sierra_net.c | 52 ++ 1 file c

Re: [PATCH net] net: sierra_net: replace whitelist with ifnumber match

2012-08-12 Thread David Miller
From: Bjørn Mork Date: Sun, 12 Aug 2012 21:53:38 +0200 > Please apply to "net". Simplifications and cleanups are not appropriate for the 'net' tree. I would say that all of the patches you posted today are 'net-next' material. -- To unsubscribe from this list: send the line "unsubscribe linux-u

Re: [Regression, post-3.5] NULL pointer dereference in usb-wwan after resume from system suspend

2012-08-12 Thread Rafael J. Wysocki
On Sunday, August 12, 2012, Greg Kroah-Hartman wrote: > On Sun, Aug 12, 2012 at 12:39:19AM +0200, Rafael J. Wysocki wrote: > > Hi, > > > > The usb-wwan driver triggers a NULL pointer dereference oops after resume > > from system suspend on my Toshiba Portege R500, but since that driver > > hasn't

Re: [PATCH net] net: sierra_net: replace whitelist with ifnumber match

2012-08-12 Thread Bjørn Mork
David Miller writes: > From: Bjørn Mork > Date: Sun, 12 Aug 2012 21:53:38 +0200 > >> Please apply to "net". > > Simplifications and cleanups are not appropriate for the 'net' > tree. > > I would say that all of the patches you posted today are > 'net-next' material. OK, I'll of course have to a

Re: 10 seconds lag when connecting UPS device (usb_submit_urb(ctrl) failed: -1)

2012-08-12 Thread Alan Stern
On Sun, 12 Aug 2012, Laurent Bigonville wrote: > > I don't know how well this will work, but you can tell the computer > > not to ask for all those reports by using an appropriate module > > parameter for the usbhid driver: > > > > modprobe usbhid quirks=0x0463:0x:0x8 > > > > Or maybe yo

Re: Infinite looping in omap2430.c USB driver

2012-08-12 Thread NeilBrown
On Thu, 9 Aug 2012 14:15:51 +0300 Felipe Balbi wrote: > hehe, that's nasty. Please send a patch converting to a try count and a > udelay_range(), or something. > how's this? Thanks, NeilBrown From: NeilBrown Date: Mon, 13 Aug 2012 12:32:58 +1000 Subject: [PATCH] omap2430: don't loop indefi

RE: [PATCH 2/2] powerpc/usb: fix bug of CPU hang when missing USB PHY clock

2012-08-12 Thread Liu Shengzhou-B36685
> -Original Message- > From: Kumar Gala [mailto:ga...@kernel.crashing.org] > Sent: Friday, August 10, 2012 9:50 PM > To: Liu Shengzhou-B36685 > Cc: linuxppc-...@lists.ozlabs.org list; linux-usb@vger.kernel.org; > gre...@linuxfoundation.org > Subject: Re: [PATCH 2/2] powerpc/usb: fix bug o

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

2012-08-12 Thread Alex Shi
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 patches now, and I'll send this off >> to him. > > Yes, I am taking 3.