[Bug 1521245] Re: Kinect Device keeps on disconnecting and reconnecting every two seconds
Mikołaj Banasik, it will help immensely if you use the computer the problem is reproducible with, and provide necessary debugging logs by filing a new report with Ubuntu via a terminal: ubuntu-bug linux Please feel free to subscribe me to it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1521245 Title: Kinect Device keeps on disconnecting and reconnecting every two seconds To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1521245/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1521245] Re: Kinect Device keeps on disconnecting and reconnecting every two seconds
If it is of any assistance, until the issue is fixed proper, I have been using this udev ruleset to disable autosuspend for Kinect device only - that allows me to use the camera without having to turn autosuspend off system-wide. ** Attachment added: "udev rules for disabling autosuspend on Kinect" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1521245/+attachment/5153252/+files/92-kinect-fix.rules -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1521245 Title: Kinect Device keeps on disconnecting and reconnecting every two seconds To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1521245/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1521245] Re: Kinect Device keeps on disconnecting and reconnecting every two seconds
As a heads up: The Kinect can be very finicky with certain USB controllers. It works perfectly fine on my desktop with the external 12V power but on my laptop with the same power, it disconnects constantly due to I assume a crappy USB bus (Tried on both 2.0 and 3.0 ports) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1521245 Title: Kinect Device keeps on disconnecting and reconnecting every two seconds To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1521245/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1521245] Re: Kinect Device keeps on disconnecting and reconnecting every two seconds
I also have the same problem reported by the OP: I have an original xbox 360 kinect and when connected to a box running Ubuntu 16.04.1 and kernel 4.6.0-040600-generic, it keeps connecting and reconnecting. The workaround reported by the OP also fixes the problem. My lsusb output (when the devices are connected): Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 003: ID 04f3:21d5 Elan Microelectronics Corp. Bus 001 Device 002: ID 0a5c:6410 Broadcom Corp. Bus 001 Device 064: ID 046d:c510 Logitech, Inc. Cordless Mouse Bus 001 Device 004: ID 1bcf:2b95 Sunplus Innovation Technology Inc. Bus 001 Device 030: ID 045e:02ae Microsoft Corp. Xbox NUI Camera Bus 001 Device 028: ID 045e:02b0 Microsoft Corp. Xbox NUI Motor Bus 001 Device 029: ID 045e:02ad Microsoft Corp. Xbox NUI Audio Bus 001 Device 027: ID 0409:005a NEC Corp. HighSpeed Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Sample dmesg output: [153617.887835] usb 1-1.1: new high-speed USB device number 124 using xhci_hcd [153617.995407] usb 1-1.1: New USB device found, idVendor=045e, idProduct=02ad [153617.995411] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=4 [153617.995413] usb 1-1.1: Product: Xbox NUI Audio [153617.995415] usb 1-1.1: Manufacturer: Microsoft [153617.995416] usb 1-1.1: SerialNumber: A44881C11888045A [153619.423927] usb 1-1.3: new high-speed USB device number 125 using xhci_hcd [153619.531358] usb 1-1.3: New USB device found, idVendor=045e, idProduct=02ae [153619.531364] usb 1-1.3: New USB device strings: Mfr=2, Product=1, SerialNumber=3 [153619.531367] usb 1-1.3: Product: Xbox NUI Camera [153619.531370] usb 1-1.3: Manufacturer: Microsoft [153619.531372] usb 1-1.3: SerialNumber: A00361801109045A [153628.048457] usb 1-1.1: USB disconnect, device number 124 [153628.049078] usb 1-1.3: USB disconnect, device number 125 [153629.664592] usb 1-1.1: new high-speed USB device number 126 using xhci_hcd [153629.771959] usb 1-1.1: New USB device found, idVendor=045e, idProduct=02ad [153629.771963] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=4 [153629.771965] usb 1-1.1: Product: Xbox NUI Audio [153629.771967] usb 1-1.1: Manufacturer: Microsoft [153629.771968] usb 1-1.1: SerialNumber: A44881C11888045A [153631.460674] usb 1-1.3: new high-speed USB device number 127 using xhci_hcd [153631.572121] usb 1-1.3: New USB device found, idVendor=045e, idProduct=02ae [153631.572124] usb 1-1.3: New USB device strings: Mfr=2, Product=1, SerialNumber=3 [153631.572125] usb 1-1.3: Product: Xbox NUI Camera [153631.572127] usb 1-1.3: Manufacturer: Microsoft [153631.572128] usb 1-1.3: SerialNumber: A00361801109045A [153639.941292] usb 1-1.1: USB disconnect, device number 126 [153639.941997] usb 1-1.3: USB disconnect, device number 127 [153641.697334] usb 1-1.1: new high-speed USB device number 5 using xhci_hcd [153641.804683] usb 1-1.1: New USB device found, idVendor=045e, idProduct=02ad [153641.804686] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=4 [153641.804687] usb 1-1.1: Product: Xbox NUI Audio [153641.804689] usb 1-1.1: Manufacturer: Microsoft [153641.804690] usb 1-1.1: SerialNumber: A44881C11888045A [153643.233432] usb 1-1.3: new high-speed USB device number 6 using xhci_hcd [153643.340795] usb 1-1.3: New USB device found, idVendor=045e, idProduct=02ae [153643.340818] usb 1-1.3: New USB device strings: Mfr=2, Product=1, SerialNumber=3 [153643.340825] usb 1-1.3: Product: Xbox NUI Camera [153643.340831] usb 1-1.3: Manufacturer: Microsoft [153643.340837] usb 1-1.3: SerialNumber: A00361801109045A [153651.101922] usb 1-1.1: USB disconnect, device number 5 [153651.102545] usb 1-1.3: USB disconnect, device number 6 [153652.706014] usb 1-1.1: new high-speed USB device number 7 using xhci_hcd [153652.814477] usb 1-1.1: New USB device found, idVendor=045e, idProduct=02ad [153652.814480] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=4 [153652.814482] usb 1-1.1: Product: Xbox NUI Audio [153652.814483] usb 1-1.1: Manufacturer: Microsoft [153652.814484] usb 1-1.1: SerialNumber: A44881C11888045A ... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1521245 Title: Kinect Device keeps on disconnecting and reconnecting every two seconds To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1521245/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1521245] Re: Kinect Device keeps on disconnecting and reconnecting every two seconds
[Expired for linux (Ubuntu) because there has been no activity for 60 days.] ** Changed in: linux (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1521245 Title: Kinect Device keeps on disconnecting and reconnecting every two seconds To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1521245/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1521245] Re: Kinect Device keeps on disconnecting and reconnecting every two seconds
Shuhao, following up on https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1521245/comments/7 , could you please test the latest mainline kernel (4.4) and advise to the results? ** Changed in: linux (Ubuntu) Status: Confirmed => Incomplete ** Description changed: I have an original xbox 360 kinect and when I try to use it with wily, it seems to keeps connecting and reconnecting. This does not occur on 15.04 on my other machine. + WORKAROUND: sudo -s + echo -1 > /sys/module/usbcore/parameters/autosuspend + Sample log: - Nov 30 10:57:16 thinkpadt420 kernel: [ 2746.676018] usb 4-1.2.2: new high-speed USB device number 61 using ehci-pci Nov 30 10:57:16 thinkpadt420 kernel: [ 2746.771890] usb 4-1.2.2: New USB device found, idVendor=045e, idProduct=02ae Nov 30 10:57:16 thinkpadt420 kernel: [ 2746.771900] usb 4-1.2.2: New USB device strings: Mfr=2, Product=1, SerialNumber=3 Nov 30 10:57:16 thinkpadt420 kernel: [ 2746.771905] usb 4-1.2.2: Product: Xbox NUI Camera Nov 30 10:57:16 thinkpadt420 kernel: [ 2746.771910] usb 4-1.2.2: Manufacturer: Microsoft Nov 30 10:57:16 thinkpadt420 kernel: [ 2746.771914] usb 4-1.2.2: SerialNumber: Nov 30 10:57:16 thinkpadt420 kernel: [ 2746.772645] gspca_main: kinect-2.14.0 probing 045e:02ae Nov 30 10:57:16 thinkpadt420 mtp-probe: checking bus 4, device 61: "/sys/devices/pci:00/:00:1d.0/usb4/4-1/4-1.2/4-1.2.2" Nov 30 10:57:16 thinkpadt420 mtp-probe: bus: 4, device: 61 was not an MTP device Nov 30 10:57:17 thinkpadt420 kernel: [ 2747.205869] usb 4-1.2: USB disconnect, device number 59 Nov 30 10:57:17 thinkpadt420 kernel: [ 2747.205880] usb 4-1.2.1: USB disconnect, device number 60 Nov 30 10:57:17 thinkpadt420 kernel: [ 2747.206406] usb 4-1.2.2: USB disconnect, device number 61 Nov 30 10:57:17 thinkpadt420 kernel: [ 2747.816793] usb 4-1.2: new high-speed USB device number 62 using ehci-pci Nov 30 10:57:18 thinkpadt420 kernel: [ 2747.909585] usb 4-1.2: New USB device found, idVendor=045e, idProduct=02c2 Nov 30 10:57:18 thinkpadt420 kernel: [ 2747.909595] usb 4-1.2: New USB device strings: Mfr=0, Product=0, SerialNumber=0 Nov 30 10:57:18 thinkpadt420 kernel: [ 2747.910267] hub 4-1.2:1.0: USB hub found Nov 30 10:57:18 thinkpadt420 kernel: [ 2747.910358] hub 4-1.2:1.0: 2 ports detected Nov 30 10:57:19 thinkpadt420 kernel: [ 2749.041712] usb 4-1.2.1: new high-speed USB device number 63 using ehci-pci Nov 30 10:57:19 thinkpadt420 kernel: [ 2749.136571] usb 4-1.2.1: New USB device found, idVendor=045e, idProduct=02ad Nov 30 10:57:19 thinkpadt420 kernel: [ 2749.136581] usb 4-1.2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 Nov 30 10:57:19 thinkpadt420 kernel: [ 2749.136586] usb 4-1.2.1: Product: Xbox Kinect Audio, © 2011 Microsoft Corporation. All rights reserved. Nov 30 10:57:19 thinkpadt420 kernel: [ 2749.136591] usb 4-1.2.1: Manufacturer: Microsoft Nov 30 10:57:19 thinkpadt420 kernel: [ 2749.136595] usb 4-1.2.1: SerialNumber: B70777100842334B Nov 30 10:57:19 thinkpadt420 mtp-probe: checking bus 4, device 63: "/sys/devices/pci:00/:00:1d.0/usb4/4-1/4-1.2/4-1.2.1" Nov 30 10:57:19 thinkpadt420 mtp-probe: bus: 4, device: 63 was not an MTP device ProblemType: Bug DistroRelease: Ubuntu 15.10 Package: linux-image-4.2.0-18-generic 4.2.0-18.22 ProcVersionSignature: Ubuntu 4.2.0-18.22-generic 4.2.3 Uname: Linux 4.2.0-18-generic x86_64 ApportVersion: 2.19.1-0ubuntu5 Architecture: amd64 AudioDevicesInUse: - USERPID ACCESS COMMAND - /dev/snd/pcmC0D0p: shuhao 1666 F...m pulseaudio - /dev/snd/controlC0: shuhao 1666 F pulseaudio + USERPID ACCESS COMMAND + /dev/snd/pcmC0D0p: shuhao 1666 F...m pulseaudio + /dev/snd/controlC0: shuhao 1666 F pulseaudio CurrentDesktop: XFCE Date: Mon Nov 30 10:53:22 2015 HibernationDevice: RESUME=UUID=c55683f4-2e8a-4ea2-961f-22cc50468a0c InstallationDate: Installed on 2015-11-30 (0 days ago) InstallationMedia: Xubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021) MachineType: LENOVO 4180J4C ProcEnviron: - LANGUAGE=en_CA:en - PATH=(custom, no user) - XDG_RUNTIME_DIR= - LANG=en_CA.UTF-8 - SHELL=/bin/zsh + LANGUAGE=en_CA:en + PATH=(custom, no user) + XDG_RUNTIME_DIR= + LANG=en_CA.UTF-8 + SHELL=/bin/zsh ProcFB: 0 inteldrmfb ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.2.0-18-generic.efi.signed root=/dev/mapper/xubuntu--vg-root ro noprompt quiet splash vt.handoff=7 RelatedPackageVersions: - linux-restricted-modules-4.2.0-18-generic N/A - linux-backports-modules-4.2.0-18-generic N/A - linux-firmware1.149.2 + linux-restricted-modules-4.2.0-18-generic N/A + linux-backports-modules-4.2.0-18-generic N/A + linux-firmware1.149.2 SourcePackage: linux UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev' UpgradeStatus: No upgrade log present (probably fresh
[Bug 1521245] Re: Kinect Device keeps on disconnecting and reconnecting every two seconds
I just disabled usb autosuspend and this problem went away. It's quite late so I can't get more detailed information for now. To disable: sudo -s echo -1 > /sys/module/usbcore/parameters/autosuspend This is not resolved, as this behaviour seems wrong, still. ** Changed in: linux (Ubuntu) Status: Incomplete => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1521245 Title: Kinect Device keeps on disconnecting and reconnecting every two seconds To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1521245/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1521245] Re: Kinect Device keeps on disconnecting and reconnecting every two seconds
So I have issues on 2/3 of my tested devices, running different kernel + different version of ubuntu. I don't want to confirm this because Im beginning to suspect that this is not a kernel issue at all, but some sort of configuration issue (probably default configuration of certain services), given the regularity (every n seconds exactly). I was wondering if there is a list of services i can check out or something. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1521245 Title: Kinect Device keeps on disconnecting and reconnecting every two seconds To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1521245/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1521245] Re: Kinect Device keeps on disconnecting and reconnecting every two seconds
Shuhao, if the issue is confirmed on the latest mainline kernel (4.4) then that is enough to mark it back to Confirmed as noted in https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1521245/comments/7 . Given that you are having different results on different hardware, the difference is due to either hardware failure, or the drivers are different for the two sets of hardware, causing different outcomes for the same device. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1521245 Title: Kinect Device keeps on disconnecting and reconnecting every two seconds To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1521245/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1521245] Re: Kinect Device keeps on disconnecting and reconnecting every two seconds
I'm going to leave this as incomplete as I cannot find a kernel version where this doesn't show up. There's only one computer that I have that doesn't experience this issue and it is on 15.04. At this point I'm suspecting some system service fiddling with the usb system? Consider how regular the intervals are. Is there a list of the services somewhere that I can look at and then check individually? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1521245 Title: Kinect Device keeps on disconnecting and reconnecting every two seconds To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1521245/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1521245] Re: Kinect Device keeps on disconnecting and reconnecting every two seconds
Shuhao, could you please test the latest upstream kernel available from the very top line at the top of the page from http://kernel.ubuntu.com /~kernel-ppa/mainline/?C=N;O=D (the release names are irrelevant for testing, and please do not test the daily folder)? Install instructions are available at https://wiki.ubuntu.com/Kernel/MainlineBuilds . This will allow additional upstream developers to examine the issue. If the latest kernel did not allow you to test to the issue (ex. you couldn't boot into the OS) please make a comment in your report about this, and continue to test the next most recent kernel version until you can test to the issue. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this issue is fixed in the mainline kernel, please add the following tags by clicking on the yellow circle with a black pencil icon, next to the word Tags, located at the bottom of the report description: kernel-fixed-upstream kernel-fixed-upstream-X.Y-rcZ Where X, and Y are the first two numbers of the kernel version, and Z is the release candidate number if it exists. If the mainline kernel does not fix the issue, please add the following tags: kernel-bug-exists-upstream kernel-bug-exists-upstream-X.Y-rcZ Please note, an error to install the kernel does not fit the criteria of kernel-bug-exists-upstream. Once testing of the latest upstream kernel is complete, please mark this report's Status as Confirmed. Please let us know your results. Thank you for your understanding. ** Tags added: latest-bios-1.46 ** Tags removed: needs-bisect regression-release ** Tags added: vivid ** Changed in: linux (Ubuntu) Status: Triaged => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1521245 Title: Kinect Device keeps on disconnecting and reconnecting every two seconds To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1521245/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1521245] Re: Kinect Device keeps on disconnecting and reconnecting every two seconds
I just installed 15.04's kernel but it's still doing the same thing. What other components can cause this? Systemd? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1521245 Title: Kinect Device keeps on disconnecting and reconnecting every two seconds To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1521245/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1521245] Re: Kinect Device keeps on disconnecting and reconnecting every two seconds
Not quite sure how I should approach now, can I install kernels below 4.2 on wily? Will that cause major issues? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1521245 Title: Kinect Device keeps on disconnecting and reconnecting every two seconds To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1521245/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1521245] Re: Kinect Device keeps on disconnecting and reconnecting every two seconds
** Changed in: linux (Ubuntu) Importance: Undecided => Medium ** Tags added: regression-release ** Tags added: needs-bisect ** Changed in: linux (Ubuntu) Status: Confirmed => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1521245 Title: Kinect Device keeps on disconnecting and reconnecting every two seconds To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1521245/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1521245] Re: Kinect Device keeps on disconnecting and reconnecting every two seconds
4.3.0-040300-generic does not help, either. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1521245 Title: Kinect Device keeps on disconnecting and reconnecting every two seconds To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1521245/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1521245] Re: Kinect Device keeps on disconnecting and reconnecting every two seconds
4.4.0-040400rc3-generic does not help, either. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1521245 Title: Kinect Device keeps on disconnecting and reconnecting every two seconds To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1521245/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs