It is a hardware issue. Could be the port you plug into is not connected. Can you plug into the same port the speakers are using? If that works, then that lets the headphones off the hook. If that doesn't work, the problem is in the headphone connector wiring.