sysfs-bus-usb-devices-usbsevseg 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. Where: /sys/bus/usb/.../powered
  2. Date: August 2008
  3. Kernel Version: 2.6.26
  4. Contact: Harrison Metzger <harrisonmetz@gmail.com>
  5. Description: Controls whether the device's display will powered.
  6. A value of 0 is off and a non-zero value is on.
  7. Where: /sys/bus/usb/.../mode_msb
  8. Where: /sys/bus/usb/.../mode_lsb
  9. Date: August 2008
  10. Kernel Version: 2.6.26
  11. Contact: Harrison Metzger <harrisonmetz@gmail.com>
  12. Description: Controls the devices display mode.
  13. For a 6 character display the values are
  14. MSB 0x06; LSB 0x3F, and
  15. for an 8 character display the values are
  16. MSB 0x08; LSB 0xFF.
  17. Where: /sys/bus/usb/.../textmode
  18. Date: August 2008
  19. Kernel Version: 2.6.26
  20. Contact: Harrison Metzger <harrisonmetz@gmail.com>
  21. Description: Controls the way the device interprets its text buffer.
  22. raw: each character controls its segment manually
  23. hex: each character is between 0-15
  24. ascii: each character is between '0'-'9' and 'A'-'F'.
  25. Where: /sys/bus/usb/.../text
  26. Date: August 2008
  27. Kernel Version: 2.6.26
  28. Contact: Harrison Metzger <harrisonmetz@gmail.com>
  29. Description: The text (or data) for the device to display
  30. Where: /sys/bus/usb/.../decimals
  31. Date: August 2008
  32. Kernel Version: 2.6.26
  33. Contact: Harrison Metzger <harrisonmetz@gmail.com>
  34. Description: Controls the decimal places on the device.
  35. To set the nth decimal place, give this field
  36. the value of 10 ** n. Assume this field has
  37. the value k and has 1 or more decimal places set,
  38. to set the mth place (where m is not already set),
  39. change this fields value to k + 10 ** m.