sysfs-c2port 2.6 KB

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