Rockbox Development > Starting Development and Compiling
Searching for the USB related code in rockbox firmware ?
(1/1)
electron-libre:
Hello,
Concerning a previous post I have made http://forums.rockbox.org/index.php?topic=5453.0. I was wondering where the USB controlling code is contained in the Rockbox firmware with the aim of changing the code to remove the hardware error I am receiving. I want to disable the USB power supply. I have turned off the USB charging in the settings but the error and the power supply symbol still remain.
This modification will allow me to use the newest Rockbox firmware which causes the same problem as the original firmware when I use the USB charging plugin. (I am currently using an older version of the Rockbox firmware which does not cause this error).
Thanks,
markun:
I think you are looking for firmware/usb.c
http://www.rockbox.org/viewcvs.cgi/firmware/usb.c?rev=HEAD&content-type=text/vnd.viewcvs-markup
Do you remember which rockbox build works? The changes are months old.
petur:
I think the code you're looking for may not be there...
have a look at this: http://www.rockbox.org/tracker/task/4770
It's a patch that deals with USB charging, it may contain some info for you to tweak your build.
Navigation
[0] Message Index
Go to full version