-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/usb-2.6
* master.kernel.org:/pub/scm/linux/kernel/git/gregkh/usb-2.6: OHCI: Fix machine check in ohci_hub_status_data USB: Fix up bogus bInterval values in endpoint descriptors USB: cxacru: ignore error trying to start ADSL in atm_start USB: cxacru: create sysfs attributes in atm_start instead of bind USB: cxacru: add Documentation file USB: UNUSUAL_DEV: Sync up some reported devices from Ubuntu USB: usb gadgets avoid le{16,32}_to_cpup() usblp: Don't let suspend to kill ->used USB: set default y for CONFIG_USB_DEVICE_CLASS
- Loading branch information
Showing
13 changed files
with
222 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
Firmware is required for this device: http://accessrunner.sourceforge.net/ | ||
|
||
While it is capable of managing/maintaining the ADSL connection without the | ||
module loaded, the device will sometimes stop responding after unloading the | ||
driver and it is necessary to unplug/remove power to the device to fix this. | ||
|
||
Detected devices will appear as ATM devices named "cxacru". In /sys/class/atm/ | ||
these are directories named cxacruN where N is the device number. A symlink | ||
named device points to the USB interface device's directory which contains | ||
several sysfs attribute files for retrieving device statistics: | ||
|
||
* adsl_controller_version | ||
|
||
* adsl_headend | ||
* adsl_headend_environment | ||
Information about the remote headend. | ||
|
||
* downstream_attenuation (dB) | ||
* downstream_bits_per_frame | ||
* downstream_rate (kbps) | ||
* downstream_snr_margin (dB) | ||
Downstream stats. | ||
|
||
* upstream_attenuation (dB) | ||
* upstream_bits_per_frame | ||
* upstream_rate (kbps) | ||
* upstream_snr_margin (dB) | ||
* transmitter_power (dBm/Hz) | ||
Upstream stats. | ||
|
||
* downstream_crc_errors | ||
* downstream_fec_errors | ||
* downstream_hec_errors | ||
* upstream_crc_errors | ||
* upstream_fec_errors | ||
* upstream_hec_errors | ||
Error counts. | ||
|
||
* line_startable | ||
Indicates that ADSL support on the device | ||
is/can be enabled, see adsl_start. | ||
|
||
* line_status | ||
"initialising" | ||
"down" | ||
"attempting to activate" | ||
"training" | ||
"channel analysis" | ||
"exchange" | ||
"waiting" | ||
"up" | ||
|
||
Changes between "down" and "attempting to activate" | ||
if there is no signal. | ||
|
||
* link_status | ||
"not connected" | ||
"connected" | ||
"lost" | ||
|
||
* mac_address | ||
|
||
* modulation | ||
"ANSI T1.413" | ||
"ITU-T G.992.1 (G.DMT)" | ||
"ITU-T G.992.2 (G.LITE)" | ||
|
||
* startup_attempts | ||
Count of total attempts to initialise ADSL. | ||
|
||
To enable/disable ADSL, the following can be written to the adsl_state file: | ||
"start" | ||
"stop | ||
"restart" (stops, waits 1.5s, then starts) | ||
"poll" (used to resume status polling if it was disabled due to failure) | ||
|
||
Changes in adsl/line state are reported via kernel log messages: | ||
[4942145.150704] ATM dev 0: ADSL state: running | ||
[4942243.663766] ATM dev 0: ADSL line: down | ||
[4942249.665075] ATM dev 0: ADSL line: attempting to activate | ||
[4942253.654954] ATM dev 0: ADSL line: training | ||
[4942255.666387] ATM dev 0: ADSL line: channel analysis | ||
[4942259.656262] ATM dev 0: ADSL line: exchange | ||
[2635357.696901] ATM dev 0: ADSL line: up (8128 kb/s down | 832 kb/s up) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.