-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Stopping EP_IN, because of status 6" and LIBUSB_ERROR_OVERFLOW #15
Comments
Nevermind. It works now. I don't know why. I am sure i restarted my computer after the installation, but i just connected my controller to mixxx and it responded in the way i wanted it to. |
I have exactly the same issue as described here. I tried several times to turn it off and on again (laptop, the device), but to no avail. The buttons of the DJ Hercules MP3 e2 light up as in Mixxx, but my computer does not seem to receive any data from the device. A bit of internet search got me thinking, that there might be something off with the Another idea might be that Any help or hints would be greatly appreciated. |
Update. I tried a USB 2.0 socket instead of an USB 3.0 socket and Mixxx worked right away. Duh. :-) Sorry for the noise and thanks nevertheless! |
This sounds like a bug, then. It should work on a USB 3.0 port. The fact that it isn't may have something to do with how I'm using the USB library. I'm reopening this bug so other people can find it if they have the same problem. If that describes you, the person reading this, please leave a comment here, with any additional information. In particular, it would be nice to know if plugging into a USB 2.0 port fixes the issue. |
It's also possible this is the same issue as #9 |
Good suggestions! Please let me know, if you think posting any details (command output etc.) might help for diagnosis.
This might be. But since my kernel is heavily customised, I do not want to exclude that the problems are due to misconfiguration on my end. I would need to do more testing to exclude that case.
I had a look earlier at the issue, but I think it might be different. When I compare the OPs output of |
Hi all :) Sorry to necrobump, but I just wanted to make a feedback here for what I discovered on the same subject. I discovered that when I unpluged my controller (for example to reorganize my USB devices), it could not be detected no more by
As I do not found a way to correct the problem I had no more choice than reboot my computer which was really annoying and frustrated me a lot. Today after testing multiple supposed solutions, I discovered this link which gave me the solution : Which gives in my case :
So after resetting (without rebooting) I can start again hdjd without problem :D Note : in my case the problem seems not bound to USB2/USB3 in any way ... Hope it can be useful for someone ... With adelphity |
Excellent sleuthing. So if I'm reading this right, when we get status 6, we need to run whatever code is in usbreset, and try again. I'm assuming we'll get status 6 a second time, run it a second time, and then things will come back. If that sounds about right, I'll try to integrate this code in a development branch that people can test. |
Yes you must compile usbreset.c with As I was not sure of the reliability of my feedback, I dug further (but may have gotten a little lost). Environment tests :
Use cases (UC) :
Note: I confirm that we can use the USB2 or USB3 ports indiscriminately ; they do not seem to produce a noticeable difference The UCs focused to avoid reboot always follow this process :
Furthermore, as I did not know the explore program and I never used it, I understood the following (correct me if I am wrong) :
Too, sometimes explore displays some codes, as if it was emptying a buffer before throwing the error or starting, like this :
What my tests reveal (I can post the full results if you want or need it) :
Note : I did not manage to isolate why sometimes we must use usbreset once and sometimes twice ! The commands used and the results obtainedGet the port where the controller is plugged
Test the controller events
... followed by ...
... when the controller is NOT operational ; usbreset is NECESSARY ! ... or followed by ...
... when the hdjd is yet ran, so we can not use explore and must kill hdjd before. ... or followed by ...
... when the controller is operational. Start hdjd
=> if there is no extra text, hdjd is operational ... but if there is this text :
the controller is NOT operational ; usbreset is NECESSARY Start mixxx
Nota : some systems show the previous warning, some not Reset the port in trouble (by default root only)
Unplug the controller without killing hooks beforeThe hooks seems to be set from hdjd and explore.
OR
Note : I did not manage isolate why sometimes it returns status 1 or sometimes 5
Cool :D Could you give me a return when you will test it ? I am not sure my contribution help to resolve the OP problem. I have some identical symptoms but as I do not understand the whole process I do not guarantee this will working for you but it worked for me. |
My time to work on this is extremely limited lately. I'm going to leave a note to myself here: The code in question is the following: int rc = ioctl(fd, USBDEVFS_RESET, 0);
if (rc < 0) {
perror("Error in ioctl");
return 1;
} This needs to be run if there's a USB error. Apparently we might need to do it more than once, so I'll have to implement it in a loop with fallthrough. Like:
|
I'll also note that I would love it if somebody else implemented this in a merge proposal. Realistically, if I'm the only one doing the work, it probably isn't going to happen before June 2023. |
Hi, i don't know what is going on here. I seem to have a one way connection between mixxx and my DJ Hercules MP3 e2 which does not react to button presses but lights up the LEDs when i enable for example the headphone output using my mouse (or keyboard shortcut).
I am using Ubuntu 20.04 LTS and installed mixxx via:
This is what i did to install hdjd:
And this is what i expect to be executet in a different way:
and
Any help is appreciated.
The text was updated successfully, but these errors were encountered: