lkml.org 
[lkml]   [2019]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] USB: serial: option: set driver_info for SIM5218 and compatibles
Date
Måns Rullgård <mans@mansr.com> writes:
> Dan Williams <dcbw@redhat.com> writes:
>
>> TLDR; some firmware uses the DTR signal as an indicator to come out of
>> low-power mode. Without doing so you cannot talk to the modem over any
>> of it's ports, QMI, net, or serial.
>
> I must be missing something, but how does a network interface have a DTR
> signal?

It does not. But the network function is (ab)using the Comm class USB
control message "SetControlLineState" to signal "wake up" from the host
to the device. Which is perfectly fine since the USB function in
question is vendor specific. The vendor can define any USB control
message to mean anything they want. Reusing a Comm class message
probably made sense to the firmware engineer designing this. We can
only note and adapt.

It doesn't have anything to do with DTR.


Bjørn

\
 
 \ /
  Last update: 2019-03-19 16:01    [W:0.102 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site