There are two answers. Any DC motor with permanent magnets can be used as a generator. It doesn't matter whether the motor is brushed or not, it's a great generator if it has a DC output.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.