0001 What: /sys/class/c2port/
0002 Date: October 2008
0003 Contact: Rodolfo Giometti <giometti@linux.it>
0004 Description:
0005 The /sys/class/c2port/ directory will contain files and
0006 directories that will provide a unified interface to
0007 the C2 port interface.
0008
0009 What: /sys/class/c2port/c2portX
0010 Date: October 2008
0011 Contact: Rodolfo Giometti <giometti@linux.it>
0012 Description:
0013 The /sys/class/c2port/c2portX/ directory is related to X-th
0014 C2 port into the system. Each directory will contain files to
0015 manage and control its C2 port.
0016
0017 What: /sys/class/c2port/c2portX/access
0018 Date: October 2008
0019 Contact: Rodolfo Giometti <giometti@linux.it>
0020 Description:
0021 The /sys/class/c2port/c2portX/access file enable the access
0022 to the C2 port from the system. No commands can be sent
0023 till this entry is set to 0.
0024
0025 What: /sys/class/c2port/c2portX/dev_id
0026 Date: October 2008
0027 Contact: Rodolfo Giometti <giometti@linux.it>
0028 Description:
0029 The /sys/class/c2port/c2portX/dev_id file show the device ID
0030 of the connected micro.
0031
0032 What: /sys/class/c2port/c2portX/flash_access
0033 Date: October 2008
0034 Contact: Rodolfo Giometti <giometti@linux.it>
0035 Description:
0036 The /sys/class/c2port/c2portX/flash_access file enable the
0037 access to the on-board flash of the connected micro.
0038 No commands can be sent till this entry is set to 0.
0039
0040 What: /sys/class/c2port/c2portX/flash_block_size
0041 Date: October 2008
0042 Contact: Rodolfo Giometti <giometti@linux.it>
0043 Description:
0044 The /sys/class/c2port/c2portX/flash_block_size file show
0045 the on-board flash block size of the connected micro.
0046
0047 What: /sys/class/c2port/c2portX/flash_blocks_num
0048 Date: October 2008
0049 Contact: Rodolfo Giometti <giometti@linux.it>
0050 Description:
0051 The /sys/class/c2port/c2portX/flash_blocks_num file show
0052 the on-board flash blocks number of the connected micro.
0053
0054 What: /sys/class/c2port/c2portX/flash_data
0055 Date: October 2008
0056 Contact: Rodolfo Giometti <giometti@linux.it>
0057 Description:
0058 The /sys/class/c2port/c2portX/flash_data file export
0059 the content of the on-board flash of the connected micro.
0060
0061 What: /sys/class/c2port/c2portX/flash_erase
0062 Date: October 2008
0063 Contact: Rodolfo Giometti <giometti@linux.it>
0064 Description:
0065 The /sys/class/c2port/c2portX/flash_erase file execute
0066 the "erase" command on the on-board flash of the connected
0067 micro.
0068
0069 What: /sys/class/c2port/c2portX/reset
0070 Date: October 2008
0071 Contact: Rodolfo Giometti <giometti@linux.it>
0072 Description:
0073 The /sys/class/c2port/c2portX/reset file execute a "reset"
0074 command on the connected micro.
0075
0076 What: /sys/class/c2port/c2portX/rev_id
0077 Date: October 2008
0078 Contact: Rodolfo Giometti <giometti@linux.it>
0079 Description:
0080 The /sys/class/c2port/c2portX/rev_id file show the revision ID
0081 of the connected micro.