aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorAndres Salomon <[email protected]>2008-05-02 13:41:58 -0700
committerAnton Vorontsov <[email protected]>2008-05-04 13:14:03 +0400
commitd7eb9e36c42504e87c7d92dd5c05cb6f2cf74d28 (patch)
treebab5dccb3c425a5ccc9fa491ab40399bd3857a43 /net/unix/sysctl_net_unix.c
parent1ca5b9d2183f11bb8b69e04b19a7faf7f600a840 (diff)
power_supply: add eeprom dump file to olpc_battery's sysfs
This allows you to dump 0x60 bytes from the battery's EEPROM (starting at address 0x20). Note that it does an EC command for each byte, so it's pretty slow. OTOH, if you want to grab just a single byte from somewhere in the EEPROM, you can do something like: dd bs=1 count=1 skip=16 if=/sys/class/power_supply/olpc-battery/eeprom | od -x Userspace battery collection/logging information needs this. Signed-off-by: Andres Salomon <[email protected]> Cc: David Woodhouse <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Anton Vorontsov <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions