Bruno Prémont | 236db47 | 2010-03-30 22:33:50 +0200 | [diff] [blame^] | 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 | |
| 7 | Reading: returns list of available modes, the active mode being |
| 8 | enclosed in brackets ('[' and ']') |
| 9 | |
| 10 | Writing: causes operation mode switch. Permitted values are |
| 11 | the non-active mode names listed when read, optionally followed |
| 12 | by a delay value expressed in ms. |
| 13 | |
| 14 | Note: when switching mode the current PicoLCD HID device gets |
| 15 | disconnected and reconnects after above delay (default value |
| 16 | is 5 seconds though this default should not be relied on). |
| 17 | |