-
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.
USB: add USB test and measurement class driver
This driver was originaly written by Stefan Kopp, but massively reworked by Greg for submission. Thanks to Felipe Balbi <me@felipebalbi.com> for lots of work in cleaning up this driver. Thanks to Oliver Neukum <oliver@neukum.org> for reviewing previous versions and pointing out problems. Cc: Stefan Kopp <stefan_kopp@agilent.com> Cc: Marcel Janssen <korgull@home.nl> Cc: Felipe Balbi <me@felipebalbi.com> Cc: Oliver Neukum <oliver@neukum.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
- Loading branch information
Greg Kroah-Hartman
committed
Oct 17, 2008
1 parent
eb86be5
commit 5b775f6
Showing
8 changed files
with
1,209 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
What: /sys/bus/usb/drivers/usbtmc/devices/*/interface_capabilities | ||
What: /sys/bus/usb/drivers/usbtmc/devices/*/device_capabilities | ||
Date: August 2008 | ||
Contact: Greg Kroah-Hartman <gregkh@suse.de> | ||
Description: | ||
These files show the various USB TMC capabilities as described | ||
by the device itself. The full description of the bitfields | ||
can be found in the USB TMC documents from the USB-IF entitled | ||
"Universal Serial Bus Test and Measurement Class Specification | ||
(USBTMC) Revision 1.0" section 4.2.1.8. | ||
|
||
The files are read only. | ||
|
||
|
||
What: /sys/bus/usb/drivers/usbtmc/devices/*/usb488_interface_capabilities | ||
What: /sys/bus/usb/drivers/usbtmc/devices/*/usb488_device_capabilities | ||
Date: August 2008 | ||
Contact: Greg Kroah-Hartman <gregkh@suse.de> | ||
Description: | ||
These files show the various USB TMC capabilities as described | ||
by the device itself. The full description of the bitfields | ||
can be found in the USB TMC documents from the USB-IF entitled | ||
"Universal Serial Bus Test and Measurement Class, Subclass | ||
USB488 Specification (USBTMC-USB488) Revision 1.0" section | ||
4.2.2. | ||
|
||
The files are read only. | ||
|
||
|
||
What: /sys/bus/usb/drivers/usbtmc/devices/*/TermChar | ||
Date: August 2008 | ||
Contact: Greg Kroah-Hartman <gregkh@suse.de> | ||
Description: | ||
This file is the TermChar value to be sent to the USB TMC | ||
device as described by the document, "Universal Serial Bus Test | ||
and Measurement Class Specification | ||
(USBTMC) Revision 1.0" as published by the USB-IF. | ||
|
||
Note that the TermCharEnabled file determines if this value is | ||
sent to the device or not. | ||
|
||
|
||
What: /sys/bus/usb/drivers/usbtmc/devices/*/TermCharEnabled | ||
Date: August 2008 | ||
Contact: Greg Kroah-Hartman <gregkh@suse.de> | ||
Description: | ||
This file determines if the TermChar is to be sent to the | ||
device on every transaction or not. For more details about | ||
this, please see the document, "Universal Serial Bus Test and | ||
Measurement Class Specification (USBTMC) Revision 1.0" as | ||
published by the USB-IF. | ||
|
||
|
||
What: /sys/bus/usb/drivers/usbtmc/devices/*/auto_abort | ||
Date: August 2008 | ||
Contact: Greg Kroah-Hartman <gregkh@suse.de> | ||
Description: | ||
This file determines if the the transaction of the USB TMC | ||
device is to be automatically aborted if there is any error. | ||
For more details about this, please see the document, | ||
"Universal Serial Bus Test and Measurement Class Specification | ||
(USBTMC) Revision 1.0" as published by the USB-IF. |
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.