~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/networking/device_drivers/atm/cxacru.rst

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/networking/device_drivers/atm/cxacru.rst (Architecture i386) and /Documentation/networking/device_drivers/atm/cxacru.rst (Architecture sparc)


  1 .. SPDX-License-Identifier: GPL-2.0                 1 .. SPDX-License-Identifier: GPL-2.0
  2                                                     2 
  3 ========================                            3 ========================
  4 ATM cxacru device driver                            4 ATM cxacru device driver
  5 ========================                            5 ========================
  6                                                     6 
  7 Firmware is required for this device: http://a      7 Firmware is required for this device: http://accessrunner.sourceforge.net/
  8                                                     8 
  9 While it is capable of managing/maintaining th      9 While it is capable of managing/maintaining the ADSL connection without the
 10 module loaded, the device will sometimes stop      10 module loaded, the device will sometimes stop responding after unloading the
 11 driver and it is necessary to unplug/remove po     11 driver and it is necessary to unplug/remove power to the device to fix this.
 12                                                    12 
 13 Note: support for cxacru-cf.bin has been remov     13 Note: support for cxacru-cf.bin has been removed. It was not loaded correctly
 14 so it had no effect on the device configuratio     14 so it had no effect on the device configuration. Fixing it could have stopped
 15 existing devices working when an invalid confi     15 existing devices working when an invalid configuration is supplied.
 16                                                    16 
 17 There is a script cxacru-cf.py to convert an e     17 There is a script cxacru-cf.py to convert an existing file to the sysfs form.
 18                                                    18 
 19 Detected devices will appear as ATM devices na     19 Detected devices will appear as ATM devices named "cxacru". In /sys/class/atm/
 20 these are directories named cxacruN where N is     20 these are directories named cxacruN where N is the device number. A symlink
 21 named device points to the USB interface devic     21 named device points to the USB interface device's directory which contains
 22 several sysfs attribute files for retrieving d     22 several sysfs attribute files for retrieving device statistics:
 23                                                    23 
 24 * adsl_controller_version                          24 * adsl_controller_version
 25                                                    25 
 26 * adsl_headend                                     26 * adsl_headend
 27 * adsl_headend_environment                         27 * adsl_headend_environment
 28                                                    28 
 29         - Information about the remote headend     29         - Information about the remote headend.
 30                                                    30 
 31 * adsl_config                                      31 * adsl_config
 32                                                    32 
 33         - Configuration writing interface.         33         - Configuration writing interface.
 34         - Write parameters in hexadecimal form     34         - Write parameters in hexadecimal format <index>=<value>,
 35           separated by whitespace, e.g.:           35           separated by whitespace, e.g.:
 36                                                    36 
 37                 "1=0 a=5"                          37                 "1=0 a=5"
 38                                                    38 
 39         - Up to 7 parameters at a time will be     39         - Up to 7 parameters at a time will be sent and the modem will restart
 40           the ADSL connection when any value i     40           the ADSL connection when any value is set. These are logged for future
 41           reference.                               41           reference.
 42                                                    42 
 43 * downstream_attenuation (dB)                      43 * downstream_attenuation (dB)
 44 * downstream_bits_per_frame                        44 * downstream_bits_per_frame
 45 * downstream_rate (kbps)                           45 * downstream_rate (kbps)
 46 * downstream_snr_margin (dB)                       46 * downstream_snr_margin (dB)
 47                                                    47 
 48         - Downstream stats.                        48         - Downstream stats.
 49                                                    49 
 50 * upstream_attenuation (dB)                        50 * upstream_attenuation (dB)
 51 * upstream_bits_per_frame                          51 * upstream_bits_per_frame
 52 * upstream_rate (kbps)                             52 * upstream_rate (kbps)
 53 * upstream_snr_margin (dB)                         53 * upstream_snr_margin (dB)
 54 * transmitter_power (dBm/Hz)                       54 * transmitter_power (dBm/Hz)
 55                                                    55 
 56         - Upstream stats.                          56         - Upstream stats.
 57                                                    57 
 58 * downstream_crc_errors                            58 * downstream_crc_errors
 59 * downstream_fec_errors                            59 * downstream_fec_errors
 60 * downstream_hec_errors                            60 * downstream_hec_errors
 61 * upstream_crc_errors                              61 * upstream_crc_errors
 62 * upstream_fec_errors                              62 * upstream_fec_errors
 63 * upstream_hec_errors                              63 * upstream_hec_errors
 64                                                    64 
 65         - Error counts.                            65         - Error counts.
 66                                                    66 
 67 * line_startable                                   67 * line_startable
 68                                                    68 
 69         - Indicates that ADSL support on the d     69         - Indicates that ADSL support on the device
 70           is/can be enabled, see adsl_start.       70           is/can be enabled, see adsl_start.
 71                                                    71 
 72 * line_status                                      72 * line_status
 73                                                    73 
 74          - "initialising"                          74          - "initialising"
 75          - "down"                                  75          - "down"
 76          - "attempting to activate"                76          - "attempting to activate"
 77          - "training"                              77          - "training"
 78          - "channel analysis"                      78          - "channel analysis"
 79          - "exchange"                              79          - "exchange"
 80          - "waiting"                               80          - "waiting"
 81          - "up"                                    81          - "up"
 82                                                    82 
 83         Changes between "down" and "attempting     83         Changes between "down" and "attempting to activate"
 84         if there is no signal.                     84         if there is no signal.
 85                                                    85 
 86 * link_status                                      86 * link_status
 87                                                    87 
 88          - "not connected"                         88          - "not connected"
 89          - "connected"                             89          - "connected"
 90          - "lost"                                  90          - "lost"
 91                                                    91 
 92 * mac_address                                      92 * mac_address
 93                                                    93 
 94 * modulation                                       94 * modulation
 95                                                    95 
 96          - "" (when not connected)                 96          - "" (when not connected)
 97          - "ANSI T1.413"                           97          - "ANSI T1.413"
 98          - "ITU-T G.992.1 (G.DMT)"                 98          - "ITU-T G.992.1 (G.DMT)"
 99          - "ITU-T G.992.2 (G.LITE)"                99          - "ITU-T G.992.2 (G.LITE)"
100                                                   100 
101 * startup_attempts                                101 * startup_attempts
102                                                   102 
103         - Count of total attempts to initialis    103         - Count of total attempts to initialise ADSL.
104                                                   104 
105 To enable/disable ADSL, the following can be w    105 To enable/disable ADSL, the following can be written to the adsl_state file:
106                                                   106 
107          - "start"                                107          - "start"
108          - "stop                                  108          - "stop
109          - "restart" (stops, waits 1.5s, then     109          - "restart" (stops, waits 1.5s, then starts)
110          - "poll" (used to resume status polli    110          - "poll" (used to resume status polling if it was disabled due to failure)
111                                                   111 
112 Changes in adsl/line state are reported via ke    112 Changes in adsl/line state are reported via kernel log messages::
113                                                   113 
114         [4942145.150704] ATM dev 0: ADSL state    114         [4942145.150704] ATM dev 0: ADSL state: running
115         [4942243.663766] ATM dev 0: ADSL line:    115         [4942243.663766] ATM dev 0: ADSL line: down
116         [4942249.665075] ATM dev 0: ADSL line:    116         [4942249.665075] ATM dev 0: ADSL line: attempting to activate
117         [4942253.654954] ATM dev 0: ADSL line:    117         [4942253.654954] ATM dev 0: ADSL line: training
118         [4942255.666387] ATM dev 0: ADSL line:    118         [4942255.666387] ATM dev 0: ADSL line: channel analysis
119         [4942259.656262] ATM dev 0: ADSL line:    119         [4942259.656262] ATM dev 0: ADSL line: exchange
120         [2635357.696901] ATM dev 0: ADSL line:    120         [2635357.696901] ATM dev 0: ADSL line: up (8128 kb/s down | 832 kb/s up)
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php