mambasoft/2.6.38.3-hannspad — comment on commit a11cd3a0554c8685ea7c875c1b2ea684a2e9df42
File:  line 0
By mambasoft:

i've done some research as well, and this from USB specifications seems interesting:

"Devices may not provide power to the pull-up resistor on D+/D- unless VBUS is present. When VBUS is removed, the device must remove power from the D+/D- pull-up resistor within 10 seconds” (section 7.2.1)

This means, if I correctly understand, that not self-powered devices expect VBUS (pin 1) to be low and thus can't take power from this pin, and the consequence is that they would take power from D+/D-. If this is correct then I need to direct my tests to other directions, currently in device mode I see VBUS set as INPUT in device mode, which seems to be wrong, it should be OUTPUT LOW. Unfortunately host mode is not working anymore with latest kernel and I'm currently just reverting to previous working behaviour before doing new tests