Guest User

Untitled

a guest
Mar 30th, 2012
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.31 KB | None | 0 0
  1. carlos@event-horizon:/sys/devices/platform/smapi/BAT0$ cat start_charge_thresh
  2. cat: start_charge_thresh: No such device or address
  3. carlos@event-horizon:/sys/devices/platform/smapi/BAT0$ cat stop_charge_thresh
  4. 95
  5. carlos@event-horizon:/sys/devices/platform/smapi/BAT0$ uname -r
  6. 3.2.0-2-amd64
  7. carlos@event-horizon:/sys/devices/platform/smapi/BAT0$ sudo echo 40 > /sys/devices/platform/smapi/BAT0/start_charge_thresh
  8. bash: /sys/devices/platform/smapi/BAT0/start_charge_thresh: Permission denied
  9. carlos@event-horizon:/sys/devices/platform/smapi/BAT0$ sudo sh -c "echo 40 > /sys/devices/platform/smapi/BAT0/start_charge_thresh"
  10. [sudo] password for carlos:
  11. carlos@event-horizon:/sys/devices/platform/smapi/BAT0$ cat start_charge_thresh
  12. cat: start_charge_thresh: No such device or address
  13. carlos@event-horizon:/sys/devices/platform/smapi/BAT0$ tail /etc/sys
  14. sysctl.conf sysctl.d/ sysfs.conf systemd/
  15. carlos@event-horizon:/sys/devices/platform/smapi/BAT0$ tail /etc/sysfs.conf
  16. # devices/system/cpu/cpu0/cpufreq/scaling_governor = userspace
  17. # devices/system/cpu/cpu0/cpufreq/scaling_setspeed = 600000
  18. #
  19. # Set permissions of suspend control file
  20. # mode power/state = 0660
  21. # owner power/state = root:power
  22.  
  23. devices/platform/smapi/BAT0/start_charge_thresh = 40
  24. devices/platform/smapi/BAT0/stop_charge_thresh = 95
Advertisement
Add Comment
Please, Sign In to add comment