Re: Pull USB plug while fftest on PS4 pad --> Kernel panic
From: Manuel Reimer <hidden>
Date: 2016-02-07 14:08:15
Hello, I did some more testing (now with a virtual machine). I've updated to Kernel version 4.4.1. The problem stays the same. Then I tried with a PS3 controller and (as somehow expected, as the same driver is involved), I have the same problem. The kernel panic, directly after unplugging, only occured once, but the following is 100% reproducible: - Open fftest and run some effect on the controller. - Unplug the controller while fftest is still running. It doesn't matter if an effect is still playing. - After doing so, plug *any* USB HID game controller, you like. I used some cheap noname controller. For me plugging whatever USB HID game controller finally crashes the kernel with 100% success rate. So it seems to be the case, that the hid-sony module somehow breaks parts deeper in the USB HID stack in the kernel. This problem doesn't occur with the xpad driver and a Xbox 360 gamepad, so it is no general problem which happens with every supported game controller. Any feedback would be nice. Am I in the right mailing list for bug reports? Thanks in advance. Best regards, Manuel On 02/05/2016 10:03 PM, Manuel Reimer wrote:
Hello, I'm currently using the following Kernel version: Linux manuelspc 4.3.3-3-ARCH #1 SMP PREEMPT Sun Jan 24 10:28:30 CET 2016 x86_64 GNU/Linux While testing with force feedback, I found the following bug which makes it impossible to disconnect the PS4 controller while some "force feedback user" (may also be a game) is still running. To reproduce, connect a PS4 controller via USB. Now run "fftest" on it and choose effect number "0". While the effect still runs, pull the USB plug. Result: The kernel panics. Had to hard-reset the machine. Is it OK to just report this here or should I open a bug on Bugzilla for that? If more information is needed, just ask. Best regards, Manuel -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html