|
|
|
@ -53,7 +53,7 @@ static int zte_ev_usb_serial_open(struct tty_struct *tty, |
|
|
|
|
USB_CTRL_GET_TIMEOUT); |
|
|
|
|
dev_dbg(dev, "result = %d\n", result); |
|
|
|
|
|
|
|
|
|
/* send 2st cmd and recieve data */ |
|
|
|
|
/* send 2st cmd and receive data */ |
|
|
|
|
/*
|
|
|
|
|
* 16.0 CTL a1 21 00 00 00 00 07 00 CLASS 25.1.0(5) |
|
|
|
|
* 16.0 DI 00 96 00 00 00 00 08 |
|
|
|
@ -65,7 +65,7 @@ static int zte_ev_usb_serial_open(struct tty_struct *tty, |
|
|
|
|
USB_CTRL_GET_TIMEOUT); |
|
|
|
|
debug_data(dev, __func__, len, buf, result); |
|
|
|
|
|
|
|
|
|
/* send 3 cmd */ |
|
|
|
|
/* send 3rd cmd */ |
|
|
|
|
/*
|
|
|
|
|
* 16.0 CTL 21 20 00 00 00 00 07 00 CLASS 30.1.0 |
|
|
|
|
* 16.0 DO 80 25 00 00 00 00 08 .%..... 30.2.0 |
|
|
|
@ -84,7 +84,7 @@ static int zte_ev_usb_serial_open(struct tty_struct *tty, |
|
|
|
|
USB_CTRL_GET_TIMEOUT); |
|
|
|
|
debug_data(dev, __func__, len, buf, result); |
|
|
|
|
|
|
|
|
|
/* send 4 cmd */ |
|
|
|
|
/* send 4th cmd */ |
|
|
|
|
/*
|
|
|
|
|
* 16.0 CTL 21 22 03 00 00 00 00 00 |
|
|
|
|
*/ |
|
|
|
@ -95,7 +95,7 @@ static int zte_ev_usb_serial_open(struct tty_struct *tty, |
|
|
|
|
USB_CTRL_GET_TIMEOUT); |
|
|
|
|
dev_dbg(dev, "result = %d\n", result); |
|
|
|
|
|
|
|
|
|
/* send 5 cmd */ |
|
|
|
|
/* send 5th cmd */ |
|
|
|
|
/*
|
|
|
|
|
* 16.0 CTL a1 21 00 00 00 00 07 00 CLASS 33.1.0 |
|
|
|
|
* 16.0 DI 80 25 00 00 00 00 08 |
|
|
|
@ -107,7 +107,7 @@ static int zte_ev_usb_serial_open(struct tty_struct *tty, |
|
|
|
|
USB_CTRL_GET_TIMEOUT); |
|
|
|
|
debug_data(dev, __func__, len, buf, result); |
|
|
|
|
|
|
|
|
|
/* send 6 cmd */ |
|
|
|
|
/* send 6th cmd */ |
|
|
|
|
/*
|
|
|
|
|
* 16.0 CTL 21 20 00 00 00 00 07 00 CLASS 34.1.0 |
|
|
|
|
* 16.0 DO 80 25 00 00 00 00 08 |
|
|
|
@ -195,7 +195,7 @@ static void zte_ev_usb_serial_close(struct usb_serial_port *port) |
|
|
|
|
USB_CTRL_GET_TIMEOUT); |
|
|
|
|
debug_data(dev, __func__, len, buf, result); |
|
|
|
|
|
|
|
|
|
/* send 4 cmd */ |
|
|
|
|
/* send 4th cmd */ |
|
|
|
|
/*
|
|
|
|
|
* 16.0 CTL 21 20 00 00 00 00 07 00 CLASS 30.1.0 |
|
|
|
|
* 16.0 DO 00 c2 01 00 00 00 08 .%..... 30.2.0 |
|
|
|
@ -214,7 +214,7 @@ static void zte_ev_usb_serial_close(struct usb_serial_port *port) |
|
|
|
|
USB_CTRL_GET_TIMEOUT); |
|
|
|
|
debug_data(dev, __func__, len, buf, result); |
|
|
|
|
|
|
|
|
|
/* send 5 cmd */ |
|
|
|
|
/* send 5th cmd */ |
|
|
|
|
/*
|
|
|
|
|
* 16.0 CTL 21 22 03 00 00 00 00 00 |
|
|
|
|
*/ |
|
|
|
@ -225,7 +225,7 @@ static void zte_ev_usb_serial_close(struct usb_serial_port *port) |
|
|
|
|
USB_CTRL_GET_TIMEOUT); |
|
|
|
|
dev_dbg(dev, "result = %d\n", result); |
|
|
|
|
|
|
|
|
|
/* send 6 cmd */ |
|
|
|
|
/* send 6th cmd */ |
|
|
|
|
/*
|
|
|
|
|
* 16.0 CTL a1 21 00 00 00 00 07 00 CLASS 33.1.0 |
|
|
|
|
* 16.0 DI 00 c2 01 00 00 00 08 |
|
|
|
@ -237,7 +237,7 @@ static void zte_ev_usb_serial_close(struct usb_serial_port *port) |
|
|
|
|
USB_CTRL_GET_TIMEOUT); |
|
|
|
|
debug_data(dev, __func__, len, buf, result); |
|
|
|
|
|
|
|
|
|
/* send 7 cmd */ |
|
|
|
|
/* send 7th cmd */ |
|
|
|
|
/*
|
|
|
|
|
* 16.0 CTL 21 20 00 00 00 00 07 00 CLASS 354.1.0 |
|
|
|
|
* 16.0 DO 00 c2 01 00 00 00 08 ....... 354.2.0 |
|
|
|
@ -256,7 +256,7 @@ static void zte_ev_usb_serial_close(struct usb_serial_port *port) |
|
|
|
|
USB_CTRL_GET_TIMEOUT); |
|
|
|
|
debug_data(dev, __func__, len, buf, result); |
|
|
|
|
|
|
|
|
|
/* send 8 cmd */ |
|
|
|
|
/* send 8th cmd */ |
|
|
|
|
/*
|
|
|
|
|
* 16.0 CTL 21 22 03 00 00 00 00 00 |
|
|
|
|
*/ |
|
|
|
|