Giter VIP home page Giter VIP logo

Comments (7)

nealey avatar nealey commented on August 21, 2024 1

Those are the messages hdjd is getting from your controller. If you press a button and don't see a message on the console, then hdjd isn't seeing an event on the USB EP.

It would be helpful if you could tell us what controller you have, but at this point I think we can mark the original bug, about the debug system, closed. Please feel free to open a new issue telling us what controller you have and whether any buttons at all result in a debug message :)

from hdjd.

JosepMaJAZ avatar JosepMaJAZ commented on August 21, 2024

Hello.

Yo can compile hdjd with the DEBUG define in order to get debug information. We didn't implement a way to get debug information from a commandline option.

from hdjd.

Mte90 avatar Mte90 commented on August 21, 2024

In the readme there aren't instruction for that :-/

from hdjd.

JosepMaJAZ avatar JosepMaJAZ commented on August 21, 2024

You are correct. I simply forgot to do so.
If you take a look at Makefile, there's this line commented:
#CFLAGS += -g -DDEBUG

Removing the # from the beginning will allow you to build a copy that will print input and output data.

I'll try to document it and see if i can make it even easier to do so.

from hdjd.

nealey avatar nealey commented on August 21, 2024

The debugging that's currently in there is not going to be helpful for this issue, is it?

Seems like we should instead provide a verbosity argument, modify log.h to take an integer log level, remove DUMP calls, and add a high-verbosity log to display events.

from hdjd.

JosepMaJAZ avatar JosepMaJAZ commented on August 21, 2024

Hi nealey.

Well, as I understood it, the DEBUG method could be enough.
It prints exactly what is being received from the controller, and what is being sent to the controller, at the BULK level. It also enables the debug mode of libusb.

Ideally, yes, adding some log level system triggered with commandline arguments could improve the situation, but I'm not sure how to do so in an easy way.

from hdjd.

Mte90 avatar Mte90 commented on August 21, 2024

I compiled with the debug flag and now I get output like: sent on ep03: 90 24 00 but Mixxx keep to not reconize when I press button.
Also on the shell where is running hdjd when I press something on the hercules nothing is happening. So seems something in the daemon but I can use the console without issue on windows.
In any case mixxx with --controllerDebug inform that everything is loaded for the console, but I was expecting to receive a log everytime I press a button on hdjd.

from hdjd.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.