cxacru.txt 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. Firmware is required for this device: http://accessrunner.sourceforge.net/
  2. While it is capable of managing/maintaining the ADSL connection without the
  3. module loaded, the device will sometimes stop responding after unloading the
  4. driver and it is necessary to unplug/remove power to the device to fix this.
  5. Detected devices will appear as ATM devices named "cxacru". In /sys/class/atm/
  6. these are directories named cxacruN where N is the device number. A symlink
  7. named device points to the USB interface device's directory which contains
  8. several sysfs attribute files for retrieving device statistics:
  9. * adsl_controller_version
  10. * adsl_headend
  11. * adsl_headend_environment
  12. Information about the remote headend.
  13. * downstream_attenuation (dB)
  14. * downstream_bits_per_frame
  15. * downstream_rate (kbps)
  16. * downstream_snr_margin (dB)
  17. Downstream stats.
  18. * upstream_attenuation (dB)
  19. * upstream_bits_per_frame
  20. * upstream_rate (kbps)
  21. * upstream_snr_margin (dB)
  22. * transmitter_power (dBm/Hz)
  23. Upstream stats.
  24. * downstream_crc_errors
  25. * downstream_fec_errors
  26. * downstream_hec_errors
  27. * upstream_crc_errors
  28. * upstream_fec_errors
  29. * upstream_hec_errors
  30. Error counts.
  31. * line_startable
  32. Indicates that ADSL support on the device
  33. is/can be enabled, see adsl_start.
  34. * line_status
  35. "initialising"
  36. "down"
  37. "attempting to activate"
  38. "training"
  39. "channel analysis"
  40. "exchange"
  41. "waiting"
  42. "up"
  43. Changes between "down" and "attempting to activate"
  44. if there is no signal.
  45. * link_status
  46. "not connected"
  47. "connected"
  48. "lost"
  49. * mac_address
  50. * modulation
  51. "ANSI T1.413"
  52. "ITU-T G.992.1 (G.DMT)"
  53. "ITU-T G.992.2 (G.LITE)"
  54. * startup_attempts
  55. Count of total attempts to initialise ADSL.
  56. To enable/disable ADSL, the following can be written to the adsl_state file:
  57. "start"
  58. "stop
  59. "restart" (stops, waits 1.5s, then starts)
  60. "poll" (used to resume status polling if it was disabled due to failure)
  61. Changes in adsl/line state are reported via kernel log messages:
  62. [4942145.150704] ATM dev 0: ADSL state: running
  63. [4942243.663766] ATM dev 0: ADSL line: down
  64. [4942249.665075] ATM dev 0: ADSL line: attempting to activate
  65. [4942253.654954] ATM dev 0: ADSL line: training
  66. [4942255.666387] ATM dev 0: ADSL line: channel analysis
  67. [4942259.656262] ATM dev 0: ADSL line: exchange
  68. [2635357.696901] ATM dev 0: ADSL line: up (8128 kb/s down | 832 kb/s up)