Re: [rfc] Propagate manufacturer information from MMKernelDevice to MMBroadbandModem

2017-10-07 Thread Aleksander Morgado
Unlike AT or QMI, MBIM doesn't define a standard command to query manufacturer information. But the manufacturer information can often be inferred from the USB vendor ID or retrieved through the Manufacturer string descriptor at the USB level. MMBroadbandModemMbim curr

Re: [rfc] Propagate manufacturer information from MMKernelDevice to MMBroadbandModem

2017-10-05 Thread Ben Chan
On Wed, Oct 4, 2017 at 12:53 PM, Ben Chan wrote: > On Wed, Oct 4, 2017 at 12:46 AM, Aleksander Morgado > wrote: >> Hey, >> >>> >>> Unlike AT or QMI, MBIM doesn't define a standard command to query >>> manufacturer information. But the manufacturer information can often >>> be inferred from the US

Re: [rfc] Propagate manufacturer information from MMKernelDevice to MMBroadbandModem

2017-10-04 Thread Ben Chan
On Wed, Oct 4, 2017 at 4:51 AM, Bjørn Mork wrote: > Ben Chan writes: > >> * The few MBIM modems I have report the correct manufacturer through >> the manufacturer string descriptor, but I suspect some MBIM modems >> don't. > > FWIW, this is true for all the MBIM modems I've used so far too. Few

Re: [rfc] Propagate manufacturer information from MMKernelDevice to MMBroadbandModem

2017-10-04 Thread Ben Chan
On Wed, Oct 4, 2017 at 12:46 AM, Aleksander Morgado wrote: > Hey, > >> >> Unlike AT or QMI, MBIM doesn't define a standard command to query >> manufacturer information. But the manufacturer information can often >> be inferred from the USB vendor ID or retrieved through the >> Manufacturer string

Re: [rfc] Propagate manufacturer information from MMKernelDevice to MMBroadbandModem

2017-10-04 Thread Bjørn Mork
Ben Chan writes: > * The few MBIM modems I have report the correct manufacturer through > the manufacturer string descriptor, but I suspect some MBIM modems > don't. FWIW, this is true for all the MBIM modems I've used so far too. Few vendors manage to write their name in a consistent way, but

Re: [rfc] Propagate manufacturer information from MMKernelDevice to MMBroadbandModem

2017-10-04 Thread Aleksander Morgado
Hey, > > Unlike AT or QMI, MBIM doesn't define a standard command to query > manufacturer information. But the manufacturer information can often > be inferred from the USB vendor ID or retrieved through the > Manufacturer string descriptor at the USB level. > > MMBroadbandModemMbim currently uses

[rfc] Propagate manufacturer information from MMKernelDevice to MMBroadbandModem

2017-10-03 Thread Ben Chan
Hi Aleksander and Dan, Unlike AT or QMI, MBIM doesn't define a standard command to query manufacturer information. But the manufacturer information can often be inferred from the USB vendor ID or retrieved through the Manufacturer string descriptor at the USB level. MMBroadbandModemMbim currently