* [PATCH] net/usb/hso: Add support for Option GTM671WFS @ 2014-08-04 9:11 Ricardo Ribalda Delgado 2014-08-04 9:20 ` Ricardo Ribalda Delgado ` (2 more replies) 0 siblings, 3 replies; 7+ messages in thread From: Ricardo Ribalda Delgado @ 2014-08-04 9:11 UTC (permalink / raw) To: Jan Dumon, linux-usb-u79uwXL29TY76Z2rM5mHXA, netdev-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, Dan Williams Cc: Ricardo Ribalda Delgado After this patch: [ 32.985530] hso: drivers/net/usb/hso.c: Option Wireless [ 33.000452] hso 2-1.4:1.7: Not our interface [ 33.001849] usbcore: registered new interface driver hso root@qt5022:~# ls /dev/ttyHS* /dev/ttyHS0 /dev/ttyHS1 /dev/ttyHS2 /dev/ttyHS3 /dev/ttyHS4 /dev/ttyHS5 root@qt5022:~# lsusb -d 0af0: -vvv Bus 002 Device 003: ID 0af0:9200 Option Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 255 Vendor Specific Class bDeviceSubClass 255 Vendor Specific Subclass bDeviceProtocol 255 Vendor Specific Protocol bMaxPacketSize0 64 idVendor 0x0af0 Option idProduct 0x9200 bcdDevice 0.00 iManufacturer 3 Option N.V. iProduct 2 Globetrotter HSUPA Modem iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 200 bNumInterfaces 8 bConfigurationValue 1 iConfiguration 1 Option Configuration bmAttributes 0xe0 Self Powered Remote Wakeup MaxPower 100mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 255 Vendor Specific Subclass bInterfaceProtocol 255 Vendor Specific Protocol iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 32 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x01 EP 1 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 32 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 255 Vendor Specific Subclass bInterfaceProtocol 255 Vendor Specific Protocol iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x82 EP 2 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 32 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x02 EP 2 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 32 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 2 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 255 Vendor Specific Subclass bInterfaceProtocol 255 Vendor Specific Protocol iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x83 EP 3 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 32 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x03 EP 3 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 32 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 3 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 255 Vendor Specific Subclass bInterfaceProtocol 255 Vendor Specific Protocol iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x84 EP 4 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 32 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x04 EP 4 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 32 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 4 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 255 Vendor Specific Subclass bInterfaceProtocol 255 Vendor Specific Protocol iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x85 EP 5 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 32 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x05 EP 5 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 32 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 5 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 255 Vendor Specific Subclass bInterfaceProtocol 255 Vendor Specific Protocol iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x06 EP 6 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 32 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x86 EP 6 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 32 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 6 bAlternateSetting 0 bNumEndpoints 3 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 255 Vendor Specific Subclass bInterfaceProtocol 255 Vendor Specific Protocol iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x87 EP 7 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 5 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x88 EP 8 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 32 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x07 EP 7 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 32 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 7 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 8 Mass Storage bInterfaceSubClass 6 SCSI bInterfaceProtocol 80 Bulk-Only iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x08 EP 8 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 1 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x89 EP 9 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 1 Device Qualifier (for other device speed): bLength 10 bDescriptorType 6 bcdUSB 2.00 bDeviceClass 255 Vendor Specific Class bDeviceSubClass 255 Vendor Specific Subclass bDeviceProtocol 255 Vendor Specific Protocol bMaxPacketSize0 64 bNumConfigurations 1 Device Status: 0x0001 Self Powered Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> --- drivers/net/usb/hso.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/usb/hso.c b/drivers/net/usb/hso.c index a3a0586..eb12261 100644 --- a/drivers/net/usb/hso.c +++ b/drivers/net/usb/hso.c @@ -469,6 +469,7 @@ static const struct usb_device_id hso_ids[] = { {USB_DEVICE(0x0af0, 0x8800)}, {USB_DEVICE(0x0af0, 0x8900)}, {USB_DEVICE(0x0af0, 0x9000)}, + {USB_DEVICE(0x0af0, 0x9200)}, /* Option GTM671WFS */ {USB_DEVICE(0x0af0, 0xd035)}, {USB_DEVICE(0x0af0, 0xd055)}, {USB_DEVICE(0x0af0, 0xd155)}, -- 2.0.1 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH] net/usb/hso: Add support for Option GTM671WFS 2014-08-04 9:11 [PATCH] net/usb/hso: Add support for Option GTM671WFS Ricardo Ribalda Delgado @ 2014-08-04 9:20 ` Ricardo Ribalda Delgado 2014-08-04 18:30 ` Dan Williams 2014-08-05 15:57 ` Dan Williams 2014-08-05 20:06 ` David Miller 2 siblings, 1 reply; 7+ messages in thread From: Ricardo Ribalda Delgado @ 2014-08-04 9:20 UTC (permalink / raw) To: Jan Dumon, Linux USB Mailing List, netdev, LKML, Dan Williams Cc: Ricardo Ribalda Delgado Suggested-by: Dan Williams <dcbw@redhat.com> On Mon, Aug 4, 2014 at 11:11 AM, Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> wrote: > After this patch: > > [ 32.985530] hso: drivers/net/usb/hso.c: Option Wireless > [ 33.000452] hso 2-1.4:1.7: Not our interface > [ 33.001849] usbcore: registered new interface driver hso > > root@qt5022:~# ls /dev/ttyHS* > /dev/ttyHS0 /dev/ttyHS1 /dev/ttyHS2 /dev/ttyHS3 /dev/ttyHS4 > /dev/ttyHS5 > > root@qt5022:~# lsusb -d 0af0: -vvv > > Bus 002 Device 003: ID 0af0:9200 Option > Device Descriptor: > bLength 18 > bDescriptorType 1 > bcdUSB 2.00 > bDeviceClass 255 Vendor Specific Class > bDeviceSubClass 255 Vendor Specific Subclass > bDeviceProtocol 255 Vendor Specific Protocol > bMaxPacketSize0 64 > idVendor 0x0af0 Option > idProduct 0x9200 > bcdDevice 0.00 > iManufacturer 3 Option N.V. > iProduct 2 Globetrotter HSUPA Modem > iSerial 0 > bNumConfigurations 1 > Configuration Descriptor: > bLength 9 > bDescriptorType 2 > wTotalLength 200 > bNumInterfaces 8 > bConfigurationValue 1 > iConfiguration 1 Option Configuration > bmAttributes 0xe0 > Self Powered > Remote Wakeup > MaxPower 100mA > Interface Descriptor: > bLength 9 > bDescriptorType 4 > bInterfaceNumber 0 > bAlternateSetting 0 > bNumEndpoints 2 > bInterfaceClass 255 Vendor Specific Class > bInterfaceSubClass 255 Vendor Specific Subclass > bInterfaceProtocol 255 Vendor Specific Protocol > iInterface 0 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x81 EP 1 IN > bmAttributes 2 > Transfer Type Bulk > Synch Type None > Usage Type Data > wMaxPacketSize 0x0200 1x 512 bytes > bInterval 32 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x01 EP 1 OUT > bmAttributes 2 > Transfer Type Bulk > Synch Type None > Usage Type Data > wMaxPacketSize 0x0200 1x 512 bytes > bInterval 32 > Interface Descriptor: > bLength 9 > bDescriptorType 4 > bInterfaceNumber 1 > bAlternateSetting 0 > bNumEndpoints 2 > bInterfaceClass 255 Vendor Specific Class > bInterfaceSubClass 255 Vendor Specific Subclass > bInterfaceProtocol 255 Vendor Specific Protocol > iInterface 0 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x82 EP 2 IN > bmAttributes 2 > Transfer Type Bulk > Synch Type None > Usage Type Data > wMaxPacketSize 0x0200 1x 512 bytes > bInterval 32 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x02 EP 2 OUT > bmAttributes 2 > Transfer Type Bulk > Synch Type None > Usage Type Data > wMaxPacketSize 0x0200 1x 512 bytes > bInterval 32 > Interface Descriptor: > bLength 9 > bDescriptorType 4 > bInterfaceNumber 2 > bAlternateSetting 0 > bNumEndpoints 2 > bInterfaceClass 255 Vendor Specific Class > bInterfaceSubClass 255 Vendor Specific Subclass > bInterfaceProtocol 255 Vendor Specific Protocol > iInterface 0 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x83 EP 3 IN > bmAttributes 2 > Transfer Type Bulk > Synch Type None > Usage Type Data > wMaxPacketSize 0x0200 1x 512 bytes > bInterval 32 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x03 EP 3 OUT > bmAttributes 2 > Transfer Type Bulk > Synch Type None > Usage Type Data > wMaxPacketSize 0x0200 1x 512 bytes > bInterval 32 > Interface Descriptor: > bLength 9 > bDescriptorType 4 > bInterfaceNumber 3 > bAlternateSetting 0 > bNumEndpoints 2 > bInterfaceClass 255 Vendor Specific Class > bInterfaceSubClass 255 Vendor Specific Subclass > bInterfaceProtocol 255 Vendor Specific Protocol > iInterface 0 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x84 EP 4 IN > bmAttributes 2 > Transfer Type Bulk > Synch Type None > Usage Type Data > wMaxPacketSize 0x0200 1x 512 bytes > bInterval 32 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x04 EP 4 OUT > bmAttributes 2 > Transfer Type Bulk > Synch Type None > Usage Type Data > wMaxPacketSize 0x0200 1x 512 bytes > bInterval 32 > Interface Descriptor: > bLength 9 > bDescriptorType 4 > bInterfaceNumber 4 > bAlternateSetting 0 > bNumEndpoints 2 > bInterfaceClass 255 Vendor Specific Class > bInterfaceSubClass 255 Vendor Specific Subclass > bInterfaceProtocol 255 Vendor Specific Protocol > iInterface 0 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x85 EP 5 IN > bmAttributes 2 > Transfer Type Bulk > Synch Type None > Usage Type Data > wMaxPacketSize 0x0200 1x 512 bytes > bInterval 32 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x05 EP 5 OUT > bmAttributes 2 > Transfer Type Bulk > Synch Type None > Usage Type Data > wMaxPacketSize 0x0200 1x 512 bytes > bInterval 32 > Interface Descriptor: > bLength 9 > bDescriptorType 4 > bInterfaceNumber 5 > bAlternateSetting 0 > bNumEndpoints 2 > bInterfaceClass 255 Vendor Specific Class > bInterfaceSubClass 255 Vendor Specific Subclass > bInterfaceProtocol 255 Vendor Specific Protocol > iInterface 0 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x06 EP 6 OUT > bmAttributes 2 > Transfer Type Bulk > Synch Type None > Usage Type Data > wMaxPacketSize 0x0200 1x 512 bytes > bInterval 32 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x86 EP 6 IN > bmAttributes 2 > Transfer Type Bulk > Synch Type None > Usage Type Data > wMaxPacketSize 0x0200 1x 512 bytes > bInterval 32 > Interface Descriptor: > bLength 9 > bDescriptorType 4 > bInterfaceNumber 6 > bAlternateSetting 0 > bNumEndpoints 3 > bInterfaceClass 255 Vendor Specific Class > bInterfaceSubClass 255 Vendor Specific Subclass > bInterfaceProtocol 255 Vendor Specific Protocol > iInterface 0 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x87 EP 7 IN > bmAttributes 3 > Transfer Type Interrupt > Synch Type None > Usage Type Data > wMaxPacketSize 0x0040 1x 64 bytes > bInterval 5 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x88 EP 8 IN > bmAttributes 2 > Transfer Type Bulk > Synch Type None > Usage Type Data > wMaxPacketSize 0x0200 1x 512 bytes > bInterval 32 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x07 EP 7 OUT > bmAttributes 2 > Transfer Type Bulk > Synch Type None > Usage Type Data > wMaxPacketSize 0x0200 1x 512 bytes > bInterval 32 > Interface Descriptor: > bLength 9 > bDescriptorType 4 > bInterfaceNumber 7 > bAlternateSetting 0 > bNumEndpoints 2 > bInterfaceClass 8 Mass Storage > bInterfaceSubClass 6 SCSI > bInterfaceProtocol 80 Bulk-Only > iInterface 0 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x08 EP 8 OUT > bmAttributes 2 > Transfer Type Bulk > Synch Type None > Usage Type Data > wMaxPacketSize 0x0200 1x 512 bytes > bInterval 1 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x89 EP 9 IN > bmAttributes 2 > Transfer Type Bulk > Synch Type None > Usage Type Data > wMaxPacketSize 0x0200 1x 512 bytes > bInterval 1 > Device Qualifier (for other device speed): > bLength 10 > bDescriptorType 6 > bcdUSB 2.00 > bDeviceClass 255 Vendor Specific Class > bDeviceSubClass 255 Vendor Specific Subclass > bDeviceProtocol 255 Vendor Specific Protocol > bMaxPacketSize0 64 > bNumConfigurations 1 > Device Status: 0x0001 > Self Powered > > Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> > --- > drivers/net/usb/hso.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/net/usb/hso.c b/drivers/net/usb/hso.c > index a3a0586..eb12261 100644 > --- a/drivers/net/usb/hso.c > +++ b/drivers/net/usb/hso.c > @@ -469,6 +469,7 @@ static const struct usb_device_id hso_ids[] = { > {USB_DEVICE(0x0af0, 0x8800)}, > {USB_DEVICE(0x0af0, 0x8900)}, > {USB_DEVICE(0x0af0, 0x9000)}, > + {USB_DEVICE(0x0af0, 0x9200)}, /* Option GTM671WFS */ > {USB_DEVICE(0x0af0, 0xd035)}, > {USB_DEVICE(0x0af0, 0xd055)}, > {USB_DEVICE(0x0af0, 0xd155)}, > -- > 2.0.1 > -- Ricardo Ribalda ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] net/usb/hso: Add support for Option GTM671WFS 2014-08-04 9:20 ` Ricardo Ribalda Delgado @ 2014-08-04 18:30 ` Dan Williams 2014-08-05 6:59 ` Ricardo Ribalda Delgado 0 siblings, 1 reply; 7+ messages in thread From: Dan Williams @ 2014-08-04 18:30 UTC (permalink / raw) To: Ricardo Ribalda Delgado; +Cc: Jan Dumon, Linux USB Mailing List, netdev, LKML On Mon, 2014-08-04 at 11:20 +0200, Ricardo Ribalda Delgado wrote: > Suggested-by: Dan Williams <dcbw@redhat.com> Before we apply this patch though, can you grab for the following for me? cat /sys/class/tty/*/hsotype and lets see if the firmware actually responds. Also, do you get an 'hso0' network interface as reported by ifconfig or /sbin/ip? If you do, then lets do some additional verification to ensure it should be driven by 'hso' instead of option. Dan > On Mon, Aug 4, 2014 at 11:11 AM, Ricardo Ribalda Delgado > <ricardo.ribalda@gmail.com> wrote: > > After this patch: > > > > [ 32.985530] hso: drivers/net/usb/hso.c: Option Wireless > > [ 33.000452] hso 2-1.4:1.7: Not our interface > > [ 33.001849] usbcore: registered new interface driver hso > > > > root@qt5022:~# ls /dev/ttyHS* > > /dev/ttyHS0 /dev/ttyHS1 /dev/ttyHS2 /dev/ttyHS3 /dev/ttyHS4 > > /dev/ttyHS5 > > > > root@qt5022:~# lsusb -d 0af0: -vvv > > > > Bus 002 Device 003: ID 0af0:9200 Option > > Device Descriptor: > > bLength 18 > > bDescriptorType 1 > > bcdUSB 2.00 > > bDeviceClass 255 Vendor Specific Class > > bDeviceSubClass 255 Vendor Specific Subclass > > bDeviceProtocol 255 Vendor Specific Protocol > > bMaxPacketSize0 64 > > idVendor 0x0af0 Option > > idProduct 0x9200 > > bcdDevice 0.00 > > iManufacturer 3 Option N.V. > > iProduct 2 Globetrotter HSUPA Modem > > iSerial 0 > > bNumConfigurations 1 > > Configuration Descriptor: > > bLength 9 > > bDescriptorType 2 > > wTotalLength 200 > > bNumInterfaces 8 > > bConfigurationValue 1 > > iConfiguration 1 Option Configuration > > bmAttributes 0xe0 > > Self Powered > > Remote Wakeup > > MaxPower 100mA > > Interface Descriptor: > > bLength 9 > > bDescriptorType 4 > > bInterfaceNumber 0 > > bAlternateSetting 0 > > bNumEndpoints 2 > > bInterfaceClass 255 Vendor Specific Class > > bInterfaceSubClass 255 Vendor Specific Subclass > > bInterfaceProtocol 255 Vendor Specific Protocol > > iInterface 0 > > Endpoint Descriptor: > > bLength 7 > > bDescriptorType 5 > > bEndpointAddress 0x81 EP 1 IN > > bmAttributes 2 > > Transfer Type Bulk > > Synch Type None > > Usage Type Data > > wMaxPacketSize 0x0200 1x 512 bytes > > bInterval 32 > > Endpoint Descriptor: > > bLength 7 > > bDescriptorType 5 > > bEndpointAddress 0x01 EP 1 OUT > > bmAttributes 2 > > Transfer Type Bulk > > Synch Type None > > Usage Type Data > > wMaxPacketSize 0x0200 1x 512 bytes > > bInterval 32 > > Interface Descriptor: > > bLength 9 > > bDescriptorType 4 > > bInterfaceNumber 1 > > bAlternateSetting 0 > > bNumEndpoints 2 > > bInterfaceClass 255 Vendor Specific Class > > bInterfaceSubClass 255 Vendor Specific Subclass > > bInterfaceProtocol 255 Vendor Specific Protocol > > iInterface 0 > > Endpoint Descriptor: > > bLength 7 > > bDescriptorType 5 > > bEndpointAddress 0x82 EP 2 IN > > bmAttributes 2 > > Transfer Type Bulk > > Synch Type None > > Usage Type Data > > wMaxPacketSize 0x0200 1x 512 bytes > > bInterval 32 > > Endpoint Descriptor: > > bLength 7 > > bDescriptorType 5 > > bEndpointAddress 0x02 EP 2 OUT > > bmAttributes 2 > > Transfer Type Bulk > > Synch Type None > > Usage Type Data > > wMaxPacketSize 0x0200 1x 512 bytes > > bInterval 32 > > Interface Descriptor: > > bLength 9 > > bDescriptorType 4 > > bInterfaceNumber 2 > > bAlternateSetting 0 > > bNumEndpoints 2 > > bInterfaceClass 255 Vendor Specific Class > > bInterfaceSubClass 255 Vendor Specific Subclass > > bInterfaceProtocol 255 Vendor Specific Protocol > > iInterface 0 > > Endpoint Descriptor: > > bLength 7 > > bDescriptorType 5 > > bEndpointAddress 0x83 EP 3 IN > > bmAttributes 2 > > Transfer Type Bulk > > Synch Type None > > Usage Type Data > > wMaxPacketSize 0x0200 1x 512 bytes > > bInterval 32 > > Endpoint Descriptor: > > bLength 7 > > bDescriptorType 5 > > bEndpointAddress 0x03 EP 3 OUT > > bmAttributes 2 > > Transfer Type Bulk > > Synch Type None > > Usage Type Data > > wMaxPacketSize 0x0200 1x 512 bytes > > bInterval 32 > > Interface Descriptor: > > bLength 9 > > bDescriptorType 4 > > bInterfaceNumber 3 > > bAlternateSetting 0 > > bNumEndpoints 2 > > bInterfaceClass 255 Vendor Specific Class > > bInterfaceSubClass 255 Vendor Specific Subclass > > bInterfaceProtocol 255 Vendor Specific Protocol > > iInterface 0 > > Endpoint Descriptor: > > bLength 7 > > bDescriptorType 5 > > bEndpointAddress 0x84 EP 4 IN > > bmAttributes 2 > > Transfer Type Bulk > > Synch Type None > > Usage Type Data > > wMaxPacketSize 0x0200 1x 512 bytes > > bInterval 32 > > Endpoint Descriptor: > > bLength 7 > > bDescriptorType 5 > > bEndpointAddress 0x04 EP 4 OUT > > bmAttributes 2 > > Transfer Type Bulk > > Synch Type None > > Usage Type Data > > wMaxPacketSize 0x0200 1x 512 bytes > > bInterval 32 > > Interface Descriptor: > > bLength 9 > > bDescriptorType 4 > > bInterfaceNumber 4 > > bAlternateSetting 0 > > bNumEndpoints 2 > > bInterfaceClass 255 Vendor Specific Class > > bInterfaceSubClass 255 Vendor Specific Subclass > > bInterfaceProtocol 255 Vendor Specific Protocol > > iInterface 0 > > Endpoint Descriptor: > > bLength 7 > > bDescriptorType 5 > > bEndpointAddress 0x85 EP 5 IN > > bmAttributes 2 > > Transfer Type Bulk > > Synch Type None > > Usage Type Data > > wMaxPacketSize 0x0200 1x 512 bytes > > bInterval 32 > > Endpoint Descriptor: > > bLength 7 > > bDescriptorType 5 > > bEndpointAddress 0x05 EP 5 OUT > > bmAttributes 2 > > Transfer Type Bulk > > Synch Type None > > Usage Type Data > > wMaxPacketSize 0x0200 1x 512 bytes > > bInterval 32 > > Interface Descriptor: > > bLength 9 > > bDescriptorType 4 > > bInterfaceNumber 5 > > bAlternateSetting 0 > > bNumEndpoints 2 > > bInterfaceClass 255 Vendor Specific Class > > bInterfaceSubClass 255 Vendor Specific Subclass > > bInterfaceProtocol 255 Vendor Specific Protocol > > iInterface 0 > > Endpoint Descriptor: > > bLength 7 > > bDescriptorType 5 > > bEndpointAddress 0x06 EP 6 OUT > > bmAttributes 2 > > Transfer Type Bulk > > Synch Type None > > Usage Type Data > > wMaxPacketSize 0x0200 1x 512 bytes > > bInterval 32 > > Endpoint Descriptor: > > bLength 7 > > bDescriptorType 5 > > bEndpointAddress 0x86 EP 6 IN > > bmAttributes 2 > > Transfer Type Bulk > > Synch Type None > > Usage Type Data > > wMaxPacketSize 0x0200 1x 512 bytes > > bInterval 32 > > Interface Descriptor: > > bLength 9 > > bDescriptorType 4 > > bInterfaceNumber 6 > > bAlternateSetting 0 > > bNumEndpoints 3 > > bInterfaceClass 255 Vendor Specific Class > > bInterfaceSubClass 255 Vendor Specific Subclass > > bInterfaceProtocol 255 Vendor Specific Protocol > > iInterface 0 > > Endpoint Descriptor: > > bLength 7 > > bDescriptorType 5 > > bEndpointAddress 0x87 EP 7 IN > > bmAttributes 3 > > Transfer Type Interrupt > > Synch Type None > > Usage Type Data > > wMaxPacketSize 0x0040 1x 64 bytes > > bInterval 5 > > Endpoint Descriptor: > > bLength 7 > > bDescriptorType 5 > > bEndpointAddress 0x88 EP 8 IN > > bmAttributes 2 > > Transfer Type Bulk > > Synch Type None > > Usage Type Data > > wMaxPacketSize 0x0200 1x 512 bytes > > bInterval 32 > > Endpoint Descriptor: > > bLength 7 > > bDescriptorType 5 > > bEndpointAddress 0x07 EP 7 OUT > > bmAttributes 2 > > Transfer Type Bulk > > Synch Type None > > Usage Type Data > > wMaxPacketSize 0x0200 1x 512 bytes > > bInterval 32 > > Interface Descriptor: > > bLength 9 > > bDescriptorType 4 > > bInterfaceNumber 7 > > bAlternateSetting 0 > > bNumEndpoints 2 > > bInterfaceClass 8 Mass Storage > > bInterfaceSubClass 6 SCSI > > bInterfaceProtocol 80 Bulk-Only > > iInterface 0 > > Endpoint Descriptor: > > bLength 7 > > bDescriptorType 5 > > bEndpointAddress 0x08 EP 8 OUT > > bmAttributes 2 > > Transfer Type Bulk > > Synch Type None > > Usage Type Data > > wMaxPacketSize 0x0200 1x 512 bytes > > bInterval 1 > > Endpoint Descriptor: > > bLength 7 > > bDescriptorType 5 > > bEndpointAddress 0x89 EP 9 IN > > bmAttributes 2 > > Transfer Type Bulk > > Synch Type None > > Usage Type Data > > wMaxPacketSize 0x0200 1x 512 bytes > > bInterval 1 > > Device Qualifier (for other device speed): > > bLength 10 > > bDescriptorType 6 > > bcdUSB 2.00 > > bDeviceClass 255 Vendor Specific Class > > bDeviceSubClass 255 Vendor Specific Subclass > > bDeviceProtocol 255 Vendor Specific Protocol > > bMaxPacketSize0 64 > > bNumConfigurations 1 > > Device Status: 0x0001 > > Self Powered > > > > Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> > > --- > > drivers/net/usb/hso.c | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/drivers/net/usb/hso.c b/drivers/net/usb/hso.c > > index a3a0586..eb12261 100644 > > --- a/drivers/net/usb/hso.c > > +++ b/drivers/net/usb/hso.c > > @@ -469,6 +469,7 @@ static const struct usb_device_id hso_ids[] = { > > {USB_DEVICE(0x0af0, 0x8800)}, > > {USB_DEVICE(0x0af0, 0x8900)}, > > {USB_DEVICE(0x0af0, 0x9000)}, > > + {USB_DEVICE(0x0af0, 0x9200)}, /* Option GTM671WFS */ > > {USB_DEVICE(0x0af0, 0xd035)}, > > {USB_DEVICE(0x0af0, 0xd055)}, > > {USB_DEVICE(0x0af0, 0xd155)}, > > -- > > 2.0.1 > > > > > ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] net/usb/hso: Add support for Option GTM671WFS 2014-08-04 18:30 ` Dan Williams @ 2014-08-05 6:59 ` Ricardo Ribalda Delgado 2014-08-05 15:57 ` Dan Williams 0 siblings, 1 reply; 7+ messages in thread From: Ricardo Ribalda Delgado @ 2014-08-05 6:59 UTC (permalink / raw) To: Dan Williams; +Cc: Jan Dumon, Linux USB Mailing List, netdev, LKML Hello Dan. I have also been able to start/stop the gps via the gps control port (ttyHS2) and get nmea data port through the gps port. (ttyHS1) Please tell me if you need more tests Regards! root@qt5022:~# cat /sys/class/tty/*/hsotype Diagnostic GPS GPS Control Application Control Modem root@qt5022:~# hso_connect up Using /etc/conninfo.ini as connection file Using /dev/ttyHS3 application port. Initializing... Trying internet ... Connecting... trying Connected Setting IP address to 10.198.XXX.115 Adding route Done. root@qt5022:~# ifconfig hso0 hso0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 inet addr:10.198.XXX.115 P-t-P:10.198.XXX.115 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1486 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:10 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) root@qt5022:~# ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. 64 bytes from 8.8.8.8: icmp_seq=1 ttl=46 time=1163 ms 64 bytes from 8.8.8.8: icmp_seq=2 ttl=46 time=304 ms 64 bytes from 8.8.8.8: icmp_seq=3 ttl=46 time=72.5 ms 64 bytes from 8.8.8.8: icmp_seq=4 ttl=46 time=60.7 ms ^C --- 8.8.8.8 ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 3003ms rtt min/avg/max/mdev = 60.790/400.296/1163.670/451.296 ms, pipe 2 root@qt5022:~# cat /dev/ttyHS1 $GPGSV,4,1,16,24,,,,27,,,,12,,,,32,,,*7A $GPGSV,4,2,16,31,,,,30,,,,29,,,,28,,,*78 $GPGSV,4,3,16,26,,,,25,,,,23,,,,22,,,*7B $GPGSV,4,4,16,21,,,,20,,,,19,,,,18,,,*7E $GPGGA,,,,,,0,,,,,,,,*66 $PQXFI,,,,,,,,,,*56 $GPVTG,,T,,M,,N,,K,N*2C $GPRMC,,V,,,,,,,,,,N*53 $GPGSA,A,1,,,,,,,,,,,,,,,*1E $GPGSV,4,1,16,04,,,,24,,,,27,,,,12,,,*7F $GPGSV,4,2,16,32,,,,31,,,,30,,,,29,,,*73 $GPGSV,4,3,16,28,,,,26,,,,25,,,,23,,,*71 $GPGSV,4,4,16,22,,,,21,,,,20,,,,19,,,*77 $GPGGA,,,,,,0,,,,,,,,*66 $PQXFI,,,,,,,,,,*56 $GPVTG,,T,,M,,N,,K,N*2C $GPRMC,,V,,,,,,,,,,N*53 $GPGSA,A,1,,,,,,,,,,,,,,,*1E On Mon, Aug 4, 2014 at 8:30 PM, Dan Williams <dcbw@redhat.com> wrote: > On Mon, 2014-08-04 at 11:20 +0200, Ricardo Ribalda Delgado wrote: >> Suggested-by: Dan Williams <dcbw@redhat.com> > > Before we apply this patch though, can you grab for the following for > me? > > cat /sys/class/tty/*/hsotype > > and lets see if the firmware actually responds. Also, do you get an > 'hso0' network interface as reported by ifconfig or /sbin/ip? If you > do, then lets do some additional verification to ensure it should be > driven by 'hso' instead of option. > > Dan > >> On Mon, Aug 4, 2014 at 11:11 AM, Ricardo Ribalda Delgado >> <ricardo.ribalda@gmail.com> wrote: >> > After this patch: >> > >> > [ 32.985530] hso: drivers/net/usb/hso.c: Option Wireless >> > [ 33.000452] hso 2-1.4:1.7: Not our interface >> > [ 33.001849] usbcore: registered new interface driver hso >> > >> > root@qt5022:~# ls /dev/ttyHS* >> > /dev/ttyHS0 /dev/ttyHS1 /dev/ttyHS2 /dev/ttyHS3 /dev/ttyHS4 >> > /dev/ttyHS5 >> > >> > root@qt5022:~# lsusb -d 0af0: -vvv >> > >> > Bus 002 Device 003: ID 0af0:9200 Option >> > Device Descriptor: >> > bLength 18 >> > bDescriptorType 1 >> > bcdUSB 2.00 >> > bDeviceClass 255 Vendor Specific Class >> > bDeviceSubClass 255 Vendor Specific Subclass >> > bDeviceProtocol 255 Vendor Specific Protocol >> > bMaxPacketSize0 64 >> > idVendor 0x0af0 Option >> > idProduct 0x9200 >> > bcdDevice 0.00 >> > iManufacturer 3 Option N.V. >> > iProduct 2 Globetrotter HSUPA Modem >> > iSerial 0 >> > bNumConfigurations 1 >> > Configuration Descriptor: >> > bLength 9 >> > bDescriptorType 2 >> > wTotalLength 200 >> > bNumInterfaces 8 >> > bConfigurationValue 1 >> > iConfiguration 1 Option Configuration >> > bmAttributes 0xe0 >> > Self Powered >> > Remote Wakeup >> > MaxPower 100mA >> > Interface Descriptor: >> > bLength 9 >> > bDescriptorType 4 >> > bInterfaceNumber 0 >> > bAlternateSetting 0 >> > bNumEndpoints 2 >> > bInterfaceClass 255 Vendor Specific Class >> > bInterfaceSubClass 255 Vendor Specific Subclass >> > bInterfaceProtocol 255 Vendor Specific Protocol >> > iInterface 0 >> > Endpoint Descriptor: >> > bLength 7 >> > bDescriptorType 5 >> > bEndpointAddress 0x81 EP 1 IN >> > bmAttributes 2 >> > Transfer Type Bulk >> > Synch Type None >> > Usage Type Data >> > wMaxPacketSize 0x0200 1x 512 bytes >> > bInterval 32 >> > Endpoint Descriptor: >> > bLength 7 >> > bDescriptorType 5 >> > bEndpointAddress 0x01 EP 1 OUT >> > bmAttributes 2 >> > Transfer Type Bulk >> > Synch Type None >> > Usage Type Data >> > wMaxPacketSize 0x0200 1x 512 bytes >> > bInterval 32 >> > Interface Descriptor: >> > bLength 9 >> > bDescriptorType 4 >> > bInterfaceNumber 1 >> > bAlternateSetting 0 >> > bNumEndpoints 2 >> > bInterfaceClass 255 Vendor Specific Class >> > bInterfaceSubClass 255 Vendor Specific Subclass >> > bInterfaceProtocol 255 Vendor Specific Protocol >> > iInterface 0 >> > Endpoint Descriptor: >> > bLength 7 >> > bDescriptorType 5 >> > bEndpointAddress 0x82 EP 2 IN >> > bmAttributes 2 >> > Transfer Type Bulk >> > Synch Type None >> > Usage Type Data >> > wMaxPacketSize 0x0200 1x 512 bytes >> > bInterval 32 >> > Endpoint Descriptor: >> > bLength 7 >> > bDescriptorType 5 >> > bEndpointAddress 0x02 EP 2 OUT >> > bmAttributes 2 >> > Transfer Type Bulk >> > Synch Type None >> > Usage Type Data >> > wMaxPacketSize 0x0200 1x 512 bytes >> > bInterval 32 >> > Interface Descriptor: >> > bLength 9 >> > bDescriptorType 4 >> > bInterfaceNumber 2 >> > bAlternateSetting 0 >> > bNumEndpoints 2 >> > bInterfaceClass 255 Vendor Specific Class >> > bInterfaceSubClass 255 Vendor Specific Subclass >> > bInterfaceProtocol 255 Vendor Specific Protocol >> > iInterface 0 >> > Endpoint Descriptor: >> > bLength 7 >> > bDescriptorType 5 >> > bEndpointAddress 0x83 EP 3 IN >> > bmAttributes 2 >> > Transfer Type Bulk >> > Synch Type None >> > Usage Type Data >> > wMaxPacketSize 0x0200 1x 512 bytes >> > bInterval 32 >> > Endpoint Descriptor: >> > bLength 7 >> > bDescriptorType 5 >> > bEndpointAddress 0x03 EP 3 OUT >> > bmAttributes 2 >> > Transfer Type Bulk >> > Synch Type None >> > Usage Type Data >> > wMaxPacketSize 0x0200 1x 512 bytes >> > bInterval 32 >> > Interface Descriptor: >> > bLength 9 >> > bDescriptorType 4 >> > bInterfaceNumber 3 >> > bAlternateSetting 0 >> > bNumEndpoints 2 >> > bInterfaceClass 255 Vendor Specific Class >> > bInterfaceSubClass 255 Vendor Specific Subclass >> > bInterfaceProtocol 255 Vendor Specific Protocol >> > iInterface 0 >> > Endpoint Descriptor: >> > bLength 7 >> > bDescriptorType 5 >> > bEndpointAddress 0x84 EP 4 IN >> > bmAttributes 2 >> > Transfer Type Bulk >> > Synch Type None >> > Usage Type Data >> > wMaxPacketSize 0x0200 1x 512 bytes >> > bInterval 32 >> > Endpoint Descriptor: >> > bLength 7 >> > bDescriptorType 5 >> > bEndpointAddress 0x04 EP 4 OUT >> > bmAttributes 2 >> > Transfer Type Bulk >> > Synch Type None >> > Usage Type Data >> > wMaxPacketSize 0x0200 1x 512 bytes >> > bInterval 32 >> > Interface Descriptor: >> > bLength 9 >> > bDescriptorType 4 >> > bInterfaceNumber 4 >> > bAlternateSetting 0 >> > bNumEndpoints 2 >> > bInterfaceClass 255 Vendor Specific Class >> > bInterfaceSubClass 255 Vendor Specific Subclass >> > bInterfaceProtocol 255 Vendor Specific Protocol >> > iInterface 0 >> > Endpoint Descriptor: >> > bLength 7 >> > bDescriptorType 5 >> > bEndpointAddress 0x85 EP 5 IN >> > bmAttributes 2 >> > Transfer Type Bulk >> > Synch Type None >> > Usage Type Data >> > wMaxPacketSize 0x0200 1x 512 bytes >> > bInterval 32 >> > Endpoint Descriptor: >> > bLength 7 >> > bDescriptorType 5 >> > bEndpointAddress 0x05 EP 5 OUT >> > bmAttributes 2 >> > Transfer Type Bulk >> > Synch Type None >> > Usage Type Data >> > wMaxPacketSize 0x0200 1x 512 bytes >> > bInterval 32 >> > Interface Descriptor: >> > bLength 9 >> > bDescriptorType 4 >> > bInterfaceNumber 5 >> > bAlternateSetting 0 >> > bNumEndpoints 2 >> > bInterfaceClass 255 Vendor Specific Class >> > bInterfaceSubClass 255 Vendor Specific Subclass >> > bInterfaceProtocol 255 Vendor Specific Protocol >> > iInterface 0 >> > Endpoint Descriptor: >> > bLength 7 >> > bDescriptorType 5 >> > bEndpointAddress 0x06 EP 6 OUT >> > bmAttributes 2 >> > Transfer Type Bulk >> > Synch Type None >> > Usage Type Data >> > wMaxPacketSize 0x0200 1x 512 bytes >> > bInterval 32 >> > Endpoint Descriptor: >> > bLength 7 >> > bDescriptorType 5 >> > bEndpointAddress 0x86 EP 6 IN >> > bmAttributes 2 >> > Transfer Type Bulk >> > Synch Type None >> > Usage Type Data >> > wMaxPacketSize 0x0200 1x 512 bytes >> > bInterval 32 >> > Interface Descriptor: >> > bLength 9 >> > bDescriptorType 4 >> > bInterfaceNumber 6 >> > bAlternateSetting 0 >> > bNumEndpoints 3 >> > bInterfaceClass 255 Vendor Specific Class >> > bInterfaceSubClass 255 Vendor Specific Subclass >> > bInterfaceProtocol 255 Vendor Specific Protocol >> > iInterface 0 >> > Endpoint Descriptor: >> > bLength 7 >> > bDescriptorType 5 >> > bEndpointAddress 0x87 EP 7 IN >> > bmAttributes 3 >> > Transfer Type Interrupt >> > Synch Type None >> > Usage Type Data >> > wMaxPacketSize 0x0040 1x 64 bytes >> > bInterval 5 >> > Endpoint Descriptor: >> > bLength 7 >> > bDescriptorType 5 >> > bEndpointAddress 0x88 EP 8 IN >> > bmAttributes 2 >> > Transfer Type Bulk >> > Synch Type None >> > Usage Type Data >> > wMaxPacketSize 0x0200 1x 512 bytes >> > bInterval 32 >> > Endpoint Descriptor: >> > bLength 7 >> > bDescriptorType 5 >> > bEndpointAddress 0x07 EP 7 OUT >> > bmAttributes 2 >> > Transfer Type Bulk >> > Synch Type None >> > Usage Type Data >> > wMaxPacketSize 0x0200 1x 512 bytes >> > bInterval 32 >> > Interface Descriptor: >> > bLength 9 >> > bDescriptorType 4 >> > bInterfaceNumber 7 >> > bAlternateSetting 0 >> > bNumEndpoints 2 >> > bInterfaceClass 8 Mass Storage >> > bInterfaceSubClass 6 SCSI >> > bInterfaceProtocol 80 Bulk-Only >> > iInterface 0 >> > Endpoint Descriptor: >> > bLength 7 >> > bDescriptorType 5 >> > bEndpointAddress 0x08 EP 8 OUT >> > bmAttributes 2 >> > Transfer Type Bulk >> > Synch Type None >> > Usage Type Data >> > wMaxPacketSize 0x0200 1x 512 bytes >> > bInterval 1 >> > Endpoint Descriptor: >> > bLength 7 >> > bDescriptorType 5 >> > bEndpointAddress 0x89 EP 9 IN >> > bmAttributes 2 >> > Transfer Type Bulk >> > Synch Type None >> > Usage Type Data >> > wMaxPacketSize 0x0200 1x 512 bytes >> > bInterval 1 >> > Device Qualifier (for other device speed): >> > bLength 10 >> > bDescriptorType 6 >> > bcdUSB 2.00 >> > bDeviceClass 255 Vendor Specific Class >> > bDeviceSubClass 255 Vendor Specific Subclass >> > bDeviceProtocol 255 Vendor Specific Protocol >> > bMaxPacketSize0 64 >> > bNumConfigurations 1 >> > Device Status: 0x0001 >> > Self Powered >> > >> > Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> >> > --- >> > drivers/net/usb/hso.c | 1 + >> > 1 file changed, 1 insertion(+) >> > >> > diff --git a/drivers/net/usb/hso.c b/drivers/net/usb/hso.c >> > index a3a0586..eb12261 100644 >> > --- a/drivers/net/usb/hso.c >> > +++ b/drivers/net/usb/hso.c >> > @@ -469,6 +469,7 @@ static const struct usb_device_id hso_ids[] = { >> > {USB_DEVICE(0x0af0, 0x8800)}, >> > {USB_DEVICE(0x0af0, 0x8900)}, >> > {USB_DEVICE(0x0af0, 0x9000)}, >> > + {USB_DEVICE(0x0af0, 0x9200)}, /* Option GTM671WFS */ >> > {USB_DEVICE(0x0af0, 0xd035)}, >> > {USB_DEVICE(0x0af0, 0xd055)}, >> > {USB_DEVICE(0x0af0, 0xd155)}, >> > -- >> > 2.0.1 >> > >> >> >> > > -- Ricardo Ribalda ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] net/usb/hso: Add support for Option GTM671WFS 2014-08-05 6:59 ` Ricardo Ribalda Delgado @ 2014-08-05 15:57 ` Dan Williams 0 siblings, 0 replies; 7+ messages in thread From: Dan Williams @ 2014-08-05 15:57 UTC (permalink / raw) To: Ricardo Ribalda Delgado; +Cc: Jan Dumon, Linux USB Mailing List, netdev, LKML On Tue, 2014-08-05 at 08:59 +0200, Ricardo Ribalda Delgado wrote: > Hello Dan. > > I have also been able to start/stop the gps via the gps control port > (ttyHS2) and get nmea data port through the gps port. (ttyHS1) > > Please tell me if you need more tests No, this looks good enough. Because (a) 'hsotype' is valid for the ports and (b) we get the hso0 net device and (c) you can get an IP address on that interface, then this device should definitely be driven by 'hso' and not option. I'll ack the hso patch. Dan > Regards! > > root@qt5022:~# cat /sys/class/tty/*/hsotype > Diagnostic > GPS > GPS Control > Application > Control > Modem > root@qt5022:~# hso_connect up > Using /etc/conninfo.ini as connection file > Using /dev/ttyHS3 application port. > Initializing... > Trying internet ... > Connecting... > trying > Connected > Setting IP address to 10.198.XXX.115 > Adding route > Done. > root@qt5022:~# ifconfig hso0 > hso0 Link encap:UNSPEC HWaddr > 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 > inet addr:10.198.XXX.115 P-t-P:10.198.XXX.115 Mask:255.255.255.255 > UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1486 Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:10 > RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) > > root@qt5022:~# ping 8.8.8.8 > PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. > 64 bytes from 8.8.8.8: icmp_seq=1 ttl=46 time=1163 ms > 64 bytes from 8.8.8.8: icmp_seq=2 ttl=46 time=304 ms > 64 bytes from 8.8.8.8: icmp_seq=3 ttl=46 time=72.5 ms > 64 bytes from 8.8.8.8: icmp_seq=4 ttl=46 time=60.7 ms > ^C > --- 8.8.8.8 ping statistics --- > 4 packets transmitted, 4 received, 0% packet loss, time 3003ms > rtt min/avg/max/mdev = 60.790/400.296/1163.670/451.296 ms, pipe 2 > root@qt5022:~# cat /dev/ttyHS1 > $GPGSV,4,1,16,24,,,,27,,,,12,,,,32,,,*7A > $GPGSV,4,2,16,31,,,,30,,,,29,,,,28,,,*78 > $GPGSV,4,3,16,26,,,,25,,,,23,,,,22,,,*7B > $GPGSV,4,4,16,21,,,,20,,,,19,,,,18,,,*7E > $GPGGA,,,,,,0,,,,,,,,*66 > $PQXFI,,,,,,,,,,*56 > $GPVTG,,T,,M,,N,,K,N*2C > $GPRMC,,V,,,,,,,,,,N*53 > $GPGSA,A,1,,,,,,,,,,,,,,,*1E > $GPGSV,4,1,16,04,,,,24,,,,27,,,,12,,,*7F > $GPGSV,4,2,16,32,,,,31,,,,30,,,,29,,,*73 > $GPGSV,4,3,16,28,,,,26,,,,25,,,,23,,,*71 > $GPGSV,4,4,16,22,,,,21,,,,20,,,,19,,,*77 > $GPGGA,,,,,,0,,,,,,,,*66 > $PQXFI,,,,,,,,,,*56 > $GPVTG,,T,,M,,N,,K,N*2C > $GPRMC,,V,,,,,,,,,,N*53 > $GPGSA,A,1,,,,,,,,,,,,,,,*1E > > On Mon, Aug 4, 2014 at 8:30 PM, Dan Williams <dcbw@redhat.com> wrote: > > On Mon, 2014-08-04 at 11:20 +0200, Ricardo Ribalda Delgado wrote: > >> Suggested-by: Dan Williams <dcbw@redhat.com> > > > > Before we apply this patch though, can you grab for the following for > > me? > > > > cat /sys/class/tty/*/hsotype > > > > and lets see if the firmware actually responds. Also, do you get an > > 'hso0' network interface as reported by ifconfig or /sbin/ip? If you > > do, then lets do some additional verification to ensure it should be > > driven by 'hso' instead of option. > > > > Dan > > > >> On Mon, Aug 4, 2014 at 11:11 AM, Ricardo Ribalda Delgado > >> <ricardo.ribalda@gmail.com> wrote: > >> > After this patch: > >> > > >> > [ 32.985530] hso: drivers/net/usb/hso.c: Option Wireless > >> > [ 33.000452] hso 2-1.4:1.7: Not our interface > >> > [ 33.001849] usbcore: registered new interface driver hso > >> > > >> > root@qt5022:~# ls /dev/ttyHS* > >> > /dev/ttyHS0 /dev/ttyHS1 /dev/ttyHS2 /dev/ttyHS3 /dev/ttyHS4 > >> > /dev/ttyHS5 > >> > > >> > root@qt5022:~# lsusb -d 0af0: -vvv > >> > > >> > Bus 002 Device 003: ID 0af0:9200 Option > >> > Device Descriptor: > >> > bLength 18 > >> > bDescriptorType 1 > >> > bcdUSB 2.00 > >> > bDeviceClass 255 Vendor Specific Class > >> > bDeviceSubClass 255 Vendor Specific Subclass > >> > bDeviceProtocol 255 Vendor Specific Protocol > >> > bMaxPacketSize0 64 > >> > idVendor 0x0af0 Option > >> > idProduct 0x9200 > >> > bcdDevice 0.00 > >> > iManufacturer 3 Option N.V. > >> > iProduct 2 Globetrotter HSUPA Modem > >> > iSerial 0 > >> > bNumConfigurations 1 > >> > Configuration Descriptor: > >> > bLength 9 > >> > bDescriptorType 2 > >> > wTotalLength 200 > >> > bNumInterfaces 8 > >> > bConfigurationValue 1 > >> > iConfiguration 1 Option Configuration > >> > bmAttributes 0xe0 > >> > Self Powered > >> > Remote Wakeup > >> > MaxPower 100mA > >> > Interface Descriptor: > >> > bLength 9 > >> > bDescriptorType 4 > >> > bInterfaceNumber 0 > >> > bAlternateSetting 0 > >> > bNumEndpoints 2 > >> > bInterfaceClass 255 Vendor Specific Class > >> > bInterfaceSubClass 255 Vendor Specific Subclass > >> > bInterfaceProtocol 255 Vendor Specific Protocol > >> > iInterface 0 > >> > Endpoint Descriptor: > >> > bLength 7 > >> > bDescriptorType 5 > >> > bEndpointAddress 0x81 EP 1 IN > >> > bmAttributes 2 > >> > Transfer Type Bulk > >> > Synch Type None > >> > Usage Type Data > >> > wMaxPacketSize 0x0200 1x 512 bytes > >> > bInterval 32 > >> > Endpoint Descriptor: > >> > bLength 7 > >> > bDescriptorType 5 > >> > bEndpointAddress 0x01 EP 1 OUT > >> > bmAttributes 2 > >> > Transfer Type Bulk > >> > Synch Type None > >> > Usage Type Data > >> > wMaxPacketSize 0x0200 1x 512 bytes > >> > bInterval 32 > >> > Interface Descriptor: > >> > bLength 9 > >> > bDescriptorType 4 > >> > bInterfaceNumber 1 > >> > bAlternateSetting 0 > >> > bNumEndpoints 2 > >> > bInterfaceClass 255 Vendor Specific Class > >> > bInterfaceSubClass 255 Vendor Specific Subclass > >> > bInterfaceProtocol 255 Vendor Specific Protocol > >> > iInterface 0 > >> > Endpoint Descriptor: > >> > bLength 7 > >> > bDescriptorType 5 > >> > bEndpointAddress 0x82 EP 2 IN > >> > bmAttributes 2 > >> > Transfer Type Bulk > >> > Synch Type None > >> > Usage Type Data > >> > wMaxPacketSize 0x0200 1x 512 bytes > >> > bInterval 32 > >> > Endpoint Descriptor: > >> > bLength 7 > >> > bDescriptorType 5 > >> > bEndpointAddress 0x02 EP 2 OUT > >> > bmAttributes 2 > >> > Transfer Type Bulk > >> > Synch Type None > >> > Usage Type Data > >> > wMaxPacketSize 0x0200 1x 512 bytes > >> > bInterval 32 > >> > Interface Descriptor: > >> > bLength 9 > >> > bDescriptorType 4 > >> > bInterfaceNumber 2 > >> > bAlternateSetting 0 > >> > bNumEndpoints 2 > >> > bInterfaceClass 255 Vendor Specific Class > >> > bInterfaceSubClass 255 Vendor Specific Subclass > >> > bInterfaceProtocol 255 Vendor Specific Protocol > >> > iInterface 0 > >> > Endpoint Descriptor: > >> > bLength 7 > >> > bDescriptorType 5 > >> > bEndpointAddress 0x83 EP 3 IN > >> > bmAttributes 2 > >> > Transfer Type Bulk > >> > Synch Type None > >> > Usage Type Data > >> > wMaxPacketSize 0x0200 1x 512 bytes > >> > bInterval 32 > >> > Endpoint Descriptor: > >> > bLength 7 > >> > bDescriptorType 5 > >> > bEndpointAddress 0x03 EP 3 OUT > >> > bmAttributes 2 > >> > Transfer Type Bulk > >> > Synch Type None > >> > Usage Type Data > >> > wMaxPacketSize 0x0200 1x 512 bytes > >> > bInterval 32 > >> > Interface Descriptor: > >> > bLength 9 > >> > bDescriptorType 4 > >> > bInterfaceNumber 3 > >> > bAlternateSetting 0 > >> > bNumEndpoints 2 > >> > bInterfaceClass 255 Vendor Specific Class > >> > bInterfaceSubClass 255 Vendor Specific Subclass > >> > bInterfaceProtocol 255 Vendor Specific Protocol > >> > iInterface 0 > >> > Endpoint Descriptor: > >> > bLength 7 > >> > bDescriptorType 5 > >> > bEndpointAddress 0x84 EP 4 IN > >> > bmAttributes 2 > >> > Transfer Type Bulk > >> > Synch Type None > >> > Usage Type Data > >> > wMaxPacketSize 0x0200 1x 512 bytes > >> > bInterval 32 > >> > Endpoint Descriptor: > >> > bLength 7 > >> > bDescriptorType 5 > >> > bEndpointAddress 0x04 EP 4 OUT > >> > bmAttributes 2 > >> > Transfer Type Bulk > >> > Synch Type None > >> > Usage Type Data > >> > wMaxPacketSize 0x0200 1x 512 bytes > >> > bInterval 32 > >> > Interface Descriptor: > >> > bLength 9 > >> > bDescriptorType 4 > >> > bInterfaceNumber 4 > >> > bAlternateSetting 0 > >> > bNumEndpoints 2 > >> > bInterfaceClass 255 Vendor Specific Class > >> > bInterfaceSubClass 255 Vendor Specific Subclass > >> > bInterfaceProtocol 255 Vendor Specific Protocol > >> > iInterface 0 > >> > Endpoint Descriptor: > >> > bLength 7 > >> > bDescriptorType 5 > >> > bEndpointAddress 0x85 EP 5 IN > >> > bmAttributes 2 > >> > Transfer Type Bulk > >> > Synch Type None > >> > Usage Type Data > >> > wMaxPacketSize 0x0200 1x 512 bytes > >> > bInterval 32 > >> > Endpoint Descriptor: > >> > bLength 7 > >> > bDescriptorType 5 > >> > bEndpointAddress 0x05 EP 5 OUT > >> > bmAttributes 2 > >> > Transfer Type Bulk > >> > Synch Type None > >> > Usage Type Data > >> > wMaxPacketSize 0x0200 1x 512 bytes > >> > bInterval 32 > >> > Interface Descriptor: > >> > bLength 9 > >> > bDescriptorType 4 > >> > bInterfaceNumber 5 > >> > bAlternateSetting 0 > >> > bNumEndpoints 2 > >> > bInterfaceClass 255 Vendor Specific Class > >> > bInterfaceSubClass 255 Vendor Specific Subclass > >> > bInterfaceProtocol 255 Vendor Specific Protocol > >> > iInterface 0 > >> > Endpoint Descriptor: > >> > bLength 7 > >> > bDescriptorType 5 > >> > bEndpointAddress 0x06 EP 6 OUT > >> > bmAttributes 2 > >> > Transfer Type Bulk > >> > Synch Type None > >> > Usage Type Data > >> > wMaxPacketSize 0x0200 1x 512 bytes > >> > bInterval 32 > >> > Endpoint Descriptor: > >> > bLength 7 > >> > bDescriptorType 5 > >> > bEndpointAddress 0x86 EP 6 IN > >> > bmAttributes 2 > >> > Transfer Type Bulk > >> > Synch Type None > >> > Usage Type Data > >> > wMaxPacketSize 0x0200 1x 512 bytes > >> > bInterval 32 > >> > Interface Descriptor: > >> > bLength 9 > >> > bDescriptorType 4 > >> > bInterfaceNumber 6 > >> > bAlternateSetting 0 > >> > bNumEndpoints 3 > >> > bInterfaceClass 255 Vendor Specific Class > >> > bInterfaceSubClass 255 Vendor Specific Subclass > >> > bInterfaceProtocol 255 Vendor Specific Protocol > >> > iInterface 0 > >> > Endpoint Descriptor: > >> > bLength 7 > >> > bDescriptorType 5 > >> > bEndpointAddress 0x87 EP 7 IN > >> > bmAttributes 3 > >> > Transfer Type Interrupt > >> > Synch Type None > >> > Usage Type Data > >> > wMaxPacketSize 0x0040 1x 64 bytes > >> > bInterval 5 > >> > Endpoint Descriptor: > >> > bLength 7 > >> > bDescriptorType 5 > >> > bEndpointAddress 0x88 EP 8 IN > >> > bmAttributes 2 > >> > Transfer Type Bulk > >> > Synch Type None > >> > Usage Type Data > >> > wMaxPacketSize 0x0200 1x 512 bytes > >> > bInterval 32 > >> > Endpoint Descriptor: > >> > bLength 7 > >> > bDescriptorType 5 > >> > bEndpointAddress 0x07 EP 7 OUT > >> > bmAttributes 2 > >> > Transfer Type Bulk > >> > Synch Type None > >> > Usage Type Data > >> > wMaxPacketSize 0x0200 1x 512 bytes > >> > bInterval 32 > >> > Interface Descriptor: > >> > bLength 9 > >> > bDescriptorType 4 > >> > bInterfaceNumber 7 > >> > bAlternateSetting 0 > >> > bNumEndpoints 2 > >> > bInterfaceClass 8 Mass Storage > >> > bInterfaceSubClass 6 SCSI > >> > bInterfaceProtocol 80 Bulk-Only > >> > iInterface 0 > >> > Endpoint Descriptor: > >> > bLength 7 > >> > bDescriptorType 5 > >> > bEndpointAddress 0x08 EP 8 OUT > >> > bmAttributes 2 > >> > Transfer Type Bulk > >> > Synch Type None > >> > Usage Type Data > >> > wMaxPacketSize 0x0200 1x 512 bytes > >> > bInterval 1 > >> > Endpoint Descriptor: > >> > bLength 7 > >> > bDescriptorType 5 > >> > bEndpointAddress 0x89 EP 9 IN > >> > bmAttributes 2 > >> > Transfer Type Bulk > >> > Synch Type None > >> > Usage Type Data > >> > wMaxPacketSize 0x0200 1x 512 bytes > >> > bInterval 1 > >> > Device Qualifier (for other device speed): > >> > bLength 10 > >> > bDescriptorType 6 > >> > bcdUSB 2.00 > >> > bDeviceClass 255 Vendor Specific Class > >> > bDeviceSubClass 255 Vendor Specific Subclass > >> > bDeviceProtocol 255 Vendor Specific Protocol > >> > bMaxPacketSize0 64 > >> > bNumConfigurations 1 > >> > Device Status: 0x0001 > >> > Self Powered > >> > > >> > Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> > >> > --- > >> > drivers/net/usb/hso.c | 1 + > >> > 1 file changed, 1 insertion(+) > >> > > >> > diff --git a/drivers/net/usb/hso.c b/drivers/net/usb/hso.c > >> > index a3a0586..eb12261 100644 > >> > --- a/drivers/net/usb/hso.c > >> > +++ b/drivers/net/usb/hso.c > >> > @@ -469,6 +469,7 @@ static const struct usb_device_id hso_ids[] = { > >> > {USB_DEVICE(0x0af0, 0x8800)}, > >> > {USB_DEVICE(0x0af0, 0x8900)}, > >> > {USB_DEVICE(0x0af0, 0x9000)}, > >> > + {USB_DEVICE(0x0af0, 0x9200)}, /* Option GTM671WFS */ > >> > {USB_DEVICE(0x0af0, 0xd035)}, > >> > {USB_DEVICE(0x0af0, 0xd055)}, > >> > {USB_DEVICE(0x0af0, 0xd155)}, > >> > -- > >> > 2.0.1 > >> > > >> > >> > >> > > > > > > > ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] net/usb/hso: Add support for Option GTM671WFS 2014-08-04 9:11 [PATCH] net/usb/hso: Add support for Option GTM671WFS Ricardo Ribalda Delgado 2014-08-04 9:20 ` Ricardo Ribalda Delgado @ 2014-08-05 15:57 ` Dan Williams 2014-08-05 20:06 ` David Miller 2 siblings, 0 replies; 7+ messages in thread From: Dan Williams @ 2014-08-05 15:57 UTC (permalink / raw) To: Ricardo Ribalda Delgado; +Cc: Jan Dumon, linux-usb, netdev, linux-kernel On Mon, 2014-08-04 at 11:11 +0200, Ricardo Ribalda Delgado wrote: > After this patch: > > [ 32.985530] hso: drivers/net/usb/hso.c: Option Wireless > [ 33.000452] hso 2-1.4:1.7: Not our interface > [ 33.001849] usbcore: registered new interface driver hso > > root@qt5022:~# ls /dev/ttyHS* > /dev/ttyHS0 /dev/ttyHS1 /dev/ttyHS2 /dev/ttyHS3 /dev/ttyHS4 > /dev/ttyHS5 Acked-by: Dan Williams <dcbw@redhat.com> > root@qt5022:~# lsusb -d 0af0: -vvv > > Bus 002 Device 003: ID 0af0:9200 Option > Device Descriptor: > bLength 18 > bDescriptorType 1 > bcdUSB 2.00 > bDeviceClass 255 Vendor Specific Class > bDeviceSubClass 255 Vendor Specific Subclass > bDeviceProtocol 255 Vendor Specific Protocol > bMaxPacketSize0 64 > idVendor 0x0af0 Option > idProduct 0x9200 > bcdDevice 0.00 > iManufacturer 3 Option N.V. > iProduct 2 Globetrotter HSUPA Modem > iSerial 0 > bNumConfigurations 1 > Configuration Descriptor: > bLength 9 > bDescriptorType 2 > wTotalLength 200 > bNumInterfaces 8 > bConfigurationValue 1 > iConfiguration 1 Option Configuration > bmAttributes 0xe0 > Self Powered > Remote Wakeup > MaxPower 100mA > Interface Descriptor: > bLength 9 > bDescriptorType 4 > bInterfaceNumber 0 > bAlternateSetting 0 > bNumEndpoints 2 > bInterfaceClass 255 Vendor Specific Class > bInterfaceSubClass 255 Vendor Specific Subclass > bInterfaceProtocol 255 Vendor Specific Protocol > iInterface 0 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x81 EP 1 IN > bmAttributes 2 > Transfer Type Bulk > Synch Type None > Usage Type Data > wMaxPacketSize 0x0200 1x 512 bytes > bInterval 32 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x01 EP 1 OUT > bmAttributes 2 > Transfer Type Bulk > Synch Type None > Usage Type Data > wMaxPacketSize 0x0200 1x 512 bytes > bInterval 32 > Interface Descriptor: > bLength 9 > bDescriptorType 4 > bInterfaceNumber 1 > bAlternateSetting 0 > bNumEndpoints 2 > bInterfaceClass 255 Vendor Specific Class > bInterfaceSubClass 255 Vendor Specific Subclass > bInterfaceProtocol 255 Vendor Specific Protocol > iInterface 0 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x82 EP 2 IN > bmAttributes 2 > Transfer Type Bulk > Synch Type None > Usage Type Data > wMaxPacketSize 0x0200 1x 512 bytes > bInterval 32 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x02 EP 2 OUT > bmAttributes 2 > Transfer Type Bulk > Synch Type None > Usage Type Data > wMaxPacketSize 0x0200 1x 512 bytes > bInterval 32 > Interface Descriptor: > bLength 9 > bDescriptorType 4 > bInterfaceNumber 2 > bAlternateSetting 0 > bNumEndpoints 2 > bInterfaceClass 255 Vendor Specific Class > bInterfaceSubClass 255 Vendor Specific Subclass > bInterfaceProtocol 255 Vendor Specific Protocol > iInterface 0 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x83 EP 3 IN > bmAttributes 2 > Transfer Type Bulk > Synch Type None > Usage Type Data > wMaxPacketSize 0x0200 1x 512 bytes > bInterval 32 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x03 EP 3 OUT > bmAttributes 2 > Transfer Type Bulk > Synch Type None > Usage Type Data > wMaxPacketSize 0x0200 1x 512 bytes > bInterval 32 > Interface Descriptor: > bLength 9 > bDescriptorType 4 > bInterfaceNumber 3 > bAlternateSetting 0 > bNumEndpoints 2 > bInterfaceClass 255 Vendor Specific Class > bInterfaceSubClass 255 Vendor Specific Subclass > bInterfaceProtocol 255 Vendor Specific Protocol > iInterface 0 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x84 EP 4 IN > bmAttributes 2 > Transfer Type Bulk > Synch Type None > Usage Type Data > wMaxPacketSize 0x0200 1x 512 bytes > bInterval 32 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x04 EP 4 OUT > bmAttributes 2 > Transfer Type Bulk > Synch Type None > Usage Type Data > wMaxPacketSize 0x0200 1x 512 bytes > bInterval 32 > Interface Descriptor: > bLength 9 > bDescriptorType 4 > bInterfaceNumber 4 > bAlternateSetting 0 > bNumEndpoints 2 > bInterfaceClass 255 Vendor Specific Class > bInterfaceSubClass 255 Vendor Specific Subclass > bInterfaceProtocol 255 Vendor Specific Protocol > iInterface 0 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x85 EP 5 IN > bmAttributes 2 > Transfer Type Bulk > Synch Type None > Usage Type Data > wMaxPacketSize 0x0200 1x 512 bytes > bInterval 32 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x05 EP 5 OUT > bmAttributes 2 > Transfer Type Bulk > Synch Type None > Usage Type Data > wMaxPacketSize 0x0200 1x 512 bytes > bInterval 32 > Interface Descriptor: > bLength 9 > bDescriptorType 4 > bInterfaceNumber 5 > bAlternateSetting 0 > bNumEndpoints 2 > bInterfaceClass 255 Vendor Specific Class > bInterfaceSubClass 255 Vendor Specific Subclass > bInterfaceProtocol 255 Vendor Specific Protocol > iInterface 0 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x06 EP 6 OUT > bmAttributes 2 > Transfer Type Bulk > Synch Type None > Usage Type Data > wMaxPacketSize 0x0200 1x 512 bytes > bInterval 32 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x86 EP 6 IN > bmAttributes 2 > Transfer Type Bulk > Synch Type None > Usage Type Data > wMaxPacketSize 0x0200 1x 512 bytes > bInterval 32 > Interface Descriptor: > bLength 9 > bDescriptorType 4 > bInterfaceNumber 6 > bAlternateSetting 0 > bNumEndpoints 3 > bInterfaceClass 255 Vendor Specific Class > bInterfaceSubClass 255 Vendor Specific Subclass > bInterfaceProtocol 255 Vendor Specific Protocol > iInterface 0 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x87 EP 7 IN > bmAttributes 3 > Transfer Type Interrupt > Synch Type None > Usage Type Data > wMaxPacketSize 0x0040 1x 64 bytes > bInterval 5 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x88 EP 8 IN > bmAttributes 2 > Transfer Type Bulk > Synch Type None > Usage Type Data > wMaxPacketSize 0x0200 1x 512 bytes > bInterval 32 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x07 EP 7 OUT > bmAttributes 2 > Transfer Type Bulk > Synch Type None > Usage Type Data > wMaxPacketSize 0x0200 1x 512 bytes > bInterval 32 > Interface Descriptor: > bLength 9 > bDescriptorType 4 > bInterfaceNumber 7 > bAlternateSetting 0 > bNumEndpoints 2 > bInterfaceClass 8 Mass Storage > bInterfaceSubClass 6 SCSI > bInterfaceProtocol 80 Bulk-Only > iInterface 0 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x08 EP 8 OUT > bmAttributes 2 > Transfer Type Bulk > Synch Type None > Usage Type Data > wMaxPacketSize 0x0200 1x 512 bytes > bInterval 1 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x89 EP 9 IN > bmAttributes 2 > Transfer Type Bulk > Synch Type None > Usage Type Data > wMaxPacketSize 0x0200 1x 512 bytes > bInterval 1 > Device Qualifier (for other device speed): > bLength 10 > bDescriptorType 6 > bcdUSB 2.00 > bDeviceClass 255 Vendor Specific Class > bDeviceSubClass 255 Vendor Specific Subclass > bDeviceProtocol 255 Vendor Specific Protocol > bMaxPacketSize0 64 > bNumConfigurations 1 > Device Status: 0x0001 > Self Powered > > Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> > --- > drivers/net/usb/hso.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/net/usb/hso.c b/drivers/net/usb/hso.c > index a3a0586..eb12261 100644 > --- a/drivers/net/usb/hso.c > +++ b/drivers/net/usb/hso.c > @@ -469,6 +469,7 @@ static const struct usb_device_id hso_ids[] = { > {USB_DEVICE(0x0af0, 0x8800)}, > {USB_DEVICE(0x0af0, 0x8900)}, > {USB_DEVICE(0x0af0, 0x9000)}, > + {USB_DEVICE(0x0af0, 0x9200)}, /* Option GTM671WFS */ > {USB_DEVICE(0x0af0, 0xd035)}, > {USB_DEVICE(0x0af0, 0xd055)}, > {USB_DEVICE(0x0af0, 0xd155)}, ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] net/usb/hso: Add support for Option GTM671WFS 2014-08-04 9:11 [PATCH] net/usb/hso: Add support for Option GTM671WFS Ricardo Ribalda Delgado 2014-08-04 9:20 ` Ricardo Ribalda Delgado 2014-08-05 15:57 ` Dan Williams @ 2014-08-05 20:06 ` David Miller 2 siblings, 0 replies; 7+ messages in thread From: David Miller @ 2014-08-05 20:06 UTC (permalink / raw) To: ricardo.ribalda; +Cc: j.dumon, linux-usb, netdev, linux-kernel, dcbw From: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Date: Mon, 4 Aug 2014 11:11:49 +0200 > After this patch: > > [ 32.985530] hso: drivers/net/usb/hso.c: Option Wireless > [ 33.000452] hso 2-1.4:1.7: Not our interface > [ 33.001849] usbcore: registered new interface driver hso > > root@qt5022:~# ls /dev/ttyHS* > /dev/ttyHS0 /dev/ttyHS1 /dev/ttyHS2 /dev/ttyHS3 /dev/ttyHS4 > /dev/ttyHS5 > > root@qt5022:~# lsusb -d 0af0: -vvv ... > Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Applied, thanks. ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2014-08-05 20:06 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2014-08-04 9:11 [PATCH] net/usb/hso: Add support for Option GTM671WFS Ricardo Ribalda Delgado 2014-08-04 9:20 ` Ricardo Ribalda Delgado 2014-08-04 18:30 ` Dan Williams 2014-08-05 6:59 ` Ricardo Ribalda Delgado 2014-08-05 15:57 ` Dan Williams 2014-08-05 15:57 ` Dan Williams 2014-08-05 20:06 ` David Miller
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).