View Single Post
joerg_rw's Avatar
Posts: 2,222 | Thanked: 12,651 times | Joined on Mar 2010 @ SOL 3
#905
Originally Posted by freemangordon View Post
@blue_led, joerg_rw and other h-e-n developers -

could you please take a look at usbhostmode.diff and confirm (or not) that
Code:
+                if (machine_is_nokia_rx51()) {
+                        musb_platform_resume(musb);
+                        musb_set_vbus(musb, 0);
+ 
+                        devctl &= ~MUSB_DEVCTL_SESSION;
+                        musb_writeb(musb->mregs, MUSB_DEVCTL, devctl);
+ 
+                        musb_writeb(musb->mregs, MUSB_TESTMODE, 0);
+                }
is missing a call to musb_platform_suspend(musb); at the end of the block
why do you think so? aah wait, seems this is a code snippet called when disabling hostmode? then probably yes, should (maybe) fix the annoying increased-power-consumption problem after ending hostmode.

I still grin about musb_set_vbus(musb, 0); as it's a completely empty function - alas
__________________
Maemo Community Council member [2012-10, 2013-05, 2013-11, 2014-06 terms]
Hildon Foundation Council inaugural member.
MCe.V. foundation member

EX Hildon Foundation approved
Maemo Administration Coordinator (stepped down due to bullying 2014-04-05)
aka "techstaff" - the guys who keep your infra running - Devotion to Duty http://xkcd.com/705/

IRC(freenode): DocScrutinizer*
First USB hostmode fanatic, father of H-E-N

Last edited by joerg_rw; 2011-11-24 at 03:42.
 

The Following 3 Users Say Thank You to joerg_rw For This Useful Post: