Skip to contentSkip to conversation

USB: qcaux: Add Motorola modem UARTs

DISCUSSION Tony Lindgren 1 participant 1 message Dec 13, 2018 USB

lore
Share & tools
lore
#0 lore raw
Quoted 7 lines · Johan Hovold
Quoted 4 lines · Tony Lindgren

Yes correct lsusb -v output below with five UARTs with ff/ff/ff and two QMI ports that are already handled with an earlier commit 4071898bf0f4 ("net: qmi_wwan: Add USB IDs for MDM6600 modem on Motorola Droid 4").

Isn't it four QMI ports even (interfaces 5 through 8)?

Oh right yes it's four QMI ports.

Quoted 19 lines
Quoted 7 lines
      bDescriptorType         4
      bInterfaceNumber        4
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass       255 
      bInterfaceSubClass    255 
      bInterfaceProtocol    255 
Quoted 11 lines

iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x85 EP 5 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 5

Quoted 2 lines

Since the modem (AT) port here has an interrupt endpoint, you should add these device ids to the option driver which can handle that.

Oh OK will do.

Quoted 2 lines

As the comment in qcaux suggests, that driver is intended for the diag port of some old devices where the modem port was handled by cdc-acm.

OK

Quoted 3 lines

Also, if possible please include the more compact output of usb-devices (or /sys/kernel/debug/usb/devices) for the devices you have access to in the commit message.

Will do.

Thanks,

Tony