On Thu, Nov 12, 2015 at 02:55:04PM +0100, Bjørn Mork wrote:
> Daniele Palmas <dnl...@gmail.com> writes:

> > But I see that Infineon flashing devices in newer chipsets have become
> > an only bulk serial link device (see device 0x8087/0x0716 in
> > usb-serial-simple), so maybe this has a meaning...
> 
> Yes.  I have a Sierra Wireless EM7345 modem which is based on the same
> chipset. I haven't really paid much attemtion to the flashloader
> functionality before, but this is how that modem looks before it loads
> its Sierra firmware:

> So this device looks very much like an ACM device, except that it is
> missing the necessary control interface and status endpoint.  And
> without a control interface there is of course no way to send a properly
> formatted CDC control request either.
> 
> I assume the different vendors also use the same Intel provided firmware
> toolkit, making the firmwares share basic functionality like bootloader
> and flashing.  But the USB descriptors are likely configurable by the
> vendor.  Telit might have tried to "improve" the above into a proper ACM
> device.
> 
> I believe this supports the assumption that Infineon Flash Loader
> devices have some ACM descriptors without actually being ACM class
> devices, and that it is best to just collect them all in the
> usb-serial-simple "flashloader" driver.

I'm still not convinced. The device at hand does look and apparently
behaves like a compliant ACM device, and I think we need to figure out
why it does not work with this particular proprietary user-space tool
before modifying the kernel.

For example, using usb-serial-simple means that no line-control requests
are sent. Perhaps the tool simply needs to set the termios settings to
something else than the default 9600N81 that the cdc-acm driver uses.

Modem control-requests would not be sent either (and HUPCL determines if
DTR/RTS is lowered at close).

Daniele, could you provide some more details about what happens when the
proprietary tool fails. Do you have access to the sources?

Johan
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to