/sys API, force_usb_limit_dangerous renamed to usb_curlim?
Timo Juhani Lindfors
timo.lindfors at iki.fi
Sun Jun 14 17:25:46 CEST 2009
Hi,
I just noticed that my
sudo sh -c 'echo 500 > `find /sys -name force_usb_limit_dangerous`'
menu option had silently stopped working a long time ago.
By grepping the output of "git log --raw -p" it seems that it was
removed in
commit aa6f5ffbdba45aa8e19e5048648fc6c7b25376d3
Author: merge <null at invalid>
Date: Thu Jan 22 13:55:32 2009 +0000
MERGE-via-pending-tracking-hist-MERGE-via-stable-tracking-MERGE-via-mokopatches-tracking-fix-stray-endmenu-patch-1232632040-1232632141
pending-tracking-hist top was MERGE-via-stable-tracking-MERGE-via-mokopatches-tracking-fix-stray-endmenu-patch-1232632040-1232632141 / fdf777a63bcb59e0dfd78bfe2c6242
e01f6d4eb9 ... parent commitmessage:
From: merge <null at invalid>
MERGE-via-stable-tracking-hist-MERGE-via-mokopatches-tracking-fix-stray-endmenu-patch-1232632040
stable-tracking-hist top was MERGE-via-mokopatches-tracking-fix-stray-endmenu-patch-1232632040 / 90463bfd2d5a3c8b52f6e6d71024a00e052b0ced ... parent commitmessage:
From: merge <null at invalid>
MERGE-via-mokopatches-tracking-hist-fix-stray-endmenu-patch
mokopatches-tracking-hist top was fix-stray-endmenu-patch / 3630e0be570de8057e7f8d2fe501ed353cdf34e6 ... parent commitmessage:
From: Andy Green <andy at openmoko.com>
fix-stray-endmenu.patch
Signed-off-by: Andy Green <andy at openmoko.com>
I usually read commit messages carefully but this merge message was
too complicated for my git knowledge so I that probably explains why I
did not notice the change.
It seems I can just write to "usb_curlim". Should I update
http://wiki.openmoko.org/wiki/GTA02_sysfs
to mention this change? (I'm unsure since I don't know if usb_curlim
really does the same thing.)
best regards,
Timo Lindfors
More information about the openmoko-kernel
mailing list