Re: Bug report: 045e:0721 Microsoft LifeCam NX-3000 not detected

2013-08-31 Thread Jürgen Liebmann
Laurent, how can I set the UVC_QUIRK_PROBE_DEF quirk? I'm only a user, not a expert or programmer! Jürgen Am 01.09.2013 00:05, schrieb Laurent Pinchart: Hi Alan and Jürgen, On Friday 30 August 2013 11:02:15 Alan Stern wrote: On Fri, 30 Aug 2013, Jürgen Liebmann wrote: > Another mystery effect

Re: [PATCH 1/3] usbcore: set lpm_capable field for LPM capable root hubs

2013-08-31 Thread Greg KH
On Sun, Sep 01, 2013 at 02:56:42AM +0200, Martin MOKREJŠ wrote: > > > Martin MOKREJŠ wrote: > > Hi Xenia, > > I tried these 3 patches and ... I will rather leave it up to you to decide > > if everything went right. Attached is a diff of dmesg from unpatched and > > patched > > 3.10.9 kernel. U

Re: [PATCH 1/3] usbcore: set lpm_capable field for LPM capable root hubs

2013-08-31 Thread Martin MOKREJŠ
Martin MOKREJŠ wrote: > Hi Xenia, > I tried these 3 patches and ... I will rather leave it up to you to decide > if everything went right. Attached is a diff of dmesg from unpatched and > patched > 3.10.9 kernel. USB3 devices were connected before cold bootup, sadly in > latter test > the ord

Re: Bug report: 045e:0721 Microsoft LifeCam NX-3000 not detected

2013-08-31 Thread Laurent Pinchart
Hi Alan and Jürgen, On Friday 30 August 2013 11:02:15 Alan Stern wrote: > On Fri, 30 Aug 2013, Jürgen Liebmann wrote: > > Another mystery effect: > > > > I have Ubuntu with the same kernel installed in a virtual machine > > (virtualbox). > > > > When I plug in the camera in the host the error ap

Re: [PATCH 1/1] arm: dts: am33xx: correcting dt node unit address for usb

2013-08-31 Thread Mugunthan V N
On Saturday 31 August 2013 11:12 PM, Sergei Shtylyov wrote: > Hello. > > On 08/30/2013 09:52 PM, Mugunthan V N wrote: > >> DT node's unit address should be its own register offset address to >> make it a >> unique across the system. This patch corrects the incorrect USB >> entries with >> correct r

Re: Bug report: 045e:0721 Microsoft LifeCam NX-3000 not detected

2013-08-31 Thread Alan Stern
On Sat, 31 Aug 2013, Jürgen Liebmann wrote: > Hi Alan, thank you for your help. > This patch fixed this problem! Now the camera works fine. > > Then I download the newest kernel (3.11.0-rc7), this contain the same error. > I checked out this kernel, inserted your patch and the camera works fine!

Re: [PATCH 3/3] usbcore: fix read of usbdevfs_ctrltransfer fields in proc_control()

2013-08-31 Thread Alan Stern
On Sat, 31 Aug 2013, Xenia Ragiadakou wrote: > Urb fields are stored in struct usbdevfs_ctrltransfer in CPU byteorder > and not in little endian, so there is no need to be converted. > This bug was reported by sparse. > > Signed-off-by: Xenia Ragiadakou > --- > drivers/usb/core/devio.c | 6 ++--

Re: [PATCH 1/1] arm: dts: am33xx: correcting dt node unit address for usb

2013-08-31 Thread Sergei Shtylyov
Hello. On 08/30/2013 09:52 PM, Mugunthan V N wrote: DT node's unit address should be its own register offset address to make it a unique across the system. This patch corrects the incorrect USB entries with correct register offset for unit address. Cc: Sebastian Andrzej Siewior Cc: Felipe B

[PATCH v4:No Change] xHCI:Fixing xhci_readl definition and function call

2013-08-31 Thread Kumar Gaurav
This patch redefine function xhci_readl. xhci_readl function doesn't use xhci_hcd argument. Hence there is no need of keeping it in the function arguments. Redefining this function breaks other functions which calls this function. This phatch also correct those calls in xhci driver. Signed-off

Re: Bug report: 045e:0721 Microsoft LifeCam NX-3000 not detected

2013-08-31 Thread Jürgen Liebmann
Hi Alan, thank you for your help. This patch fixed this problem! Now the camera works fine. Then I download the newest kernel (3.11.0-rc7), this contain the same error. I checked out this kernel, inserted your patch and the camera works fine! This place is therefore definitely the cause of my pr

[PATCH 2/3] usbcore: fix incorrect type in assignment in usb_set_lpm_parameters()

2013-08-31 Thread Xenia Ragiadakou
In the bos usb_ss_cap_descriptor structure, bU2DevExitLat is of type __le16. This value is used as it is, without being first converted to the CPU byteorder, for the setup of usb device's usb3_lpm_parameters. This patch fixes that by converting bU2DevExitLat field to the CPU byteorder before the as

[PATCH 3/3] usbcore: fix read of usbdevfs_ctrltransfer fields in proc_control()

2013-08-31 Thread Xenia Ragiadakou
Urb fields are stored in struct usbdevfs_ctrltransfer in CPU byteorder and not in little endian, so there is no need to be converted. This bug was reported by sparse. Signed-off-by: Xenia Ragiadakou --- drivers/usb/core/devio.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --

[PATCH 1/3] usbcore: set lpm_capable field for LPM capable root hubs

2013-08-31 Thread Xenia Ragiadakou
This patch sets the lpm_capable field for root hubs with LPM capabilities. Signed-off-by: Xenia Ragiadakou Reported-by: Martin MOKREJS Suggested-by: Alan Stern --- drivers/usb/core/hcd.c | 1 + drivers/usb/core/hub.c | 7 ++- drivers/usb/core/usb.h | 1 + 3 files changed, 8 insertions(+),

Re: failure to resume from suspend cause by 84ebc102

2013-08-31 Thread Alan Stern
On Sat, 31 Aug 2013, Adam Borowski wrote: > > Is there any way to get the dmesg information when the system locks up? > > For example, serial console, or netconsole? Seeing that, along with > > CONFIG_USB_DEBUG enabled, would help. > > Network doesn't work after a failed resume. > > I obtaine

Re: [Bug] [Sony VAIO SVT15117CXS] USB 2.0 ports not working with any USB device

2013-08-31 Thread Alan Stern
On Fri, 30 Aug 2013, Kevin Archer wrote: > I figured it wasn't the REAL fix! > > Thanks for the heads up on 3.12 though! By the way, have you checked to see if there are any BIOS updates available for your computer? That might fix the problem. Alan Stern -- To unsubscribe from this list: sen

Re: [PATCH v3] usbcore: compare and release one bos descriptor in usb_reset_and_verify_device()

2013-08-31 Thread Xenia Ragiadakou
On 08/31/2013 07:52 AM, Greg KH wrote: On Sat, Aug 31, 2013 at 04:52:47AM +0300, Xenia Ragiadakou wrote: On 08/31/2013 04:25 AM, Greg KH wrote: On Sat, Aug 31, 2013 at 04:20:09AM +0300, Xenia Ragiadakou wrote: In usb_reset_and_verify_device(), hub_port_init() allocates a new bos descriptor to

I have a business proposal for you, contact me via my email for more details:mr.warwick_jone...@hotmail.com or Phone: +448445001449. Mr. Warwick Jones,

2013-08-31 Thread Mr. Warwick Jones
-- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 1/6] usb-core: Make usb_free_streams return an error

2013-08-31 Thread Hans de Goede
Hi, On 08/30/2013 08:09 PM, Greg KH wrote: On Fri, Aug 30, 2013 at 02:03:59PM +0200, Hans de Goede wrote: The hcd-driver free_streams method can return an error, so lets properly propagate that. Signed-off-by: Hans de Goede --- drivers/usb/core/hcd.c | 11 +++ include/linux/usb.h

Re: [PATCH 1/1] arm: dts: am33xx: correcting dt node unit address for usb

2013-08-31 Thread Mugunthan V N
On Saturday 31 August 2013 12:40 AM, Kumar Gala wrote: > On Aug 30, 2013, at 12:52 PM, Mugunthan V N wrote: > >> > DT node's unit address should be its own register offset address to make >> > it a >> > unique across the system. This patch corrects the incorrect USB entries >> > with >> > correct