Re: xhci usb 3.0 logitech c920 not working
On 2014-06-10 11:01, Oliver Neukum wrote: On Sat, 2014-06-07 at 17:08 +0200, Martin Rudhart wrote: Assuming you have mounted debugfs on /sys/kernel/debug/ echo "module xhci_hcd +p" > /sys/kernel/debug/dynamic_debug/control Thank you. That's what I tried before, but I didn't get that you can't use the sudo command to enable it, after sudo -s/root terminal it worked. As the debug output is once again far too long to be put in here (or on pastebin), I uploaded it at Launchpad and Zippyshare. (*.tar.gz) I entered the following commands after un- and replugging the camera: grep xhci /var/log/kern.log grep usb /var/log/kern.log I hope those were correct. Here are the Download-Links: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1319443/+attachment/4129195/+files/debug-output-logs.tar.gz http://www27.zippyshare.com/v/13074473/file.html Bugreport-Link: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1319443/ Regards Martin -- 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: xhci usb 3.0 logitech c920 not working
On 2014-06-03 10:29, Oliver Neukum wrote: No, if you are using the current upstream, xhci_hcd can do dynamic debugging. No need to recompile. Can you please provide me with instructions (console commands) on how to enable and capture xhci_hcd dynamic debugging verbatim with the current upstream (3.15.0-031500rc8)? I don't know what information/logs you require ... or how to get them. Regards Martin Addendum I'm really sorry about the way I posted this. This is how my Upstream-Bugreport to your Mailing-List should have looked like to begin with. Well, better late than never ... Summary: Logitech c920 usb webcam not working when plugged into USB 3.0 port Description: My logitech c920 usb webcam doesn't work when connected to my usb 3.0 host controller (Etron EJ168a). When i connect my usb 3.0 stick to the same port it's recognized and also works - just not the webcam. disabling usb 3.0 legacy mode (xhci) in my bios doesn't change anything, it's still used instead of ehci. Workaround: When connected to a usb 2.0 port it works perfectly. Launchpad Bug-Report-Link: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1319443 Kernel-Version: Linux version 3.15.0-031500rc8-generic (apw@gomeisa) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #201406012235 SMP Mon Jun 2 02:36:11 UTC 2014 Environment: Description:Ubuntu 14.04 LTS Release:14.04 Bios-Information: dmi.bios.date: 06/29/2012 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: P2.30 dmi.board.name: Z68 Pro3 Gen3 dmi.board.vendor: ASRock dmi.chassis.asset.tag: To Be Filled By O.E.M. dmi.chassis.type: 3 dmi.chassis.vendor: To Be Filled By O.E.M. dmi.chassis.version: To Be Filled By O.E.M. dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP2.30:bd06/29/2012:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnZ68Pro3Gen3:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.: dmi.product.name: To Be Filled By O.E.M. dmi.product.version: To Be Filled By O.E.M. dmi.sys.vendor: To Be Filled By O.E.M. I know the various logs should be put into the body of the mail but then it would be blocked by Majordomo ('Message size exceeding 100 000 characters causes blocking'). So I uploaded the following Information to an external server (pastebin): Software/lspci-v.for.the.c920/CPU-Info/Module Information/ioports/iomem/lspci-vvv/Scsi-Info/Interrupts. It is also attached separately at the Launchpad-Link posted above. http://pastebin.com/XcDiM83S Please tell me which commands to run to track down the problem or provide useful debug-information. Regards Martin -- 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: xhci usb 3.0 logitech c920 not working
On Mon, 2014-06-02 at 13:47, Oliver Neukum wrote: Parameter error. Please switch on xhci dynamic debugging. But whatever you do, never ever mutilate a bug report like this. Never ever grep around and drop parts of the report. And don't put things on an external server one cannot access with all tools. I think I reconfigured thunderbird correctly now - so the format/quotes should be right from now on. Sorry about the mutilation and the badly formatted answer. I'm used to bulletin boards with codeboxes. Should I really have posted 1835 lines of lsusb -v in my email response? I thought that would be to too long. (1000 lines-->1835 lines; 100.000 Char-Limit-->88.098) That's why I posted it on pastebin/an external server ... should I have used something else? Switching on xhci dynamic debugging would mean compiling a new kernel, right? It can't somehow be switched on afterwards with a ubuntu upstream/mainline kernel? Regards Martin -- 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: xhci usb 3.0 logitech c920 not working
Thank your for your reply, A summary of my Bugreport at Launchpad: My usb-Webcam Logitech c920 doesn't work when connected to my usb 3.0 Host Controller (Etron EJ168a). When connected to a usb 2.0 Host Controller it works perfectly. When I connect my usb 3.0 stick to the same port, it's recognized and also works - just not the Webcam. Disabling usb 3.0 Legacy Mode (xhci) in my Bios doesn't change anything, It's still used instead of ehci. Ubuntu 14.04 x64 3.13.0-24-generic Mainboard: Asrock Z68 Pro3 Gen3 Bios: P2.30 (latest) Here's what dmesg shows if I un/replug the webcam with the mainline/upstream kernel (3.15.0-031500rc6-generic amd64): dmesg | grep xhci [ 165.165101] usb 3-1: new high-speed USB device number 3 using xhci_hcd [ 166.411905] xhci_hcd :06:00.0: ERROR: unexpected command completion code 0x11. (multiple instances) dmesg | grep usb [ 24.168689] usb 2-1.2: cannot submit urb 0, error -28: not enough bandwidth (multiple instances) [ 161.917937] usb 3-1: USB disconnect, device number 2 [ 165.165101] usb 3-1: new high-speed USB device number 3 using xhci_hcd [ 166.409607] usb 3-1: New USB device found, idVendor=046d, idProduct=082d [ 166.409610] usb 3-1: New USB device strings: Mfr=0, Product=2, SerialNumber=1 [ 166.409611] usb 3-1: Product: HD Pro Webcam C920 [ 166.409612] usb 3-1: SerialNumber: 034DD99F [ 166.411467] input: HD Pro Webcam C920 as /devices/pci:00/:00:1c.6/:06:00.0/usb3/3-1/3-1:1.0/input/input17 [ 166.411909] usb 3-1: Not enough bandwidth for altsetting 1 [ 166.413653] usb 3-1: Not enough bandwidth for altsetting 2 [ 166.414394] usb 3-1: Not enough bandwidth for altsetting 3 [ 166.437340] usb 3-1: Not enough bandwidth for altsetting 3 [ 166.437343] usb 3-1: 3:3: usb_set_interface failed (-22) (multiple instances) [ 166.437381] usb 3-1: Not enough bandwidth for altsetting 3 (multiple instances) Here is a link to various relevant Logs/Infos/lsusb/lspci: http://pastebin.com/CFCqqfDG Inhibiting xhci for this specific port would be a solution in the interim ... how could I do that? Regards Martin Am 15.05.2014 10:23, schrieb Oliver Neukum: On Thu, 2014-05-15 at 10:03 +0200, Martin Rudhart wrote: Dear Sirs, I encountered a bug when trying to use my webcam in ubuntu 14.04 x64, which seems to be xhci/usb 3.0 related ... As I didn't know that it was a kernel-bug a filed a bug report at launchpad: https://bugs.launchpad.net/linux-kernel-headers/+bug/1319443 my google search turned up a few similar bugs: https://bugzilla.kernel.org/show_bug.cgi?id=60752 https://bugzilla.kernel.org/show_bug.cgi?id=60581 is there a workaround for this yet? (newer kernel version?) For some chipsets the newest kernels allow you to inhibit the switch to xhci for specific ports. But this is not a generally applicable solution, although it works for internal cameras. What exactly is the problem? Do you see exactly those messages as mentioned in the tracking tools? And it would be most helpful if you at least posted "lsusb -v" for your camera. Regards Oliver -- 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
xhci usb 3.0 logitech c920 not working
Dear Sirs, I encountered a bug when trying to use my webcam in ubuntu 14.04 x64, which seems to be xhci/usb 3.0 related ... As I didn't know that it was a kernel-bug a filed a bug report at launchpad: https://bugs.launchpad.net/linux-kernel-headers/+bug/1319443 my google search turned up a few similar bugs: https://bugzilla.kernel.org/show_bug.cgi?id=60752 https://bugzilla.kernel.org/show_bug.cgi?id=60581 is there a workaround for this yet? (newer kernel version?) regards Martin Rudhart -- 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