sysfs-driver-hid-picolcd 1.5 KB

12345678910111213141516171819202122232425262728293031323334
  1. What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/operation_mode
  2. Date: March 2010
  3. Contact: Bruno Prémont <bonbons@linux-vserver.org>
  4. Description: Make it possible to switch the PicoLCD device between LCD
  5. (firmware) and bootloader (flasher) operation modes.
  6. Reading: returns list of available modes, the active mode being
  7. enclosed in brackets ('[' and ']')
  8. Writing: causes operation mode switch. Permitted values are
  9. the non-active mode names listed when read, optionally followed
  10. by a delay value expressed in ms.
  11. Note: when switching mode the current PicoLCD HID device gets
  12. disconnected and reconnects after above delay (default value
  13. is 5 seconds though this default should not be relied on).
  14. What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/fb_update_rate
  15. Date: March 2010
  16. Contact: Bruno Prémont <bonbons@linux-vserver.org>
  17. Description: Make it possible to adjust defio refresh rate.
  18. Reading: returns list of available refresh rates (expressed in Hz),
  19. the active refresh rate being enclosed in brackets ('[' and ']')
  20. Writing: accepts new refresh rate expressed in integer Hz
  21. within permitted rates.
  22. Note: As device can barely do 2 complete refreshes a second
  23. it only makes sense to adjust this value if only one or two
  24. tiles get changed and it's not appropriate to expect the application
  25. to flush it's tiny changes explicitely at higher than default rate.