/* SPDX-License-Identifier: GPL-2.0+ */ /* * USB HandSpring Visor driver * * Copyright (C) 1999 - 2003 * Greg Kroah-Hartman (greg@kroah.com) * * See Documentation/usb/usb-serial.rst for more information on using this * driver. *
*/
/**************************************************************************** * Handspring Visor Vendor specific request codes (bRequest values) * A big thank you to Handspring for providing the following information. * If anyone wants the original file where these values and structures came * from, send email to <greg@kroah.com>.
****************************************************************************/
/**************************************************************************** * VISOR_REQUEST_BYTES_AVAILABLE asks the visor for the number of bytes that * are available to be transferred to the host for the specified endpoint. * Currently this is not used, and always returns 0x0001
****************************************************************************/ #define VISOR_REQUEST_BYTES_AVAILABLE 0x01
/**************************************************************************** * VISOR_CLOSE_NOTIFICATION is set to the device to notify it that the host * is now closing the pipe. An empty packet is sent in response.
****************************************************************************/ #define VISOR_CLOSE_NOTIFICATION 0x02
/**************************************************************************** * VISOR_GET_CONNECTION_INFORMATION is sent by the host during enumeration to * get the endpoints used by the connection.
****************************************************************************/ #define VISOR_GET_CONNECTION_INFORMATION 0x03
/**************************************************************************** * VISOR_GET_CONNECTION_INFORMATION returns data in the following format
****************************************************************************/ struct visor_connection_info {
__le16 num_ports; struct {
__u8 port_function_id;
__u8 port;
} connections[2];
};
/**************************************************************************** * PALM_GET_SOME_UNKNOWN_INFORMATION is sent by the host during enumeration to * get some information from the M series devices, that is currently unknown.
****************************************************************************/ #define PALM_GET_EXT_CONNECTION_INFORMATION 0x04
/** * struct palm_ext_connection_info - return data from a PALM_GET_EXT_CONNECTION_INFORMATION request * @num_ports: maximum number of functions/connections in use * @endpoint_numbers_different: will be 1 if in and out endpoints numbers are * different, otherwise it is 0. If value is 1, then * connections.end_point_info is non-zero. If value is 0, then * connections.port contains the endpoint number, which is the same for in * and out. * @port_function_id: contains the creator id of the application that opened * this connection. * @port: contains the in/out endpoint number. Is 0 if in and out endpoint * numbers are different. * @end_point_info: high nubbe is in endpoint and low nibble will indicate out * endpoint. Is 0 if in and out endpoints are the same. * * The maximum number of connections currently supported is 2
*/ struct palm_ext_connection_info {
__u8 num_ports;
__u8 endpoint_numbers_different;
__le16 reserved1; struct {
__u32 port_function_id;
__u8 port;
__u8 end_point_info;
__le16 reserved;
} connections[2];
};
#endif
Messung V0.5
¤ Dauer der Verarbeitung: 0.26 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.