^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) What: /sys/class/c2port/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) Date: October 2008
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) Contact: Rodolfo Giometti <giometti@linux.it>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) The /sys/class/c2port/ directory will contain files and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) directories that will provide a unified interface to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) the C2 port interface.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) What: /sys/class/c2port/c2portX
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) Date: October 2008
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) Contact: Rodolfo Giometti <giometti@linux.it>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) The /sys/class/c2port/c2portX/ directory is related to X-th
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) C2 port into the system. Each directory will contain files to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) manage and control its C2 port.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) What: /sys/class/c2port/c2portX/access
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) Date: October 2008
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) Contact: Rodolfo Giometti <giometti@linux.it>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) The /sys/class/c2port/c2portX/access file enable the access
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) to the C2 port from the system. No commands can be sent
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) till this entry is set to 0.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) What: /sys/class/c2port/c2portX/dev_id
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) Date: October 2008
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) Contact: Rodolfo Giometti <giometti@linux.it>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) The /sys/class/c2port/c2portX/dev_id file show the device ID
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) of the connected micro.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) What: /sys/class/c2port/c2portX/flash_access
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) Date: October 2008
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) Contact: Rodolfo Giometti <giometti@linux.it>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) The /sys/class/c2port/c2portX/flash_access file enable the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) access to the on-board flash of the connected micro.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) No commands can be sent till this entry is set to 0.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) What: /sys/class/c2port/c2portX/flash_block_size
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) Date: October 2008
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) Contact: Rodolfo Giometti <giometti@linux.it>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) The /sys/class/c2port/c2portX/flash_block_size file show
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) the on-board flash block size of the connected micro.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) What: /sys/class/c2port/c2portX/flash_blocks_num
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) Date: October 2008
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) Contact: Rodolfo Giometti <giometti@linux.it>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) The /sys/class/c2port/c2portX/flash_blocks_num file show
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) the on-board flash blocks number of the connected micro.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) What: /sys/class/c2port/c2portX/flash_data
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) Date: October 2008
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) Contact: Rodolfo Giometti <giometti@linux.it>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) The /sys/class/c2port/c2portX/flash_data file export
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) the content of the on-board flash of the connected micro.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) What: /sys/class/c2port/c2portX/flash_erase
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) Date: October 2008
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) Contact: Rodolfo Giometti <giometti@linux.it>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) The /sys/class/c2port/c2portX/flash_erase file execute
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) the "erase" command on the on-board flash of the connected
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) micro.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) What: /sys/class/c2port/c2portX/reset
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) Date: October 2008
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) Contact: Rodolfo Giometti <giometti@linux.it>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) The /sys/class/c2port/c2portX/reset file execute a "reset"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) command on the connected micro.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) What: /sys/class/c2port/c2portX/rev_id
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77) Date: October 2008
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) Contact: Rodolfo Giometti <giometti@linux.it>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80) The /sys/class/c2port/c2portX/rev_id file show the revision ID
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81) of the connected micro.