> From: "Theo de Raadt" <dera...@openbsd.org>
> Date: Thu, 13 Feb 2020 11:50:11 -0700
> 
> Denis <den...@mindall.org> wrote:
> 
> > I installed MC77xx about three years ago into OpenBSD driven machine. It
> > actively uses everyday with msm mode driver. The question was how to
> > detect UMB and MSM devices and attach suitable driver simultaneously
> > (msm + umb) for single device according to USB descriptors for each
> > possible mode of MC77xx card.
> > 
> > I haven't track any repository changes since than and use 7304 in MSM
> > modes only to have WWAN access and NMEA GPS ports simultaneously, but
> > years ago I wanted to use it as UMB device + NMEA.
> >
> > The USB descriptors for all modes of MC7304 and MC7455 are attached.
> > 
> > Both cards are used actively so I can test any changes if needed.
> 
> The device itself must be configured to export those capabilities.
> 
> For old devices we don't know how to do change that.
> 
> For mid-generation to newer devices, if you force the kernel to not match
> umb, then com ports may show up.  There's some docs out there which allow
> changing the capabilities which are exposed.  But umb_attach interferes
> and doesn't let you have both.

Well, my EM7345 shows up as:

umb0 at uhub0 port 4 configuration 1 interface 0 "Sierra Wireless Inc. Sierra 
Wireless EM7345 4G LTE" rev 2.00/17.29 addr 2
umodem0 at uhub0 port 4 configuration 1 interface 2 "Sierra Wireless Inc. 
Sierra Wireless EM7345 4G LTE" rev 2.00/17.29 addr 2
umodem0: data interface 3, has no CM over data, has break
umodem0: status change notification available
ucom0 at umodem0

In this configuration, ucom0 provides an AT command set interface that
provides a (somewhat quirky) NMEA GPS interface.

Reply via email to