User:Sicelo/Snippets
From Maemo Leste Wiki
Jump to navigationJump to searchPossible N900 USB host mode
echo 'force host full-speed' > /sys/kernel/debug/musb-hdrc.0.auto/testmode echo host > /sys/bus/platform/devices/musb-hdrc.0.auto/mode echo 1 > /sys/kernel/debug/musb-hdrc.0.auto/softconnect echo disconnect > /sys/bus/platform/devices/musb-hdrc.0.auto/musb-hdrc.0.auto/soft_connect
Force N900 to stop charging while connected to power
echo off > /sys/class/power_supply/bq24150a-0/mode