Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

gta04 - charging udev rules

Credits to Neil Brown for this
  • Loading branch information...
commit 0dbf31c976ccdf7a8e490e14437858fc27b783ba 1 parent 3627cee
@radekp authored
Showing with 10 additions and 0 deletions.
  1. +10 −0 doc/txt/debian_rootfs_howto_gta04.txt
View
10 doc/txt/debian_rootfs_howto_gta04.txt
@@ -132,6 +132,16 @@ cat > /media/card/etc/udev/rules.d/hso.rules <<__END__
SUBSYSTEM=="tty", ACTION=="add", KERNEL=="ttyHS*", ATTR{hsotype}=="?*", SYMLINK+="ttyHS_\$attr{hsotype}", OPTIONS+="string_escape=replace"
__END__
+Step 4.2 - charging udev rules
+==============================
+
+* For more info see:
+ http://lists.goldelico.com/pipermail/gta04-owner/2012-April/002272.html
+
+cat > /media/card/etc/udev/rules.d/gta04-charging.rules <<__END__
+SUBSYSTEM=="power_supply", ACTION=="change", DEVPATH=="*power_supply/twl4030_usb" ATTRS{1-0048/twl4030_usb/id}=="floating", ATTR{../../max_current}="500000"
+SUBSYSTEM=="power_supply", ACTION=="change", DEVPATH=="*power_supply/twl4030_usb" ATTRS{1-0048/twl4030_usb/id}=="102k", ATTR{../../max_current}="851000"
+__END__
Step 4.5 - make it generate SSH keys on start
=============================================
Please sign in to comment.
Something went wrong with that request. Please try again.